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/publish-maven.yml b/.github/workflows/publish-maven.yml index 065db401..a68ef7e5 100644 --- a/.github/workflows/publish-maven.yml +++ b/.github/workflows/publish-maven.yml @@ -8,10 +8,17 @@ 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 with: diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index dcbbdc02..fad4ea45 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -11,6 +11,9 @@ build.sbt 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 @@ -20,7 +23,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 @@ -40,6 +42,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 @@ -63,6 +67,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 @@ -91,18 +96,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 @@ -112,6 +122,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 @@ -132,6 +143,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 @@ -153,6 +165,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 @@ -167,6 +180,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 @@ -206,7 +220,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 @@ -247,8 +260,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 @@ -307,16 +323,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 @@ -331,15 +354,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 @@ -348,13 +378,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 @@ -375,6 +408,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 @@ -394,6 +428,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 @@ -402,9 +437,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 @@ -440,9 +473,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 @@ -453,7 +484,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 @@ -487,11 +520,16 @@ docs/NotificationPaginatedResponse.md docs/NotificationStatus.md docs/NotificationWithData.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 @@ -515,7 +553,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 @@ -526,12 +564,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 @@ -550,24 +590,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 @@ -585,9 +625,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 @@ -598,12 +639,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 @@ -660,6 +705,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 @@ -707,27 +753,70 @@ 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/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 @@ -735,23 +824,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 @@ -764,10 +870,12 @@ docs/TokenOwnershipStatusUpdatePayload.md docs/TokenResponse.md docs/TokenizationApi.md docs/TokensPaginatedResponse.md +docs/TotalSupplyItemDto.md +docs/TotalSupplyPagedResponse.md +docs/TrLinkApi.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 @@ -848,7 +956,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 @@ -878,7 +990,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 @@ -889,14 +1000,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 @@ -945,7 +1055,6 @@ src/main/java/com/fireblocks/sdk/SystemWrapper.java src/main/java/com/fireblocks/sdk/UserAgentUtil.java src/main/java/com/fireblocks/sdk/ValidationUtils.java src/main/java/com/fireblocks/sdk/api/ApiUserApi.java -src/main/java/com/fireblocks/sdk/api/AssetsApi.java src/main/java/com/fireblocks/sdk/api/AuditLogsApi.java src/main/java/com/fireblocks/sdk/api/BlockchainsAssetsApi.java src/main/java/com/fireblocks/sdk/api/ComplianceApi.java @@ -963,12 +1072,12 @@ src/main/java/com/fireblocks/sdk/api/ExternalWalletsApi.java src/main/java/com/fireblocks/sdk/api/FiatAccountsApi.java src/main/java/com/fireblocks/sdk/api/GasStationsApi.java src/main/java/com/fireblocks/sdk/api/InternalWalletsApi.java -src/main/java/com/fireblocks/sdk/api/JobManagementApi.java src/main/java/com/fireblocks/sdk/api/KeyLinkBetaApi.java src/main/java/com/fireblocks/sdk/api/KeysBetaApi.java src/main/java/com/fireblocks/sdk/api/NetworkConnectionsApi.java src/main/java/com/fireblocks/sdk/api/NftsApi.java src/main/java/com/fireblocks/sdk/api/OffExchangesApi.java +src/main/java/com/fireblocks/sdk/api/OnchainDataApi.java src/main/java/com/fireblocks/sdk/api/OtaBetaApi.java src/main/java/com/fireblocks/sdk/api/PaymentsPayoutApi.java src/main/java/com/fireblocks/sdk/api/PolicyEditorBetaApi.java @@ -978,6 +1087,7 @@ src/main/java/com/fireblocks/sdk/api/SmartTransferApi.java src/main/java/com/fireblocks/sdk/api/StakingApi.java src/main/java/com/fireblocks/sdk/api/TagsApi.java src/main/java/com/fireblocks/sdk/api/TokenizationApi.java +src/main/java/com/fireblocks/sdk/api/TrLinkApi.java src/main/java/com/fireblocks/sdk/api/TradingBetaApi.java src/main/java/com/fireblocks/sdk/api/TransactionsApi.java src/main/java/com/fireblocks/sdk/api/TravelRuleApi.java @@ -993,6 +1103,9 @@ src/main/java/com/fireblocks/sdk/model/APIUser.java src/main/java/com/fireblocks/sdk/model/AbaPaymentInfo.java src/main/java/com/fireblocks/sdk/model/AbiFunction.java src/main/java/com/fireblocks/sdk/model/AbstractOpenApiSchema.java +src/main/java/com/fireblocks/sdk/model/AccessRegistryAddressItem.java +src/main/java/com/fireblocks/sdk/model/AccessRegistryCurrentStateResponse.java +src/main/java/com/fireblocks/sdk/model/AccessRegistrySummaryResponse.java src/main/java/com/fireblocks/sdk/model/AccessType.java src/main/java/com/fireblocks/sdk/model/Account.java src/main/java/com/fireblocks/sdk/model/AccountAccess.java @@ -1002,7 +1115,6 @@ src/main/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetails.java src/main/java/com/fireblocks/sdk/model/AccountConfig.java src/main/java/com/fireblocks/sdk/model/AccountHolderDetails.java src/main/java/com/fireblocks/sdk/model/AccountIdentifier.java -src/main/java/com/fireblocks/sdk/model/AccountProviderID.java src/main/java/com/fireblocks/sdk/model/AccountReference.java src/main/java/com/fireblocks/sdk/model/AccountType.java src/main/java/com/fireblocks/sdk/model/AccountType2.java @@ -1022,6 +1134,8 @@ src/main/java/com/fireblocks/sdk/model/AddExchangeAccountResponse.java src/main/java/com/fireblocks/sdk/model/AdditionalInfo.java src/main/java/com/fireblocks/sdk/model/AdditionalInfoRequest.java src/main/java/com/fireblocks/sdk/model/AdditionalInfoRequestAdditionalInfo.java +src/main/java/com/fireblocks/sdk/model/AddressBalanceItemDto.java +src/main/java/com/fireblocks/sdk/model/AddressBalancePagedResponse.java src/main/java/com/fireblocks/sdk/model/AddressNotAvailableError.java src/main/java/com/fireblocks/sdk/model/AlertExposureTypeEnum.java src/main/java/com/fireblocks/sdk/model/AlertLevelEnum.java @@ -1044,6 +1158,7 @@ src/main/java/com/fireblocks/sdk/model/AmountRangeMinMax.java src/main/java/com/fireblocks/sdk/model/AmountRangeMinMax2.java src/main/java/com/fireblocks/sdk/model/ApiKey.java src/main/java/com/fireblocks/sdk/model/ApiKeysPaginatedResponse.java +src/main/java/com/fireblocks/sdk/model/ApprovalRequest.java src/main/java/com/fireblocks/sdk/model/ApproversConfig.java src/main/java/com/fireblocks/sdk/model/ApproversConfigApprovalGroupsInner.java src/main/java/com/fireblocks/sdk/model/Asset.java @@ -1072,6 +1187,7 @@ src/main/java/com/fireblocks/sdk/model/AssetPriceNotFoundErrorResponse.java src/main/java/com/fireblocks/sdk/model/AssetPriceResponse.java src/main/java/com/fireblocks/sdk/model/AssetResponse.java src/main/java/com/fireblocks/sdk/model/AssetScope.java +src/main/java/com/fireblocks/sdk/model/AssetTypeEnum.java src/main/java/com/fireblocks/sdk/model/AssetTypeResponse.java src/main/java/com/fireblocks/sdk/model/AssetTypesConfigInner.java src/main/java/com/fireblocks/sdk/model/AssetWallet.java @@ -1079,9 +1195,14 @@ src/main/java/com/fireblocks/sdk/model/AuditLogData.java src/main/java/com/fireblocks/sdk/model/AuditorData.java src/main/java/com/fireblocks/sdk/model/AuthorizationGroups.java src/main/java/com/fireblocks/sdk/model/AuthorizationInfo.java +src/main/java/com/fireblocks/sdk/model/BalanceHistoryItemDto.java +src/main/java/com/fireblocks/sdk/model/BalanceHistoryPagedResponse.java +src/main/java/com/fireblocks/sdk/model/BankAddress.java src/main/java/com/fireblocks/sdk/model/BaseProvider.java src/main/java/com/fireblocks/sdk/model/BasicAddressRequest.java src/main/java/com/fireblocks/sdk/model/BlockInfo.java +src/main/java/com/fireblocks/sdk/model/BlockchainAddress.java +src/main/java/com/fireblocks/sdk/model/BlockchainDestination.java src/main/java/com/fireblocks/sdk/model/BlockchainExplorer.java src/main/java/com/fireblocks/sdk/model/BlockchainMedia.java src/main/java/com/fireblocks/sdk/model/BlockchainMetadata.java @@ -1090,6 +1211,7 @@ src/main/java/com/fireblocks/sdk/model/BlockchainOnchain.java src/main/java/com/fireblocks/sdk/model/BlockchainResponse.java src/main/java/com/fireblocks/sdk/model/BlockchainTransfer.java src/main/java/com/fireblocks/sdk/model/BpsFee.java +src/main/java/com/fireblocks/sdk/model/BusinessEntityTypeEnum.java src/main/java/com/fireblocks/sdk/model/BusinessIdentification.java src/main/java/com/fireblocks/sdk/model/CallbackHandler.java src/main/java/com/fireblocks/sdk/model/CallbackHandlerRequest.java @@ -1110,6 +1232,7 @@ src/main/java/com/fireblocks/sdk/model/CollectionOwnershipResponse.java src/main/java/com/fireblocks/sdk/model/CollectionTokenMetadataAttributeDto.java src/main/java/com/fireblocks/sdk/model/CollectionTokenMetadataDto.java src/main/java/com/fireblocks/sdk/model/CollectionType.java +src/main/java/com/fireblocks/sdk/model/CommittedQuoteEnum.java src/main/java/com/fireblocks/sdk/model/CommittedQuoteType.java src/main/java/com/fireblocks/sdk/model/ComplianceResultFullPayload.java src/main/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnum.java @@ -1129,6 +1252,7 @@ src/main/java/com/fireblocks/sdk/model/ConnectedAccountAssetType.java src/main/java/com/fireblocks/sdk/model/ConnectedAccountBalances.java src/main/java/com/fireblocks/sdk/model/ConnectedAccountBalancesResponse.java src/main/java/com/fireblocks/sdk/model/ConnectedAccountCapability.java +src/main/java/com/fireblocks/sdk/model/ConnectedAccountErrorResponse.java src/main/java/com/fireblocks/sdk/model/ConnectedAccountManifest.java src/main/java/com/fireblocks/sdk/model/ConnectedAccountRateResponse.java src/main/java/com/fireblocks/sdk/model/ConnectedAccountTotalBalance.java @@ -1141,6 +1265,7 @@ src/main/java/com/fireblocks/sdk/model/ConnectedSingleAccountResponse.java src/main/java/com/fireblocks/sdk/model/ConsoleUser.java src/main/java/com/fireblocks/sdk/model/ContractAbiResponseDto.java src/main/java/com/fireblocks/sdk/model/ContractAbiResponseDtoAbiInner.java +src/main/java/com/fireblocks/sdk/model/ContractAddressResponse.java src/main/java/com/fireblocks/sdk/model/ContractAttributes.java src/main/java/com/fireblocks/sdk/model/ContractDataDecodeDataType.java src/main/java/com/fireblocks/sdk/model/ContractDataDecodeError.java @@ -1176,7 +1301,6 @@ src/main/java/com/fireblocks/sdk/model/CosignersPaginatedResponse.java src/main/java/com/fireblocks/sdk/model/CreateAPIUser.java src/main/java/com/fireblocks/sdk/model/CreateAddressRequest.java src/main/java/com/fireblocks/sdk/model/CreateAddressResponse.java -src/main/java/com/fireblocks/sdk/model/CreateAssetsBulkRequest.java src/main/java/com/fireblocks/sdk/model/CreateAssetsRequest.java src/main/java/com/fireblocks/sdk/model/CreateConfigOperationRequest.java src/main/java/com/fireblocks/sdk/model/CreateConnectionRequest.java @@ -1217,8 +1341,11 @@ src/main/java/com/fireblocks/sdk/model/CreateWorkflowExecutionRequestParamsInner src/main/java/com/fireblocks/sdk/model/CustomRoutingDest.java src/main/java/com/fireblocks/sdk/model/DAppAddressConfig.java src/main/java/com/fireblocks/sdk/model/DVPSettlement.java +src/main/java/com/fireblocks/sdk/model/DVPSettlementType.java +src/main/java/com/fireblocks/sdk/model/DecodedLog.java src/main/java/com/fireblocks/sdk/model/DefaultNetworkRoutingDest.java src/main/java/com/fireblocks/sdk/model/Delegation.java +src/main/java/com/fireblocks/sdk/model/DelegationBlockchainPositionInfo.java src/main/java/com/fireblocks/sdk/model/DelegationSummary.java src/main/java/com/fireblocks/sdk/model/DeleteNetworkConnectionResponse.java src/main/java/com/fireblocks/sdk/model/DeleteNetworkIdResponse.java @@ -1276,15 +1403,22 @@ src/main/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupKey.java src/main/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupResponse.java src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAddressesResponse.java src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAssetsResponse.java +src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedDevicesResponse.java src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedWalletsResponse.java +src/main/java/com/fireblocks/sdk/model/EmbeddedWalletRequiredAlgorithms.java src/main/java/com/fireblocks/sdk/model/EmbeddedWalletSetUpStatus.java -src/main/java/com/fireblocks/sdk/model/ErrorCodes.java +src/main/java/com/fireblocks/sdk/model/EmbeddedWalletSetupStatusResponse.java +src/main/java/com/fireblocks/sdk/model/EnableDevice.java +src/main/java/com/fireblocks/sdk/model/EnableWallet.java src/main/java/com/fireblocks/sdk/model/ErrorResponse.java src/main/java/com/fireblocks/sdk/model/ErrorResponseError.java src/main/java/com/fireblocks/sdk/model/ErrorSchema.java src/main/java/com/fireblocks/sdk/model/EstimatedFeeDetails.java src/main/java/com/fireblocks/sdk/model/EstimatedNetworkFeeResponse.java src/main/java/com/fireblocks/sdk/model/EstimatedTransactionFeeResponse.java +src/main/java/com/fireblocks/sdk/model/EthereumBlockchainData.java +src/main/java/com/fireblocks/sdk/model/EuropeanSEPAAddress.java +src/main/java/com/fireblocks/sdk/model/EuropeanSEPADestination.java src/main/java/com/fireblocks/sdk/model/ExchangeAccount.java src/main/java/com/fireblocks/sdk/model/ExchangeAsset.java src/main/java/com/fireblocks/sdk/model/ExchangeSettlementTransactionsResponse.java @@ -1298,14 +1432,21 @@ src/main/java/com/fireblocks/sdk/model/ExecutionRequestDetails.java src/main/java/com/fireblocks/sdk/model/ExecutionResponseBaseDetails.java src/main/java/com/fireblocks/sdk/model/ExecutionResponseDetails.java src/main/java/com/fireblocks/sdk/model/ExecutionScreeningOperation.java -src/main/java/com/fireblocks/sdk/model/ExecutionStep.java -src/main/java/com/fireblocks/sdk/model/ExecutionStepDetails.java src/main/java/com/fireblocks/sdk/model/ExecutionStepError.java src/main/java/com/fireblocks/sdk/model/ExecutionStepStatusEnum.java src/main/java/com/fireblocks/sdk/model/ExecutionStepType.java src/main/java/com/fireblocks/sdk/model/ExecutionTransferOperation.java src/main/java/com/fireblocks/sdk/model/ExternalAccount.java +src/main/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfrica.java +src/main/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaType.java +src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoney.java +src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyProvider.java +src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyType.java +src/main/java/com/fireblocks/sdk/model/ExternalAccountSenderInformation.java +src/main/java/com/fireblocks/sdk/model/ExternalAccountType.java src/main/java/com/fireblocks/sdk/model/ExternalWalletAsset.java +src/main/java/com/fireblocks/sdk/model/Failure.java +src/main/java/com/fireblocks/sdk/model/FailureReason.java src/main/java/com/fireblocks/sdk/model/Fee.java src/main/java/com/fireblocks/sdk/model/FeeBreakdown.java src/main/java/com/fireblocks/sdk/model/FeeBreakdownOneOf.java @@ -1314,12 +1455,15 @@ src/main/java/com/fireblocks/sdk/model/FeeInfo.java src/main/java/com/fireblocks/sdk/model/FeeLevel.java src/main/java/com/fireblocks/sdk/model/FeePayerInfo.java src/main/java/com/fireblocks/sdk/model/FeePropertiesDetails.java +src/main/java/com/fireblocks/sdk/model/FeeTypeEnum.java src/main/java/com/fireblocks/sdk/model/FetchAbiRequestDto.java src/main/java/com/fireblocks/sdk/model/FiatAccount.java src/main/java/com/fireblocks/sdk/model/FiatAccountType.java src/main/java/com/fireblocks/sdk/model/FiatAsset.java src/main/java/com/fireblocks/sdk/model/FiatDestination.java +src/main/java/com/fireblocks/sdk/model/FiatPaymentMetadata.java src/main/java/com/fireblocks/sdk/model/FiatTransfer.java +src/main/java/com/fireblocks/sdk/model/FixedAmountTypeEnum.java src/main/java/com/fireblocks/sdk/model/FixedFee.java src/main/java/com/fireblocks/sdk/model/FreezeTransactionResponse.java src/main/java/com/fireblocks/sdk/model/FunctionDoc.java @@ -1339,6 +1483,7 @@ src/main/java/com/fireblocks/sdk/model/GetFilterParameter.java src/main/java/com/fireblocks/sdk/model/GetLayerZeroDvnConfigResponse.java src/main/java/com/fireblocks/sdk/model/GetLayerZeroPeersResponse.java src/main/java/com/fireblocks/sdk/model/GetLinkedCollectionsPaginatedResponse.java +src/main/java/com/fireblocks/sdk/model/GetMaxBipIndexUsedResponse.java src/main/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponse.java src/main/java/com/fireblocks/sdk/model/GetMpcKeysResponse.java src/main/java/com/fireblocks/sdk/model/GetNFTsResponse.java @@ -1358,6 +1503,7 @@ src/main/java/com/fireblocks/sdk/model/IbanDestination.java src/main/java/com/fireblocks/sdk/model/IbanPaymentInfo.java src/main/java/com/fireblocks/sdk/model/Identification.java src/main/java/com/fireblocks/sdk/model/IdlType.java +src/main/java/com/fireblocks/sdk/model/IndicativeQuoteEnum.java src/main/java/com/fireblocks/sdk/model/IndicativeQuoteType.java src/main/java/com/fireblocks/sdk/model/InitiatorConfig.java src/main/java/com/fireblocks/sdk/model/InitiatorConfigPattern.java @@ -1365,7 +1511,6 @@ src/main/java/com/fireblocks/sdk/model/InstructionAmount.java src/main/java/com/fireblocks/sdk/model/InternalReference.java src/main/java/com/fireblocks/sdk/model/InternalTransferResponse.java src/main/java/com/fireblocks/sdk/model/InvalidParamaterValueError.java -src/main/java/com/fireblocks/sdk/model/Job.java src/main/java/com/fireblocks/sdk/model/JobCreated.java src/main/java/com/fireblocks/sdk/model/LayerZeroAdapterCreateParams.java src/main/java/com/fireblocks/sdk/model/LbtPaymentInfo.java @@ -1400,9 +1545,7 @@ src/main/java/com/fireblocks/sdk/model/LegacyPolicyValidation.java src/main/java/com/fireblocks/sdk/model/LegacyPublishDraftRequest.java src/main/java/com/fireblocks/sdk/model/LegacyPublishResult.java src/main/java/com/fireblocks/sdk/model/LegacySrcOrDestAttributesInner.java -src/main/java/com/fireblocks/sdk/model/LimitExecutionRequestDetails.java -src/main/java/com/fireblocks/sdk/model/LimitExecutionResponseDetails.java -src/main/java/com/fireblocks/sdk/model/LimitTypeDetails.java +src/main/java/com/fireblocks/sdk/model/LinkedTokensCount.java src/main/java/com/fireblocks/sdk/model/ListAssetsResponse.java src/main/java/com/fireblocks/sdk/model/ListBlockchainsResponse.java src/main/java/com/fireblocks/sdk/model/ListOwnedCollectionsResponse.java @@ -1413,7 +1556,9 @@ src/main/java/com/fireblocks/sdk/model/Manifest.java src/main/java/com/fireblocks/sdk/model/MarketExecutionRequestDetails.java src/main/java/com/fireblocks/sdk/model/MarketExecutionResponseDetails.java src/main/java/com/fireblocks/sdk/model/MarketRequoteRequestDetails.java +src/main/java/com/fireblocks/sdk/model/MarketRequoteTypeEnum.java src/main/java/com/fireblocks/sdk/model/MarketTypeDetails.java +src/main/java/com/fireblocks/sdk/model/MarketTypeEnum.java src/main/java/com/fireblocks/sdk/model/MediaEntityResponse.java src/main/java/com/fireblocks/sdk/model/MergeStakeAccountsRequest.java src/main/java/com/fireblocks/sdk/model/MergeStakeAccountsResponse.java @@ -1444,11 +1589,15 @@ src/main/java/com/fireblocks/sdk/model/NotificationAttemptsPaginatedResponse.jav src/main/java/com/fireblocks/sdk/model/NotificationPaginatedResponse.java src/main/java/com/fireblocks/sdk/model/NotificationStatus.java src/main/java/com/fireblocks/sdk/model/NotificationWithData.java +src/main/java/com/fireblocks/sdk/model/OnchainTransaction.java +src/main/java/com/fireblocks/sdk/model/OnchainTransactionsPagedResponse.java src/main/java/com/fireblocks/sdk/model/OneTimeAddress.java src/main/java/com/fireblocks/sdk/model/OneTimeAddressAccount.java +src/main/java/com/fireblocks/sdk/model/OneTimeAddressPeerType.java src/main/java/com/fireblocks/sdk/model/OneTimeAddressReference.java src/main/java/com/fireblocks/sdk/model/OperationExecutionFailure.java src/main/java/com/fireblocks/sdk/model/OrderDetails.java +src/main/java/com/fireblocks/sdk/model/OrderExecutionStep.java src/main/java/com/fireblocks/sdk/model/OrderSide.java src/main/java/com/fireblocks/sdk/model/OrderStatus.java src/main/java/com/fireblocks/sdk/model/OrderSummary.java @@ -1471,7 +1620,7 @@ src/main/java/com/fireblocks/sdk/model/PaymentAccount.java src/main/java/com/fireblocks/sdk/model/PaymentAccountResponse.java src/main/java/com/fireblocks/sdk/model/PaymentAccountType.java src/main/java/com/fireblocks/sdk/model/PaymentInstructions.java -src/main/java/com/fireblocks/sdk/model/PaymentInstructionsDetails.java +src/main/java/com/fireblocks/sdk/model/PaymentInstructionsOneOf.java src/main/java/com/fireblocks/sdk/model/PayoutInitMethod.java src/main/java/com/fireblocks/sdk/model/PayoutInstruction.java src/main/java/com/fireblocks/sdk/model/PayoutInstructionResponse.java @@ -1481,12 +1630,14 @@ src/main/java/com/fireblocks/sdk/model/PayoutState.java src/main/java/com/fireblocks/sdk/model/PayoutStatus.java src/main/java/com/fireblocks/sdk/model/PeerAdapterInfo.java src/main/java/com/fireblocks/sdk/model/PeerType.java +src/main/java/com/fireblocks/sdk/model/PersonalEntityTypeEnum.java src/main/java/com/fireblocks/sdk/model/PersonalIdentification.java src/main/java/com/fireblocks/sdk/model/PersonalIdentificationFullName.java src/main/java/com/fireblocks/sdk/model/PixAddress.java src/main/java/com/fireblocks/sdk/model/PixDestination.java src/main/java/com/fireblocks/sdk/model/PixPaymentInfo.java src/main/java/com/fireblocks/sdk/model/PlatformAccount.java +src/main/java/com/fireblocks/sdk/model/PlatformPeerType.java src/main/java/com/fireblocks/sdk/model/Players.java src/main/java/com/fireblocks/sdk/model/PolicyAndValidationResponse.java src/main/java/com/fireblocks/sdk/model/PolicyCheckResult.java @@ -1503,24 +1654,24 @@ src/main/java/com/fireblocks/sdk/model/PolicyType.java src/main/java/com/fireblocks/sdk/model/PolicyValidation.java src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum.java src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2.java -src/main/java/com/fireblocks/sdk/model/PostOrderSettlement.java src/main/java/com/fireblocks/sdk/model/PostalAddress.java src/main/java/com/fireblocks/sdk/model/PreScreening.java src/main/java/com/fireblocks/sdk/model/PrefundedSettlement.java +src/main/java/com/fireblocks/sdk/model/PrefundedSettlementType.java src/main/java/com/fireblocks/sdk/model/ProgramCallConfig.java src/main/java/com/fireblocks/sdk/model/Provider.java -src/main/java/com/fireblocks/sdk/model/ProviderID.java src/main/java/com/fireblocks/sdk/model/ProvidersListResponse.java src/main/java/com/fireblocks/sdk/model/PublicKeyInformation.java src/main/java/com/fireblocks/sdk/model/PublishDraftRequest.java src/main/java/com/fireblocks/sdk/model/PublishResult.java src/main/java/com/fireblocks/sdk/model/Quote.java src/main/java/com/fireblocks/sdk/model/QuoteExecutionRequestDetails.java -src/main/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetails.java +src/main/java/com/fireblocks/sdk/model/QuoteExecutionStep.java src/main/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetails.java src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetails.java src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetails.java src/main/java/com/fireblocks/sdk/model/QuotePropertiesDetails.java +src/main/java/com/fireblocks/sdk/model/QuoteTypeEnum.java src/main/java/com/fireblocks/sdk/model/QuotesResponse.java src/main/java/com/fireblocks/sdk/model/ReQuoteDetails.java src/main/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuote.java @@ -1538,9 +1689,10 @@ src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersRequest.java src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersResponse.java src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersRequest.java src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersResponse.java +src/main/java/com/fireblocks/sdk/model/RenameConnectedAccountRequest.java +src/main/java/com/fireblocks/sdk/model/RenameConnectedAccountResponse.java src/main/java/com/fireblocks/sdk/model/RenameCosigner.java src/main/java/com/fireblocks/sdk/model/RenameVaultAccountResponse.java -src/main/java/com/fireblocks/sdk/model/RescanTransaction.java src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsJobStatusResponse.java src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsRequest.java src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsResponse.java @@ -1550,12 +1702,16 @@ src/main/java/com/fireblocks/sdk/model/ResendWebhooksByTransactionIdResponse.jav src/main/java/com/fireblocks/sdk/model/ResendWebhooksResponse.java src/main/java/com/fireblocks/sdk/model/RespondToConnectionRequest.java src/main/java/com/fireblocks/sdk/model/RetryRequoteRequestDetails.java +src/main/java/com/fireblocks/sdk/model/RetryRequoteTypeEnum.java src/main/java/com/fireblocks/sdk/model/RewardInfo.java src/main/java/com/fireblocks/sdk/model/RewardsInfo.java +src/main/java/com/fireblocks/sdk/model/RoleDetails.java +src/main/java/com/fireblocks/sdk/model/RoleGrantee.java src/main/java/com/fireblocks/sdk/model/SEPAAddress.java src/main/java/com/fireblocks/sdk/model/SEPADestination.java src/main/java/com/fireblocks/sdk/model/SOLAccount.java src/main/java/com/fireblocks/sdk/model/SOLAccountWithValue.java +src/main/java/com/fireblocks/sdk/model/ScopeItem.java src/main/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnum.java src/main/java/com/fireblocks/sdk/model/ScreeningAmlAlert.java src/main/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRule.java @@ -1612,6 +1768,7 @@ src/main/java/com/fireblocks/sdk/model/Settlement.java src/main/java/com/fireblocks/sdk/model/SettlementRequestBody.java src/main/java/com/fireblocks/sdk/model/SettlementResponse.java src/main/java/com/fireblocks/sdk/model/SettlementSourceAccount.java +src/main/java/com/fireblocks/sdk/model/Side.java src/main/java/com/fireblocks/sdk/model/SignedMessage.java src/main/java/com/fireblocks/sdk/model/SignedMessageSignature.java src/main/java/com/fireblocks/sdk/model/SigningKeyDto.java @@ -1658,26 +1815,69 @@ src/main/java/com/fireblocks/sdk/model/SpeiBasicPaymentInfo.java src/main/java/com/fireblocks/sdk/model/SpeiDestination.java src/main/java/com/fireblocks/sdk/model/SplitRequest.java src/main/java/com/fireblocks/sdk/model/SplitResponse.java +src/main/java/com/fireblocks/sdk/model/StEthBlockchainData.java src/main/java/com/fireblocks/sdk/model/StakeRequest.java src/main/java/com/fireblocks/sdk/model/StakeResponse.java src/main/java/com/fireblocks/sdk/model/StakingProvider.java src/main/java/com/fireblocks/sdk/model/Status.java src/main/java/com/fireblocks/sdk/model/StellarRippleCreateParamsDto.java +src/main/java/com/fireblocks/sdk/model/SupportedBlockChainsResponse.java +src/main/java/com/fireblocks/sdk/model/SupportedBlockchain.java src/main/java/com/fireblocks/sdk/model/SwiftAddress.java src/main/java/com/fireblocks/sdk/model/SwiftDestination.java src/main/java/com/fireblocks/sdk/model/SystemMessageInfo.java +src/main/java/com/fireblocks/sdk/model/TRLinkAPIPagedResponse.java src/main/java/com/fireblocks/sdk/model/TRLinkAmount.java +src/main/java/com/fireblocks/sdk/model/TRLinkAmount2.java +src/main/java/com/fireblocks/sdk/model/TRLinkAmountRange.java +src/main/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleRequest.java +src/main/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkAssessmentDecision.java +src/main/java/com/fireblocks/sdk/model/TRLinkAsset.java +src/main/java/com/fireblocks/sdk/model/TRLinkAssetData.java +src/main/java/com/fireblocks/sdk/model/TRLinkAssetFormat.java +src/main/java/com/fireblocks/sdk/model/TRLinkAssetsListPagedResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkCancelTrmRequest.java +src/main/java/com/fireblocks/sdk/model/TRLinkConnectIntegrationRequest.java +src/main/java/com/fireblocks/sdk/model/TRLinkCreateCustomerRequest.java +src/main/java/com/fireblocks/sdk/model/TRLinkCreateIntegrationRequest.java +src/main/java/com/fireblocks/sdk/model/TRLinkCreateTrmRequest.java +src/main/java/com/fireblocks/sdk/model/TRLinkCurrency.java +src/main/java/com/fireblocks/sdk/model/TRLinkCustomerIntegrationResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkCustomerResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkDestinationTransferPeerPath.java +src/main/java/com/fireblocks/sdk/model/TRLinkDiscoverableStatus.java +src/main/java/com/fireblocks/sdk/model/TRLinkFiatValue.java +src/main/java/com/fireblocks/sdk/model/TRLinkGeographicAddressRequest.java +src/main/java/com/fireblocks/sdk/model/TRLinkGetSupportedAssetResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkIvms.java +src/main/java/com/fireblocks/sdk/model/TRLinkIvmsResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkJwkPublicKey.java src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction.java +src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction2.java src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnum.java src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecision.java src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule.java +src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule2.java +src/main/java/com/fireblocks/sdk/model/TRLinkOneTimeAddress.java +src/main/java/com/fireblocks/sdk/model/TRLinkPaging.java +src/main/java/com/fireblocks/sdk/model/TRLinkPartnerResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkPolicyResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningAction.java src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule.java +src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule2.java src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction.java +src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction2.java src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnum.java src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule.java +src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule2.java +src/main/java/com/fireblocks/sdk/model/TRLinkProviderData.java src/main/java/com/fireblocks/sdk/model/TRLinkProviderResult.java src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule.java src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2.java +src/main/java/com/fireblocks/sdk/model/TRLinkPublicAssetInfo.java +src/main/java/com/fireblocks/sdk/model/TRLinkPublicKeyResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkRedirectTrmRequest.java src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResult.java src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayload.java src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatus.java @@ -1685,22 +1885,39 @@ src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnum.java src/main/java/com/fireblocks/sdk/model/TRLinkResult.java src/main/java/com/fireblocks/sdk/model/TRLinkResultFullPayload.java src/main/java/com/fireblocks/sdk/model/TRLinkRuleBase.java +src/main/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdRequest.java +src/main/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdRequest.java +src/main/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkSourceTransferPeerPath.java +src/main/java/com/fireblocks/sdk/model/TRLinkTestConnectionResponse.java +src/main/java/com/fireblocks/sdk/model/TRLinkThresholds.java +src/main/java/com/fireblocks/sdk/model/TRLinkTransactionDirection.java +src/main/java/com/fireblocks/sdk/model/TRLinkTransferPeerPath.java +src/main/java/com/fireblocks/sdk/model/TRLinkTrmDirection.java +src/main/java/com/fireblocks/sdk/model/TRLinkTrmInfoResponse.java src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatus.java src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnum.java +src/main/java/com/fireblocks/sdk/model/TRLinkTrmStatus.java +src/main/java/com/fireblocks/sdk/model/TRLinkTxnInfo.java +src/main/java/com/fireblocks/sdk/model/TRLinkUpdateCustomerRequest.java +src/main/java/com/fireblocks/sdk/model/TRLinkVaspDto.java +src/main/java/com/fireblocks/sdk/model/TRLinkVaspGeographicAddress.java +src/main/java/com/fireblocks/sdk/model/TRLinkVaspListDto.java +src/main/java/com/fireblocks/sdk/model/TRLinkVaspNationalIdentification.java src/main/java/com/fireblocks/sdk/model/TRLinkVerdict.java src/main/java/com/fireblocks/sdk/model/TRLinkVerdictEnum.java src/main/java/com/fireblocks/sdk/model/Tag.java src/main/java/com/fireblocks/sdk/model/TagAttachmentOperationAction.java src/main/java/com/fireblocks/sdk/model/TagsPagedResponse.java -src/main/java/com/fireblocks/sdk/model/Task.java src/main/java/com/fireblocks/sdk/model/TemplatesPaginatedResponse.java src/main/java/com/fireblocks/sdk/model/ThirdPartyRouting.java -src/main/java/com/fireblocks/sdk/model/TimeInForce.java src/main/java/com/fireblocks/sdk/model/TimePeriodConfig.java src/main/java/com/fireblocks/sdk/model/TimePeriodMatchType.java src/main/java/com/fireblocks/sdk/model/ToCollateralTransaction.java src/main/java/com/fireblocks/sdk/model/ToExchangeTransaction.java src/main/java/com/fireblocks/sdk/model/TokenCollectionResponse.java +src/main/java/com/fireblocks/sdk/model/TokenContractSummaryResponse.java src/main/java/com/fireblocks/sdk/model/TokenInfoNotFoundErrorResponse.java src/main/java/com/fireblocks/sdk/model/TokenLinkDto.java src/main/java/com/fireblocks/sdk/model/TokenLinkDtoTokenMetadata.java @@ -1712,9 +1929,10 @@ src/main/java/com/fireblocks/sdk/model/TokenOwnershipSpamUpdatePayload.java src/main/java/com/fireblocks/sdk/model/TokenOwnershipStatusUpdatePayload.java src/main/java/com/fireblocks/sdk/model/TokenResponse.java src/main/java/com/fireblocks/sdk/model/TokensPaginatedResponse.java +src/main/java/com/fireblocks/sdk/model/TotalSupplyItemDto.java +src/main/java/com/fireblocks/sdk/model/TotalSupplyPagedResponse.java src/main/java/com/fireblocks/sdk/model/TradingAccountType.java -src/main/java/com/fireblocks/sdk/model/TradingErrorResponse.java -src/main/java/com/fireblocks/sdk/model/TradingErrorResponseError.java +src/main/java/com/fireblocks/sdk/model/TradingErrorSchema.java src/main/java/com/fireblocks/sdk/model/TradingProvider.java src/main/java/com/fireblocks/sdk/model/Transaction.java src/main/java/com/fireblocks/sdk/model/TransactionDirection.java @@ -1793,7 +2011,11 @@ src/main/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionRequest.java src/main/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionResponse.java src/main/java/com/fireblocks/sdk/model/TravelRuleVaspForVault.java src/main/java/com/fireblocks/sdk/model/TravelRuleVerdictEnum.java +src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressCreateResponse.java +src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressRequest.java +src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressResponse.java src/main/java/com/fireblocks/sdk/model/TxLog.java +src/main/java/com/fireblocks/sdk/model/TypedMessageTransactionStatusEnum.java src/main/java/com/fireblocks/sdk/model/USWireAddress.java src/main/java/com/fireblocks/sdk/model/USWireDestination.java src/main/java/com/fireblocks/sdk/model/UnfreezeTransactionResponse.java @@ -1821,7 +2043,6 @@ src/main/java/com/fireblocks/sdk/model/UserStatus.java src/main/java/com/fireblocks/sdk/model/UserType.java src/main/java/com/fireblocks/sdk/model/ValidateAddressResponse.java src/main/java/com/fireblocks/sdk/model/ValidateLayerZeroChannelResponse.java -src/main/java/com/fireblocks/sdk/model/ValidatedTransactionsForRescan.java src/main/java/com/fireblocks/sdk/model/ValidationKeyDto.java src/main/java/com/fireblocks/sdk/model/Validator.java src/main/java/com/fireblocks/sdk/model/VaultAccount.java @@ -1832,13 +2053,12 @@ src/main/java/com/fireblocks/sdk/model/VaultAccountsPagedResponse.java src/main/java/com/fireblocks/sdk/model/VaultAccountsPagedResponsePaging.java src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequest.java src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponse.java -src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentsRequest.java src/main/java/com/fireblocks/sdk/model/VaultActionStatus.java src/main/java/com/fireblocks/sdk/model/VaultAsset.java src/main/java/com/fireblocks/sdk/model/VaultWalletAddress.java src/main/java/com/fireblocks/sdk/model/VendorDto.java src/main/java/com/fireblocks/sdk/model/VerdictConfig.java -src/main/java/com/fireblocks/sdk/model/Version.java +src/main/java/com/fireblocks/sdk/model/VersionSummary.java src/main/java/com/fireblocks/sdk/model/WalletAsset.java src/main/java/com/fireblocks/sdk/model/WalletAssetAdditionalInfo.java src/main/java/com/fireblocks/sdk/model/Webhook.java @@ -1861,7 +2081,6 @@ src/test/java/com/fireblocks/sdk/FireblocksTest.java src/test/java/com/fireblocks/sdk/UserAgentUtilTest.java src/test/java/com/fireblocks/sdk/ValidationUtilsTest.java src/test/java/com/fireblocks/sdk/api/ApiUserApiTest.java -src/test/java/com/fireblocks/sdk/api/AssetsApiTest.java src/test/java/com/fireblocks/sdk/api/AuditLogsApiTest.java src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java src/test/java/com/fireblocks/sdk/api/ComplianceApiTest.java @@ -1879,12 +2098,12 @@ src/test/java/com/fireblocks/sdk/api/ExternalWalletsApiTest.java src/test/java/com/fireblocks/sdk/api/FiatAccountsApiTest.java src/test/java/com/fireblocks/sdk/api/GasStationsApiTest.java src/test/java/com/fireblocks/sdk/api/InternalWalletsApiTest.java -src/test/java/com/fireblocks/sdk/api/JobManagementApiTest.java src/test/java/com/fireblocks/sdk/api/KeyLinkBetaApiTest.java src/test/java/com/fireblocks/sdk/api/KeysBetaApiTest.java src/test/java/com/fireblocks/sdk/api/NetworkConnectionsApiTest.java src/test/java/com/fireblocks/sdk/api/NftsApiTest.java src/test/java/com/fireblocks/sdk/api/OffExchangesApiTest.java +src/test/java/com/fireblocks/sdk/api/OnchainDataApiTest.java src/test/java/com/fireblocks/sdk/api/OtaBetaApiTest.java src/test/java/com/fireblocks/sdk/api/PaymentsPayoutApiTest.java src/test/java/com/fireblocks/sdk/api/PolicyEditorBetaApiTest.java @@ -1894,6 +2113,7 @@ src/test/java/com/fireblocks/sdk/api/SmartTransferApiTest.java src/test/java/com/fireblocks/sdk/api/StakingApiTest.java src/test/java/com/fireblocks/sdk/api/TagsApiTest.java src/test/java/com/fireblocks/sdk/api/TokenizationApiTest.java +src/test/java/com/fireblocks/sdk/api/TrLinkApiTest.java src/test/java/com/fireblocks/sdk/api/TradingBetaApiTest.java src/test/java/com/fireblocks/sdk/api/TransactionsApiTest.java src/test/java/com/fireblocks/sdk/api/TravelRuleApiTest.java @@ -1908,6 +2128,9 @@ src/test/java/com/fireblocks/sdk/api/WorkspaceStatusBetaApiTest.java src/test/java/com/fireblocks/sdk/model/APIUserTest.java src/test/java/com/fireblocks/sdk/model/AbaPaymentInfoTest.java src/test/java/com/fireblocks/sdk/model/AbiFunctionTest.java +src/test/java/com/fireblocks/sdk/model/AccessRegistryAddressItemTest.java +src/test/java/com/fireblocks/sdk/model/AccessRegistryCurrentStateResponseTest.java +src/test/java/com/fireblocks/sdk/model/AccessRegistrySummaryResponseTest.java src/test/java/com/fireblocks/sdk/model/AccessTypeTest.java src/test/java/com/fireblocks/sdk/model/AccountAccessTest.java src/test/java/com/fireblocks/sdk/model/AccountBaseTest.java @@ -1916,7 +2139,6 @@ src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderTest.java src/test/java/com/fireblocks/sdk/model/AccountConfigTest.java src/test/java/com/fireblocks/sdk/model/AccountHolderDetailsTest.java src/test/java/com/fireblocks/sdk/model/AccountIdentifierTest.java -src/test/java/com/fireblocks/sdk/model/AccountProviderIDTest.java src/test/java/com/fireblocks/sdk/model/AccountReferenceTest.java src/test/java/com/fireblocks/sdk/model/AccountTest.java src/test/java/com/fireblocks/sdk/model/AccountType2Test.java @@ -1937,6 +2159,8 @@ src/test/java/com/fireblocks/sdk/model/AddExchangeAccountResponseTest.java src/test/java/com/fireblocks/sdk/model/AdditionalInfoRequestAdditionalInfoTest.java src/test/java/com/fireblocks/sdk/model/AdditionalInfoRequestTest.java src/test/java/com/fireblocks/sdk/model/AdditionalInfoTest.java +src/test/java/com/fireblocks/sdk/model/AddressBalanceItemDtoTest.java +src/test/java/com/fireblocks/sdk/model/AddressBalancePagedResponseTest.java src/test/java/com/fireblocks/sdk/model/AddressNotAvailableErrorTest.java src/test/java/com/fireblocks/sdk/model/AlertExposureTypeEnumTest.java src/test/java/com/fireblocks/sdk/model/AlertLevelEnumTest.java @@ -1959,6 +2183,7 @@ src/test/java/com/fireblocks/sdk/model/AmountRangeMinMaxTest.java src/test/java/com/fireblocks/sdk/model/AmountRangeTest.java src/test/java/com/fireblocks/sdk/model/ApiKeyTest.java src/test/java/com/fireblocks/sdk/model/ApiKeysPaginatedResponseTest.java +src/test/java/com/fireblocks/sdk/model/ApprovalRequestTest.java src/test/java/com/fireblocks/sdk/model/ApproversConfigApprovalGroupsInnerTest.java src/test/java/com/fireblocks/sdk/model/ApproversConfigTest.java src/test/java/com/fireblocks/sdk/model/AssetAlreadyExistHttpErrorTest.java @@ -1987,6 +2212,7 @@ src/test/java/com/fireblocks/sdk/model/AssetPriceResponseTest.java src/test/java/com/fireblocks/sdk/model/AssetResponseTest.java src/test/java/com/fireblocks/sdk/model/AssetScopeTest.java src/test/java/com/fireblocks/sdk/model/AssetTest.java +src/test/java/com/fireblocks/sdk/model/AssetTypeEnumTest.java src/test/java/com/fireblocks/sdk/model/AssetTypeResponseTest.java src/test/java/com/fireblocks/sdk/model/AssetTypesConfigInnerTest.java src/test/java/com/fireblocks/sdk/model/AssetWalletTest.java @@ -1994,9 +2220,14 @@ src/test/java/com/fireblocks/sdk/model/AuditLogDataTest.java src/test/java/com/fireblocks/sdk/model/AuditorDataTest.java src/test/java/com/fireblocks/sdk/model/AuthorizationGroupsTest.java src/test/java/com/fireblocks/sdk/model/AuthorizationInfoTest.java +src/test/java/com/fireblocks/sdk/model/BalanceHistoryItemDtoTest.java +src/test/java/com/fireblocks/sdk/model/BalanceHistoryPagedResponseTest.java +src/test/java/com/fireblocks/sdk/model/BankAddressTest.java src/test/java/com/fireblocks/sdk/model/BaseProviderTest.java src/test/java/com/fireblocks/sdk/model/BasicAddressRequestTest.java src/test/java/com/fireblocks/sdk/model/BlockInfoTest.java +src/test/java/com/fireblocks/sdk/model/BlockchainAddressTest.java +src/test/java/com/fireblocks/sdk/model/BlockchainDestinationTest.java src/test/java/com/fireblocks/sdk/model/BlockchainExplorerTest.java src/test/java/com/fireblocks/sdk/model/BlockchainMediaTest.java src/test/java/com/fireblocks/sdk/model/BlockchainMetadataTest.java @@ -2005,6 +2236,7 @@ src/test/java/com/fireblocks/sdk/model/BlockchainOnchainTest.java src/test/java/com/fireblocks/sdk/model/BlockchainResponseTest.java src/test/java/com/fireblocks/sdk/model/BlockchainTransferTest.java src/test/java/com/fireblocks/sdk/model/BpsFeeTest.java +src/test/java/com/fireblocks/sdk/model/BusinessEntityTypeEnumTest.java src/test/java/com/fireblocks/sdk/model/BusinessIdentificationTest.java src/test/java/com/fireblocks/sdk/model/CallbackHandlerRequestTest.java src/test/java/com/fireblocks/sdk/model/CallbackHandlerTest.java @@ -2025,6 +2257,7 @@ src/test/java/com/fireblocks/sdk/model/CollectionOwnershipResponseTest.java src/test/java/com/fireblocks/sdk/model/CollectionTokenMetadataAttributeDtoTest.java src/test/java/com/fireblocks/sdk/model/CollectionTokenMetadataDtoTest.java src/test/java/com/fireblocks/sdk/model/CollectionTypeTest.java +src/test/java/com/fireblocks/sdk/model/CommittedQuoteEnumTest.java src/test/java/com/fireblocks/sdk/model/CommittedQuoteTypeTest.java src/test/java/com/fireblocks/sdk/model/ComplianceResultFullPayloadTest.java src/test/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnumTest.java @@ -2043,6 +2276,7 @@ src/test/java/com/fireblocks/sdk/model/ConnectedAccountAssetTypeTest.java src/test/java/com/fireblocks/sdk/model/ConnectedAccountBalancesResponseTest.java src/test/java/com/fireblocks/sdk/model/ConnectedAccountBalancesTest.java src/test/java/com/fireblocks/sdk/model/ConnectedAccountCapabilityTest.java +src/test/java/com/fireblocks/sdk/model/ConnectedAccountErrorResponseTest.java src/test/java/com/fireblocks/sdk/model/ConnectedAccountManifestTest.java src/test/java/com/fireblocks/sdk/model/ConnectedAccountRateResponseTest.java src/test/java/com/fireblocks/sdk/model/ConnectedAccountTest.java @@ -2056,6 +2290,7 @@ src/test/java/com/fireblocks/sdk/model/ConnectedSingleAccountTest.java src/test/java/com/fireblocks/sdk/model/ConsoleUserTest.java src/test/java/com/fireblocks/sdk/model/ContractAbiResponseDtoAbiInnerTest.java src/test/java/com/fireblocks/sdk/model/ContractAbiResponseDtoTest.java +src/test/java/com/fireblocks/sdk/model/ContractAddressResponseTest.java src/test/java/com/fireblocks/sdk/model/ContractAttributesTest.java src/test/java/com/fireblocks/sdk/model/ContractDataDecodeDataTypeTest.java src/test/java/com/fireblocks/sdk/model/ContractDataDecodeErrorTest.java @@ -2091,7 +2326,6 @@ src/test/java/com/fireblocks/sdk/model/CosignersPaginatedResponseTest.java src/test/java/com/fireblocks/sdk/model/CreateAPIUserTest.java src/test/java/com/fireblocks/sdk/model/CreateAddressRequestTest.java src/test/java/com/fireblocks/sdk/model/CreateAddressResponseTest.java -src/test/java/com/fireblocks/sdk/model/CreateAssetsBulkRequestTest.java src/test/java/com/fireblocks/sdk/model/CreateAssetsRequestTest.java src/test/java/com/fireblocks/sdk/model/CreateConfigOperationRequestTest.java src/test/java/com/fireblocks/sdk/model/CreateConnectionRequestTest.java @@ -2132,7 +2366,10 @@ src/test/java/com/fireblocks/sdk/model/CreateWorkflowExecutionRequestParamsInner src/test/java/com/fireblocks/sdk/model/CustomRoutingDestTest.java src/test/java/com/fireblocks/sdk/model/DAppAddressConfigTest.java src/test/java/com/fireblocks/sdk/model/DVPSettlementTest.java +src/test/java/com/fireblocks/sdk/model/DVPSettlementTypeTest.java +src/test/java/com/fireblocks/sdk/model/DecodedLogTest.java src/test/java/com/fireblocks/sdk/model/DefaultNetworkRoutingDestTest.java +src/test/java/com/fireblocks/sdk/model/DelegationBlockchainPositionInfoTest.java src/test/java/com/fireblocks/sdk/model/DelegationSummaryTest.java src/test/java/com/fireblocks/sdk/model/DelegationTest.java src/test/java/com/fireblocks/sdk/model/DeleteNetworkConnectionResponseTest.java @@ -2190,16 +2427,23 @@ src/test/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupKeyTest.java src/test/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupResponseTest.java src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAddressesResponseTest.java src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAssetsResponseTest.java +src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedDevicesResponseTest.java src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedWalletsResponseTest.java +src/test/java/com/fireblocks/sdk/model/EmbeddedWalletRequiredAlgorithmsTest.java src/test/java/com/fireblocks/sdk/model/EmbeddedWalletSetUpStatusTest.java +src/test/java/com/fireblocks/sdk/model/EmbeddedWalletSetupStatusResponseTest.java src/test/java/com/fireblocks/sdk/model/EmbeddedWalletTest.java -src/test/java/com/fireblocks/sdk/model/ErrorCodesTest.java +src/test/java/com/fireblocks/sdk/model/EnableDeviceTest.java +src/test/java/com/fireblocks/sdk/model/EnableWalletTest.java src/test/java/com/fireblocks/sdk/model/ErrorResponseErrorTest.java src/test/java/com/fireblocks/sdk/model/ErrorResponseTest.java src/test/java/com/fireblocks/sdk/model/ErrorSchemaTest.java src/test/java/com/fireblocks/sdk/model/EstimatedFeeDetailsTest.java src/test/java/com/fireblocks/sdk/model/EstimatedNetworkFeeResponseTest.java src/test/java/com/fireblocks/sdk/model/EstimatedTransactionFeeResponseTest.java +src/test/java/com/fireblocks/sdk/model/EthereumBlockchainDataTest.java +src/test/java/com/fireblocks/sdk/model/EuropeanSEPAAddressTest.java +src/test/java/com/fireblocks/sdk/model/EuropeanSEPADestinationTest.java src/test/java/com/fireblocks/sdk/model/ExchangeAccountTest.java src/test/java/com/fireblocks/sdk/model/ExchangeAssetTest.java src/test/java/com/fireblocks/sdk/model/ExchangeSettlementTransactionsResponseTest.java @@ -2213,14 +2457,21 @@ src/test/java/com/fireblocks/sdk/model/ExecutionRequestDetailsTest.java src/test/java/com/fireblocks/sdk/model/ExecutionResponseBaseDetailsTest.java src/test/java/com/fireblocks/sdk/model/ExecutionResponseDetailsTest.java src/test/java/com/fireblocks/sdk/model/ExecutionScreeningOperationTest.java -src/test/java/com/fireblocks/sdk/model/ExecutionStepDetailsTest.java src/test/java/com/fireblocks/sdk/model/ExecutionStepErrorTest.java src/test/java/com/fireblocks/sdk/model/ExecutionStepStatusEnumTest.java -src/test/java/com/fireblocks/sdk/model/ExecutionStepTest.java src/test/java/com/fireblocks/sdk/model/ExecutionStepTypeTest.java src/test/java/com/fireblocks/sdk/model/ExecutionTransferOperationTest.java +src/test/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaTest.java +src/test/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaTypeTest.java +src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyProviderTest.java +src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyTest.java +src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyTypeTest.java +src/test/java/com/fireblocks/sdk/model/ExternalAccountSenderInformationTest.java src/test/java/com/fireblocks/sdk/model/ExternalAccountTest.java +src/test/java/com/fireblocks/sdk/model/ExternalAccountTypeTest.java src/test/java/com/fireblocks/sdk/model/ExternalWalletAssetTest.java +src/test/java/com/fireblocks/sdk/model/FailureReasonTest.java +src/test/java/com/fireblocks/sdk/model/FailureTest.java src/test/java/com/fireblocks/sdk/model/FeeBreakdownOneOf1Test.java src/test/java/com/fireblocks/sdk/model/FeeBreakdownOneOfTest.java src/test/java/com/fireblocks/sdk/model/FeeBreakdownTest.java @@ -2229,12 +2480,15 @@ src/test/java/com/fireblocks/sdk/model/FeeLevelTest.java src/test/java/com/fireblocks/sdk/model/FeePayerInfoTest.java src/test/java/com/fireblocks/sdk/model/FeePropertiesDetailsTest.java src/test/java/com/fireblocks/sdk/model/FeeTest.java +src/test/java/com/fireblocks/sdk/model/FeeTypeEnumTest.java src/test/java/com/fireblocks/sdk/model/FetchAbiRequestDtoTest.java src/test/java/com/fireblocks/sdk/model/FiatAccountTest.java src/test/java/com/fireblocks/sdk/model/FiatAccountTypeTest.java src/test/java/com/fireblocks/sdk/model/FiatAssetTest.java src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.java +src/test/java/com/fireblocks/sdk/model/FiatPaymentMetadataTest.java src/test/java/com/fireblocks/sdk/model/FiatTransferTest.java +src/test/java/com/fireblocks/sdk/model/FixedAmountTypeEnumTest.java src/test/java/com/fireblocks/sdk/model/FixedFeeTest.java src/test/java/com/fireblocks/sdk/model/FreezeTransactionResponseTest.java src/test/java/com/fireblocks/sdk/model/FunctionDocTest.java @@ -2254,6 +2508,7 @@ src/test/java/com/fireblocks/sdk/model/GetFilterParameterTest.java src/test/java/com/fireblocks/sdk/model/GetLayerZeroDvnConfigResponseTest.java src/test/java/com/fireblocks/sdk/model/GetLayerZeroPeersResponseTest.java src/test/java/com/fireblocks/sdk/model/GetLinkedCollectionsPaginatedResponseTest.java +src/test/java/com/fireblocks/sdk/model/GetMaxBipIndexUsedResponseTest.java src/test/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponseTest.java src/test/java/com/fireblocks/sdk/model/GetMpcKeysResponseTest.java src/test/java/com/fireblocks/sdk/model/GetNFTsResponseTest.java @@ -2273,6 +2528,7 @@ src/test/java/com/fireblocks/sdk/model/IbanDestinationTest.java src/test/java/com/fireblocks/sdk/model/IbanPaymentInfoTest.java src/test/java/com/fireblocks/sdk/model/IdentificationTest.java src/test/java/com/fireblocks/sdk/model/IdlTypeTest.java +src/test/java/com/fireblocks/sdk/model/IndicativeQuoteEnumTest.java src/test/java/com/fireblocks/sdk/model/IndicativeQuoteTypeTest.java src/test/java/com/fireblocks/sdk/model/InitiatorConfigPatternTest.java src/test/java/com/fireblocks/sdk/model/InitiatorConfigTest.java @@ -2281,7 +2537,6 @@ src/test/java/com/fireblocks/sdk/model/InternalReferenceTest.java src/test/java/com/fireblocks/sdk/model/InternalTransferResponseTest.java src/test/java/com/fireblocks/sdk/model/InvalidParamaterValueErrorTest.java src/test/java/com/fireblocks/sdk/model/JobCreatedTest.java -src/test/java/com/fireblocks/sdk/model/JobTest.java src/test/java/com/fireblocks/sdk/model/LayerZeroAdapterCreateParamsTest.java src/test/java/com/fireblocks/sdk/model/LbtPaymentInfoTest.java src/test/java/com/fireblocks/sdk/model/LeanAbiFunctionTest.java @@ -2315,9 +2570,7 @@ src/test/java/com/fireblocks/sdk/model/LegacyPolicyValidationTest.java src/test/java/com/fireblocks/sdk/model/LegacyPublishDraftRequestTest.java src/test/java/com/fireblocks/sdk/model/LegacyPublishResultTest.java src/test/java/com/fireblocks/sdk/model/LegacySrcOrDestAttributesInnerTest.java -src/test/java/com/fireblocks/sdk/model/LimitExecutionRequestDetailsTest.java -src/test/java/com/fireblocks/sdk/model/LimitExecutionResponseDetailsTest.java -src/test/java/com/fireblocks/sdk/model/LimitTypeDetailsTest.java +src/test/java/com/fireblocks/sdk/model/LinkedTokensCountTest.java src/test/java/com/fireblocks/sdk/model/ListAssetsResponseTest.java src/test/java/com/fireblocks/sdk/model/ListBlockchainsResponseTest.java src/test/java/com/fireblocks/sdk/model/ListOwnedCollectionsResponseTest.java @@ -2328,7 +2581,9 @@ src/test/java/com/fireblocks/sdk/model/ManifestTest.java src/test/java/com/fireblocks/sdk/model/MarketExecutionRequestDetailsTest.java src/test/java/com/fireblocks/sdk/model/MarketExecutionResponseDetailsTest.java src/test/java/com/fireblocks/sdk/model/MarketRequoteRequestDetailsTest.java +src/test/java/com/fireblocks/sdk/model/MarketRequoteTypeEnumTest.java src/test/java/com/fireblocks/sdk/model/MarketTypeDetailsTest.java +src/test/java/com/fireblocks/sdk/model/MarketTypeEnumTest.java src/test/java/com/fireblocks/sdk/model/MediaEntityResponseTest.java src/test/java/com/fireblocks/sdk/model/MergeStakeAccountsRequestTest.java src/test/java/com/fireblocks/sdk/model/MergeStakeAccountsResponseTest.java @@ -2359,11 +2614,15 @@ src/test/java/com/fireblocks/sdk/model/NotificationPaginatedResponseTest.java src/test/java/com/fireblocks/sdk/model/NotificationStatusTest.java src/test/java/com/fireblocks/sdk/model/NotificationTest.java src/test/java/com/fireblocks/sdk/model/NotificationWithDataTest.java +src/test/java/com/fireblocks/sdk/model/OnchainTransactionTest.java +src/test/java/com/fireblocks/sdk/model/OnchainTransactionsPagedResponseTest.java src/test/java/com/fireblocks/sdk/model/OneTimeAddressAccountTest.java +src/test/java/com/fireblocks/sdk/model/OneTimeAddressPeerTypeTest.java src/test/java/com/fireblocks/sdk/model/OneTimeAddressReferenceTest.java src/test/java/com/fireblocks/sdk/model/OneTimeAddressTest.java src/test/java/com/fireblocks/sdk/model/OperationExecutionFailureTest.java src/test/java/com/fireblocks/sdk/model/OrderDetailsTest.java +src/test/java/com/fireblocks/sdk/model/OrderExecutionStepTest.java src/test/java/com/fireblocks/sdk/model/OrderSideTest.java src/test/java/com/fireblocks/sdk/model/OrderStatusTest.java src/test/java/com/fireblocks/sdk/model/OrderSummaryTest.java @@ -2385,7 +2644,7 @@ src/test/java/com/fireblocks/sdk/model/PayeeAccountTypeTest.java src/test/java/com/fireblocks/sdk/model/PaymentAccountResponseTest.java src/test/java/com/fireblocks/sdk/model/PaymentAccountTest.java src/test/java/com/fireblocks/sdk/model/PaymentAccountTypeTest.java -src/test/java/com/fireblocks/sdk/model/PaymentInstructionsDetailsTest.java +src/test/java/com/fireblocks/sdk/model/PaymentInstructionsOneOfTest.java src/test/java/com/fireblocks/sdk/model/PaymentInstructionsTest.java src/test/java/com/fireblocks/sdk/model/PayoutInitMethodTest.java src/test/java/com/fireblocks/sdk/model/PayoutInstructionResponseTest.java @@ -2396,12 +2655,14 @@ src/test/java/com/fireblocks/sdk/model/PayoutStateTest.java src/test/java/com/fireblocks/sdk/model/PayoutStatusTest.java src/test/java/com/fireblocks/sdk/model/PeerAdapterInfoTest.java src/test/java/com/fireblocks/sdk/model/PeerTypeTest.java +src/test/java/com/fireblocks/sdk/model/PersonalEntityTypeEnumTest.java src/test/java/com/fireblocks/sdk/model/PersonalIdentificationFullNameTest.java src/test/java/com/fireblocks/sdk/model/PersonalIdentificationTest.java src/test/java/com/fireblocks/sdk/model/PixAddressTest.java src/test/java/com/fireblocks/sdk/model/PixDestinationTest.java src/test/java/com/fireblocks/sdk/model/PixPaymentInfoTest.java src/test/java/com/fireblocks/sdk/model/PlatformAccountTest.java +src/test/java/com/fireblocks/sdk/model/PlatformPeerTypeTest.java src/test/java/com/fireblocks/sdk/model/PlayersTest.java src/test/java/com/fireblocks/sdk/model/PolicyAndValidationResponseTest.java src/test/java/com/fireblocks/sdk/model/PolicyCheckResultTest.java @@ -2418,24 +2679,24 @@ src/test/java/com/fireblocks/sdk/model/PolicyTypeTest.java src/test/java/com/fireblocks/sdk/model/PolicyValidationTest.java src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2Test.java src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnumTest.java -src/test/java/com/fireblocks/sdk/model/PostOrderSettlementTest.java src/test/java/com/fireblocks/sdk/model/PostalAddressTest.java src/test/java/com/fireblocks/sdk/model/PreScreeningTest.java src/test/java/com/fireblocks/sdk/model/PrefundedSettlementTest.java +src/test/java/com/fireblocks/sdk/model/PrefundedSettlementTypeTest.java src/test/java/com/fireblocks/sdk/model/ProgramCallConfigTest.java -src/test/java/com/fireblocks/sdk/model/ProviderIDTest.java src/test/java/com/fireblocks/sdk/model/ProviderTest.java src/test/java/com/fireblocks/sdk/model/ProvidersListResponseTest.java src/test/java/com/fireblocks/sdk/model/PublicKeyInformationTest.java src/test/java/com/fireblocks/sdk/model/PublishDraftRequestTest.java src/test/java/com/fireblocks/sdk/model/PublishResultTest.java src/test/java/com/fireblocks/sdk/model/QuoteExecutionRequestDetailsTest.java -src/test/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetailsTest.java +src/test/java/com/fireblocks/sdk/model/QuoteExecutionStepTest.java src/test/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetailsTest.java src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetailsTest.java src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetailsTest.java src/test/java/com/fireblocks/sdk/model/QuotePropertiesDetailsTest.java src/test/java/com/fireblocks/sdk/model/QuoteTest.java +src/test/java/com/fireblocks/sdk/model/QuoteTypeEnumTest.java src/test/java/com/fireblocks/sdk/model/QuotesResponseTest.java src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuoteTest.java src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsTest.java @@ -2453,9 +2714,10 @@ src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersRequestTest.java src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersResponseTest.java src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersRequestTest.java src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersResponseTest.java +src/test/java/com/fireblocks/sdk/model/RenameConnectedAccountRequestTest.java +src/test/java/com/fireblocks/sdk/model/RenameConnectedAccountResponseTest.java src/test/java/com/fireblocks/sdk/model/RenameCosignerTest.java src/test/java/com/fireblocks/sdk/model/RenameVaultAccountResponseTest.java -src/test/java/com/fireblocks/sdk/model/RescanTransactionTest.java src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsJobStatusResponseTest.java src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsRequestTest.java src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsResponseTest.java @@ -2465,12 +2727,16 @@ src/test/java/com/fireblocks/sdk/model/ResendWebhooksByTransactionIdResponseTest src/test/java/com/fireblocks/sdk/model/ResendWebhooksResponseTest.java src/test/java/com/fireblocks/sdk/model/RespondToConnectionRequestTest.java src/test/java/com/fireblocks/sdk/model/RetryRequoteRequestDetailsTest.java +src/test/java/com/fireblocks/sdk/model/RetryRequoteTypeEnumTest.java src/test/java/com/fireblocks/sdk/model/RewardInfoTest.java src/test/java/com/fireblocks/sdk/model/RewardsInfoTest.java +src/test/java/com/fireblocks/sdk/model/RoleDetailsTest.java +src/test/java/com/fireblocks/sdk/model/RoleGranteeTest.java src/test/java/com/fireblocks/sdk/model/SEPAAddressTest.java src/test/java/com/fireblocks/sdk/model/SEPADestinationTest.java src/test/java/com/fireblocks/sdk/model/SOLAccountTest.java src/test/java/com/fireblocks/sdk/model/SOLAccountWithValueTest.java +src/test/java/com/fireblocks/sdk/model/ScopeItemTest.java src/test/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnumTest.java src/test/java/com/fireblocks/sdk/model/ScreeningAmlAlertTest.java src/test/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRuleTest.java @@ -2527,6 +2793,7 @@ src/test/java/com/fireblocks/sdk/model/SettlementRequestBodyTest.java src/test/java/com/fireblocks/sdk/model/SettlementResponseTest.java src/test/java/com/fireblocks/sdk/model/SettlementSourceAccountTest.java src/test/java/com/fireblocks/sdk/model/SettlementTest.java +src/test/java/com/fireblocks/sdk/model/SideTest.java src/test/java/com/fireblocks/sdk/model/SignedMessageSignatureTest.java src/test/java/com/fireblocks/sdk/model/SignedMessageTest.java src/test/java/com/fireblocks/sdk/model/SigningKeyDtoTest.java @@ -2573,26 +2840,69 @@ src/test/java/com/fireblocks/sdk/model/SpeiBasicPaymentInfoTest.java src/test/java/com/fireblocks/sdk/model/SpeiDestinationTest.java src/test/java/com/fireblocks/sdk/model/SplitRequestTest.java src/test/java/com/fireblocks/sdk/model/SplitResponseTest.java +src/test/java/com/fireblocks/sdk/model/StEthBlockchainDataTest.java src/test/java/com/fireblocks/sdk/model/StakeRequestTest.java src/test/java/com/fireblocks/sdk/model/StakeResponseTest.java src/test/java/com/fireblocks/sdk/model/StakingProviderTest.java src/test/java/com/fireblocks/sdk/model/StatusTest.java src/test/java/com/fireblocks/sdk/model/StellarRippleCreateParamsDtoTest.java +src/test/java/com/fireblocks/sdk/model/SupportedBlockChainsResponseTest.java +src/test/java/com/fireblocks/sdk/model/SupportedBlockchainTest.java src/test/java/com/fireblocks/sdk/model/SwiftAddressTest.java src/test/java/com/fireblocks/sdk/model/SwiftDestinationTest.java src/test/java/com/fireblocks/sdk/model/SystemMessageInfoTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkAPIPagedResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkAmount2Test.java +src/test/java/com/fireblocks/sdk/model/TRLinkAmountRangeTest.java src/test/java/com/fireblocks/sdk/model/TRLinkAmountTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleRequestTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkAssessmentDecisionTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkAssetDataTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkAssetFormatTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkAssetTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkAssetsListPagedResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkCancelTrmRequestTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkConnectIntegrationRequestTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkCreateCustomerRequestTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkCreateIntegrationRequestTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkCreateTrmRequestTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkCurrencyTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkCustomerIntegrationResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkCustomerResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkDestinationTransferPeerPathTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkDiscoverableStatusTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkFiatValueTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkGeographicAddressRequestTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkGetSupportedAssetResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkIvmsResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkIvmsTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkJwkPublicKeyTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction2Test.java src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnumTest.java src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionTest.java src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecisionTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule2Test.java src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRuleTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkOneTimeAddressTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkPagingTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkPartnerResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkPolicyResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningActionTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule2Test.java src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRuleTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction2Test.java src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnumTest.java src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule2Test.java src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRuleTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkProviderDataTest.java src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultTest.java src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2Test.java src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRuleTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkPublicAssetInfoTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkPublicKeyResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkRedirectTrmRequestTest.java src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayloadTest.java src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultTest.java src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnumTest.java @@ -2600,22 +2910,39 @@ src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusTest.java src/test/java/com/fireblocks/sdk/model/TRLinkResultFullPayloadTest.java src/test/java/com/fireblocks/sdk/model/TRLinkResultTest.java src/test/java/com/fireblocks/sdk/model/TRLinkRuleBaseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdRequestTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdRequestTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkSourceTransferPeerPathTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkTestConnectionResponseTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkThresholdsTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkTransactionDirectionTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkTransferPeerPathTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkTrmDirectionTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkTrmInfoResponseTest.java src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnumTest.java src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkTrmStatusTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkTxnInfoTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkUpdateCustomerRequestTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkVaspDtoTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkVaspGeographicAddressTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkVaspListDtoTest.java +src/test/java/com/fireblocks/sdk/model/TRLinkVaspNationalIdentificationTest.java src/test/java/com/fireblocks/sdk/model/TRLinkVerdictEnumTest.java src/test/java/com/fireblocks/sdk/model/TRLinkVerdictTest.java src/test/java/com/fireblocks/sdk/model/TagAttachmentOperationActionTest.java src/test/java/com/fireblocks/sdk/model/TagTest.java src/test/java/com/fireblocks/sdk/model/TagsPagedResponseTest.java -src/test/java/com/fireblocks/sdk/model/TaskTest.java src/test/java/com/fireblocks/sdk/model/TemplatesPaginatedResponseTest.java src/test/java/com/fireblocks/sdk/model/ThirdPartyRoutingTest.java -src/test/java/com/fireblocks/sdk/model/TimeInForceTest.java src/test/java/com/fireblocks/sdk/model/TimePeriodConfigTest.java src/test/java/com/fireblocks/sdk/model/TimePeriodMatchTypeTest.java src/test/java/com/fireblocks/sdk/model/ToCollateralTransactionTest.java src/test/java/com/fireblocks/sdk/model/ToExchangeTransactionTest.java src/test/java/com/fireblocks/sdk/model/TokenCollectionResponseTest.java +src/test/java/com/fireblocks/sdk/model/TokenContractSummaryResponseTest.java src/test/java/com/fireblocks/sdk/model/TokenInfoNotFoundErrorResponseTest.java src/test/java/com/fireblocks/sdk/model/TokenLinkDtoTest.java src/test/java/com/fireblocks/sdk/model/TokenLinkDtoTokenMetadataTest.java @@ -2627,9 +2954,10 @@ src/test/java/com/fireblocks/sdk/model/TokenOwnershipSpamUpdatePayloadTest.java src/test/java/com/fireblocks/sdk/model/TokenOwnershipStatusUpdatePayloadTest.java src/test/java/com/fireblocks/sdk/model/TokenResponseTest.java src/test/java/com/fireblocks/sdk/model/TokensPaginatedResponseTest.java +src/test/java/com/fireblocks/sdk/model/TotalSupplyItemDtoTest.java +src/test/java/com/fireblocks/sdk/model/TotalSupplyPagedResponseTest.java src/test/java/com/fireblocks/sdk/model/TradingAccountTypeTest.java -src/test/java/com/fireblocks/sdk/model/TradingErrorResponseErrorTest.java -src/test/java/com/fireblocks/sdk/model/TradingErrorResponseTest.java +src/test/java/com/fireblocks/sdk/model/TradingErrorSchemaTest.java src/test/java/com/fireblocks/sdk/model/TradingProviderTest.java src/test/java/com/fireblocks/sdk/model/TransactionDirectionTest.java src/test/java/com/fireblocks/sdk/model/TransactionFeeTest.java @@ -2708,7 +3036,11 @@ src/test/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionRequestTest. src/test/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionResponseTest.java src/test/java/com/fireblocks/sdk/model/TravelRuleVaspForVaultTest.java src/test/java/com/fireblocks/sdk/model/TravelRuleVerdictEnumTest.java +src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressCreateResponseTest.java +src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressRequestTest.java +src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressResponseTest.java src/test/java/com/fireblocks/sdk/model/TxLogTest.java +src/test/java/com/fireblocks/sdk/model/TypedMessageTransactionStatusEnumTest.java src/test/java/com/fireblocks/sdk/model/USWireAddressTest.java src/test/java/com/fireblocks/sdk/model/USWireDestinationTest.java src/test/java/com/fireblocks/sdk/model/UnfreezeTransactionResponseTest.java @@ -2736,7 +3068,6 @@ src/test/java/com/fireblocks/sdk/model/UserStatusTest.java src/test/java/com/fireblocks/sdk/model/UserTypeTest.java src/test/java/com/fireblocks/sdk/model/ValidateAddressResponseTest.java src/test/java/com/fireblocks/sdk/model/ValidateLayerZeroChannelResponseTest.java -src/test/java/com/fireblocks/sdk/model/ValidatedTransactionsForRescanTest.java src/test/java/com/fireblocks/sdk/model/ValidationKeyDtoTest.java src/test/java/com/fireblocks/sdk/model/ValidatorTest.java src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperationTest.java @@ -2747,13 +3078,12 @@ src/test/java/com/fireblocks/sdk/model/VaultAccountsPagedResponsePagingTest.java src/test/java/com/fireblocks/sdk/model/VaultAccountsPagedResponseTest.java src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequestTest.java src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponseTest.java -src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentsRequestTest.java src/test/java/com/fireblocks/sdk/model/VaultActionStatusTest.java src/test/java/com/fireblocks/sdk/model/VaultAssetTest.java src/test/java/com/fireblocks/sdk/model/VaultWalletAddressTest.java src/test/java/com/fireblocks/sdk/model/VendorDtoTest.java src/test/java/com/fireblocks/sdk/model/VerdictConfigTest.java -src/test/java/com/fireblocks/sdk/model/VersionTest.java +src/test/java/com/fireblocks/sdk/model/VersionSummaryTest.java src/test/java/com/fireblocks/sdk/model/WalletAssetAdditionalInfoTest.java src/test/java/com/fireblocks/sdk/model/WalletAssetTest.java src/test/java/com/fireblocks/sdk/model/WebhookEventTest.java diff --git a/README.md b/README.md index 8734461f..0e3c025b 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Add this dependency to your project's POM: com.fireblocks.sdk fireblocks-sdk - 13.0.0 + 0.0.0 compile ``` @@ -42,7 +42,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -compile "com.fireblocks.sdk:fireblocks-sdk:13.0.0" +compile "com.fireblocks.sdk:fireblocks-sdk:0.0.0" ``` ### Others @@ -55,7 +55,7 @@ mvn clean package Then manually install the following JARs: -- `target/fireblocks-sdk-13.0.0.jar` +- `target/fireblocks-sdk-0.0.0.jar` - `target/lib/*.jar` @@ -141,13 +141,12 @@ All URIs are relative to *https://api.fireblocks.io/v1* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*ApiUserApi* | [**createApiUser**](docs/ApiUserApi.md#createApiUser) | **POST** /management/api_users | Create Api user -*ApiUserApi* | [**getApiUsers**](docs/ApiUserApi.md#getApiUsers) | **GET** /management/api_users | Get Api users -*AssetsApi* | [**createAssetsBulk**](docs/AssetsApi.md#createAssetsBulk) | **POST** /vault/assets/bulk | Bulk creation of wallets +*ApiUserApi* | [**createApiUser**](docs/ApiUserApi.md#createApiUser) | **POST** /management/api_users | Create API Key +*ApiUserApi* | [**getApiUsers**](docs/ApiUserApi.md#getApiUsers) | **GET** /management/api_users | Get API Keys *AuditLogsApi* | [**getAuditLogs**](docs/AuditLogsApi.md#getAuditLogs) | **GET** /management/audit_logs | Get audit logs *BlockchainsAssetsApi* | [**getAsset**](docs/BlockchainsAssetsApi.md#getAsset) | **GET** /assets/{id} | Get an asset -*BlockchainsAssetsApi* | [**getBlockchain**](docs/BlockchainsAssetsApi.md#getBlockchain) | **GET** /blockchains/{id} | Get an blockchain -*BlockchainsAssetsApi* | [**getSupportedAssets**](docs/BlockchainsAssetsApi.md#getSupportedAssets) | **GET** /supported_assets | List all asset types supported by Fireblocks - legacy endpoint +*BlockchainsAssetsApi* | [**getBlockchain**](docs/BlockchainsAssetsApi.md#getBlockchain) | **GET** /blockchains/{id} | Get a Blockchain by ID +*BlockchainsAssetsApi* | [**getSupportedAssets**](docs/BlockchainsAssetsApi.md#getSupportedAssets) | **GET** /supported_assets | List assets (Legacy) *BlockchainsAssetsApi* | [**listAssets**](docs/BlockchainsAssetsApi.md#listAssets) | **GET** /assets | List assets *BlockchainsAssetsApi* | [**listBlockchains**](docs/BlockchainsAssetsApi.md#listBlockchains) | **GET** /blockchains | List blockchains *BlockchainsAssetsApi* | [**registerNewAsset**](docs/BlockchainsAssetsApi.md#registerNewAsset) | **POST** /assets | Register an asset @@ -165,14 +164,17 @@ Class | Method | HTTP request | Description *ComplianceApi* | [**updateTravelRuleConfig**](docs/ComplianceApi.md#updateTravelRuleConfig) | **PUT** /screening/travel_rule/policy_configuration | Update Travel Rule Configuration *ComplianceScreeningConfigurationApi* | [**getAmlScreeningConfiguration**](docs/ComplianceScreeningConfigurationApi.md#getAmlScreeningConfiguration) | **GET** /screening/aml/policy_configuration | Get AML Screening Policy Configuration *ComplianceScreeningConfigurationApi* | [**getScreeningConfiguration**](docs/ComplianceScreeningConfigurationApi.md#getScreeningConfiguration) | **GET** /screening/travel_rule/policy_configuration | Get Travel Rule Screening Policy Configuration +*ConnectedAccountsBetaApi* | [**disconnectConnectedAccount**](docs/ConnectedAccountsBetaApi.md#disconnectConnectedAccount) | **DELETE** /connected_accounts/{accountId} | Disconnect connected account *ConnectedAccountsBetaApi* | [**getConnectedAccount**](docs/ConnectedAccountsBetaApi.md#getConnectedAccount) | **GET** /connected_accounts/{accountId} | Get connected account *ConnectedAccountsBetaApi* | [**getConnectedAccountBalances**](docs/ConnectedAccountsBetaApi.md#getConnectedAccountBalances) | **GET** /connected_accounts/{accountId}/balances | Get balances for an account *ConnectedAccountsBetaApi* | [**getConnectedAccountRates**](docs/ConnectedAccountsBetaApi.md#getConnectedAccountRates) | **GET** /connected_accounts/{accountId}/rates | Get exchange rates for an account *ConnectedAccountsBetaApi* | [**getConnectedAccountTradingPairs**](docs/ConnectedAccountsBetaApi.md#getConnectedAccountTradingPairs) | **GET** /connected_accounts/{accountId}/manifest/capabilities/trading/pairs | Get supported trading pairs for an account *ConnectedAccountsBetaApi* | [**getConnectedAccounts**](docs/ConnectedAccountsBetaApi.md#getConnectedAccounts) | **GET** /connected_accounts | Get connected accounts +*ConnectedAccountsBetaApi* | [**renameConnectedAccount**](docs/ConnectedAccountsBetaApi.md#renameConnectedAccount) | **POST** /connected_accounts/{accountId}/rename | Rename Connected Account *ConsoleUserApi* | [**createConsoleUser**](docs/ConsoleUserApi.md#createConsoleUser) | **POST** /management/users | Create console user *ConsoleUserApi* | [**getConsoleUsers**](docs/ConsoleUserApi.md#getConsoleUsers) | **GET** /management/users | Get console users *ContractInteractionsApi* | [**decodeContractData**](docs/ContractInteractionsApi.md#decodeContractData) | **POST** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/decode | Decode a function call data, error, or event log +*ContractInteractionsApi* | [**getContractAddress**](docs/ContractInteractionsApi.md#getContractAddress) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash} | Get contract address by transaction hash *ContractInteractionsApi* | [**getDeployedContractAbi**](docs/ContractInteractionsApi.md#getDeployedContractAbi) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/functions | Return deployed contract's ABI *ContractInteractionsApi* | [**getTransactionReceipt**](docs/ContractInteractionsApi.md#getTransactionReceipt) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash}/receipt | Get transaction receipt *ContractInteractionsApi* | [**readCallFunction**](docs/ContractInteractionsApi.md#readCallFunction) | **POST** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/functions/read | Call a read function on a deployed contract @@ -183,14 +185,15 @@ Class | Method | HTTP request | Description *ContractTemplatesApi* | [**getContractTemplateById**](docs/ContractTemplatesApi.md#getContractTemplateById) | **GET** /tokenization/templates/{contractTemplateId} | Return contract template by id *ContractTemplatesApi* | [**getContractTemplates**](docs/ContractTemplatesApi.md#getContractTemplates) | **GET** /tokenization/templates | List all contract templates *ContractTemplatesApi* | [**getFunctionAbiByContractTemplateId**](docs/ContractTemplatesApi.md#getFunctionAbiByContractTemplateId) | **GET** /tokenization/templates/{contractTemplateId}/function | Return contract template's function +*ContractTemplatesApi* | [**getSupportedBlockchainsByTemplateId**](docs/ContractTemplatesApi.md#getSupportedBlockchainsByTemplateId) | **GET** /tokenization/templates/{contractTemplateId}/supported_blockchains | Get supported blockchains for the template *ContractTemplatesApi* | [**uploadContractTemplate**](docs/ContractTemplatesApi.md#uploadContractTemplate) | **POST** /tokenization/templates | Upload contract template -*ContractsApi* | [**addContractAsset**](docs/ContractsApi.md#addContractAsset) | **POST** /contracts/{contractId}/{assetId} | Add an asset to a contract -*ContractsApi* | [**createContract**](docs/ContractsApi.md#createContract) | **POST** /contracts | Create a contract +*ContractsApi* | [**addContractAsset**](docs/ContractsApi.md#addContractAsset) | **POST** /contracts/{contractId}/{assetId} | Add an asset to a whitelisted contract +*ContractsApi* | [**createContract**](docs/ContractsApi.md#createContract) | **POST** /contracts | Add a contract *ContractsApi* | [**deleteContract**](docs/ContractsApi.md#deleteContract) | **DELETE** /contracts/{contractId} | Delete a contract -*ContractsApi* | [**deleteContractAsset**](docs/ContractsApi.md#deleteContractAsset) | **DELETE** /contracts/{contractId}/{assetId} | Delete a contract asset -*ContractsApi* | [**getContract**](docs/ContractsApi.md#getContract) | **GET** /contracts/{contractId} | Find a specific contract -*ContractsApi* | [**getContractAsset**](docs/ContractsApi.md#getContractAsset) | **GET** /contracts/{contractId}/{assetId} | Find a contract asset -*ContractsApi* | [**getContracts**](docs/ContractsApi.md#getContracts) | **GET** /contracts | List contracts +*ContractsApi* | [**deleteContractAsset**](docs/ContractsApi.md#deleteContractAsset) | **DELETE** /contracts/{contractId}/{assetId} | Delete an asset from a whitelisted contract +*ContractsApi* | [**getContract**](docs/ContractsApi.md#getContract) | **GET** /contracts/{contractId} | Find a Specific Whitelisted Contract +*ContractsApi* | [**getContractAsset**](docs/ContractsApi.md#getContractAsset) | **GET** /contracts/{contractId}/{assetId} | Find a whitelisted contract's asset +*ContractsApi* | [**getContracts**](docs/ContractsApi.md#getContracts) | **GET** /contracts | List Whitelisted Contracts *CosignersBetaApi* | [**addCosigner**](docs/CosignersBetaApi.md#addCosigner) | **POST** /cosigners | Add cosigner *CosignersBetaApi* | [**getApiKey**](docs/CosignersBetaApi.md#getApiKey) | **GET** /cosigners/{cosignerId}/api_keys/{apiKeyId} | Get API key *CosignersBetaApi* | [**getApiKeys**](docs/CosignersBetaApi.md#getApiKeys) | **GET** /cosigners/{cosignerId}/api_keys | Get all API keys @@ -207,6 +210,7 @@ Class | Method | HTTP request | Description *DeployedContractsApi* | [**getDeployedContractById**](docs/DeployedContractsApi.md#getDeployedContractById) | **GET** /tokenization/contracts/{id} | Return deployed contract data by id *DeployedContractsApi* | [**getDeployedContracts**](docs/DeployedContractsApi.md#getDeployedContracts) | **GET** /tokenization/contracts | List deployed contracts data *EmbeddedWalletsApi* | [**addEmbeddedWalletAsset**](docs/EmbeddedWalletsApi.md#addEmbeddedWalletAsset) | **POST** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId} | Add asset to account +*EmbeddedWalletsApi* | [**assignEmbeddedWallet**](docs/EmbeddedWalletsApi.md#assignEmbeddedWallet) | **POST** /ncw/wallets/{walletId}/assign | Assign a wallet *EmbeddedWalletsApi* | [**createEmbeddedWallet**](docs/EmbeddedWalletsApi.md#createEmbeddedWallet) | **POST** /ncw/wallets | Create a new wallet *EmbeddedWalletsApi* | [**createEmbeddedWalletAccount**](docs/EmbeddedWalletsApi.md#createEmbeddedWalletAccount) | **POST** /ncw/wallets/{walletId}/accounts | Create a new account *EmbeddedWalletsApi* | [**getEmbeddedWallet**](docs/EmbeddedWalletsApi.md#getEmbeddedWallet) | **GET** /ncw/wallets/{walletId} | Get a wallet @@ -214,20 +218,25 @@ Class | Method | HTTP request | Description *EmbeddedWalletsApi* | [**getEmbeddedWalletAddresses**](docs/EmbeddedWalletsApi.md#getEmbeddedWalletAddresses) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/addresses | Retrieve asset addresses *EmbeddedWalletsApi* | [**getEmbeddedWalletAsset**](docs/EmbeddedWalletsApi.md#getEmbeddedWalletAsset) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId} | Retrieve asset *EmbeddedWalletsApi* | [**getEmbeddedWalletAssetBalance**](docs/EmbeddedWalletsApi.md#getEmbeddedWalletAssetBalance) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/balance | Retrieve asset balance +*EmbeddedWalletsApi* | [**getEmbeddedWalletAssets**](docs/EmbeddedWalletsApi.md#getEmbeddedWalletAssets) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets | Retrieve assets *EmbeddedWalletsApi* | [**getEmbeddedWalletDevice**](docs/EmbeddedWalletsApi.md#getEmbeddedWalletDevice) | **GET** /ncw/wallets/{walletId}/devices/{deviceId} | Get Embedded Wallet Device *EmbeddedWalletsApi* | [**getEmbeddedWalletDeviceSetupState**](docs/EmbeddedWalletsApi.md#getEmbeddedWalletDeviceSetupState) | **GET** /ncw/wallets/{walletId}/devices/{deviceId}/setup_status | Get device key setup state +*EmbeddedWalletsApi* | [**getEmbeddedWalletDevicesPaginated**](docs/EmbeddedWalletsApi.md#getEmbeddedWalletDevicesPaginated) | **GET** /ncw/wallets/{walletId}/devices_paginated | Get registered devices - paginated *EmbeddedWalletsApi* | [**getEmbeddedWalletLatestBackup**](docs/EmbeddedWalletsApi.md#getEmbeddedWalletLatestBackup) | **GET** /ncw/wallets/{walletId}/backup/latest | Get wallet Latest Backup details *EmbeddedWalletsApi* | [**getEmbeddedWalletPublicKeyInfoForAddress**](docs/EmbeddedWalletsApi.md#getEmbeddedWalletPublicKeyInfoForAddress) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/{change}/{addressIndex}/public_key_info | Get the public key of an asset +*EmbeddedWalletsApi* | [**getEmbeddedWalletSetupStatus**](docs/EmbeddedWalletsApi.md#getEmbeddedWalletSetupStatus) | **GET** /ncw/wallets/{walletId}/setup_status | Get wallet key setup state *EmbeddedWalletsApi* | [**getEmbeddedWalletSupportedAssets**](docs/EmbeddedWalletsApi.md#getEmbeddedWalletSupportedAssets) | **GET** /ncw/wallets/supported_assets | Retrieve supported assets *EmbeddedWalletsApi* | [**getEmbeddedWallets**](docs/EmbeddedWalletsApi.md#getEmbeddedWallets) | **GET** /ncw/wallets | List wallets *EmbeddedWalletsApi* | [**getPublicKeyInfoNcw**](docs/EmbeddedWalletsApi.md#getPublicKeyInfoNcw) | **GET** /ncw/wallets/{walletId}/public_key_info | Get the public key for a derivation path *EmbeddedWalletsApi* | [**refreshEmbeddedWalletAssetBalance**](docs/EmbeddedWalletsApi.md#refreshEmbeddedWalletAssetBalance) | **PUT** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/balance | Refresh asset balance +*EmbeddedWalletsApi* | [**updateEmbeddedWalletDeviceStatus**](docs/EmbeddedWalletsApi.md#updateEmbeddedWalletDeviceStatus) | **PATCH** /ncw/wallets/{walletId}/devices/{deviceId}/status | Update device status +*EmbeddedWalletsApi* | [**updateEmbeddedWalletStatus**](docs/EmbeddedWalletsApi.md#updateEmbeddedWalletStatus) | **PATCH** /ncw/wallets/{walletId}/status | Update wallet status *ExchangeAccountsApi* | [**addExchangeAccount**](docs/ExchangeAccountsApi.md#addExchangeAccount) | **POST** /exchange_accounts | Add an exchange account -*ExchangeAccountsApi* | [**convertAssets**](docs/ExchangeAccountsApi.md#convertAssets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds from the source asset to the destination asset. -*ExchangeAccountsApi* | [**getExchangeAccount**](docs/ExchangeAccountsApi.md#getExchangeAccount) | **GET** /exchange_accounts/{exchangeAccountId} | Find a specific exchange account -*ExchangeAccountsApi* | [**getExchangeAccountAsset**](docs/ExchangeAccountsApi.md#getExchangeAccountAsset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Find an asset for an exchange account +*ExchangeAccountsApi* | [**convertAssets**](docs/ExchangeAccountsApi.md#convertAssets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds +*ExchangeAccountsApi* | [**getExchangeAccount**](docs/ExchangeAccountsApi.md#getExchangeAccount) | **GET** /exchange_accounts/{exchangeAccountId} | Get a specific exchange account +*ExchangeAccountsApi* | [**getExchangeAccountAsset**](docs/ExchangeAccountsApi.md#getExchangeAccountAsset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Get an asset for an exchange account *ExchangeAccountsApi* | [**getExchangeAccountsCredentialsPublicKey**](docs/ExchangeAccountsApi.md#getExchangeAccountsCredentialsPublicKey) | **GET** /exchange_accounts/credentials_public_key | Get public key to encrypt exchange credentials -*ExchangeAccountsApi* | [**getPagedExchangeAccounts**](docs/ExchangeAccountsApi.md#getPagedExchangeAccounts) | **GET** /exchange_accounts/paged | Pagination list exchange accounts +*ExchangeAccountsApi* | [**getPagedExchangeAccounts**](docs/ExchangeAccountsApi.md#getPagedExchangeAccounts) | **GET** /exchange_accounts/paged | List connected exchange accounts *ExchangeAccountsApi* | [**internalTransfer**](docs/ExchangeAccountsApi.md#internalTransfer) | **POST** /exchange_accounts/{exchangeAccountId}/internal_transfer | Internal transfer for exchange accounts *ExternalWalletsApi* | [**addAssetToExternalWallet**](docs/ExternalWalletsApi.md#addAssetToExternalWallet) | **POST** /external_wallets/{walletId}/{assetId} | Add an asset to an external wallet. *ExternalWalletsApi* | [**createExternalWallet**](docs/ExternalWalletsApi.md#createExternalWallet) | **POST** /external_wallets | Create an external wallet @@ -249,17 +258,11 @@ Class | Method | HTTP request | Description *InternalWalletsApi* | [**createInternalWalletAsset**](docs/InternalWalletsApi.md#createInternalWalletAsset) | **POST** /internal_wallets/{walletId}/{assetId} | Add an asset to an internal wallet *InternalWalletsApi* | [**deleteInternalWallet**](docs/InternalWalletsApi.md#deleteInternalWallet) | **DELETE** /internal_wallets/{walletId} | Delete an internal wallet *InternalWalletsApi* | [**deleteInternalWalletAsset**](docs/InternalWalletsApi.md#deleteInternalWalletAsset) | **DELETE** /internal_wallets/{walletId}/{assetId} | Delete a whitelisted address -*InternalWalletsApi* | [**getInternalWallet**](docs/InternalWalletsApi.md#getInternalWallet) | **GET** /internal_wallets/{walletId} | Get an asset from an internal wallet +*InternalWalletsApi* | [**getInternalWallet**](docs/InternalWalletsApi.md#getInternalWallet) | **GET** /internal_wallets/{walletId} | Get assets for internal wallet *InternalWalletsApi* | [**getInternalWalletAsset**](docs/InternalWalletsApi.md#getInternalWalletAsset) | **GET** /internal_wallets/{walletId}/{assetId} | Get an asset from an internal wallet *InternalWalletsApi* | [**getInternalWalletAssetsPaginated**](docs/InternalWalletsApi.md#getInternalWalletAssetsPaginated) | **GET** /internal_wallets/{walletId}/assets | List assets in an internal wallet (Paginated) *InternalWalletsApi* | [**getInternalWallets**](docs/InternalWalletsApi.md#getInternalWallets) | **GET** /internal_wallets | List internal wallets -*InternalWalletsApi* | [**setCustomerRefIdForInternalWallet**](docs/InternalWalletsApi.md#setCustomerRefIdForInternalWallet) | **POST** /internal_wallets/{walletId}/set_customer_ref_id | Set an AML/KYT customer reference ID for an internal wallet -*JobManagementApi* | [**cancelJob**](docs/JobManagementApi.md#cancelJob) | **POST** /batch/{jobId}/cancel | Cancel a running job -*JobManagementApi* | [**continueJob**](docs/JobManagementApi.md#continueJob) | **POST** /batch/{jobId}/continue | Continue a paused job -*JobManagementApi* | [**getJob**](docs/JobManagementApi.md#getJob) | **GET** /batch/{jobId} | Get job details -*JobManagementApi* | [**getJobTasks**](docs/JobManagementApi.md#getJobTasks) | **GET** /batch/{jobId}/tasks | Return a list of tasks for given job -*JobManagementApi* | [**getJobs**](docs/JobManagementApi.md#getJobs) | **GET** /batch/jobs | Return a list of jobs belonging to tenant -*JobManagementApi* | [**pauseJob**](docs/JobManagementApi.md#pauseJob) | **POST** /batch/{jobId}/pause | Pause a job +*InternalWalletsApi* | [**setCustomerRefIdForInternalWallet**](docs/InternalWalletsApi.md#setCustomerRefIdForInternalWallet) | **POST** /internal_wallets/{walletId}/set_customer_ref_id | Set an AML/KYT customer reference ID for internal wallet *KeyLinkBetaApi* | [**createSigningKey**](docs/KeyLinkBetaApi.md#createSigningKey) | **POST** /key_link/signing_keys | Add a new signing key *KeyLinkBetaApi* | [**createValidationKey**](docs/KeyLinkBetaApi.md#createValidationKey) | **POST** /key_link/validation_keys | Add a new validation key *KeyLinkBetaApi* | [**disableValidationKey**](docs/KeyLinkBetaApi.md#disableValidationKey) | **PATCH** /key_link/validation_keys/{keyId} | Disables a validation key @@ -267,21 +270,21 @@ Class | Method | HTTP request | Description *KeyLinkBetaApi* | [**getSigningKeysList**](docs/KeyLinkBetaApi.md#getSigningKeysList) | **GET** /key_link/signing_keys | Get list of signing keys *KeyLinkBetaApi* | [**getValidationKey**](docs/KeyLinkBetaApi.md#getValidationKey) | **GET** /key_link/validation_keys/{keyId} | Get a validation key by `keyId` *KeyLinkBetaApi* | [**getValidationKeysList**](docs/KeyLinkBetaApi.md#getValidationKeysList) | **GET** /key_link/validation_keys | Get list of registered validation keys -*KeyLinkBetaApi* | [**setAgentId**](docs/KeyLinkBetaApi.md#setAgentId) | **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* | [**updateSigningKey**](docs/KeyLinkBetaApi.md#updateSigningKey) | **PATCH** /key_link/signing_keys/{keyId} | Modify the signing by Fireblocks provided `keyId` +*KeyLinkBetaApi* | [**setAgentId**](docs/KeyLinkBetaApi.md#setAgentId) | **PATCH** /key_link/signing_keys/{keyId}/agent_user_id | Set agent user id +*KeyLinkBetaApi* | [**updateSigningKey**](docs/KeyLinkBetaApi.md#updateSigningKey) | **PATCH** /key_link/signing_keys/{keyId} | Modify the signing keyId *KeysBetaApi* | [**getMpcKeysList**](docs/KeysBetaApi.md#getMpcKeysList) | **GET** /keys/mpc/list | Get list of mpc keys *KeysBetaApi* | [**getMpcKeysListByUser**](docs/KeysBetaApi.md#getMpcKeysListByUser) | **GET** /keys/mpc/list/{userId} | Get list of mpc keys by `userId` -*NetworkConnectionsApi* | [**checkThirdPartyRouting**](docs/NetworkConnectionsApi.md#checkThirdPartyRouting) | **GET** /network_connections/{connectionId}/is_third_party_routing/{assetType} | Retrieve third-party network routing validation by asset type. -*NetworkConnectionsApi* | [**createNetworkConnection**](docs/NetworkConnectionsApi.md#createNetworkConnection) | **POST** /network_connections | Creates a new network connection +*NetworkConnectionsApi* | [**checkThirdPartyRouting**](docs/NetworkConnectionsApi.md#checkThirdPartyRouting) | **GET** /network_connections/{connectionId}/is_third_party_routing/{assetType} | Retrieve third-party network routing validation +*NetworkConnectionsApi* | [**createNetworkConnection**](docs/NetworkConnectionsApi.md#createNetworkConnection) | **POST** /network_connections | Create a new network connection *NetworkConnectionsApi* | [**createNetworkId**](docs/NetworkConnectionsApi.md#createNetworkId) | **POST** /network_ids | Creates a new Network ID *NetworkConnectionsApi* | [**deleteNetworkConnection**](docs/NetworkConnectionsApi.md#deleteNetworkConnection) | **DELETE** /network_connections/{connectionId} | Deletes a network connection by ID *NetworkConnectionsApi* | [**deleteNetworkId**](docs/NetworkConnectionsApi.md#deleteNetworkId) | **DELETE** /network_ids/{networkId} | Deletes specific network ID. *NetworkConnectionsApi* | [**getNetwork**](docs/NetworkConnectionsApi.md#getNetwork) | **GET** /network_connections/{connectionId} | Get a network connection *NetworkConnectionsApi* | [**getNetworkConnections**](docs/NetworkConnectionsApi.md#getNetworkConnections) | **GET** /network_connections | List network connections *NetworkConnectionsApi* | [**getNetworkId**](docs/NetworkConnectionsApi.md#getNetworkId) | **GET** /network_ids/{networkId} | Returns specific network ID. -*NetworkConnectionsApi* | [**getNetworkIds**](docs/NetworkConnectionsApi.md#getNetworkIds) | **GET** /network_ids | Returns all network IDs, both local IDs and discoverable remote IDs +*NetworkConnectionsApi* | [**getNetworkIds**](docs/NetworkConnectionsApi.md#getNetworkIds) | **GET** /network_ids | Get all network IDs *NetworkConnectionsApi* | [**getRoutingPolicyAssetGroups**](docs/NetworkConnectionsApi.md#getRoutingPolicyAssetGroups) | **GET** /network_ids/routing_policy_asset_groups | Returns all enabled routing policy asset groups -*NetworkConnectionsApi* | [**searchNetworkIds**](docs/NetworkConnectionsApi.md#searchNetworkIds) | **GET** /network_ids/search | Search network IDs, both local IDs and discoverable remote IDs +*NetworkConnectionsApi* | [**searchNetworkIds**](docs/NetworkConnectionsApi.md#searchNetworkIds) | **GET** /network_ids/search | Get both local IDs and discoverable remote IDs *NetworkConnectionsApi* | [**setNetworkIdDiscoverability**](docs/NetworkConnectionsApi.md#setNetworkIdDiscoverability) | **PATCH** /network_ids/{networkId}/set_discoverability | Update network ID's discoverability. *NetworkConnectionsApi* | [**setNetworkIdName**](docs/NetworkConnectionsApi.md#setNetworkIdName) | **PATCH** /network_ids/{networkId}/set_name | Update network ID's name. *NetworkConnectionsApi* | [**setNetworkIdRoutingPolicy**](docs/NetworkConnectionsApi.md#setNetworkIdRoutingPolicy) | **PATCH** /network_ids/{networkId}/set_routing_policy | Update network id routing policy. @@ -296,11 +299,19 @@ Class | Method | HTTP request | Description *NftsApi* | [**updateTokenOwnershipStatus**](docs/NftsApi.md#updateTokenOwnershipStatus) | **PUT** /nfts/ownership/tokens/{id}/status | Update token ownership status *NftsApi* | [**updateTokensOwnershipSpam**](docs/NftsApi.md#updateTokensOwnershipSpam) | **PUT** /nfts/ownership/tokens/spam | Update tokens ownership spam property *NftsApi* | [**updateTokensOwnershipStatus**](docs/NftsApi.md#updateTokensOwnershipStatus) | **PUT** /nfts/ownership/tokens/status | Update tokens ownership status -*OffExchangesApi* | [**addOffExchange**](docs/OffExchangesApi.md#addOffExchange) | **POST** /off_exchange/add | add collateral +*OffExchangesApi* | [**addOffExchange**](docs/OffExchangesApi.md#addOffExchange) | **POST** /off_exchange/add | Add Collateral *OffExchangesApi* | [**getOffExchangeCollateralAccounts**](docs/OffExchangesApi.md#getOffExchangeCollateralAccounts) | **GET** /off_exchange/collateral_accounts/{mainExchangeAccountId} | Find a specific collateral exchange account -*OffExchangesApi* | [**getOffExchangeSettlementTransactions**](docs/OffExchangesApi.md#getOffExchangeSettlementTransactions) | **GET** /off_exchange/settlements/transactions | get settlements transactions from exchange -*OffExchangesApi* | [**removeOffExchange**](docs/OffExchangesApi.md#removeOffExchange) | **POST** /off_exchange/remove | remove collateral -*OffExchangesApi* | [**settleOffExchangeTrades**](docs/OffExchangesApi.md#settleOffExchangeTrades) | **POST** /off_exchange/settlements/trader | create settlement for a trader +*OffExchangesApi* | [**getOffExchangeSettlementTransactions**](docs/OffExchangesApi.md#getOffExchangeSettlementTransactions) | **GET** /off_exchange/settlements/transactions | Get Settlements Transactions +*OffExchangesApi* | [**removeOffExchange**](docs/OffExchangesApi.md#removeOffExchange) | **POST** /off_exchange/remove | Remove Collateral +*OffExchangesApi* | [**settleOffExchangeTrades**](docs/OffExchangesApi.md#settleOffExchangeTrades) | **POST** /off_exchange/settlements/trader | Create Settlement for a Trader +*OnchainDataApi* | [**getAccessRegistryCurrentState**](docs/OnchainDataApi.md#getAccessRegistryCurrentState) | **GET** /onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/list | Get the current state of addresses in an access registry +*OnchainDataApi* | [**getAccessRegistrySummary**](docs/OnchainDataApi.md#getAccessRegistrySummary) | **GET** /onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/summary | Summary of access registry state +*OnchainDataApi* | [**getActiveRolesForContract**](docs/OnchainDataApi.md#getActiveRolesForContract) | **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* | [**getContractBalanceHistory**](docs/OnchainDataApi.md#getContractBalanceHistory) | **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* | [**getContractBalancesSummary**](docs/OnchainDataApi.md#getContractBalancesSummary) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/summary | Get summary for the token contract +*OnchainDataApi* | [**getContractTotalSupply**](docs/OnchainDataApi.md#getContractTotalSupply) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/total_supply | Get historical total supply data for a contract +*OnchainDataApi* | [**getLatestBalancesForContract**](docs/OnchainDataApi.md#getLatestBalancesForContract) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/balances | Get latest balances for all addresses holding tokens from a contract +*OnchainDataApi* | [**getOnchainTransactions**](docs/OnchainDataApi.md#getOnchainTransactions) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/transactions | Fetch onchain transactions for a contract *OtaBetaApi* | [**getOtaStatus**](docs/OtaBetaApi.md#getOtaStatus) | **GET** /management/ota | Returns current OTA status *OtaBetaApi* | [**setOtaStatus**](docs/OtaBetaApi.md#setOtaStatus) | **PUT** /management/ota | Enable or disable transactions to OTA *PaymentsPayoutApi* | [**createPayout**](docs/PaymentsPayoutApi.md#createPayout) | **POST** /payments/payout | Create a payout instruction set @@ -316,12 +327,12 @@ Class | Method | HTTP request | Description *PolicyEditorV2BetaApi* | [**publishDraft**](docs/PolicyEditorV2BetaApi.md#publishDraft) | **POST** /policy/draft | Send publish request for a certain draft id *PolicyEditorV2BetaApi* | [**updateDraft**](docs/PolicyEditorV2BetaApi.md#updateDraft) | **PUT** /policy/draft | Update the draft with a new set of rules by policy types *ResetDeviceApi* | [**resetDevice**](docs/ResetDeviceApi.md#resetDevice) | **POST** /management/users/{id}/reset_device | Resets device -*SmartTransferApi* | [**approveDvPTicketTerm**](docs/SmartTransferApi.md#approveDvPTicketTerm) | **PUT** /smart_transfers/{ticketId}/terms/{termId}/dvp/approve | Define funding source and give approve to contract to transfer asset +*SmartTransferApi* | [**approveDvPTicketTerm**](docs/SmartTransferApi.md#approveDvPTicketTerm) | **PUT** /smart_transfers/{ticketId}/terms/{termId}/dvp/approve | Set funding source and approval *SmartTransferApi* | [**cancelTicket**](docs/SmartTransferApi.md#cancelTicket) | **PUT** /smart-transfers/{ticketId}/cancel | Cancel Ticket *SmartTransferApi* | [**createTicket**](docs/SmartTransferApi.md#createTicket) | **POST** /smart-transfers | Create Ticket *SmartTransferApi* | [**createTicketTerm**](docs/SmartTransferApi.md#createTicketTerm) | **POST** /smart-transfers/{ticketId}/terms | Create leg (term) -*SmartTransferApi* | [**findTicketById**](docs/SmartTransferApi.md#findTicketById) | **GET** /smart-transfers/{ticketId} | Search Tickets by ID -*SmartTransferApi* | [**findTicketTermById**](docs/SmartTransferApi.md#findTicketTermById) | **GET** /smart-transfers/{ticketId}/terms/{termId} | Search ticket by leg (term) ID +*SmartTransferApi* | [**findTicketById**](docs/SmartTransferApi.md#findTicketById) | **GET** /smart-transfers/{ticketId} | Search Ticket by ID +*SmartTransferApi* | [**findTicketTermById**](docs/SmartTransferApi.md#findTicketTermById) | **GET** /smart-transfers/{ticketId}/terms/{termId} | Get Smart Transfer ticket term *SmartTransferApi* | [**fulfillTicket**](docs/SmartTransferApi.md#fulfillTicket) | **PUT** /smart-transfers/{ticketId}/fulfill | Fund ticket manually *SmartTransferApi* | [**fundDvpTicket**](docs/SmartTransferApi.md#fundDvpTicket) | **PUT** /smart_transfers/{ticketId}/dvp/fund | Fund dvp ticket *SmartTransferApi* | [**fundTicketTerm**](docs/SmartTransferApi.md#fundTicketTerm) | **PUT** /smart-transfers/{ticketId}/terms/{termId}/fund | Define funding source @@ -335,22 +346,24 @@ Class | Method | HTTP request | Description *SmartTransferApi* | [**setUserGroups**](docs/SmartTransferApi.md#setUserGroups) | **POST** /smart-transfers/settings/user-groups | Set user group *SmartTransferApi* | [**submitTicket**](docs/SmartTransferApi.md#submitTicket) | **PUT** /smart-transfers/{ticketId}/submit | Submit ticket *SmartTransferApi* | [**updateTicketTerm**](docs/SmartTransferApi.md#updateTicketTerm) | **PUT** /smart-transfers/{ticketId}/terms/{termId} | Update ticket leg (term) -*StakingApi* | [**approveTermsOfServiceByProviderId**](docs/StakingApi.md#approveTermsOfServiceByProviderId) | **POST** /staking/providers/{providerId}/approveTermsOfService | Approve staking terms of service -*StakingApi* | [**claimRewards**](docs/StakingApi.md#claimRewards) | **POST** /staking/chains/{chainDescriptor}/claim_rewards | Execute a Claim Rewards operation -*StakingApi* | [**getAllDelegations**](docs/StakingApi.md#getAllDelegations) | **GET** /staking/positions | List staking positions details -*StakingApi* | [**getChainInfo**](docs/StakingApi.md#getChainInfo) | **GET** /staking/chains/{chainDescriptor}/chainInfo | Get chain-specific staking summary -*StakingApi* | [**getChains**](docs/StakingApi.md#getChains) | **GET** /staking/chains | List staking supported chains -*StakingApi* | [**getDelegationById**](docs/StakingApi.md#getDelegationById) | **GET** /staking/positions/{id} | Get staking position details -*StakingApi* | [**getProviders**](docs/StakingApi.md#getProviders) | **GET** /staking/providers | List staking providers details -*StakingApi* | [**getSummary**](docs/StakingApi.md#getSummary) | **GET** /staking/positions/summary | Get staking summary details -*StakingApi* | [**getSummaryByVault**](docs/StakingApi.md#getSummaryByVault) | **GET** /staking/positions/summary/vaults | Get staking summary details by vault -*StakingApi* | [**mergeStakeAccounts**](docs/StakingApi.md#mergeStakeAccounts) | **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* | [**createTag**](docs/TagsApi.md#createTag) | **POST** /tags | Create a tag +*StakingApi* | [**approveTermsOfServiceByProviderId**](docs/StakingApi.md#approveTermsOfServiceByProviderId) | **POST** /staking/providers/{providerId}/approveTermsOfService | Approve provider terms of service +*StakingApi* | [**claimRewards**](docs/StakingApi.md#claimRewards) | **POST** /staking/chains/{chainDescriptor}/claim_rewards | Claim accrued rewards +*StakingApi* | [**getAllDelegations**](docs/StakingApi.md#getAllDelegations) | **GET** /staking/positions | List staking positions +*StakingApi* | [**getChainInfo**](docs/StakingApi.md#getChainInfo) | **GET** /staking/chains/{chainDescriptor}/chainInfo | Get chain-level staking parameters +*StakingApi* | [**getChains**](docs/StakingApi.md#getChains) | **GET** /staking/chains | List supported staking chains +*StakingApi* | [**getDelegationById**](docs/StakingApi.md#getDelegationById) | **GET** /staking/positions/{id} | Get position details +*StakingApi* | [**getProviders**](docs/StakingApi.md#getProviders) | **GET** /staking/providers | List staking providers +*StakingApi* | [**getSummary**](docs/StakingApi.md#getSummary) | **GET** /staking/positions/summary | Get positions summary +*StakingApi* | [**getSummaryByVault**](docs/StakingApi.md#getSummaryByVault) | **GET** /staking/positions/summary/vaults | Get positions summary by vault +*StakingApi* | [**mergeStakeAccounts**](docs/StakingApi.md#mergeStakeAccounts) | **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 +*TagsApi* | [**cancelApprovalRequest**](docs/TagsApi.md#cancelApprovalRequest) | **POST** /tags/approval_requests/{id}/cancel | Cancel an approval request by id +*TagsApi* | [**createTag**](docs/TagsApi.md#createTag) | **POST** /tags | Create a new tag *TagsApi* | [**deleteTag**](docs/TagsApi.md#deleteTag) | **DELETE** /tags/{tagId} | Delete a tag +*TagsApi* | [**getApprovalRequest**](docs/TagsApi.md#getApprovalRequest) | **GET** /tags/approval_requests/{id} | Get an approval request by id *TagsApi* | [**getTag**](docs/TagsApi.md#getTag) | **GET** /tags/{tagId} | Get a tag *TagsApi* | [**getTags**](docs/TagsApi.md#getTags) | **GET** /tags | Get list of tags *TagsApi* | [**updateTag**](docs/TagsApi.md#updateTag) | **PATCH** /tags/{tagId} | Update a tag @@ -366,6 +379,7 @@ Class | Method | HTTP request | Description *TokenizationApi* | [**getLinkedCollections**](docs/TokenizationApi.md#getLinkedCollections) | **GET** /tokenization/collections | Get collections *TokenizationApi* | [**getLinkedToken**](docs/TokenizationApi.md#getLinkedToken) | **GET** /tokenization/tokens/{id} | Return a linked token *TokenizationApi* | [**getLinkedTokens**](docs/TokenizationApi.md#getLinkedTokens) | **GET** /tokenization/tokens | List all linked tokens +*TokenizationApi* | [**getLinkedTokensCount**](docs/TokenizationApi.md#getLinkedTokensCount) | **GET** /tokenization/tokens/count | Get the total count of linked tokens *TokenizationApi* | [**issueNewToken**](docs/TokenizationApi.md#issueNewToken) | **POST** /tokenization/tokens | Issue a new token *TokenizationApi* | [**issueTokenMultiChain**](docs/TokenizationApi.md#issueTokenMultiChain) | **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 @@ -377,6 +391,31 @@ Class | Method | HTTP request | Description *TokenizationApi* | [**unlink**](docs/TokenizationApi.md#unlink) | **DELETE** /tokenization/tokens/{id} | Unlink a token *TokenizationApi* | [**unlinkCollection**](docs/TokenizationApi.md#unlinkCollection) | **DELETE** /tokenization/collections/{id} | Delete a collection link *TokenizationApi* | [**validateLayerZeroChannelConfig**](docs/TokenizationApi.md#validateLayerZeroChannelConfig) | **GET** /tokenization/multichain/bridge/layerzero/validate | Validate LayerZero channel configuration +*TrLinkApi* | [**assessTRLinkTravelRuleRequirement**](docs/TrLinkApi.md#assessTRLinkTravelRuleRequirement) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/assess | Assess Travel Rule requirement +*TrLinkApi* | [**cancelTRLinkTrm**](docs/TrLinkApi.md#cancelTRLinkTrm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/cancel | Cancel Travel Rule Message +*TrLinkApi* | [**connectTRLinkIntegration**](docs/TrLinkApi.md#connectTRLinkIntegration) | **PUT** /screening/trlink/customers/integration/{customerIntegrationId} | Connect customer integration +*TrLinkApi* | [**createTRLinkCustomer**](docs/TrLinkApi.md#createTRLinkCustomer) | **POST** /screening/trlink/customers | Create customer +*TrLinkApi* | [**createTRLinkIntegration**](docs/TrLinkApi.md#createTRLinkIntegration) | **POST** /screening/trlink/customers/integration | Create customer integration +*TrLinkApi* | [**createTRLinkTrm**](docs/TrLinkApi.md#createTRLinkTrm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm | Create Travel Rule Message +*TrLinkApi* | [**deleteTRLinkCustomer**](docs/TrLinkApi.md#deleteTRLinkCustomer) | **DELETE** /screening/trlink/customers/{customerId} | Delete customer +*TrLinkApi* | [**disconnectTRLinkIntegration**](docs/TrLinkApi.md#disconnectTRLinkIntegration) | **DELETE** /screening/trlink/customers/integration/{customerIntegrationId} | Disconnect customer integration +*TrLinkApi* | [**getTRLinkCustomerById**](docs/TrLinkApi.md#getTRLinkCustomerById) | **GET** /screening/trlink/customers/{customerId} | Get customer by ID +*TrLinkApi* | [**getTRLinkCustomerIntegrationById**](docs/TrLinkApi.md#getTRLinkCustomerIntegrationById) | **GET** /screening/trlink/customers/{customerId}/integrations/{customerIntegrationId} | Get customer integration by ID +*TrLinkApi* | [**getTRLinkCustomerIntegrations**](docs/TrLinkApi.md#getTRLinkCustomerIntegrations) | **GET** /screening/trlink/customers/{customerId}/integrations | Get customer integrations +*TrLinkApi* | [**getTRLinkCustomers**](docs/TrLinkApi.md#getTRLinkCustomers) | **GET** /screening/trlink/customers | Get all customers +*TrLinkApi* | [**getTRLinkIntegrationPublicKey**](docs/TrLinkApi.md#getTRLinkIntegrationPublicKey) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/public_key | Get public key for PII encryption +*TrLinkApi* | [**getTRLinkPartners**](docs/TrLinkApi.md#getTRLinkPartners) | **GET** /screening/trlink/partners | List available TRLink partners +*TrLinkApi* | [**getTRLinkPolicy**](docs/TrLinkApi.md#getTRLinkPolicy) | **GET** /screening/trlink/policy | Get TRLink policy +*TrLinkApi* | [**getTRLinkSupportedAsset**](docs/TrLinkApi.md#getTRLinkSupportedAsset) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/assets/{assetId} | Get supported asset by ID +*TrLinkApi* | [**getTRLinkTrmById**](docs/TrLinkApi.md#getTRLinkTrmById) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId} | Get TRM by ID +*TrLinkApi* | [**getTRLinkVaspById**](docs/TrLinkApi.md#getTRLinkVaspById) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/vasps/{vaspId} | Get VASP by ID +*TrLinkApi* | [**listTRLinkSupportedAssets**](docs/TrLinkApi.md#listTRLinkSupportedAssets) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/assets | List supported assets +*TrLinkApi* | [**listTRLinkVasps**](docs/TrLinkApi.md#listTRLinkVasps) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/vasps | List VASPs +*TrLinkApi* | [**redirectTRLinkTrm**](docs/TrLinkApi.md#redirectTRLinkTrm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/redirect | Redirect Travel Rule Message +*TrLinkApi* | [**setTRLinkDestinationTravelRuleMessageId**](docs/TrLinkApi.md#setTRLinkDestinationTravelRuleMessageId) | **POST** /screening/trlink/transaction/{txId}/destination/travel_rule_message_id | Set destination travel rule message ID +*TrLinkApi* | [**setTRLinkTransactionTravelRuleMessageId**](docs/TrLinkApi.md#setTRLinkTransactionTravelRuleMessageId) | **POST** /screening/trlink/transaction/{txId}/travel_rule_message_id | Set transaction travel rule message ID +*TrLinkApi* | [**testTRLinkIntegrationConnection**](docs/TrLinkApi.md#testTRLinkIntegrationConnection) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/test_connection | Test connection +*TrLinkApi* | [**updateTRLinkCustomer**](docs/TrLinkApi.md#updateTRLinkCustomer) | **PUT** /screening/trlink/customers/{customerId} | Update customer *TradingBetaApi* | [**createOrder**](docs/TradingBetaApi.md#createOrder) | **POST** /trading/orders | Create an order *TradingBetaApi* | [**createQuote**](docs/TradingBetaApi.md#createQuote) | **POST** /trading/quotes | Create a quote *TradingBetaApi* | [**getOrder**](docs/TradingBetaApi.md#getOrder) | **GET** /trading/orders/{orderId} | Get order details @@ -384,18 +423,19 @@ Class | Method | HTTP request | Description *TradingBetaApi* | [**getTradingProviders**](docs/TradingBetaApi.md#getTradingProviders) | **GET** /trading/providers | Get providers *TransactionsApi* | [**cancelTransaction**](docs/TransactionsApi.md#cancelTransaction) | **POST** /transactions/{txId}/cancel | Cancel a transaction *TransactionsApi* | [**createTransaction**](docs/TransactionsApi.md#createTransaction) | **POST** /transactions | Create a new transaction -*TransactionsApi* | [**dropTransaction**](docs/TransactionsApi.md#dropTransaction) | **POST** /transactions/{txId}/drop | Drop ETH transaction by ID +*TransactionsApi* | [**dropTransaction**](docs/TransactionsApi.md#dropTransaction) | **POST** /transactions/{txId}/drop | Drop ETH (EVM) transaction by ID *TransactionsApi* | [**estimateNetworkFee**](docs/TransactionsApi.md#estimateNetworkFee) | **GET** /estimate_network_fee | Estimate the required fee for an asset *TransactionsApi* | [**estimateTransactionFee**](docs/TransactionsApi.md#estimateTransactionFee) | **POST** /transactions/estimate_fee | Estimate transaction fee *TransactionsApi* | [**freezeTransaction**](docs/TransactionsApi.md#freezeTransaction) | **POST** /transactions/{txId}/freeze | Freeze a transaction -*TransactionsApi* | [**getTransaction**](docs/TransactionsApi.md#getTransaction) | **GET** /transactions/{txId} | Find a specific transaction by Fireblocks transaction ID -*TransactionsApi* | [**getTransactionByExternalId**](docs/TransactionsApi.md#getTransactionByExternalId) | **GET** /transactions/external_tx_id/{externalTxId} | Find a specific transaction by external transaction ID -*TransactionsApi* | [**getTransactions**](docs/TransactionsApi.md#getTransactions) | **GET** /transactions | List transaction history -*TransactionsApi* | [**rescanTransactionsBeta**](docs/TransactionsApi.md#rescanTransactionsBeta) | **POST** /transactions/rescan | rescan array of transactions +*TransactionsApi* | [**getTransaction**](docs/TransactionsApi.md#getTransaction) | **GET** /transactions/{txId} | Get a specific transaction by Fireblocks transaction ID +*TransactionsApi* | [**getTransactionByExternalId**](docs/TransactionsApi.md#getTransactionByExternalId) | **GET** /transactions/external_tx_id/{externalTxId} | Get a specific transaction by external transaction ID +*TransactionsApi* | [**getTransactions**](docs/TransactionsApi.md#getTransactions) | **GET** /transactions | Get transaction history *TransactionsApi* | [**setConfirmationThresholdByTransactionHash**](docs/TransactionsApi.md#setConfirmationThresholdByTransactionHash) | **POST** /txHash/{txHash}/set_confirmation_threshold | Set confirmation threshold by transaction hash -*TransactionsApi* | [**setTransactionConfirmationThreshold**](docs/TransactionsApi.md#setTransactionConfirmationThreshold) | **POST** /transactions/{txId}/set_confirmation_threshold | Set confirmation threshold by transaction ID +*TransactionsApi* | [**setTransactionConfirmationThreshold**](docs/TransactionsApi.md#setTransactionConfirmationThreshold) | **POST** /transactions/{txId}/set_confirmation_threshold | Set confirmation threshold by Fireblocks Transaction ID *TransactionsApi* | [**unfreezeTransaction**](docs/TransactionsApi.md#unfreezeTransaction) | **POST** /transactions/{txId}/unfreeze | Unfreeze a transaction *TransactionsApi* | [**validateAddress**](docs/TransactionsApi.md#validateAddress) | **GET** /transactions/validate_address/{assetId}/{address} | Validate destination address +*TravelRuleApi* | [**createTrustProofOfAddress**](docs/TravelRuleApi.md#createTrustProofOfAddress) | **POST** /screening/travel_rule/providers/trust/proof_of_address | Create Trust Network Proof of Address +*TravelRuleApi* | [**getTrustProofOfAddress**](docs/TravelRuleApi.md#getTrustProofOfAddress) | **GET** /screening/travel_rule/providers/trust/proof_of_address/{transactionId} | Retrieve Trust Network Proof of Address Signature *TravelRuleApi* | [**getVASPByDID**](docs/TravelRuleApi.md#getVASPByDID) | **GET** /screening/travel_rule/vasp/{did} | Get VASP details *TravelRuleApi* | [**getVASPs**](docs/TravelRuleApi.md#getVASPs) | **GET** /screening/travel_rule/vasp | Get All VASPs *TravelRuleApi* | [**getVaspForVault**](docs/TravelRuleApi.md#getVaspForVault) | **GET** /screening/travel_rule/vault/{vaultAccountId}/vasp | Get assigned VASP to vault @@ -409,32 +449,31 @@ Class | Method | HTTP request | Description *UserGroupsBetaApi* | [**updateUserGroup**](docs/UserGroupsBetaApi.md#updateUserGroup) | **PUT** /management/user_groups/{groupId} | Update user group *UsersApi* | [**getUsers**](docs/UsersApi.md#getUsers) | **GET** /users | List users *VaultsApi* | [**activateAssetForVaultAccount**](docs/VaultsApi.md#activateAssetForVaultAccount) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/activate | Activate a wallet in a vault account -*VaultsApi* | [**attachOrDetachTagsFromVaultAccounts**](docs/VaultsApi.md#attachOrDetachTagsFromVaultAccounts) | **POST** /vault/accounts/attached_tags | Attach or detach tags from a vault accounts -*VaultsApi* | [**attachTagsToVaultAccounts**](docs/VaultsApi.md#attachTagsToVaultAccounts) | **POST** /vault/accounts/attached_tags/attach | Attach tags to a vault accounts (deprecated) +*VaultsApi* | [**attachOrDetachTagsFromVaultAccounts**](docs/VaultsApi.md#attachOrDetachTagsFromVaultAccounts) | **POST** /vault/accounts/attached_tags | Attach or detach tags from vault accounts *VaultsApi* | [**createLegacyAddress**](docs/VaultsApi.md#createLegacyAddress) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/create_legacy | Convert a segwit address to legacy format *VaultsApi* | [**createMultipleAccounts**](docs/VaultsApi.md#createMultipleAccounts) | **POST** /vault/accounts/bulk | Bulk creation of new vault accounts *VaultsApi* | [**createMultipleDepositAddresses**](docs/VaultsApi.md#createMultipleDepositAddresses) | **POST** /vault/accounts/addresses/bulk | Bulk creation of new deposit addresses *VaultsApi* | [**createVaultAccount**](docs/VaultsApi.md#createVaultAccount) | **POST** /vault/accounts | Create a new vault account -*VaultsApi* | [**createVaultAccountAsset**](docs/VaultsApi.md#createVaultAccountAsset) | **POST** /vault/accounts/{vaultAccountId}/{assetId} | Create a new wallet +*VaultsApi* | [**createVaultAccountAsset**](docs/VaultsApi.md#createVaultAccountAsset) | **POST** /vault/accounts/{vaultAccountId}/{assetId} | Create a new vault wallet *VaultsApi* | [**createVaultAccountAssetAddress**](docs/VaultsApi.md#createVaultAccountAssetAddress) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses | Create new asset deposit address -*VaultsApi* | [**detachTagsFromVaultAccounts**](docs/VaultsApi.md#detachTagsFromVaultAccounts) | **POST** /vault/accounts/attached_tags/detach | Detach tags from a vault accounts (deprecated) -*VaultsApi* | [**getAssetWallets**](docs/VaultsApi.md#getAssetWallets) | **GET** /vault/asset_wallets | List asset wallets (Paginated) -*VaultsApi* | [**getCreateMultipleDepositAddressesJobStatus**](docs/VaultsApi.md#getCreateMultipleDepositAddressesJobStatus) | **GET** /vault/accounts/addresses/bulk/{jobId} | Get job status of bulk creation of new deposit addresses +*VaultsApi* | [**getAssetWallets**](docs/VaultsApi.md#getAssetWallets) | **GET** /vault/asset_wallets | Get vault wallets (Paginated) +*VaultsApi* | [**getCreateMultipleDepositAddressesJobStatus**](docs/VaultsApi.md#getCreateMultipleDepositAddressesJobStatus) | **GET** /vault/accounts/addresses/bulk/{jobId} | Get the job status of the bulk deposit address creation *VaultsApi* | [**getCreateMultipleVaultAccountsJobStatus**](docs/VaultsApi.md#getCreateMultipleVaultAccountsJobStatus) | **GET** /vault/accounts/bulk/{jobId} | Get job status of bulk creation of new vault accounts -*VaultsApi* | [**getMaxSpendableAmount**](docs/VaultsApi.md#getMaxSpendableAmount) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_spendable_amount | Get the maximum spendable amount in a single transaction. -*VaultsApi* | [**getPagedVaultAccounts**](docs/VaultsApi.md#getPagedVaultAccounts) | **GET** /vault/accounts_paged | List vault accounts (Paginated) -*VaultsApi* | [**getPublicKeyInfo**](docs/VaultsApi.md#getPublicKeyInfo) | **GET** /vault/public_key_info | Get the public key information -*VaultsApi* | [**getPublicKeyInfoForAddress**](docs/VaultsApi.md#getPublicKeyInfoForAddress) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/{change}/{addressIndex}/public_key_info | Get the public key for a vault account +*VaultsApi* | [**getMaxBipIndexUsed**](docs/VaultsApi.md#getMaxBipIndexUsed) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_bip_index_used | Get maximum BIP44 index used +*VaultsApi* | [**getMaxSpendableAmount**](docs/VaultsApi.md#getMaxSpendableAmount) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_spendable_amount | Get max spendable amount in a transaction +*VaultsApi* | [**getPagedVaultAccounts**](docs/VaultsApi.md#getPagedVaultAccounts) | **GET** /vault/accounts_paged | Get vault accounts (Paginated) +*VaultsApi* | [**getPublicKeyInfo**](docs/VaultsApi.md#getPublicKeyInfo) | **GET** /vault/public_key_info | Get the public key for a derivation path +*VaultsApi* | [**getPublicKeyInfoForAddress**](docs/VaultsApi.md#getPublicKeyInfoForAddress) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/{change}/{addressIndex}/public_key_info | Get an asset's public key *VaultsApi* | [**getUnspentInputs**](docs/VaultsApi.md#getUnspentInputs) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/unspent_inputs | Get UTXO unspent inputs information -*VaultsApi* | [**getVaultAccount**](docs/VaultsApi.md#getVaultAccount) | **GET** /vault/accounts/{vaultAccountId} | Find a vault account by ID +*VaultsApi* | [**getVaultAccount**](docs/VaultsApi.md#getVaultAccount) | **GET** /vault/accounts/{vaultAccountId} | Get a vault account by ID *VaultsApi* | [**getVaultAccountAsset**](docs/VaultsApi.md#getVaultAccountAsset) | **GET** /vault/accounts/{vaultAccountId}/{assetId} | Get the asset balance for a vault account -*VaultsApi* | [**getVaultAccountAssetAddressesPaginated**](docs/VaultsApi.md#getVaultAccountAssetAddressesPaginated) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | List addresses (Paginated) +*VaultsApi* | [**getVaultAccountAssetAddressesPaginated**](docs/VaultsApi.md#getVaultAccountAssetAddressesPaginated) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | Get addresses (Paginated) *VaultsApi* | [**getVaultAssets**](docs/VaultsApi.md#getVaultAssets) | **GET** /vault/assets | Get asset balance for chosen assets -*VaultsApi* | [**getVaultBalanceByAsset**](docs/VaultsApi.md#getVaultBalanceByAsset) | **GET** /vault/assets/{assetId} | Get vault balance by asset +*VaultsApi* | [**getVaultBalanceByAsset**](docs/VaultsApi.md#getVaultBalanceByAsset) | **GET** /vault/assets/{assetId} | Get vault balance by an asset *VaultsApi* | [**hideVaultAccount**](docs/VaultsApi.md#hideVaultAccount) | **POST** /vault/accounts/{vaultAccountId}/hide | Hide a vault account in the console *VaultsApi* | [**setCustomerRefIdForAddress**](docs/VaultsApi.md#setCustomerRefIdForAddress) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/set_customer_ref_id | Assign AML customer reference ID -*VaultsApi* | [**setVaultAccountAutoFuel**](docs/VaultsApi.md#setVaultAccountAutoFuel) | **POST** /vault/accounts/{vaultAccountId}/set_auto_fuel | Turn autofueling on or off -*VaultsApi* | [**setVaultAccountCustomerRefId**](docs/VaultsApi.md#setVaultAccountCustomerRefId) | **POST** /vault/accounts/{vaultAccountId}/set_customer_ref_id | Set an AML/KYT customer reference ID for a vault account +*VaultsApi* | [**setVaultAccountAutoFuel**](docs/VaultsApi.md#setVaultAccountAutoFuel) | **POST** /vault/accounts/{vaultAccountId}/set_auto_fuel | Set auto fueling to on or off +*VaultsApi* | [**setVaultAccountCustomerRefId**](docs/VaultsApi.md#setVaultAccountCustomerRefId) | **POST** /vault/accounts/{vaultAccountId}/set_customer_ref_id | Set an AML/KYT ID for a vault account *VaultsApi* | [**unhideVaultAccount**](docs/VaultsApi.md#unhideVaultAccount) | **POST** /vault/accounts/{vaultAccountId}/unhide | Unhide a vault account in the console *VaultsApi* | [**updateVaultAccount**](docs/VaultsApi.md#updateVaultAccount) | **PUT** /vault/accounts/{vaultAccountId} | Rename a vault account *VaultsApi* | [**updateVaultAccountAssetAddress**](docs/VaultsApi.md#updateVaultAccountAssetAddress) | **PUT** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId} | Update address description @@ -443,9 +482,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* | [**resendTransactionWebhooks**](docs/WebhooksApi.md#resendTransactionWebhooks) | **POST** /webhooks/resend/{txId} | Resend failed webhooks for a transaction by ID +*WebhooksApi* | [**resendTransactionWebhooks**](docs/WebhooksApi.md#resendTransactionWebhooks) | **POST** /webhooks/resend/{txId} | Resend webhooks for a transaction by ID *WebhooksApi* | [**resendWebhooks**](docs/WebhooksApi.md#resendWebhooks) | **POST** /webhooks/resend | Resend failed webhooks -*WebhooksV2Api* | [**createWebhook**](docs/WebhooksV2Api.md#createWebhook) | **POST** /webhooks | Create new webhook +*WebhooksV2Api* | [**createWebhook**](docs/WebhooksV2Api.md#createWebhook) | **POST** /webhooks | Create a new webhook *WebhooksV2Api* | [**deleteWebhook**](docs/WebhooksV2Api.md#deleteWebhook) | **DELETE** /webhooks/{webhookId} | Delete webhook *WebhooksV2Api* | [**getMetrics**](docs/WebhooksV2Api.md#getMetrics) | **GET** /webhooks/{webhookId}/metrics/{metricName} | Get webhook metrics *WebhooksV2Api* | [**getNotification**](docs/WebhooksV2Api.md#getNotification) | **GET** /webhooks/{webhookId}/notifications/{notificationId} | Get notification by id @@ -458,7 +497,7 @@ Class | Method | HTTP request | Description *WebhooksV2Api* | [**resendNotificationById**](docs/WebhooksV2Api.md#resendNotificationById) | **POST** /webhooks/{webhookId}/notifications/{notificationId}/resend | Resend notification by id *WebhooksV2Api* | [**resendNotificationsByResourceId**](docs/WebhooksV2Api.md#resendNotificationsByResourceId) | **POST** /webhooks/{webhookId}/notifications/resend_by_resource | Resend notifications by resource Id *WebhooksV2Api* | [**updateWebhook**](docs/WebhooksV2Api.md#updateWebhook) | **PATCH** /webhooks/{webhookId} | Update webhook -*WhitelistIpAddressesApi* | [**getWhitelistIpAddresses**](docs/WhitelistIpAddressesApi.md#getWhitelistIpAddresses) | **GET** /management/api_users/{userId}/whitelist_ip_addresses | Gets whitelisted ip addresses +*WhitelistIpAddressesApi* | [**getWhitelistIpAddresses**](docs/WhitelistIpAddressesApi.md#getWhitelistIpAddresses) | **GET** /management/api_users/{userId}/whitelist_ip_addresses | Get whitelisted ip addresses for an API Key *WorkspaceStatusBetaApi* | [**getWorkspaceStatus**](docs/WorkspaceStatusBetaApi.md#getWorkspaceStatus) | **GET** /management/workspace_status | Returns current workspace status @@ -467,6 +506,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) @@ -476,7 +518,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) @@ -496,6 +537,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) @@ -518,6 +561,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) @@ -546,6 +590,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) @@ -553,9 +598,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) @@ -564,6 +614,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) @@ -584,6 +635,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) @@ -603,6 +655,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) @@ -615,6 +668,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) @@ -650,7 +704,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) @@ -691,8 +744,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) @@ -750,15 +806,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) @@ -772,14 +835,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) @@ -788,12 +858,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) @@ -813,6 +886,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) @@ -832,6 +906,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) @@ -839,7 +914,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) @@ -874,9 +948,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) @@ -887,7 +959,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) @@ -918,11 +992,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) @@ -945,7 +1023,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) @@ -955,12 +1033,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) @@ -977,24 +1057,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) @@ -1012,9 +1092,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) @@ -1024,12 +1105,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) @@ -1086,6 +1171,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) @@ -1132,26 +1218,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) @@ -1159,22 +1288,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) @@ -1186,9 +1332,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) @@ -1267,7 +1414,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) @@ -1295,7 +1446,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) @@ -1306,13 +1456,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) @@ -1331,5 +1480,5 @@ Class | Method | HTTP request | Description ## Author -support@fireblocks.com +developers@fireblocks.com diff --git a/api/openapi.yaml b/api/openapi.yaml index 4c8edf89..d4759e09 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -1,15 +1,26 @@ openapi: 3.0.0 info: contact: - email: support@fireblocks.com + email: developers@fireblocks.com + description: | + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. + + - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) + - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) title: Fireblocks API version: 1.6.2 servers: -- url: https://api.fireblocks.io/v1 +- description: Fireblocks Production Environment Base URL + url: https://api.fireblocks.io/v1 +- description: Fireblocks Sandbox Environment Base URL + url: https://sandbox-api.fireblocks.io/v1 paths: /vault/accounts: get: - description: Gets all vault accounts in your workspace. + deprecated: true + description: |- + DEPRECATED - Please use `/vault/accounts_paged` endpoint instead. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getVaultAccounts parameters: - explode: true @@ -53,7 +64,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: List vault accounts + summary: Get vault accounts tags: - Vaults x-internal: true @@ -69,7 +80,11 @@ paths: x-accepts: - application/json post: - description: Creates a new vault account with the requested name. + description: |- + 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. operationId: createVaultAccount parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -140,8 +155,9 @@ paths: - application/json /vault/accounts_paged: get: - description: Gets all vault accounts in your workspace. This endpoint returns - a limited amount of results with a quick response time. + description: |- + 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. operationId: getPagedVaultAccounts parameters: - explode: true @@ -159,12 +175,14 @@ paths: type: string style: form - description: "Specifying minAmountThreshold will filter accounts with balances\ - \ greater than this value, otherwise, it will return all accounts." + \ 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." explode: true in: query name: minAmountThreshold required: false schema: + example: 10 type: number style: form - explode: true @@ -210,7 +228,8 @@ paths: minimum: 1 type: number style: form - - description: List of tag IDs to filter vault accounts. + - deprecated: true + description: DEPRECATED - use includeTagIds instead explode: true in: query name: tagIds @@ -219,7 +238,33 @@ paths: items: format: uuid type: string - maxItems: 100 + maxItems: 50 + type: array + style: form + - description: List of tag IDs to include. Vault accounts with any of these + tags will be included + explode: true + in: query + name: includeTagIds + required: false + schema: + items: + format: uuid + type: string + maxItems: 50 + type: array + style: form + - description: List of tag IDs to exclude. Vault accounts with any of these + tags will be filtered out + explode: true + in: query + name: excludeTagIds + required: false + schema: + items: + format: uuid + type: string + maxItems: 50 type: array style: form responses: @@ -232,7 +277,7 @@ paths: headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: List vault accounts (Paginated) + summary: Get vault accounts (Paginated) tags: - Vaults x-rate-limit-category: external_query @@ -251,12 +296,13 @@ paths: - language: java code: "CompletableFuture> response\ \ = fireblocks.vaults().getPagedVaultAccounts(namePrefix, nameSuffix,\ - \ minAmountThreshold, assetId, orderBy, before, after, limit, tagIds);" + \ minAmountThreshold, assetId, orderBy, before, after, limit, tagIds,\ + \ includeTagIds, excludeTagIds);" name: Fireblocks SDK Java example - language: python code: "response = fireblocks.vaults.get_paged_vault_accounts(name_prefix,\ \ name_suffix, min_amount_threshold, asset_id, order_by, before, after,\ - \ limit, tag_ids);" + \ limit, tag_ids, include_tag_ids, exclude_tag_ids);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript @@ -265,19 +311,21 @@ paths: - lang: Java source: "CompletableFuture> response\ \ = fireblocks.vaults().getPagedVaultAccounts(namePrefix, nameSuffix, minAmountThreshold,\ - \ assetId, orderBy, before, after, limit, tagIds);" + \ assetId, orderBy, before, after, limit, tagIds, includeTagIds, excludeTagIds);" - lang: Python source: "response = fireblocks.vaults.get_paged_vault_accounts(name_prefix,\ \ name_suffix, min_amount_threshold, asset_id, order_by, before, after,\ - \ limit, tag_ids);" + \ limit, tag_ids, include_tag_ids, exclude_tag_ids);" x-accepts: - application/json /vault/accounts/{vaultAccountId}: get: - description: Returns the requested vault account. + description: |- + Get a vault account by its unique ID. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getVaultAccount parameters: - - description: "The ID of the vault account to return type: string" + - description: The ID of the vault account explode: false in: path name: vaultAccountId @@ -299,7 +347,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Find a vault account by ID + summary: Get a vault account by ID tags: - Vaults x-rate-limit-category: external_query @@ -330,7 +378,9 @@ paths: x-accepts: - application/json put: - description: Renames the requested vault account. + description: |- + Renames the requested vault account. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver. operationId: updateVaultAccount parameters: - description: The ID of the vault account to edit @@ -415,11 +465,13 @@ paths: - application/json /vault/asset_wallets: get: - description: | - 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. + description: "Get all vault wallets of the vault accounts in your workspace.\ + \ \nA vault wallet is an asset in a vault account. \n\nThis method allows\ + \ fast traversal of all account balances.\n
Endpoint Permission: Admin,\ + \ Non-Signing Admin, Signer, Approver, Editor, Viewer." operationId: getAssetWallets parameters: - - description: "When specified, only asset wallets with total balance larger\ + - description: "When specified, only vault wallets with total balance greater\ \ than this amount are returned." explode: true in: query @@ -428,8 +480,8 @@ paths: schema: type: number style: form - - description: "When specified, only asset wallets cross vault accounts that\ - \ have this asset ID are returned." + - description: "When specified, only vault wallets with the specified ID are\ + \ returned." explode: true in: query name: assetId @@ -449,8 +501,9 @@ paths: - DESC type: string style: form - - description: Fetches the next paginated response before this element. This - element is a cursor and is returned at the response of the previous page. + - description: "Fetches the next paginated response before this element. \n\ + This element is a cursor and is returned at the response of the previous\ + \ page.\n" explode: true in: query name: before @@ -467,8 +520,8 @@ paths: schema: type: string style: form - - description: The maximum number of asset wallets in a single response. The - default is 200 and the maximum is 1000. + - description: "The maximum number of vault wallets in a single response. \n\ + \nThe default is 200 and the maximum is 1000.\n" explode: true in: query name: limit @@ -489,7 +542,7 @@ paths: headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: List asset wallets (Paginated) + summary: Get vault wallets (Paginated) tags: - Vaults x-rate-limit-category: query @@ -529,7 +582,13 @@ paths: - application/json /vault/accounts/{vaultAccountId}/hide: post: - description: Hides the requested vault account from the web console view. + description: |- + 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. operationId: hideVaultAccount parameters: - description: The vault account to hide @@ -603,7 +662,9 @@ paths: - application/json /vault/accounts/{vaultAccountId}/unhide: post: - description: Makes a hidden vault account visible in web console view. + description: |- + Makes a hidden vault account visible in web console view. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. operationId: unhideVaultAccount parameters: - description: The vault account to unhide @@ -677,7 +738,10 @@ paths: - application/json /vault/accounts/{vaultAccountId}/{assetId}/activate: post: - description: Initiates activation for a wallet in a vault account. + description: "Initiates activation for a wallet in a vault account. \nActivation\ + \ is required for tokens that need an on-chain transaction for creation (XLM\ + \ tokens, SOL tokens etc).\n
Endpoint Permission: Admin, Non-Signing Admin,\ + \ Signer, Approver, Editor." operationId: activateAssetForVaultAccount parameters: - description: "The ID of the vault account to return, or 'default' for the\ @@ -757,7 +821,9 @@ paths: - application/json /vault/accounts/{vaultAccountId}/set_customer_ref_id: post: - description: Assigns an AML/KYT customer reference ID for the vault account. + description: "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." operationId: setVaultAccountCustomerRefId parameters: - description: The vault account ID @@ -799,7 +865,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Set an AML/KYT customer reference ID for a vault account + summary: Set an AML/KYT ID for a vault account tags: - Vaults x-rate-limit-category: write @@ -840,8 +906,11 @@ paths: - application/json /vault/accounts/{vaultAccountId}/set_auto_fuel: post: - description: Sets the autofueling property of the vault account to enabled or - disabled. + description: |- + 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. operationId: setVaultAccountAutoFuel parameters: - description: The vault account ID @@ -883,7 +952,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Turn autofueling on or off + summary: Set auto fueling to on or off tags: - Vaults x-rate-limit-category: write @@ -916,7 +985,11 @@ paths: - application/json /vault/accounts/{vaultAccountId}/{assetId}: get: - description: Returns a wallet for a specific asset of a vault account. + description: |- + Returns a specific vault wallet balance information for a specific asset. + +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, + Viewer. operationId: getVaultAccountAsset parameters: - description: The ID of the vault account to return @@ -984,7 +1057,10 @@ paths: x-accepts: - application/json post: - description: Creates a wallet for a specific asset in a vault account. + description: |- + 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. operationId: createVaultAccountAsset parameters: - description: "The ID of the vault account to return, or 'default' for the\ @@ -1036,7 +1112,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Create a new wallet + summary: Create a new vault wallet tags: - Vaults x-rate-limit-category: write @@ -1078,7 +1154,13 @@ paths: - application/json /vault/accounts/{vaultAccountId}/{assetId}/balance: post: - description: Updates the balance of a specific asset in a vault account. + description: |- + 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. operationId: updateVaultAccountAssetBalance parameters: - description: The ID of the vault account to return @@ -1161,13 +1243,15 @@ paths: - application/json /vault/accounts/{vaultAccountId}/{assetId}/addresses: get: + deprecated: true description: |- - Lists all addresses for specific asset of vault account. - - This endpoint will be deprecated on Mar 31,2024. + DEPRECATED! + - If your application logic or scripts rely on the deprecated endpoint, you should update to account for GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated before Mar 31,2024. - All workspaces created after Mar 31,2024. will have it disabled. If it is disabled for your workspace and you attempt to use it, you will receive the following error message: "This endpoint is unavailable. - - Please use the GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated endpoint to return all the wallet addresses associated with the specified vault account and asset in a paginated list. - - This API call is subject to rate limits. + - Please use the GET /v1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated endpoint to return all the wallet addresses associated with the specified vault account and asset in a paginated list. + +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getVaultAccountAssetAddresses parameters: - description: The ID of the vault account to return @@ -1219,7 +1303,13 @@ paths: x-accepts: - application/json post: - description: Creates a new deposit address for an asset of a vault account. + description: |- + 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. operationId: createVaultAccountAssetAddress parameters: - description: The ID of the vault account to return @@ -1313,8 +1403,9 @@ paths: - application/json /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated: get: - description: Returns a paginated response of the addresses for a given vault - account and asset. + description: |- + Returns a paginated response of the addresses for a given vault account and asset. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getVaultAccountAssetAddressesPaginated parameters: - description: The ID of the vault account to return @@ -1369,7 +1460,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: List addresses (Paginated) + summary: Get addresses (Paginated) tags: - Vaults x-rate-limit-category: query @@ -1411,10 +1502,12 @@ paths: - application/json /vault/accounts/{vaultAccountId}/{assetId}/max_spendable_amount: get: - description: "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." + description: | + **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. operationId: getMaxSpendableAmount parameters: - description: "The ID of the vault account, or 'default' for the default vault\ @@ -1459,7 +1552,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Get the maximum spendable amount in a single transaction. + summary: Get max spendable amount in a transaction tags: - Vaults x-rate-limit-category: read @@ -1498,10 +1591,78 @@ paths: \ asset_id, manual_signging);" x-accepts: - application/json + /vault/accounts/{vaultAccountId}/{assetId}/max_bip_index_used: + get: + description: Retrieves the maximum BIP44 address index and change address index + used for a specific asset in a vault account (BIP44 standard). + operationId: getMaxBipIndexUsed + parameters: + - description: The ID of the vault account + explode: false + in: path + name: vaultAccountId + required: true + schema: + format: numeric + type: string + x-fb-entity: vault_account + style: simple + - description: The ID of the asset + explode: false + in: path + name: assetId + required: true + schema: + type: string + x-fb-entity: asset + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetMaxBipIndexUsedResponse" + description: OK + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get maximum BIP44 index used + tags: + - Vaults + x-rate-limit-category: read + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.vaults.getMaxBipIndexUsed(vaultsApiGetMaxBipIndexUsedRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.vaults().getMaxBipIndexUsed(vaultAccountId, assetId);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.vaults.get_max_bip_index_used(vault_account_id,\ + \ asset_id);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.vaults.getMaxBipIndexUsed(vaultsApiGetMaxBipIndexUsedRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.vaults().getMaxBipIndexUsed(vaultAccountId, assetId);" + - lang: Python + source: "response = fireblocks.vaults.get_max_bip_index_used(vault_account_id,\ + \ asset_id);" + x-accepts: + - application/json /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}: put: - description: Updates the description of an existing address of an asset in a - vault account. + description: |- + Updates the description of an existing address of an asset in a vault account. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. operationId: updateVaultAccountAssetAddress parameters: - description: The ID of the vault account @@ -1602,7 +1763,9 @@ paths: - application/json /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/set_customer_ref_id: post: - description: Sets an AML/KYT customer reference ID for a specific address. + description: |- + Sets an AML/KYT customer reference ID for a specific address. +
Endpoint Permission: Admin, Non-Signing Admin. operationId: setCustomerRefIdForAddress parameters: - description: The ID of the vault account @@ -1703,7 +1866,9 @@ paths: - application/json /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/create_legacy: post: - description: Converts an existing segwit address to the legacy format. + description: |- + Converts an existing segwit address to the legacy format. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. operationId: createLegacyAddress parameters: - description: The ID of the vault account @@ -1790,7 +1955,10 @@ paths: - application/json /vault/accounts/{vaultAccountId}/{assetId}/unspent_inputs: get: - description: Returns unspent inputs information of an asset in a vault account. + description: |- + Returns unspent inputs information of an UTXO asset in a vault account. + +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getUnspentInputs parameters: - description: The ID of the vault account @@ -1863,12 +2031,10 @@ paths: - application/json /vault/accounts/bulk: post: - description: | - 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. + description: "Create multiple vault accounts by running an async job. \n\ + - The HBAR, TON, SUI, TERRA, ALGO, and DOT blockchains are not supported.\n\ + - Limited to a maximum of 10,000 accounts per operation.\n\n**Endpoint Permissions:**\ + \ Admin, Non-Signing Admin, Signer, Approver, Editor.\n" operationId: createMultipleAccounts parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -1932,8 +2098,9 @@ paths: /vault/accounts/bulk/{jobId}: get: description: | - 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. + 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. operationId: getCreateMultipleVaultAccountsJobStatus parameters: - description: The ID of the job to create addresses @@ -1988,10 +2155,13 @@ paths: /vault/accounts/addresses/bulk: post: description: | - 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. operationId: createMultipleDepositAddresses parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -2054,7 +2224,9 @@ paths: - application/json /vault/accounts/attached_tags: post: - description: Attach or detach one or more tags from the requested vault accounts. + description: |- + 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. operationId: attachOrDetachTagsFromVaultAccounts parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -2107,7 +2279,7 @@ paths: headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Attach or detach tags from a vault accounts + summary: Attach or detach tags from vault accounts tags: - Vaults x-rate-limit-category: write @@ -2140,121 +2312,12 @@ paths: x-content-type: application/json x-accepts: - application/json - /vault/accounts/attached_tags/attach: - post: - description: Attach one or more tags to the requested vault accounts. This endpoint - is deprecated. Please use /vault/accounts/attached_tags instead. - operationId: attachTagsToVaultAccounts - parameters: - - 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." - explode: false - in: header - name: Idempotency-Key - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/VaultAccountsTagAttachmentsRequest" - required: true - responses: - "204": - description: Tags were attached successfully - summary: Attach tags to a vault accounts (deprecated) - tags: - - Vaults - x-rate-limit-category: write - x-readme: - code-samples: - - language: typescript - code: "const response: Promise> = fireblocks.vaults.attachTagsToVaultAccounts(vaultsApiAttachTagsToVaultAccountsRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: "CompletableFuture> response = fireblocks.vaults().attachTagsToVaultAccounts(vaultAccountsTagAttachmentsRequest,\ - \ idempotencyKey);" - name: Fireblocks SDK Java example - - language: python - code: "response = fireblocks.vaults.attach_tags_to_vault_accounts(vault_accounts_tag_attachments_request,\ - \ idempotency_key);" - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise> = fireblocks.vaults.attachTagsToVaultAccounts(vaultsApiAttachTagsToVaultAccountsRequest);" - - lang: Java - source: "CompletableFuture> response = fireblocks.vaults().attachTagsToVaultAccounts(vaultAccountsTagAttachmentsRequest,\ - \ idempotencyKey);" - - lang: Python - source: "response = fireblocks.vaults.attach_tags_to_vault_accounts(vault_accounts_tag_attachments_request,\ - \ idempotency_key);" - x-content-type: application/json - x-accepts: - - application/json - /vault/accounts/attached_tags/detach: - post: - description: Detach one or more tags from the requested vault account. This - endpoint is deprecated. Please use /vault/accounts/attached_tags instead. - operationId: detachTagsFromVaultAccounts - parameters: - - 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." - explode: false - in: header - name: Idempotency-Key - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/VaultAccountsTagAttachmentsRequest" - required: true - responses: - "204": - description: Tags were detached successfully - summary: Detach tags from a vault accounts (deprecated) - tags: - - Vaults - x-rate-limit-category: write - x-readme: - code-samples: - - language: typescript - code: "const response: Promise> = fireblocks.vaults.detachTagsFromVaultAccounts(vaultsApiDetachTagsFromVaultAccountsRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: "CompletableFuture> response = fireblocks.vaults().detachTagsFromVaultAccounts(vaultAccountsTagAttachmentsRequest,\ - \ idempotencyKey);" - name: Fireblocks SDK Java example - - language: python - code: "response = fireblocks.vaults.detach_tags_from_vault_accounts(vault_accounts_tag_attachments_request,\ - \ idempotency_key);" - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise> = fireblocks.vaults.detachTagsFromVaultAccounts(vaultsApiDetachTagsFromVaultAccountsRequest);" - - lang: Java - source: "CompletableFuture> response = fireblocks.vaults().detachTagsFromVaultAccounts(vaultAccountsTagAttachmentsRequest,\ - \ idempotencyKey);" - - lang: Python - source: "response = fireblocks.vaults.detach_tags_from_vault_accounts(vault_accounts_tag_attachments_request,\ - \ idempotency_key);" - x-content-type: application/json - x-accepts: - - application/json /vault/accounts/addresses/bulk/{jobId}: get: description: | - 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 an error for) the specified deposit addresss bulk creation job. + + **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer. operationId: getCreateMultipleDepositAddressesJobStatus parameters: - description: The ID of the job to create addresses @@ -2278,7 +2341,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Get job status of bulk creation of new deposit addresses + summary: Get the job status of the bulk deposit address creation tags: - Vaults x-rate-limit-category: read @@ -2308,8 +2371,9 @@ paths: - application/json /vault/public_key_info: get: - description: Gets the public key information based on derivation path and signing - algorithm. + description: |- + Gets the public key information based on derivation path and signing algorithm. +
Endpoint Permission: Admin, Non-Signing Admin. operationId: getPublicKeyInfo parameters: - explode: true @@ -2345,7 +2409,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Get the public key information + summary: Get the public key for a derivation path tags: - Vaults x-rate-limit-category: read @@ -2385,7 +2449,9 @@ paths: - application/json /vault/accounts/{vaultAccountId}/{assetId}/{change}/{addressIndex}/public_key_info: get: - description: Gets the public key information for the vault account. + description: |- + Get the public key information for a specific asset in a vault account. +
Endpoint Permission: Admin, Non-Signing Admin. operationId: getPublicKeyInfoForAddress parameters: - explode: false @@ -2438,7 +2504,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Get the public key for a vault account + summary: Get an asset's public key tags: - Vaults x-rate-limit-category: read @@ -2478,7 +2544,10 @@ paths: - application/json /vault/assets: get: - description: Gets the assets amount summary for all accounts or filtered accounts. + description: |- + Gets the assets amount summary for all accounts or filtered accounts. + +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getVaultAssets parameters: - explode: true @@ -2545,77 +2614,12 @@ paths: \ account_name_suffix);" x-accepts: - application/json - /vault/assets/bulk: - post: - description: | - 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. - operationId: createAssetsBulk - parameters: - - 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." - explode: false - in: header - name: Idempotency-Key - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/CreateAssetsBulkRequest" - required: true - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/JobCreated" - description: A JobCreated object - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Bulk creation of wallets - tags: - - Assets - x-rate-limit-category: write - x-readme: - code-samples: - - language: typescript - code: "const response: Promise> = fireblocks.assets.createAssetsBulk(assetsApiCreateAssetsBulkRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: "CompletableFuture> response = fireblocks.assets().createAssetsBulk(createAssetsBulkRequest,\ - \ idempotencyKey);" - name: Fireblocks SDK Java example - - language: python - code: "response = fireblocks.assets.create_assets_bulk(create_assets_bulk_request,\ - \ idempotency_key);" - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise> = fireblocks.assets.createAssetsBulk(assetsApiCreateAssetsBulkRequest);" - - lang: Java - source: "CompletableFuture> response = fireblocks.assets().createAssetsBulk(createAssetsBulkRequest,\ - \ idempotencyKey);" - - lang: Python - source: "response = fireblocks.assets.create_assets_bulk(create_assets_bulk_request,\ - \ idempotency_key);" - x-content-type: application/json - x-accepts: - - application/json /vault/assets/{assetId}: get: - description: Gets the vault balance summary for an asset. + description: |- + Get the total balance of an asset across all the vault accounts. + +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getVaultBalanceByAsset parameters: - explode: false @@ -2638,7 +2642,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Get vault balance by asset + summary: Get vault balance by an asset tags: - Vaults x-rate-limit-category: read @@ -2950,6 +2954,253 @@ paths: source: response = fireblocks.embedded_wallets.get_embedded_wallet(wallet_id); x-accepts: - application/json + /ncw/wallets/{walletId}/status: + patch: + description: Update the enabled/disabled status of a specific Non Custodial + Wallet + operationId: updateEmbeddedWalletStatus + parameters: + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + - description: Wallet Id + example: 550e8400-e29b-41d4-a716-446655440000 + explode: false + in: path + name: walletId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/EnableWallet" + required: true + responses: + "204": + description: No Content - Wallet status updated successfully + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Update wallet status + tags: + - Embedded Wallets + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.embeddedWallets.updateEmbeddedWalletStatus(embeddedWalletsApiUpdateEmbeddedWalletStatusRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.embeddedWallets().updateEmbeddedWalletStatus(enableWallet,\ + \ walletId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.embedded_wallets.update_embedded_wallet_status(enable_wallet,\ + \ wallet_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.embeddedWallets.updateEmbeddedWalletStatus(embeddedWalletsApiUpdateEmbeddedWalletStatusRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.embeddedWallets().updateEmbeddedWalletStatus(enableWallet,\ + \ walletId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.embedded_wallets.update_embedded_wallet_status(enable_wallet,\ + \ wallet_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /ncw/wallets/{walletId}/assign: + post: + description: Assign a specific Non Custodial Wallet to a user + operationId: assignEmbeddedWallet + parameters: + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + - description: Wallet Id + example: 550e8400-e29b-41d4-a716-446655440000 + explode: false + in: path + name: walletId + required: true + schema: + type: string + style: simple + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/EmbeddedWallet" + description: Wallet Assigned + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Assign a wallet + tags: + - Embedded Wallets + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.embeddedWallets.assignEmbeddedWallet(embeddedWalletsApiAssignEmbeddedWalletRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.embeddedWallets().assignEmbeddedWallet(walletId,\ + \ idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.embedded_wallets.assign_embedded_wallet(wallet_id,\ + \ idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.embeddedWallets.assignEmbeddedWallet(embeddedWalletsApiAssignEmbeddedWalletRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.embeddedWallets().assignEmbeddedWallet(walletId,\ + \ idempotencyKey);" + - lang: Python + source: "response = fireblocks.embedded_wallets.assign_embedded_wallet(wallet_id,\ + \ idempotency_key);" + x-accepts: + - application/json + /ncw/wallets/{walletId}/accounts/{accountId}/assets: + get: + description: Retrieve assets for a specific account under a specific Non Custodial + Wallet + operationId: getEmbeddedWalletAssets + parameters: + - description: Wallet Id + example: 550e8400-e29b-41d4-a716-446655440000 + explode: false + in: path + name: walletId + required: true + schema: + type: string + style: simple + - description: The ID of the account + example: "0" + explode: false + in: path + name: accountId + required: true + schema: + type: string + style: simple + - description: Sort by fields + explode: true + in: query + name: sort + required: false + schema: + default: + - assetId + items: + enum: + - assetId + - createdAt + type: string + type: array + style: form + - description: Cursor to the next page + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + - description: Amount of results to return in the next page + explode: true + in: query + name: pageSize + required: false + schema: + default: 200 + maximum: 400 + type: number + style: form + - description: Is the order ascending or descending + explode: true + in: query + name: order + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/EmbeddedWalletPaginatedAssetsResponse" + description: Successful response + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Retrieve assets + tags: + - Embedded Wallets + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.embeddedWallets.getEmbeddedWalletAssets(embeddedWalletsApiGetEmbeddedWalletAssetsRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture>\ + \ response = fireblocks.embeddedWallets().getEmbeddedWalletAssets(walletId,\ + \ accountId, sort, pageCursor, pageSize, order);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.embedded_wallets.get_embedded_wallet_assets(wallet_id,\ + \ account_id, sort, page_cursor, page_size, order);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.embeddedWallets.getEmbeddedWalletAssets(embeddedWalletsApiGetEmbeddedWalletAssetsRequest);" + - lang: Java + source: "CompletableFuture>\ + \ response = fireblocks.embeddedWallets().getEmbeddedWalletAssets(walletId,\ + \ accountId, sort, pageCursor, pageSize, order);" + - lang: Python + source: "response = fireblocks.embedded_wallets.get_embedded_wallet_assets(wallet_id,\ + \ account_id, sort, page_cursor, page_size, order);" + x-accepts: + - application/json /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}: get: description: "Get asset under a specific account, under a specific Non Custodial\ @@ -3724,6 +3975,251 @@ paths: \ device_id);" x-accepts: - application/json + /ncw/wallets/{walletId}/devices/{deviceId}/status: + patch: + description: Update the enabled/disabled status of a specific device for a Non + Custodial Wallet + operationId: updateEmbeddedWalletDeviceStatus + parameters: + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + - description: Wallet Id + example: 550e8400-e29b-41d4-a716-446655440000 + explode: false + in: path + name: walletId + required: true + schema: + type: string + style: simple + - description: Device Id + example: 9ee1bff0-6dba-4f0c-9b75-03fe90e66fa3 + explode: false + in: path + name: deviceId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/EnableDevice" + required: true + responses: + "204": + description: No Content - Device status updated successfully + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Update device status + tags: + - Embedded Wallets + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.embeddedWallets.updateEmbeddedWalletDeviceStatus(embeddedWalletsApiUpdateEmbeddedWalletDeviceStatusRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.embeddedWallets().updateEmbeddedWalletDeviceStatus(enableDevice,\ + \ walletId, deviceId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.embedded_wallets.update_embedded_wallet_device_status(enable_device,\ + \ wallet_id, device_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.embeddedWallets.updateEmbeddedWalletDeviceStatus(embeddedWalletsApiUpdateEmbeddedWalletDeviceStatusRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.embeddedWallets().updateEmbeddedWalletDeviceStatus(enableDevice,\ + \ walletId, deviceId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.embedded_wallets.update_embedded_wallet_device_status(enable_device,\ + \ wallet_id, device_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /ncw/wallets/{walletId}/devices_paginated: + get: + description: Get a paginated list of registered devices for a specific Non Custodial + Wallet + operationId: getEmbeddedWalletDevicesPaginated + parameters: + - description: Wallet Id + example: 550e8400-e29b-41d4-a716-446655440000 + explode: false + in: path + name: walletId + required: true + schema: + type: string + style: simple + - description: Sort by fields + explode: true + in: query + name: sort + required: false + schema: + default: + - createdAt + items: + enum: + - createdAt + type: string + type: array + style: form + - description: Cursor to the next page + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + - description: Amount of results to return in the next page + explode: true + in: query + name: pageSize + required: false + schema: + default: 200 + maximum: 400 + type: number + style: form + - description: Is the order ascending or descending + explode: true + in: query + name: order + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/EmbeddedWalletPaginatedDevicesResponse" + description: Successful response + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Query parameters were invalid + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get registered devices - paginated + tags: + - Embedded Wallets + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.embeddedWallets.getEmbeddedWalletDevicesPaginated(embeddedWalletsApiGetEmbeddedWalletDevicesPaginatedRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture>\ + \ response = fireblocks.embeddedWallets().getEmbeddedWalletDevicesPaginated(walletId,\ + \ sort, pageCursor, pageSize, order);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.embedded_wallets.get_embedded_wallet_devices_paginated(wallet_id,\ + \ sort, page_cursor, page_size, order);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.embeddedWallets.getEmbeddedWalletDevicesPaginated(embeddedWalletsApiGetEmbeddedWalletDevicesPaginatedRequest);" + - lang: Java + source: "CompletableFuture>\ + \ response = fireblocks.embeddedWallets().getEmbeddedWalletDevicesPaginated(walletId,\ + \ sort, pageCursor, pageSize, order);" + - lang: Python + source: "response = fireblocks.embedded_wallets.get_embedded_wallet_devices_paginated(wallet_id,\ + \ sort, page_cursor, page_size, order);" + x-accepts: + - application/json + /ncw/wallets/{walletId}/setup_status: + get: + description: "Get the key setup state for a specific Non Custodial Wallet, including\ + \ required algorithms and device setup status" + operationId: getEmbeddedWalletSetupStatus + parameters: + - description: Wallet Id + example: 550e8400-e29b-41d4-a716-446655440000 + explode: false + in: path + name: walletId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/EmbeddedWalletSetupStatusResponse" + description: Successful response + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get wallet key setup state + tags: + - Embedded Wallets + x-rate-limit-category: read + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.embeddedWallets.getEmbeddedWalletSetupStatus(embeddedWalletsApiGetEmbeddedWalletSetupStatusRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> + response = fireblocks.embeddedWallets().getEmbeddedWalletSetupStatus(walletId); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.embedded_wallets.get_embedded_wallet_setup_status(wallet_id); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.embeddedWallets.getEmbeddedWalletSetupStatus(embeddedWalletsApiGetEmbeddedWalletSetupStatusRequest);" + - lang: Java + source: CompletableFuture> + response = fireblocks.embeddedWallets().getEmbeddedWalletSetupStatus(walletId); + - lang: Python + source: response = fireblocks.embedded_wallets.get_embedded_wallet_setup_status(wallet_id); + x-accepts: + - application/json /ncw/wallets/{walletId}/public_key_info: get: description: Gets the public key information based on derivation path and signing @@ -4060,11 +4556,12 @@ paths: /workspace/freeze: post: description: "Freezes a Workspace so that ALL operations by ANY user are blocked.\n\ - \nYou should only perform this action when the workspace faces imminent risk,\ - \ such as when you have a security breach.\n\nTo unfreeze a workspace, the\ - \ workspace Owner must submit a request to Fireblocks Support.\n\n**NOTE:**\ - \ \n- This operation can only be performed by the workspace Owner\n- Your\ - \ workspace continues to receive incoming transfers during this time.\n" + You should only perform this action when the workspace faces imminent risk,\ + \ such as when you have a security breach.\nTo unfreeze a workspace, the workspace\ + \ Owner must submit a request to Fireblocks Support.\n**NOTE:** \n- This operation\ + \ can only be performed by the workspace Admins - Your workspace continues\ + \ to receive incoming transfers during this time.\n
Endpoint Permission:\ + \ Admin, Non-Signing Admin." operationId: freezeWorkspace parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -4080,13 +4577,13 @@ paths: style: simple responses: "204": - description: indicates that the workspace is now frozen + description: Indicates that the workspace is now frozen headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Freeze Workspace + summary: Freeze tags: - Workspace x-internal: true @@ -4096,7 +4593,9 @@ paths: /exchange_accounts: get: deprecated: true - description: Deprecated (use new 'paged' endpoint) - Returns all exchange accounts. + description: |- + DEPRECATED - Please use the `/exchange_accounts/paged` endpoint. +
Endpoint Permission: Admin, Non-Signing Admin. operationId: getExchangeAccounts responses: "200": @@ -4126,7 +4625,11 @@ paths: x-accepts: - application/json post: - description: Add an exchange account to exchanges. + description: "Add an exchange account to exchanges. \n\nNote: 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`\n\nTo add\ + \ an exchange account, please use the following [guide](https://developers.fireblocks.com/docs/add-an-exchange-account).\n" operationId: addExchangeAccount parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -4193,7 +4696,8 @@ paths: - application/json /exchange_accounts/paged: get: - description: Returns a page include exchange accounts. + description: "Returns a list of the connected exchange accounts in your workspace.\ + \
Endpoint Permission: Admin, Non-Signing Admin." operationId: getPagedExchangeAccounts parameters: - explode: true @@ -4233,7 +4737,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Pagination list exchange accounts + summary: List connected exchange accounts tags: - Exchange accounts x-rate-limit-category: query @@ -4273,7 +4777,9 @@ paths: - application/json /exchange_accounts/{exchangeAccountId}: get: - description: Returns an exchange account by ID. + description: |- + Returns an exchange account by ID. +
Endpoint Permission: Admin, Non-Signing Admin. operationId: getExchangeAccount parameters: - description: The ID of the exchange account to return @@ -4296,7 +4802,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Find a specific exchange account + summary: Get a specific exchange account tags: - Exchange accounts x-rate-limit-category: external_query @@ -4328,8 +4834,10 @@ paths: - application/json /exchange_accounts/{exchangeAccountId}/internal_transfer: post: - description: Transfers funds between trading accounts under the same exchange - account. + description: |- + 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. operationId: internalTransfer parameters: - description: The ID of the exchange account to return @@ -4403,9 +4911,10 @@ paths: - application/json /exchange_accounts/{exchangeAccountId}/convert: post: - description: "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." + description: |- + 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. operationId: convertAssets parameters: - description: "The ID of the exchange account. Please make sure the exchange\ @@ -4445,8 +4954,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Convert exchange account funds from the source asset to the destination - asset. + summary: Convert exchange account funds tags: - Exchange accounts x-rate-limit-category: write @@ -4481,7 +4989,9 @@ paths: - application/json /exchange_accounts/{exchangeAccountId}/{assetId}: get: - description: Returns an asset for an exchange account. + description: |- + Returns an asset for an exchange account. +
Endpoint Permission: Admin, Non-Signing Admin. operationId: getExchangeAccountAsset parameters: - description: The ID of the exchange account to return @@ -4512,7 +5022,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Find an asset for an exchange account + summary: Get an asset for an exchange account tags: - Exchange accounts x-rate-limit-category: external_query @@ -4594,7 +5104,9 @@ paths: - application/json /fiat_accounts: get: - description: Returns all fiat accounts. + description: |- + Returns all fiat accounts. +
Endpoint Permission: Admin, Non-Signing Admin. operationId: getFiatAccounts responses: "200": @@ -4642,7 +5154,9 @@ paths: - application/json /fiat_accounts/{accountId}: get: - description: Returns a fiat account by ID. + description: |- + Returns a fiat account by ID. +
Endpoint Permission: Admin, Non-Signing Admin. operationId: getFiatAccount parameters: - description: The ID of the fiat account to return @@ -4859,9 +5373,9 @@ paths: /connected_accounts: get: description: | - 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. operationId: getConnectedAccounts parameters: - description: Whether to include only main accounts in the response. @@ -4936,11 +5450,59 @@ paths: x-accepts: - application/json /connected_accounts/{accountId}: - get: + delete: description: | - Retrieve detailed information about a specific connected account by ID.
+ Disconnect a connected account by ID.
**Note**: - This endpoint is currently in beta and might be subject to changes. + operationId: disconnectConnectedAccount + parameters: + - description: The ID of the account to disconnect. + explode: false + in: path + name: accountId + required: true + schema: + minLength: 1 + type: string + style: simple + responses: + "204": + description: Account disconnected successfully + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Disconnect connected account + tags: + - Connected Accounts (Beta) + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.connectedAccountsBeta.disconnectConnectedAccount(connectedAccountsBetaApiDisconnectConnectedAccountRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response = fireblocks.connectedAccountsBeta().disconnectConnectedAccount(accountId); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.connected_accounts_beta.disconnect_connected_account(account_id); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.connectedAccountsBeta.disconnectConnectedAccount(connectedAccountsBetaApiDisconnectConnectedAccountRequest);" + - lang: Java + source: CompletableFuture> response = fireblocks.connectedAccountsBeta().disconnectConnectedAccount(accountId); + - lang: Python + source: response = fireblocks.connected_accounts_beta.disconnect_connected_account(account_id); + x-accepts: + - application/json + get: + description: | + Retrieve detailed information about a specific connected account by ID. + + **Note:** This endpoint is currently in beta and might be subject to changes. operationId: getConnectedAccount parameters: - description: The ID of the account to fetch. @@ -4992,13 +5554,122 @@ paths: source: response = fireblocks.connected_accounts_beta.get_connected_account(account_id); x-accepts: - application/json + /connected_accounts/{accountId}/rename: + post: + description: | + Rename a connected account by account ID. + + **Note:** This endpoint is currently in beta and might be subject to changes. + operationId: renameConnectedAccount + parameters: + - description: The unique identifier of the connected account + explode: false + in: path + name: accountId + required: true + schema: + minLength: 1 + type: string + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/RenameConnectedAccountRequest" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/RenameConnectedAccountResponse" + description: Successfully renamed connected account. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ConnectedAccountErrorResponse" + description: "Bad request. Missing tenantId, accountId, or accountName." + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/ConnectedAccountErrorResponse" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ConnectedAccountErrorResponse" + description: Failed to rename connected account. + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ConnectedAccountErrorResponse" + description: Connected account not found + "409": + content: + application/json: + schema: + $ref: "#/components/schemas/ConnectedAccountErrorResponse" + description: Conflict. Account name is already in use by another account. + default: + $ref: "#/components/responses/Error" + summary: Rename Connected Account + tags: + - Connected Accounts (Beta) + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.connectedAccountsBeta.renameConnectedAccount(connectedAccountsBetaApiRenameConnectedAccountRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.connectedAccountsBeta().renameConnectedAccount(renameConnectedAccountRequest,\ + \ accountId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.connected_accounts_beta.rename_connected_account(rename_connected_account_request,\ + \ account_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.connectedAccountsBeta.renameConnectedAccount(connectedAccountsBetaApiRenameConnectedAccountRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.connectedAccountsBeta().renameConnectedAccount(renameConnectedAccountRequest,\ + \ accountId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.connected_accounts_beta.rename_connected_account(rename_connected_account_request,\ + \ account_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json /connected_accounts/{accountId}/balances: get: description: | - 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. operationId: getConnectedAccountBalances parameters: - description: The ID of the account to fetch balances for. @@ -5074,8 +5745,10 @@ paths: - application/json /connected_accounts/{accountId}/rates: get: - description: Retrieve current exchange rates for converting between specific - assets in a connected account. + description: | + 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. operationId: getConnectedAccountRates parameters: - description: The ID of the account to fetch rates for. @@ -5151,8 +5824,10 @@ paths: - application/json /connected_accounts/{accountId}/manifest/capabilities/trading/pairs: get: - description: "Retrieve all asset trading pairs supported by a specific connected\ - \ account, including the pair type (quote, market, onOffRamp)." + description: | + 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. operationId: getConnectedAccountTradingPairs parameters: - description: The ID of the account to fetch supported pairs for. @@ -5229,8 +5904,9 @@ paths: - application/json /network_connections: get: - description: | + description: |- Returns all network connections. + **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. @@ -5244,8 +5920,6 @@ paths: - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). operationId: getNetworkConnections responses: "200": @@ -5343,7 +6017,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Creates a new network connection + summary: Create a new network connection tags: - Network connections x-rate-limit-category: write @@ -5378,26 +6052,7 @@ paths: - application/json /network_connections/{connectionId}/set_routing_policy: patch: - description: | - 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`). + description: Updates an existing network connection's routing policy. operationId: setRoutingPolicy parameters: - description: The ID of the network connection @@ -5492,7 +6147,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Retrieve third-party network routing validation by asset type. + summary: Retrieve third-party network routing validation tags: - Network connections x-rate-limit-category: query @@ -5524,24 +6179,8 @@ paths: - application/json /network_connections/{connectionId}: delete: - description: | - 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`). + description: Deletes an existing network connection specified by its connection + ID. operationId: deleteNetworkConnection parameters: - description: The ID of the network connection to delete @@ -5593,24 +6232,7 @@ paths: x-accepts: - application/json get: - description: | - 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`). + description: Gets a network connection by ID. operationId: getNetwork parameters: - description: The ID of the connection @@ -5670,24 +6292,7 @@ paths: /network_ids: get: deprecated: true - description: | - 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`). + description: Retrieves a list of all local and discoverable remote network IDs. operationId: getNetworkIds responses: "200": @@ -5701,7 +6306,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: "Returns all network IDs, both local IDs and discoverable remote IDs" + summary: Get all network IDs tags: - Network connections x-rate-limit-category: query @@ -5728,26 +6333,7 @@ paths: x-accepts: - application/json post: - description: | - 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`). + description: Creates a new Network ID. operationId: createNetworkId parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -5811,10 +6397,7 @@ paths: - application/json /network_ids/routing_policy_asset_groups: get: - description: | - 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. + description: Returns all enabled routing policy asset groups operationId: getRoutingPolicyAssetGroups responses: "200": @@ -5858,22 +6441,6 @@ paths: get: description: | 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`). operationId: searchNetworkIds parameters: - description: Search string - displayName networkId. Optional @@ -5940,7 +6507,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: "Search network IDs, both local IDs and discoverable remote IDs" + summary: Get both local IDs and discoverable remote IDs tags: - Network connections x-rate-limit-category: query @@ -5974,24 +6541,7 @@ paths: - application/json /network_ids/{networkId}: delete: - description: | - 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`). + description: Deletes a network by its ID. operationId: deleteNetworkId parameters: - description: The ID of the network @@ -6040,24 +6590,7 @@ paths: x-accepts: - application/json get: - description: | - 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`). + description: Returns specific network ID. operationId: getNetworkId parameters: - description: The ID of the network @@ -6108,26 +6641,7 @@ paths: - application/json /network_ids/{networkId}/set_routing_policy: patch: - description: | - 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`). + description: Updates the routing policy of a specified network ID. operationId: setNetworkIdRoutingPolicy parameters: - description: The ID of the network @@ -6188,24 +6702,7 @@ paths: - application/json /network_ids/{networkId}/set_discoverability: patch: - description: | - 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`). + description: Update whether or not the network ID is discoverable by others. operationId: setNetworkIdDiscoverability parameters: - description: The ID of the network @@ -6267,24 +6764,7 @@ paths: - application/json /network_ids/{networkId}/set_name: patch: - description: | - 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`). + description: Updates name of a specified network ID. operationId: setNetworkIdName parameters: - description: The ID of the network @@ -6346,24 +6826,8 @@ paths: - application/json /internal_wallets: get: - description: |- + description: | 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. operationId: getInternalWallets responses: "200": @@ -6406,10 +6870,7 @@ paths: post: description: |- 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. operationId: createInternalWallet parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -6478,14 +6939,7 @@ paths: - application/json /internal_wallets/{walletId}: delete: - description: |- - 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. + description: Deletes an internal wallet by ID. operationId: deleteInternalWallet parameters: - description: The ID of the wallet to delete @@ -6535,17 +6989,7 @@ paths: x-accepts: - application/json get: - description: |- - 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. + description: Returns information for an internal wallet. operationId: getInternalWallet parameters: - description: The ID of the wallet to return @@ -6568,7 +7012,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Get an asset from an internal wallet + summary: Get assets for internal wallet tags: - Internal wallets x-rate-limit-category: external_query @@ -6600,19 +7044,7 @@ paths: - application/json /internal_wallets/{walletId}/assets: get: - description: |- - 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. + description: Returns a paginated response of assets in an internal wallet. operationId: getInternalWalletAssetsPaginated parameters: - description: The ID of the internal wallet to return assets for @@ -6697,17 +7129,8 @@ paths: - application/json /internal_wallets/{walletId}/set_customer_ref_id: post: - description: |- - 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. + description: Sets an AML/KYT customer reference ID for the specific internal + wallet. operationId: setCustomerRefIdForInternalWallet parameters: - description: The wallet ID @@ -6743,7 +7166,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Set an AML/KYT customer reference ID for an internal wallet + summary: Set an AML/KYT customer reference ID for internal wallet tags: - Internal wallets x-rate-limit-category: write @@ -6782,17 +7205,7 @@ paths: - application/json /internal_wallets/{walletId}/{assetId}: delete: - description: |- - 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. + description: Deletes a whitelisted address (for an asset) from an internal wallet. operationId: deleteInternalWalletAsset parameters: - description: The ID of the wallet @@ -6856,17 +7269,7 @@ paths: x-accepts: - application/json get: - description: |- - 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. + description: Returns information for an asset in an internal wallet. operationId: getInternalWalletAsset parameters: - description: The ID of the wallet @@ -6935,18 +7338,7 @@ paths: x-accepts: - application/json post: - description: |- - 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. + description: Adds an asset to an existing internal wallet. operationId: createInternalWalletAsset parameters: - description: The ID of the wallet @@ -7033,11 +7425,7 @@ paths: - application/json /key_link/signing_keys: get: - description: "Returns the list of signing keys in the workspace\nPlease note\ - \ that this endpoint is available only for Key Link enabled workspaces.\n\ - **Note:** \nThis endpoint is currently in beta and might be subject to changes.\n\ - 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." + description: Returns the list of signing keys in the workspace operationId: getSigningKeysList parameters: - description: Cursor to the next page @@ -7202,11 +7590,7 @@ paths: description: "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.\nPlease note that this endpoint is available\ - \ only for Key Link enabled workspaces.\n**Note:** \nThis endpoint is currently\ - \ in beta and might be subject to changes.\nIf 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." + \ the key will become enabled." operationId: createSigningKey parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -7270,11 +7654,7 @@ paths: /key_link/signing_keys/{keyId}: get: description: "Returns a signing key if it exists, identified by the specified\ - \ Fireblocks provided `keyId`.\nPlease note that this endpoint is available\ - \ only for Key Link enabled workspaces.\n**Note:** \nThis endpoint is currently\ - \ in beta and might be subject to changes.\nIf 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." + \ `keyId`." operationId: getSigningKey parameters: - description: The unique identifier for the signing key provided by Fireblocks @@ -7324,11 +7704,7 @@ paths: - application/json patch: description: "Allows assigning the signing key to a vault account, if it hasn't\ - \ been assigned to any other vault accounts yet.\nPlease note that this endpoint\ - \ is available only for Key Link enabled workspaces.\n**Note:** \nThis endpoint\ - \ is currently in beta and might be subject to changes.\nIf 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." + \ been assigned to any other vault accounts yet." operationId: updateSigningKey parameters: - description: The unique identifier for the signing key provided by Fireblocks @@ -7358,7 +7734,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Modify the signing by Fireblocks provided `keyId` + summary: Modify the signing keyId tags: - Key Link (Beta) x-rate-limit-category: write @@ -7389,13 +7765,9 @@ paths: - application/json /key_link/signing_keys/{keyId}/agent_user_id: patch: - description: "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.\n\ - Please note that this endpoint is available only for Key Link enabled workspaces.\n\ - **Note:** \nThis endpoint is currently in beta and might be subject to changes.\n\ - 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." + description: 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. operationId: setAgentId parameters: - description: The unique identifier for the signing key provided by Fireblocks @@ -7421,8 +7793,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Set agent user id that can sign with the signing key identified by - the Fireblocks provided `keyId` + summary: Set agent user id tags: - Key Link (Beta) x-rate-limit-category: write @@ -7453,11 +7824,7 @@ paths: - application/json /key_link/validation_keys: get: - description: "Returns the list of validation keys in the workspace\nPlease note\ - \ that this endpoint is available only for Key Link enabled workspaces.\n\ - **Note:** \nThis endpoint is currently in beta and might be subject to changes.\n\ - 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." + description: Returns the list of validation keys in the workspace operationId: getValidationKeysList parameters: - description: Cursor to the next page @@ -7549,12 +7916,8 @@ paths: x-accepts: - application/json post: - description: "Adds a new validation key used to validate signing keys. The new\ - \ validation key will undergo an approval process by the workspace quorum.\n\ - Please note that this endpoint is available only for Key Link enabled workspaces.\n\ - **Note:** \nThis endpoint is currently in beta and might be subject to changes.\n\ - 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." + description: Adds a new validation key used to validate signing keys. The new + validation key will undergo an approval process by the workspace quorum. operationId: createValidationKey parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -7622,11 +7985,7 @@ paths: /key_link/validation_keys/{keyId}: get: description: "Returns a validation key if it exists, identified by the specified\ - \ `keyId`.\nPlease note that this endpoint is available only for Key Link\ - \ enabled workspaces.\n**Note:** \nThis endpoint is currently in beta and\ - \ might be subject to changes.\nIf 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." + \ `keyId`." operationId: getValidationKey parameters: - explode: false @@ -7673,13 +8032,9 @@ paths: x-accepts: - application/json patch: - description: "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.\nPlease note that this endpoint is available\ - \ only for Key Link enabled workspaces.\n**Note:** \nThis endpoint is currently\ - \ in beta and might be subject to changes.\nIf 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." + description: 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. operationId: disableValidationKey parameters: - description: The unique identifier for the validation key provided by Fireblocks @@ -7840,7 +8195,14 @@ paths: - application/json /external_wallets: get: - description: Gets a list of external wallets under the workspace. + description: |- + 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. operationId: getExternalWallets responses: "200": @@ -7887,7 +8249,14 @@ paths: x-accepts: - application/json post: - description: Creates a new external wallet with the requested name. + description: |- + 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. operationId: createExternalWallet parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -7956,7 +8325,9 @@ paths: - application/json /external_wallets/{walletId}: delete: - description: Deletes an external wallet by ID. + description: "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." operationId: deleteExternalWallet parameters: - description: The ID of the wallet to delete @@ -8006,7 +8377,9 @@ paths: x-accepts: - application/json get: - description: Returns an external wallet by ID. + description: "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." operationId: getExternalWallet parameters: - description: The ID of the wallet to return @@ -8061,8 +8434,10 @@ paths: - application/json /external_wallets/{walletId}/set_customer_ref_id: post: - description: Sets an AML/KYT customer reference ID for the specific external - wallet. + description: "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." operationId: setExternalWalletCustomerRefId parameters: - description: The wallet ID @@ -8137,7 +8512,8 @@ paths: - application/json /external_wallets/{walletId}/{assetId}: delete: - description: Deletes an external wallet asset by ID. + description: "Deletes an external wallet asset by ID.
Endpoint Permission:\ + \ Admin, Non-Signing Admin, Signer, Approver, Editor." operationId: removeAssetFromExternalWallet parameters: - description: The ID of the wallet @@ -8201,7 +8577,10 @@ paths: x-accepts: - application/json get: - description: Returns an external wallet by wallet ID and asset ID. + description: "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." operationId: getExternalWalletAsset parameters: - description: The ID of the wallet @@ -8272,7 +8651,8 @@ paths: x-accepts: - application/json post: - description: Adds an asset to an existing external wallet. + description: "Adds an asset to an existing external wallet.
Endpoint Permission:\ + \ Admin, Non-Signing Admin, Signer, Approver, Editor." operationId: addAssetToExternalWallet parameters: - description: The ID of the wallet @@ -8361,7 +8741,8 @@ paths: - application/json /contracts: get: - description: Gets a list of contracts. + description: "Gets a list of whitelisted contracts.
Endpoint Permission:\ + \ Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer." operationId: getContracts responses: "200": @@ -8375,7 +8756,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: List contracts + summary: List Whitelisted Contracts tags: - Contracts x-rate-limit-category: query @@ -8402,7 +8783,8 @@ paths: x-accepts: - application/json post: - description: Creates a new contract. + description: "Adds a contract to the workspace whitelist.
Endpoint Permission:\ + \ Admin, Non-Signing Admin, Signer, Approver, Editor." operationId: createContract parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -8433,7 +8815,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Create a contract + summary: Add a contract tags: - Contracts x-rate-limit-category: write @@ -8464,7 +8846,8 @@ paths: - application/json /contracts/{contractId}: delete: - description: Deletes a contract by ID. + description: "Deletes a contract by ID.
Endpoint Permission: Admin, Non-Signing\ + \ Admin, Signer, Approver, Editor." operationId: deleteContract parameters: - description: The ID of the contract to delete @@ -8508,7 +8891,8 @@ paths: x-accepts: - application/json get: - description: Returns a contract by ID. + description: "Returns a whitelisted contract by Fireblocks Contract ID.
Endpoint\ + \ Permission: Admin, Non-Signing Admin, Signer, Approver, Editor." operationId: getContract parameters: - description: The ID of the contract to return @@ -8531,7 +8915,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Find a specific contract + summary: Find a Specific Whitelisted Contract tags: - Contracts x-rate-limit-category: read @@ -8557,7 +8941,8 @@ paths: - application/json /contracts/{contractId}/{assetId}: delete: - description: Deletes a contract asset by ID. + description: "Deletes a whitelisted contract asset by ID.
Endpoint Permission:\ + \ Admin, Non-Signing Admin, Signer, Approver, Editor." operationId: deleteContractAsset parameters: - description: The ID of the contract @@ -8585,7 +8970,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Delete a contract asset + summary: Delete an asset from a whitelisted contract tags: - Contracts x-rate-limit-category: write @@ -8614,7 +8999,8 @@ paths: x-accepts: - application/json get: - description: Returns a contract asset by ID. + description: "Returns a whitelisted contract's asset by ID.
Endpoint Permission:\ + \ Admin, Non-Signing Admin, Signer, Approver, Editor." operationId: getContractAsset parameters: - description: The ID of the contract @@ -8646,7 +9032,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Find a contract asset + summary: Find a whitelisted contract's asset tags: - Contracts x-rate-limit-category: read @@ -8675,7 +9061,8 @@ paths: x-accepts: - application/json post: - description: Adds an asset to an existing contract. + description: "Adds an asset to a whitelisted contract.
Endpoint Permission:\ + \ Admin, Non-Signing Admin, Signer, Approver, Editor." operationId: addContractAsset parameters: - description: The ID of the contract @@ -8723,7 +9110,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Add an asset to a contract + summary: Add an asset to a whitelisted contract tags: - Contracts x-rate-limit-category: write @@ -8757,12 +9144,11 @@ paths: /supported_assets: get: description: | - 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.** - - 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. + Retrieves all assets supported by Fireblocks in your workspace. + + **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor. operationId: getSupportedAssets responses: "200": @@ -8776,7 +9162,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: List all asset types supported by Fireblocks - legacy endpoint + summary: List assets (Legacy) tags: - Blockchains & assets x-rate-limit-category: external_query @@ -8813,10 +9199,9 @@ paths: /assets: get: description: | - 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. operationId: listAssets parameters: - description: Blockchain id of the assets @@ -8971,6 +9356,7 @@ paths: - NEAR - Solana - Sui + - TON operationId: registerNewAsset parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -9361,7 +9747,7 @@ paths: /blockchains: get: description: | - Returns all blockchains supported by Fireblocks. + Returns all blockchains supported by Fireblocks.
operationId: listBlockchains parameters: - description: Blockchain protocol @@ -9482,7 +9868,7 @@ paths: /blockchains/{id}: get: description: | - Returns an blockchain by ID or legacyID. + Returns a blockchain by ID or legacyID. operationId: getBlockchain parameters: - description: The ID or legacyId of the blockchain @@ -9519,7 +9905,7 @@ paths: description: Error occurred while getting an blockchain default: $ref: "#/components/responses/Error" - summary: Get an blockchain + summary: Get a Blockchain by ID tags: - Blockchains & assets x-rate-limit-category: external_query @@ -9553,7 +9939,10 @@ paths: - application/json /transactions: get: - description: Lists the transaction history for your workspace. + description: | + Get the transaction history for your workspace. + + **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getTransactions parameters: - description: Cursor returned in next-page header that can be used to fetch @@ -9574,8 +9963,10 @@ paths: schema: type: string style: form - - description: Unix timestamp in milliseconds. Returns only transactions created - before the specified date + - description: "Unix timestamp in milliseconds. Returns only transactions created\ + \ before the specified date.\nProvides an explicit end time. If not provided,\ + \ default value will be applied, and may change over time. \nThe current\ + \ default value is the past 90 days.\n" explode: true in: query name: before @@ -9583,8 +9974,10 @@ paths: schema: type: string style: form - - description: Unix timestamp in milliseconds. Returns only transactions created - after the specified date + - description: "Unix timestamp in milliseconds. Returns only transactions created\ + \ after the specified date.\nProvides an explicit start time. If not provided,\ + \ default value will be applied, and may change over time. \nThe current\ + \ default value is the past 90 days.\n" explode: true in: query name: after @@ -9600,10 +9993,10 @@ paths: schema: type: string style: form - - description: |- - The field to order the results by + - 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. + **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. explode: true in: query name: orderBy @@ -9741,7 +10134,7 @@ paths: $ref: "#/components/headers/prev-page" default: $ref: "#/components/responses/Error" - summary: List transaction history + summary: Get transaction history tags: - Transactions x-rate-limit-category: query @@ -9787,7 +10180,11 @@ paths: x-accepts: - application/json post: - description: Creates a new transaction. + description: "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`," operationId: createTransaction parameters: - description: Unique ID of the End-User wallet to the API request. Required @@ -9872,8 +10269,13 @@ paths: /transactions/estimate_fee: post: description: |- - 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. operationId: estimateTransactionFee parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -9947,7 +10349,9 @@ paths: - application/json /transactions/{txId}: get: - description: Returns a transaction by ID. + description: |- + Get a specific transaction data by Fireblocks Transaction ID +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getTransaction parameters: - description: The ID of the transaction to return @@ -9973,7 +10377,7 @@ paths: $ref: "#/components/responses/Error" default: $ref: "#/components/responses/Error" - summary: Find a specific transaction by Fireblocks transaction ID + summary: Get a specific transaction by Fireblocks transaction ID tags: - Transactions x-rate-limit-category: read @@ -10007,7 +10411,9 @@ paths: - application/json /transactions/external_tx_id/{externalTxId}: get: - description: Returns transaction by external transaction ID. + description: |- + Returns transaction by external transaction ID. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getTransactionByExternalId parameters: - description: The external ID of the transaction to return @@ -10031,7 +10437,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Find a specific transaction by external transaction ID + summary: Get a specific transaction by external transaction ID tags: - Transactions x-rate-limit-category: read @@ -10065,8 +10471,9 @@ paths: - application/json /transactions/{txId}/set_confirmation_threshold: post: - description: Overrides the required number of confirmations for transaction - completion by transaction ID. + description: |- + Overrides the required number of confirmations for transaction completion Fireblocks Transaction ID. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. operationId: setTransactionConfirmationThreshold parameters: - description: The ID of the transaction @@ -10105,7 +10512,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Set confirmation threshold by transaction ID + summary: Set confirmation threshold by Fireblocks Transaction ID tags: - Transactions x-rate-limit-category: write @@ -10146,7 +10553,9 @@ paths: - application/json /transactions/{txId}/drop: post: - description: Drops a stuck ETH transaction and creates a replacement transaction. + description: |- + Drops a stuck ETH (EVM) transaction and creates a replacement transaction with 0 amount. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. operationId: dropTransaction parameters: - description: The ID of the transaction @@ -10195,7 +10604,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Drop ETH transaction by ID + summary: Drop ETH (EVM) transaction by ID tags: - Transactions x-rate-limit-category: write @@ -10236,7 +10645,11 @@ paths: - application/json /transactions/{txId}/cancel: post: - description: Cancels a transaction by ID. + description: |- + 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. operationId: cancelTransaction parameters: - description: The ID of the transaction to cancel @@ -10320,7 +10733,11 @@ paths: - application/json /transactions/{txId}/freeze: post: - description: Freezes a transaction by ID. + description: "Freezes a transaction by ID.\n\nUsually used for AML integrations\ + \ when the incoming funds should be quarantined.\nFor account based assets\ + \ - the entire amount of the transaction is frozen \nFor UTXO based assets\ + \ - all UTXOs of the specified transaction are frozen\n
Endpoint Permission:\ + \ Admin, Non-Signing Admin." operationId: freezeTransaction parameters: - description: The ID of the transaction to freeze @@ -10402,8 +10819,9 @@ paths: - application/json /transactions/{txId}/unfreeze: post: - description: Unfreezes a transaction by ID and makes the transaction available - again. + description: |- + Unfreezes a transaction by Fireblocks Transaction ID and makes the transaction available again. +
Endpoint Permission: Admin, Non-Signing Admin. operationId: unfreezeTransaction parameters: - description: The ID of the transaction to unfreeze @@ -10485,7 +10903,9 @@ paths: - application/json /transactions/validate_address/{assetId}/{address}: get: - description: "Checks if an address is valid (for XRP, DOT, XLM, and EOS)." + description: |- + Checks if an address is valid and active (for XRP, DOT, XLM, and EOS). +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. operationId: validateAddress parameters: - description: The asset of the address @@ -10551,81 +10971,11 @@ paths: source: "response = fireblocks.transactions.validate_address(asset_id, address);" x-accepts: - application/json - /transactions/rescan: - post: - description: | - 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. - operationId: rescanTransactionsBeta - parameters: - - 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." - explode: false - in: header - name: Idempotency-Key - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/RescanTransactionRequest" - required: true - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/ValidatedTransactionsForRescanResponse" - description: A array of validated transactions that were sent to rescan - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: rescan array of transactions - tags: - - Transactions - x-rate-limit-category: async - x-readme: - code-samples: - - language: typescript - code: "const response: Promise>\ - \ = fireblocks.transactions.rescanTransactionsBeta(transactionsApiRescanTransactionsBetaRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: "CompletableFuture>>\ - \ response = fireblocks.transactions().rescanTransactionsBeta(rescanTransaction,\ - \ idempotencyKey);" - name: Fireblocks SDK Java example - - language: python - code: "response = fireblocks.transactions.rescan_transactions_beta(rescan_transaction,\ - \ idempotency_key);" - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.transactions.rescanTransactionsBeta(transactionsApiRescanTransactionsBetaRequest);" - - lang: Java - source: "CompletableFuture>>\ - \ response = fireblocks.transactions().rescanTransactionsBeta(rescanTransaction,\ - \ idempotencyKey);" - - lang: Python - source: "response = fireblocks.transactions.rescan_transactions_beta(rescan_transaction,\ - \ idempotency_key);" - x-content-type: application/json - x-accepts: - - application/json /txHash/{txHash}/set_confirmation_threshold: post: - description: Overrides the required number of confirmations for transaction - completion by transaction hash. + description: |- + Overrides the required number of confirmations for transaction completion by transaction hash. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. operationId: setConfirmationThresholdByTransactionHash parameters: - description: The TxHash @@ -10705,9 +11055,20 @@ paths: - application/json /estimate_network_fee: get: - description: "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." + description: |- + 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. operationId: estimateNetworkFee parameters: - description: The asset for which to estimate the fee @@ -10778,6 +11139,8 @@ paths:
  • 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. operationId: createPayout parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -10998,6 +11361,7 @@ paths: **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. operationId: getPayout parameters: - description: the payout id received from the creation of the payout instruction @@ -11382,7 +11746,9 @@ paths: - application/json /gas_station: get: - description: Returns gas station settings and ETH balance. + description: |- + Returns gas station settings and ETH balance. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. operationId: getGasStationInfo responses: "200": @@ -11432,7 +11798,9 @@ paths: - application/json /gas_station/{assetId}: get: - description: Returns gas station settings and balances for a requested asset. + description: |- + Returns gas station settings and balances for a requested asset. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. operationId: getGasStationByAssetId parameters: - description: The ID of the asset @@ -11492,7 +11860,10 @@ paths: - application/json /gas_station/configuration: put: - description: Configures gas station settings for ETH. + description: |- + 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. operationId: updateGasStationConfiguration parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -11567,7 +11938,10 @@ paths: - application/json /gas_station/configuration/{assetId}: put: - description: Configures gas station settings for a requested asset. + description: |- + 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. operationId: updateGasStationConfigurationByAssetId parameters: - description: The ID of the asset @@ -11643,12 +12017,11 @@ paths: - application/json /management/user_groups: get: - description: | - Get all user groups in your workspace.
    + description: |- + 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. + - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions. +
    Endpoint Permission: Admin, Non-Signing Admin. operationId: getUserGroups responses: "200": @@ -11691,12 +12064,9 @@ paths: x-accepts: - application/json post: - description: | - 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. + description: |- + Create a new user group. Users with the Viewer role cannot be added to groups. +
    Endpoint Permission: Admin, Non-Signing Admin. operationId: createUserGroup parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -11996,7 +12366,11 @@ paths: - application/json /management/audit_logs: get: - description: Get all audits + description: |- + 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. operationId: getAuditLogs parameters: - description: The last time period to fetch audit logs @@ -12060,7 +12434,10 @@ paths: - application/json /off_exchange/add: post: - description: "add collateral, create deposit request" + description: |- + 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. operationId: addOffExchange parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -12088,7 +12465,7 @@ paths: description: A transaction object default: $ref: "#/components/responses/Error" - summary: add collateral + summary: Add Collateral tags: - Off exchanges x-rate-limit-category: write @@ -12122,7 +12499,10 @@ paths: - application/json /off_exchange/remove: post: - description: "remove collateral, create withdraw request" + description: |- + 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. operationId: removeOffExchange parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -12150,7 +12530,7 @@ paths: description: A transaction object default: $ref: "#/components/responses/Error" - summary: remove collateral + summary: Remove Collateral tags: - Off exchanges x-rate-limit-category: write @@ -12185,7 +12565,10 @@ paths: - application/json /off_exchange/settlements/trader: post: - description: create settlement for a trader + description: |- + 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. operationId: settleOffExchangeTrades parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -12213,7 +12596,7 @@ paths: description: A settlement object default: $ref: "#/components/responses/Error" - summary: create settlement for a trader + summary: Create Settlement for a Trader tags: - Off exchanges x-rate-limit-category: write @@ -12246,7 +12629,10 @@ paths: - application/json /off_exchange/settlements/transactions: get: - description: get settlements transactions from exchange + description: |- + 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. operationId: getOffExchangeSettlementTransactions parameters: - explode: true @@ -12265,7 +12651,7 @@ paths: description: A settlement transactions default: $ref: "#/components/responses/Error" - summary: get settlements transactions from exchange + summary: Get Settlements Transactions tags: - Off exchanges x-rate-limit-category: query @@ -12293,7 +12679,10 @@ paths: - application/json /off_exchange/collateral_accounts/{mainExchangeAccountId}: get: - description: Returns a collateral account by mainExchangeAccountId. + description: |- + 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. operationId: getOffExchangeCollateralAccounts parameters: - description: The id of the main exchange account for which the requested collateral @@ -12343,7 +12732,12 @@ paths: - application/json /webhooks/resend: post: - description: Resends all failed webhook notifications. + description: |- + 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. operationId: resendWebhooks parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -12405,7 +12799,12 @@ paths: - application/json /webhooks/resend/{txId}: post: - description: Resends failed webhook notifications for a transaction by ID. + description: | + 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. operationId: resendTransactionWebhooks parameters: - description: The ID of the transaction for webhooks @@ -12445,7 +12844,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Resend failed webhooks for a transaction by ID + summary: Resend webhooks for a transaction by ID tags: - Webhooks x-rate-limit-category: async @@ -12489,7 +12888,7 @@ paths: /webhooks: get: description: | - Get all webhooks (paginated) + Get all webhooks (paginated). operationId: getWebhooks parameters: - description: ASC / DESC ordering (default DESC) @@ -12571,7 +12970,7 @@ paths: description: | 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. operationId: createWebhook parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -12603,7 +13002,7 @@ paths: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Create new webhook + summary: Create a new webhook tags: - Webhooks V2 x-rate-limit-category: write @@ -13481,8 +13880,9 @@ paths: - application/json /tokenization/templates: get: - description: Return minimal representation of all the contract templates available - for the workspace + description: |- + Return minimal representation of all the contract templates available for the workspace. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getContractTemplates parameters: - description: Items per page (max 100) @@ -13541,7 +13941,9 @@ paths: - TOKEN_UTILITY type: string style: form - - explode: true + - description: For standalone contracts use ON_DEPLOYMENT and for contracts + that are behind proxies use POST_DEPLOYMENT + explode: true in: query name: initializationPhase required: false @@ -14004,6 +14406,69 @@ paths: x-content-type: application/json x-accepts: - application/json + /tokenization/templates/{contractTemplateId}/supported_blockchains: + get: + description: Get supported blockchains for the template + operationId: getSupportedBlockchainsByTemplateId + parameters: + - description: The Contract Template identifier + example: b70701f4-d7b1-4795-a8ee-b09cdb5b850d + explode: false + in: path + name: contractTemplateId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SupportedBlockChainsResponse" + description: Supported blockchains list + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/HttpContractDoesNotExistError" + description: Could not find contract. + default: + $ref: "#/components/responses/Error" + summary: Get supported blockchains for the template + tags: + - Contract Templates + x-rate-limit-category: read + x-readme: + code-samples: + - language: python + code: supported_blockchains = fireblocks.get_supported_blockchains_by_template_id(contract_template_id) + name: Fireblocks SDK Python example (Legacy) + - language: javascript + code: const supportedBlockchains = await fireblocks.getSupportedBlockchainsByTemplateId(contractTemplateId); + name: Fireblocks SDK Javascript example + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.contractTemplates.getSupportedBlockchainsByTemplateId(contractTemplatesApiGetSupportedBlockchainsByTemplateIdRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response + = fireblocks.contractTemplates().getSupportedBlockchainsByTemplateId(contractTemplateId); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.contract_templates.get_supported_blockchains_by_template_id(contract_template_id); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.contractTemplates.getSupportedBlockchainsByTemplateId(contractTemplatesApiGetSupportedBlockchainsByTemplateIdRequest);" + - lang: Java + source: CompletableFuture> response + = fireblocks.contractTemplates().getSupportedBlockchainsByTemplateId(contractTemplateId); + - lang: Python + source: response = fireblocks.contract_templates.get_supported_blockchains_by_template_id(contract_template_id); + x-accepts: + - application/json /tokenization/contracts: get: description: Return a filtered lean representation of the deployed contracts @@ -14437,12 +14902,9 @@ paths: x-accepts: - application/json post: - description: "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." + description: |- + 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. operationId: issueNewToken parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -14510,6 +14972,51 @@ paths: x-content-type: application/json x-accepts: - application/json + /tokenization/tokens/count: + get: + description: Get the total count of linked tokens + operationId: getLinkedTokensCount + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/LinkedTokensCount" + description: Count fetched successfully + default: + $ref: "#/components/responses/Error" + summary: Get the total count of linked tokens + tags: + - Tokenization + x-rate-limit-category: read + x-readme: + code-samples: + - language: python + code: tokens_count = fireblocks.get_linked_tokens_count() + name: Fireblocks SDK Python example (Legacy) + - language: javascript + code: const tokensCount = await fireblocks.getLinkedTokensCount(); + name: Fireblocks SDK Javascript example + - language: typescript + code: "const response: Promise> =\ + \ fireblocks.tokenization.getLinkedTokensCount();" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response = fireblocks.tokenization().getLinkedTokensCount(); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.tokenization.get_linked_tokens_count(); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> =\ + \ fireblocks.tokenization.getLinkedTokensCount();" + - lang: Java + source: CompletableFuture> response = fireblocks.tokenization().getLinkedTokensCount(); + - lang: Python + source: response = fireblocks.tokenization.get_linked_tokens_count(); + x-accepts: + - application/json /tokenization/tokens/link: post: description: Link an a contract @@ -15626,7 +16133,9 @@ paths: - application/json /tokenization/collections: get: - description: Get collections (paginated) + description: |- + Get collections (paginated). +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. operationId: getLinkedCollections parameters: - description: "Page cursor to get the next page, for example - \"MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==\"" @@ -15700,7 +16209,9 @@ paths: x-accepts: - application/json post: - description: Create a new collection and link it as a token + description: |- + Create a new collection and link it as a token. +
    Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, and Editor. operationId: createNewCollection parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -16063,8 +16574,9 @@ paths: - application/json /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/functions: get: - description: Return deployed contract's ABI by blockchain native asset id and - contract address + description: |- + Return deployed contract's ABI by blockchain native asset id and contract address. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer. operationId: getDeployedContractAbi parameters: - description: "A unique identifier for the request. If the request is sent\ @@ -16087,7 +16599,9 @@ paths: schema: type: string style: simple - - explode: false + - description: The blockchain base assetId + example: ETH + explode: false in: path name: baseAssetId required: true @@ -16325,8 +16839,10 @@ paths: - application/json /contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash}/receipt: get: - description: Retrieve the transaction receipt by blockchain native asset ID - and transaction hash + description: "Retrieve the transaction receipt by blockchain native asset ID\ + \ and transaction hash\n> **Note** > This functionality is exclusively available\ + \ for EVM (Ethereum Virtual Machine) compatible chains. \n
    Endpoint Permission:\ + \ Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer." operationId: getTransactionReceipt parameters: - description: The blockchain base assetId @@ -16492,852 +17008,1150 @@ paths: x-content-type: application/json x-accepts: - application/json - /staking/chains: + /contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash}: get: - description: Return an alphabetical list of supported chains. - operationId: getChains + description: Retrieve the contract address by blockchain native asset ID and + transaction hash + operationId: getContractAddress + parameters: + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + - description: The blockchain base assetId + example: ETH_TEST3 + explode: false + in: path + name: baseAssetId + required: true + schema: + type: string + style: simple + - description: The transaction hash + example: 0x3b015ca0518c55d7bff4e3f5aa5d0431705771553ba8a95cf20e34cb597f57f6 + explode: false + in: path + name: txHash + required: true + schema: + type: string + style: simple responses: "200": content: application/json: schema: - $ref: "#/components/schemas/StakingGetChainsResponse" - description: An array of supported chains was returned successfully - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" + $ref: "#/components/schemas/ContractAddressResponse" + description: Retrieved The Contract Address Successfully default: $ref: "#/components/responses/Error" - summary: List staking supported chains + summary: Get contract address by transaction hash tags: - - Staking - x-rate-limit-category: query + - Contract Interactions + x-rate-limit-category: read x-readme: code-samples: + - language: python + code: "contract_address = fireblocks.get_contract_address(base_asset_id,\ + \ tx_hash)" + name: Fireblocks SDK Python example (Legacy) + - language: javascript + code: "const contractAddress = await fireblocks.getContractAddress(baseAssetId,\ + \ txHash);" + name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise>\ - \ = fireblocks.staking.getChains();" + code: "const response: Promise>\ + \ = fireblocks.contractInteractions.getContractAddress(contractInteractionsApiGetContractAddressRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture>> response = fireblocks.staking().getChains(); + code: "CompletableFuture> response\ + \ = fireblocks.contractInteractions().getContractAddress(baseAssetId,\ + \ txHash, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.staking.get_chains(); + code: "response = fireblocks.contract_interactions.get_contract_address(base_asset_id,\ + \ tx_hash, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.staking.getChains();" + source: "const response: Promise>\ + \ = fireblocks.contractInteractions.getContractAddress(contractInteractionsApiGetContractAddressRequest);" - lang: Java - source: CompletableFuture>> response = fireblocks.staking().getChains(); + source: "CompletableFuture> response\ + \ = fireblocks.contractInteractions().getContractAddress(baseAssetId, txHash,\ + \ idempotencyKey);" - lang: Python - source: response = fireblocks.staking.get_chains(); + source: "response = fireblocks.contract_interactions.get_contract_address(base_asset_id,\ + \ tx_hash, idempotency_key);" x-accepts: - application/json - /staking/chains/{chainDescriptor}/chainInfo: + /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/roles: get: - description: "Return chain-specific, staking-related information summary (e.g.\ - \ epoch details, lockup durations, estimated rewards, etc.)" - operationId: getChainInfo + description: Returns a list of currently active roles for the specified baseAssetId + and contractAddress. + operationId: getActiveRolesForContract parameters: - - description: The protocol identifier (e.g. "ETH"/"SOL"/"MATIC"/"STETH_ETH") - to use - example: SOL + - description: The blockchain base assetId + example: ETH_TEST3 explode: false in: path - name: chainDescriptor + name: baseAssetId required: true schema: - $ref: "#/components/schemas/ChainDescriptor" + type: string + style: simple + - description: The contract address + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 + explode: false + in: path + name: contractAddress + required: true + schema: + type: string style: simple responses: "200": content: application/json: schema: - $ref: "#/components/schemas/ChainInfoResponse" - description: Chain specific info summary was returned successfully - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" + $ref: "#/components/schemas/ActiveRolesResponse" + description: Successfully retrieved the list of active roles default: $ref: "#/components/responses/Error" - summary: Get chain-specific staking summary + summary: List of active roles for a given contract address and base asset ID tags: - - Staking - x-rate-limit-category: query + - Onchain Data + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise> =\ - \ fireblocks.staking.getChainInfo(stakingApiGetChainInfoRequest);" + code: "const response: Promise>\ + \ = fireblocks.onchainData.getActiveRolesForContract(onchainDataApiGetActiveRolesForContractRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = fireblocks.staking().getChainInfo(chainDescriptor); + code: "CompletableFuture> response = fireblocks.onchainData().getActiveRolesForContract(baseAssetId,\ + \ contractAddress);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.staking.get_chain_info(chain_descriptor); + code: "response = fireblocks.onchain_data.get_active_roles_for_contract(base_asset_id,\ + \ contract_address);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> =\ - \ fireblocks.staking.getChainInfo(stakingApiGetChainInfoRequest);" + source: "const response: Promise>\ + \ = fireblocks.onchainData.getActiveRolesForContract(onchainDataApiGetActiveRolesForContractRequest);" - lang: Java - source: CompletableFuture> response = fireblocks.staking().getChainInfo(chainDescriptor); + source: "CompletableFuture> response = fireblocks.onchainData().getActiveRolesForContract(baseAssetId,\ + \ contractAddress);" - lang: Python - source: response = fireblocks.staking.get_chain_info(chain_descriptor); + source: "response = fireblocks.onchain_data.get_active_roles_for_contract(base_asset_id,\ + \ contract_address);" x-accepts: - application/json - /staking/chains/{chainDescriptor}/stake: - post: - description: Perform a chain-specific Stake. - operationId: stake + /onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/list: + get: + description: Returns the current state of addresses in the specified access + registry. Only addresses that are currently active (added but not removed) + are included. + operationId: getAccessRegistryCurrentState parameters: - - description: The protocol identifier (e.g. "ETH"/"SOL"/"MATIC") to use - example: SOL + - description: The blockchain base assetId + example: ETH_TEST3 explode: false in: path - name: chainDescriptor + name: baseAssetId required: true schema: - $ref: "#/components/schemas/ChainDescriptor" + type: string style: simple - - 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." + - description: The access registry address + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 explode: false - in: header - name: Idempotency-Key - required: false + in: path + name: accessRegistryAddress + required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/StakeRequest" - required: true + - description: Page cursor to get the next page" + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + - description: "Number of items per page (max 100), requesting more then 100\ + \ will return 100 items" + example: 10 + explode: true + in: query + name: pageSize + required: false + schema: + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Sorting field (enum). + explode: true + in: query + name: sortBy + required: false + schema: + default: dateAdded + enum: + - dateAdded + - address + type: string + style: form + - description: ASC / DESC ordering (default DESC) + explode: true + in: query + name: order + required: false + schema: + default: DESC + enum: + - ASC + - DESC + type: string + style: form responses: - "201": + "200": content: application/json: schema: - $ref: "#/components/schemas/StakeResponse" - description: Stake action has been executed successfully on vault and is - associated with 201 status code. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" + $ref: "#/components/schemas/AccessRegistryCurrentStateResponse" + description: Access registry current state retrieved successfully default: $ref: "#/components/responses/Error" - summary: Initiate Stake Operation + summary: Get the current state of addresses in an access registry tags: - - Staking - x-rate-limit-category: write + - Onchain Data + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.staking.stake(stakingApiStakeRequest);" + code: "const response: Promise>\ + \ = fireblocks.onchainData.getAccessRegistryCurrentState(onchainDataApiGetAccessRegistryCurrentStateRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.staking().stake(stakeRequest,\ - \ chainDescriptor, idempotencyKey);" + code: "CompletableFuture>\ + \ response = fireblocks.onchainData().getAccessRegistryCurrentState(baseAssetId,\ + \ accessRegistryAddress, pageCursor, pageSize, sortBy, order);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.staking.stake(stake_request, chain_descriptor,\ - \ idempotency_key);" + code: "response = fireblocks.onchain_data.get_access_registry_current_state(base_asset_id,\ + \ access_registry_address, page_cursor, page_size, sort_by, order);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.staking.stake(stakingApiStakeRequest);" + source: "const response: Promise>\ + \ = fireblocks.onchainData.getAccessRegistryCurrentState(onchainDataApiGetAccessRegistryCurrentStateRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.staking().stake(stakeRequest,\ - \ chainDescriptor, idempotencyKey);" + source: "CompletableFuture>\ + \ response = fireblocks.onchainData().getAccessRegistryCurrentState(baseAssetId,\ + \ accessRegistryAddress, pageCursor, pageSize, sortBy, order);" - lang: Python - source: "response = fireblocks.staking.stake(stake_request, chain_descriptor,\ - \ idempotency_key);" - x-content-type: application/json + source: "response = fireblocks.onchain_data.get_access_registry_current_state(base_asset_id,\ + \ access_registry_address, page_cursor, page_size, sort_by, order);" x-accepts: - application/json - /staking/chains/{chainDescriptor}/unstake: - post: - description: Execute an Unstake operation - operationId: unstake + /onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/summary: + get: + description: Returns a summary of the current state of the access registry for + the specified baseAssetId and accessRegistryAddress. + operationId: getAccessRegistrySummary parameters: - - description: The protocol identifier (e.g. "ETH"/"SOL"/"MATIC") to use - example: SOL + - description: The blockchain base assetId + example: ETH_TEST3 explode: false in: path - name: chainDescriptor + name: baseAssetId required: true schema: - $ref: "#/components/schemas/ChainDescriptor" + type: string style: simple - - 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." + - description: The access registry address + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 explode: false - in: header - name: Idempotency-Key - required: false + in: path + name: accessRegistryAddress + required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/UnstakeRequest" - required: true responses: - "201": - description: Unstake action has been executed successfully on vault and - is associated with 201 status code. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/AccessRegistrySummaryResponse" + description: Successfully retrieved the summary of the access registry state default: $ref: "#/components/responses/Error" - summary: Execute an Unstake operation + summary: Summary of access registry state tags: - - Staking - x-rate-limit-category: write + - Onchain Data + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.staking.unstake(stakingApiUnstakeRequest);" + code: "const response: Promise>\ + \ = fireblocks.onchainData.getAccessRegistrySummary(onchainDataApiGetAccessRegistrySummaryRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.staking().unstake(unstakeRequest,\ - \ chainDescriptor, idempotencyKey);" + code: "CompletableFuture> response\ + \ = fireblocks.onchainData().getAccessRegistrySummary(baseAssetId, accessRegistryAddress);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.staking.unstake(unstake_request, chain_descriptor,\ - \ idempotency_key);" + code: "response = fireblocks.onchain_data.get_access_registry_summary(base_asset_id,\ + \ access_registry_address);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.staking.unstake(stakingApiUnstakeRequest);" + source: "const response: Promise>\ + \ = fireblocks.onchainData.getAccessRegistrySummary(onchainDataApiGetAccessRegistrySummaryRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.staking().unstake(unstakeRequest,\ - \ chainDescriptor, idempotencyKey);" + source: "CompletableFuture> response\ + \ = fireblocks.onchainData().getAccessRegistrySummary(baseAssetId, accessRegistryAddress);" - lang: Python - source: "response = fireblocks.staking.unstake(unstake_request, chain_descriptor,\ - \ idempotency_key);" - x-content-type: application/json + source: "response = fireblocks.onchain_data.get_access_registry_summary(base_asset_id,\ + \ access_registry_address);" x-accepts: - application/json - /staking/chains/{chainDescriptor}/withdraw: - post: - description: Perform a chain-specific Withdraw. - operationId: withdraw + /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/transactions: + get: + description: "Returns a paginated list of onchain transactions for the specified\ + \ contract address and base asset ID, optionally filtered by date range." + operationId: getOnchainTransactions parameters: - - description: The protocol identifier (e.g. "ETH"/"SOL"/"MATIC") to use - example: SOL + - description: The blockchain base assetId + example: ETH_TEST3 explode: false in: path - name: chainDescriptor + name: baseAssetId required: true schema: - $ref: "#/components/schemas/ChainDescriptor" + type: string style: simple - - 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." + - description: The contract address + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 explode: false - in: header - name: Idempotency-Key - required: false + in: path + name: contractAddress + required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/WithdrawRequest" - required: true + - description: Start date of the time range in ISO 8601 format + example: 2025-01-16T15:45:00Z + explode: true + in: query + name: startDate + required: false + schema: + format: date-time + type: string + style: form + - description: End date of the time range in ISO 8601 format + example: 2025-01-16T15:45:00Z + explode: true + in: query + name: endDate + required: false + schema: + format: date-time + type: string + style: form + - description: Page cursor to get the next page" + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + - description: "Number of items per page (max 100), requesting more then 100\ + \ will return 100 items" + example: 10 + explode: true + in: query + name: pageSize + required: false + schema: + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Sorting field (enum). + explode: true + in: query + name: sortBy + required: false + schema: + default: blockTimestamp + enum: + - blockTimestamp + - blockNumber + - transactionHash + type: string + style: form + - description: ASC / DESC ordering (default DESC) + explode: true + in: query + name: order + required: false + schema: + default: DESC + enum: + - ASC + - DESC + type: string + style: form responses: - "201": - description: Withdraw action has been executed successfully on vault and - is associated with 201 status code. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/OnchainTransactionsPagedResponse" + description: Onchain transactions fetched successfully default: $ref: "#/components/responses/Error" - summary: Execute a Withdraw operation + summary: Fetch onchain transactions for a contract tags: - - Staking - x-rate-limit-category: write + - Onchain Data + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.staking.withdraw(stakingApiWithdrawRequest);" + code: "const response: Promise>\ + \ = fireblocks.onchainData.getOnchainTransactions(onchainDataApiGetOnchainTransactionsRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.staking().withdraw(withdrawRequest,\ - \ chainDescriptor, idempotencyKey);" + code: "CompletableFuture>\ + \ response = fireblocks.onchainData().getOnchainTransactions(baseAssetId,\ + \ contractAddress, startDate, endDate, pageCursor, pageSize, sortBy, order);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.staking.withdraw(withdraw_request, chain_descriptor,\ - \ idempotency_key);" + code: "response = fireblocks.onchain_data.get_onchain_transactions(base_asset_id,\ + \ contract_address, start_date, end_date, page_cursor, page_size, sort_by,\ + \ order);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.staking.withdraw(stakingApiWithdrawRequest);" + source: "const response: Promise>\ + \ = fireblocks.onchainData.getOnchainTransactions(onchainDataApiGetOnchainTransactionsRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.staking().withdraw(withdrawRequest,\ - \ chainDescriptor, idempotencyKey);" + source: "CompletableFuture>\ + \ response = fireblocks.onchainData().getOnchainTransactions(baseAssetId,\ + \ contractAddress, startDate, endDate, pageCursor, pageSize, sortBy, order);" - lang: Python - source: "response = fireblocks.staking.withdraw(withdraw_request, chain_descriptor,\ - \ idempotency_key);" - x-content-type: application/json + source: "response = fireblocks.onchain_data.get_onchain_transactions(base_asset_id,\ + \ contract_address, start_date, end_date, page_cursor, page_size, sort_by,\ + \ order);" x-accepts: - application/json - /staking/chains/{chainDescriptor}/claim_rewards: - post: - description: Perform a chain-specific Claim Rewards. - operationId: claimRewards + /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/total_supply: + get: + description: Returns the paginated total supply history of the specified contract + with optional date range and interval filtering. + operationId: getContractTotalSupply parameters: - - description: The protocol identifier (e.g. "MATIC"/"SOL") to use - example: MATIC + - description: The blockchain base assetId + example: ETH_TEST3 explode: false in: path - name: chainDescriptor + name: baseAssetId required: true schema: - enum: - - MATIC - - SOL - - SOL_TEST type: string style: simple - - 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." + - description: The contract address + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 explode: false - in: header - name: Idempotency-Key - required: false + in: path + name: contractAddress + required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ClaimRewardsRequest" - required: true + - description: Start date of the time range in ISO 8601 format + example: 2025-01-16T15:45:00Z + explode: true + in: query + name: startDate + required: false + schema: + format: date-time + type: string + style: form + - description: End date of the time range in ISO 8601 format + example: 2025-01-16T15:45:00Z + explode: true + in: query + name: endDate + required: false + schema: + format: date-time + type: string + style: form + - description: Time interval for grouping data + example: day + explode: true + in: query + name: interval + required: false + schema: + default: day + enum: + - hour + - day + - week + - month + type: string + style: form + - description: Page cursor to get the next page" + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + - description: "Number of items per page (max 100), requesting more then 100\ + \ will return 100 items" + example: 10 + explode: true + in: query + name: pageSize + required: false + schema: + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Sorting field (enum). Sorting only supported by 'blockTimestamp' + explode: true + in: query + name: sortBy + required: false + schema: + default: blockTimestamp + enum: + - blockTimestamp + type: string + style: form + - description: ASC / DESC ordering (default DESC) + explode: true + in: query + name: order + required: false + schema: + default: DESC + enum: + - ASC + - DESC + type: string + style: form responses: - "201": - description: Claim Rewards action has been executed successfully on vault - and is associated with 201 status code. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/TotalSupplyPagedResponse" + description: Successfully retrieved the contract total supply history default: $ref: "#/components/responses/Error" - summary: Execute a Claim Rewards operation + summary: Get historical total supply data for a contract tags: - - Staking - x-rate-limit-category: write + - Onchain Data + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.staking.claimRewards(stakingApiClaimRewardsRequest);" + code: "const response: Promise>\ + \ = fireblocks.onchainData.getContractTotalSupply(onchainDataApiGetContractTotalSupplyRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.staking().claimRewards(claimRewardsRequest,\ - \ chainDescriptor, idempotencyKey);" + code: "CompletableFuture> response\ + \ = fireblocks.onchainData().getContractTotalSupply(baseAssetId, contractAddress,\ + \ startDate, endDate, interval, pageCursor, pageSize, sortBy, order);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.staking.claim_rewards(claim_rewards_request,\ - \ chain_descriptor, idempotency_key);" + code: "response = fireblocks.onchain_data.get_contract_total_supply(base_asset_id,\ + \ contract_address, start_date, end_date, interval, page_cursor, page_size,\ + \ sort_by, order);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.staking.claimRewards(stakingApiClaimRewardsRequest);" + source: "const response: Promise>\ + \ = fireblocks.onchainData.getContractTotalSupply(onchainDataApiGetContractTotalSupplyRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.staking().claimRewards(claimRewardsRequest,\ - \ chainDescriptor, idempotencyKey);" + source: "CompletableFuture> response\ + \ = fireblocks.onchainData().getContractTotalSupply(baseAssetId, contractAddress,\ + \ startDate, endDate, interval, pageCursor, pageSize, sortBy, order);" - lang: Python - source: "response = fireblocks.staking.claim_rewards(claim_rewards_request,\ - \ chain_descriptor, idempotency_key);" - x-content-type: application/json + source: "response = fireblocks.onchain_data.get_contract_total_supply(base_asset_id,\ + \ contract_address, start_date, end_date, interval, page_cursor, page_size,\ + \ sort_by, order);" x-accepts: - application/json - /staking/chains/{chainDescriptor}/split: - post: - description: Perform a Solana Split stake account. - operationId: split + /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/account_address/{accountAddress}/balance_history: + get: + description: Returns the paginated balance history of the specified account + in a contract with optional date range and interval filtering. + operationId: getContractBalanceHistory parameters: - - description: The protocol identifier (e.g. "SOL"/"SOL_TEST") to use - example: SOL + - description: The blockchain base assetId + example: ETH_TEST3 explode: false in: path - name: chainDescriptor + name: baseAssetId required: true schema: - enum: - - SOL - - SOL_TEST type: string style: simple - - 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." + - description: The contract address + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 explode: false - in: header - name: Idempotency-Key - required: false + in: path + name: contractAddress + required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/SplitRequest" + - description: The account address to get balance history for + explode: false + in: path + name: accountAddress required: true - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/SplitResponse" - description: Split action has been executed successfully on vault and is - associated with 201 status code. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: + schema: + example: 0x1234567890abcdef1234567890abcdef12345678 + type: string + style: simple + - description: Start date of the time range in ISO 8601 format + example: 2025-01-16T15:45:00Z + explode: true + in: query + name: startDate + required: false + schema: + format: date-time + type: string + style: form + - description: End date of the time range in ISO 8601 format + example: 2025-01-16T15:45:00Z + explode: true + in: query + name: endDate + required: false + schema: + format: date-time + type: string + style: form + - description: Time interval for grouping data + example: day + explode: true + in: query + name: interval + required: false + schema: + default: day + enum: + - hour + - day + - week + - month + type: string + style: form + - description: Page cursor to get the next page" + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + - description: "Number of items per page (max 100), requesting more then 100\ + \ will return 100 items" + example: 10 + explode: true + in: query + name: pageSize + required: false + schema: + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Sorting field (enum). Sorting only supported by 'blockTimestamp' + explode: true + in: query + name: sortBy + required: false + schema: + default: blockTimestamp + enum: + - blockTimestamp + type: string + style: form + - description: ASC / DESC ordering (default DESC) + explode: true + in: query + name: order + required: false + schema: + default: DESC + enum: + - ASC + - DESC + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/BalanceHistoryPagedResponse" + description: Successfully retrieved the contract balance history + default: $ref: "#/components/responses/Error" - summary: Execute a Split operation on SOL/SOL_TEST stake account + summary: Get historical balance data for a specific account in a contract tags: - - Staking - x-rate-limit-category: write + - Onchain Data + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.staking.split(stakingApiSplitRequest);" + code: "const response: Promise>\ + \ = fireblocks.onchainData.getContractBalanceHistory(onchainDataApiGetContractBalanceHistoryRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.staking().split(splitRequest,\ - \ chainDescriptor, idempotencyKey);" + code: "CompletableFuture> response\ + \ = fireblocks.onchainData().getContractBalanceHistory(baseAssetId, contractAddress,\ + \ accountAddress, startDate, endDate, interval, pageCursor, pageSize,\ + \ sortBy, order);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.staking.split(split_request, chain_descriptor,\ - \ idempotency_key);" + code: "response = fireblocks.onchain_data.get_contract_balance_history(base_asset_id,\ + \ contract_address, account_address, start_date, end_date, interval, page_cursor,\ + \ page_size, sort_by, order);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.staking.split(stakingApiSplitRequest);" + source: "const response: Promise>\ + \ = fireblocks.onchainData.getContractBalanceHistory(onchainDataApiGetContractBalanceHistoryRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.staking().split(splitRequest,\ - \ chainDescriptor, idempotencyKey);" + source: "CompletableFuture> response\ + \ = fireblocks.onchainData().getContractBalanceHistory(baseAssetId, contractAddress,\ + \ accountAddress, startDate, endDate, interval, pageCursor, pageSize, sortBy,\ + \ order);" - lang: Python - source: "response = fireblocks.staking.split(split_request, chain_descriptor,\ - \ idempotency_key);" - x-content-type: application/json + source: "response = fireblocks.onchain_data.get_contract_balance_history(base_asset_id,\ + \ contract_address, account_address, start_date, end_date, interval, page_cursor,\ + \ page_size, sort_by, order);" x-accepts: - application/json - /staking/chains/{chainDescriptor}/merge: - post: - description: |- - Perform a Solana Merge of two active stake accounts into one. - - Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. - operationId: mergeStakeAccounts + /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/summary: + get: + description: Returns the total number of unique addresses holding balances and + the total supply for the specified contract. + operationId: getContractBalancesSummary parameters: - - description: The protocol identifier (e.g. "SOL"/"SOL_TEST") to use - example: SOL + - description: The blockchain base assetId + example: ETH_TEST3 explode: false in: path - name: chainDescriptor + name: baseAssetId required: true schema: - enum: - - SOL - - SOL_TEST type: string style: simple - - 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." + - description: The contract address + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 explode: false - in: header - name: Idempotency-Key - required: false + in: path + name: contractAddress + required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/MergeStakeAccountsRequest" - required: true responses: - "201": + "200": content: application/json: schema: - $ref: "#/components/schemas/MergeStakeAccountsResponse" - description: Merge action has been executed successfully on vault and is - associated with 201 status code. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" + $ref: "#/components/schemas/TokenContractSummaryResponse" + description: Successfully retrieved the summary for the token contract default: $ref: "#/components/responses/Error" - summary: Merge Solana on stake accounts + summary: Get summary for the token contract tags: - - Staking - x-rate-limit-category: write + - Onchain Data + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.staking.mergeStakeAccounts(stakingApiMergeStakeAccountsRequest);" + code: "const response: Promise>\ + \ = fireblocks.onchainData.getContractBalancesSummary(onchainDataApiGetContractBalancesSummaryRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.staking().mergeStakeAccounts(mergeStakeAccountsRequest,\ - \ chainDescriptor, idempotencyKey);" + code: "CompletableFuture> response\ + \ = fireblocks.onchainData().getContractBalancesSummary(baseAssetId, contractAddress);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.staking.merge_stake_accounts(merge_stake_accounts_request,\ - \ chain_descriptor, idempotency_key);" + code: "response = fireblocks.onchain_data.get_contract_balances_summary(base_asset_id,\ + \ contract_address);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.staking.mergeStakeAccounts(stakingApiMergeStakeAccountsRequest);" + source: "const response: Promise>\ + \ = fireblocks.onchainData.getContractBalancesSummary(onchainDataApiGetContractBalancesSummaryRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.staking().mergeStakeAccounts(mergeStakeAccountsRequest, chainDescriptor,\ - \ idempotencyKey);" + source: "CompletableFuture> response\ + \ = fireblocks.onchainData().getContractBalancesSummary(baseAssetId, contractAddress);" - lang: Python - source: "response = fireblocks.staking.merge_stake_accounts(merge_stake_accounts_request,\ - \ chain_descriptor, idempotency_key);" - x-content-type: application/json + source: "response = fireblocks.onchain_data.get_contract_balances_summary(base_asset_id,\ + \ contract_address);" x-accepts: - application/json - /staking/positions: + /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/balances: get: - description: "Return detailed information on all staking positions, including\ - \ the staked amount, rewards, status and more." - operationId: getAllDelegations + description: Returns the latest balance for each unique address with support + for numeric balance sorting. The `prev` cursor is reserved for future support. + operationId: getLatestBalancesForContract parameters: - - 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. - example: SOL + - description: The blockchain base assetId + example: ETH_TEST3 + explode: false + in: path + name: baseAssetId + required: true + schema: + type: string + style: simple + - description: The contract address + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 + explode: false + in: path + name: contractAddress + required: true + schema: + type: string + style: simple + - description: Optional filter to get balance for a specific account address explode: true in: query - name: chainDescriptor + name: accountAddress required: false schema: - $ref: "#/components/schemas/ChainDescriptor" + example: 0x1234567890abcdef1234567890abcdef12345678 + type: string + style: form + - description: Page cursor to get the next page" + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + - description: "Number of items per page (max 100), requesting more then 100\ + \ will return 100 items" + example: 10 + explode: true + in: query + name: pageSize + required: false + schema: + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Sorting field for balances + explode: true + in: query + name: sortBy + required: false + schema: + default: blockTimestamp + enum: + - accountAddress + - blockTimestamp + type: string + style: form + - description: ASC / DESC ordering (default DESC) + explode: true + in: query + name: order + required: false + schema: + default: DESC + enum: + - ASC + - DESC + type: string style: form responses: "200": content: application/json: schema: - $ref: "#/components/schemas/StakingGetAllDelegationsResponse" - description: An array of position data was returned successfully - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" + $ref: "#/components/schemas/AddressBalancePagedResponse" + description: Successfully retrieved the latest balances for the contract default: $ref: "#/components/responses/Error" - summary: List staking positions details + summary: Get latest balances for all addresses holding tokens from a contract tags: - - Staking - x-rate-limit-category: query + - Onchain Data + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.staking.getAllDelegations(stakingApiGetAllDelegationsRequest);" + code: "const response: Promise>\ + \ = fireblocks.onchainData.getLatestBalancesForContract(onchainDataApiGetLatestBalancesForContractRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture>> response = fireblocks.staking().getAllDelegations(chainDescriptor); + code: "CompletableFuture> response\ + \ = fireblocks.onchainData().getLatestBalancesForContract(baseAssetId,\ + \ contractAddress, accountAddress, pageCursor, pageSize, sortBy, order);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.staking.get_all_delegations(chain_descriptor); + code: "response = fireblocks.onchain_data.get_latest_balances_for_contract(base_asset_id,\ + \ contract_address, account_address, page_cursor, page_size, sort_by,\ + \ order);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.staking.getAllDelegations(stakingApiGetAllDelegationsRequest);" + source: "const response: Promise>\ + \ = fireblocks.onchainData.getLatestBalancesForContract(onchainDataApiGetLatestBalancesForContractRequest);" - lang: Java - source: CompletableFuture>> response = fireblocks.staking().getAllDelegations(chainDescriptor); + source: "CompletableFuture> response\ + \ = fireblocks.onchainData().getLatestBalancesForContract(baseAssetId, contractAddress,\ + \ accountAddress, pageCursor, pageSize, sortBy, order);" - lang: Python - source: response = fireblocks.staking.get_all_delegations(chain_descriptor); + source: "response = fireblocks.onchain_data.get_latest_balances_for_contract(base_asset_id,\ + \ contract_address, account_address, page_cursor, page_size, sort_by, order);" x-accepts: - application/json - /staking/positions/summary: + /staking/chains: get: - description: "Return a summary of all vaults, categorized by their status (active,\ - \ inactive), the total amounts staked and total rewards per-chain." - operationId: getSummary + description: |- + Returns an alphabetical list of blockchains supported for staking by the current workspace context. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + operationId: getChains responses: "200": content: application/json: - example: - active: - - chainDescriptor: ETH - amount: "64.036604667" - - chainDescriptor: SOL - amount: "0.077345939" - inactive: - - chainDescriptor: ETH - amount: "0" - - chainDescriptor: SOL - amount: "0" - rewardsAmount: - - chainDescriptor: ETH - amount: "0.036604667" - - chainDescriptor: SOL - amount: "0.001345939" - totalStaked: - - chainDescriptor: ETH - amount: "64.036604667" - - chainDescriptor: SOL - amount: "0.077345939" schema: - $ref: "#/components/schemas/DelegationSummary" - description: A summary for all vaults were returned successfully + $ref: "#/components/schemas/StakingGetChainsResponse" + description: An array of supported chains was returned successfully. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Get staking summary details - tags: - - Staking - x-rate-limit-category: query - x-readme: - code-samples: - - language: typescript - code: "const response: Promise> =\ - \ fireblocks.staking.getSummary();" - name: Fireblocks SDK TypeScript example - - language: java - code: CompletableFuture> response = fireblocks.staking().getSummary(); - name: Fireblocks SDK Java example - - language: python - code: response = fireblocks.staking.get_summary(); - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise> =\ - \ fireblocks.staking.getSummary();" - - lang: Java - source: CompletableFuture> response = fireblocks.staking().getSummary(); - - lang: Python - source: response = fireblocks.staking.get_summary(); - x-accepts: - - application/json - /staking/positions/summary/vaults: - get: - description: "Return a summary for each vault, categorized by their status (active,\ - \ inactive), the total amounts staked and total rewards per-chain." - operationId: getSummaryByVault - responses: - "200": + "403": content: application/json: - example: - "0": - active: - - chainDescriptor: SOL - amount: "0.015202376" - inactive: - - chainDescriptor: SOL - amount: "0" - rewardsAmount: - - chainDescriptor: SOL - amount: "0.000202376" - totalStaked: - - chainDescriptor: SOL - amount: "0.015202376" - "1": - active: - - chainDescriptor: ETH - amount: "64.036604667" - - chainDescriptor: SOL - amount: "0.011191566" - inactive: - - chainDescriptor: ETH - amount: "0" - - chainDescriptor: SOL - amount: "0" - rewardsAmount: - - chainDescriptor: ETH - amount: "0.036604667" - - chainDescriptor: SOL - amount: "0.000191566" - totalStaked: - - chainDescriptor: ETH - amount: "64.036604667" - - chainDescriptor: SOL - amount: "0.011191566" schema: - $ref: "#/components/schemas/StakingGetSummaryByVaultResponse" - description: A summary for each vault were returned successfully + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Get staking summary details by vault + summary: List supported staking chains tags: - Staking x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.staking.getSummaryByVault();" + code: "const response: Promise>\ + \ = fireblocks.staking.getChains();" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.staking().getSummaryByVault(); + code: CompletableFuture>> response = fireblocks.staking().getChains(); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.staking.get_summary_by_vault(); + code: response = fireblocks.staking.get_chains(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.staking.getSummaryByVault();" + source: "const response: Promise>\ + \ = fireblocks.staking.getChains();" - lang: Java - source: CompletableFuture> response - = fireblocks.staking().getSummaryByVault(); + source: CompletableFuture>> response = fireblocks.staking().getChains(); - lang: Python - source: response = fireblocks.staking.get_summary_by_vault(); + source: response = fireblocks.staking.get_chains(); x-accepts: - application/json - /staking/positions/{id}: + /staking/chains/{chainDescriptor}/chainInfo: get: - description: "Return detailed information on a staking position, including the\ - \ staked amount, rewards, status and more." - operationId: getDelegationById + description: "Returns chain-specific staking information such as epoch/slot\ + \ cadence, lockup or unbonding periods, fee/reward mechanics, and other operational\ + \ constraints." + operationId: getChainInfo parameters: - - description: The unique identifier of the staking position - example: 1fe3b61f-7e1f-4a19-aff0-4f0a524d44d7 + - description: "Protocol identifier for the chain info staking operation (e.g.,\ + \ ETH/MATIC/SOL)." explode: false in: path - name: id + name: chainDescriptor required: true schema: - type: string + $ref: "#/components/schemas/ChainDescriptor" style: simple responses: "200": content: application/json: schema: - $ref: "#/components/schemas/Delegation" - description: Position data was returned successfully + $ref: "#/components/schemas/ChainInfoResponse" + description: Chain-specific staking information returned successfully. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Get staking position details - tags: - - Staking - x-rate-limit-category: query - x-readme: - code-samples: - - language: typescript - code: "const response: Promise> = fireblocks.staking.getDelegationById(stakingApiGetDelegationByIdRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: CompletableFuture> response = fireblocks.staking().getDelegationById(id); - name: Fireblocks SDK Java example - - language: python - code: response = fireblocks.staking.get_delegation_by_id(id); - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise> = fireblocks.staking.getDelegationById(stakingApiGetDelegationByIdRequest);" - - lang: Java - source: CompletableFuture> response = fireblocks.staking().getDelegationById(id); - - lang: Python - source: response = fireblocks.staking.get_delegation_by_id(id); - x-accepts: - - application/json - /staking/providers: - get: - description: Return information on all the available staking providers. - operationId: getProviders - responses: - "200": + "400": content: application/json: schema: - $ref: "#/components/schemas/StakingGetProvidersResponse" - description: An array of supported providers was returned successfully + $ref: "#/components/schemas/ErrorSchema" + description: "Bad request: missing/invalid fields, unsupported amount, or\ + \ malformed payload." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: List staking providers details + summary: Get chain-level staking parameters tags: - Staking x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.staking.getProviders();" + code: "const response: Promise> =\ + \ fireblocks.staking.getChainInfo(stakingApiGetChainInfoRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture>> response = fireblocks.staking().getProviders(); + code: CompletableFuture> response = fireblocks.staking().getChainInfo(chainDescriptor); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.staking.get_providers(); + code: response = fireblocks.staking.get_chain_info(chain_descriptor); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.staking.getProviders();" + source: "const response: Promise> =\ + \ fireblocks.staking.getChainInfo(stakingApiGetChainInfoRequest);" - lang: Java - source: CompletableFuture>> response = fireblocks.staking().getProviders(); + source: CompletableFuture> response = fireblocks.staking().getChainInfo(chainDescriptor); - lang: Python - source: response = fireblocks.staking.get_providers(); + source: response = fireblocks.staking.get_chain_info(chain_descriptor); x-accepts: - application/json - /staking/providers/{providerId}/approveTermsOfService: + /staking/chains/{chainDescriptor}/stake: post: - description: |- - 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. - operationId: approveTermsOfServiceByProviderId + description: "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." + operationId: stake parameters: - - description: The unique identifier of the staking provider - example: kiln + - description: "Protocol identifier for the stake staking operation (e.g., ATOM_COS/AXL/CELESTIA)." explode: false in: path - name: providerId + name: chainDescriptor required: true schema: - $ref: "#/components/schemas/StakingProvider" + $ref: "#/components/schemas/ChainDescriptor" style: simple - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -17350,136 +18164,233 @@ paths: schema: type: string style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/StakeRequest" + required: true responses: "201": - description: The terms of service have been successfully approved and is - associated with 201 status code. + content: + application/json: + schema: + $ref: "#/components/schemas/StakeResponse" + description: Stake request accepted and created. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Bad request: missing/invalid fields, unsupported amount, or\ + \ malformed payload." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Approve staking terms of service + summary: Initiate or add to existing stake tags: - Staking x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.staking.approveTermsOfServiceByProviderId(stakingApiApproveTermsOfServiceByProviderIdRequest);" + code: "const response: Promise> = fireblocks.staking.stake(stakingApiStakeRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.staking().approveTermsOfServiceByProviderId(providerId,\ - \ idempotencyKey);" + code: "CompletableFuture> response = fireblocks.staking().stake(stakeRequest,\ + \ chainDescriptor, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.staking.approve_terms_of_service_by_provider_id(provider_id,\ + code: "response = fireblocks.staking.stake(stake_request, chain_descriptor,\ \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.staking.approveTermsOfServiceByProviderId(stakingApiApproveTermsOfServiceByProviderIdRequest);" + source: "const response: Promise> = fireblocks.staking.stake(stakingApiStakeRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.staking().approveTermsOfServiceByProviderId(providerId,\ - \ idempotencyKey);" + source: "CompletableFuture> response = fireblocks.staking().stake(stakeRequest,\ + \ chainDescriptor, idempotencyKey);" - lang: Python - source: "response = fireblocks.staking.approve_terms_of_service_by_provider_id(provider_id,\ + source: "response = fireblocks.staking.stake(stake_request, chain_descriptor,\ \ idempotency_key);" + x-content-type: application/json x-accepts: - application/json - /trading/providers: - get: - description: |- - 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. - operationId: getTradingProviders + /staking/chains/{chainDescriptor}/unstake: + post: + description: Submits a chain-specific unstake request. + operationId: unstake parameters: - - description: Page size for pagination. - explode: true - in: query - name: pageSize - required: false + - description: "Protocol identifier for the unstake staking operation (e.g.,\ + \ SOL/SOL_TEST/MATIC)." + explode: false + in: path + name: chainDescriptor + required: true schema: - default: 20 - maximum: 100 - minimum: 1 - type: integer - style: form - - description: Page cursor for pagination. - explode: true - in: query - name: pageCursor + $ref: "#/components/schemas/ChainDescriptor" + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key required: false schema: type: string - style: form + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UnstakeRequest" + required: true responses: - "200": + "201": + description: Unstake request accepted and created. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": content: application/json: schema: - $ref: "#/components/schemas/ProvidersListResponse" - description: Providers response - "401": + $ref: "#/components/schemas/ErrorSchema" + description: "Bad request: missing/invalid fields, unsupported amount, or\ + \ malformed payload." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": content: application/json: schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Unauthorized. Missing / invalid JWT token in Authorization - header. - "5XX": + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": content: application/json: schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Internal error. - summary: Get providers + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Initiate unstake tags: - - Trading (Beta) - x-rate-limit-category: query + - Staking + x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.tradingBeta.getTradingProviders(tradingBetaApiGetTradingProvidersRequest);" + code: "const response: Promise> = fireblocks.staking.unstake(stakingApiUnstakeRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response =\ - \ fireblocks.tradingBeta().getTradingProviders(pageSize, pageCursor);" + code: "CompletableFuture> response = fireblocks.staking().unstake(unstakeRequest,\ + \ chainDescriptor, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.trading_beta.get_trading_providers(page_size,\ - \ page_cursor);" + code: "response = fireblocks.staking.unstake(unstake_request, chain_descriptor,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.tradingBeta.getTradingProviders(tradingBetaApiGetTradingProvidersRequest);" + source: "const response: Promise> = fireblocks.staking.unstake(stakingApiUnstakeRequest);" - lang: Java - source: "CompletableFuture> response =\ - \ fireblocks.tradingBeta().getTradingProviders(pageSize, pageCursor);" + source: "CompletableFuture> response = fireblocks.staking().unstake(unstakeRequest,\ + \ chainDescriptor, idempotencyKey);" - lang: Python - source: "response = fireblocks.trading_beta.get_trading_providers(page_size,\ - \ page_cursor);" + source: "response = fireblocks.staking.unstake(unstake_request, chain_descriptor,\ + \ idempotency_key);" + x-content-type: application/json x-accepts: - application/json - /trading/quotes: + /staking/chains/{chainDescriptor}/withdraw: post: - description: |- - 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. - operationId: createQuote + description: 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. + operationId: withdraw parameters: + - description: "Protocol identifier for the withdraw staking operation (e.g.,\ + \ ATOM_COS/ETH/STETH_ETH)." + explode: false + in: path + name: chainDescriptor + required: true + schema: + $ref: "#/components/schemas/ChainDescriptor" + style: simple - 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\ @@ -17495,231 +18406,235 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateQuote" + $ref: "#/components/schemas/WithdrawRequest" required: true responses: "201": + description: Withdraw request accepted and created. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": content: application/json: schema: - $ref: "#/components/schemas/QuotesResponse" - description: Quote created - "401": + $ref: "#/components/schemas/ErrorSchema" + description: "Bad request: missing/invalid fields, unsupported amount, or\ + \ malformed payload." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": content: application/json: schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Unauthorized. Missing / invalid JWT token in Authorization - header. + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" "404": content: application/json: schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Not found - "5XX": + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": content: application/json: schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Internal error. - summary: Create a quote + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Withdraw staked funds tags: - - Trading (Beta) + - Staking x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.tradingBeta.createQuote(tradingBetaApiCreateQuoteRequest);" + code: "const response: Promise> = fireblocks.staking.withdraw(stakingApiWithdrawRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.tradingBeta().createQuote(createQuote,\ - \ idempotencyKey);" + code: "CompletableFuture> response = fireblocks.staking().withdraw(withdrawRequest,\ + \ chainDescriptor, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.trading_beta.create_quote(create_quote, idempotency_key);" + code: "response = fireblocks.staking.withdraw(withdraw_request, chain_descriptor,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.tradingBeta.createQuote(tradingBetaApiCreateQuoteRequest);" + source: "const response: Promise> = fireblocks.staking.withdraw(stakingApiWithdrawRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.tradingBeta().createQuote(createQuote,\ - \ idempotencyKey);" + source: "CompletableFuture> response = fireblocks.staking().withdraw(withdrawRequest,\ + \ chainDescriptor, idempotencyKey);" - lang: Python - source: "response = fireblocks.trading_beta.create_quote(create_quote, idempotency_key);" + source: "response = fireblocks.staking.withdraw(withdraw_request, chain_descriptor,\ + \ idempotency_key);" x-content-type: application/json x-accepts: - application/json - /trading/orders: - get: - description: |- - 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. - operationId: getOrders + /staking/chains/{chainDescriptor}/claim_rewards: + post: + description: "Claims available staking rewards for the specified chain and vault.\ + \ Supported chains: Solana and Polygon (Matic). Behavior depends on protocol\ + \ reward distribution." + operationId: claimRewards parameters: - - description: pageSize for pagination. - explode: true - in: query - name: pageSize + - description: "Protocol identifier for the claim rewards staking operation\ + \ (e.g., MATIC/SOL)." + example: SOL + explode: false + in: path + name: chainDescriptor required: true schema: - maximum: 100 - minimum: 1 - type: integer - style: form - - explode: true - in: query - name: pageCursor - required: false - schema: - minLength: 1 - type: string - style: form - - description: ASC / DESC ordering (default DESC) - explode: true - in: query - name: order - required: false - schema: - default: DESC enum: - - ASC - - DESC + - SOL + - SOL_TEST + - MATIC type: string - style: form - - description: Filter by accountId. - explode: true - in: query - name: accountId - required: false - schema: - items: - minLength: 1 - type: string - type: array - style: form - - description: Filter by providerId. - explode: true - in: query - name: providerId - required: false - schema: - items: - minLength: 1 - type: string - type: array - style: form - - description: Filter by order status. - explode: true - in: query - name: statuses - required: false - schema: - items: - $ref: "#/components/schemas/OrderStatus" - type: array - style: form - - explode: true - in: query - name: startTime - required: false - schema: - minimum: 0 - type: integer - style: form - - explode: true - in: query - name: endTime - required: false - schema: - minimum: 0 - type: integer - style: form - - explode: true - in: query - name: assetConversionType + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key required: false schema: - description: Filter by asset conversion type. - enum: - - DIGITAL_ONLY - - FIAT type: string - style: form + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ClaimRewardsRequest" + required: true responses: - "200": + "201": + description: Claim-rewards request accepted and created. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": content: application/json: schema: - $ref: "#/components/schemas/GetOrdersResponse" - description: Orders response - "401": + $ref: "#/components/schemas/ErrorSchema" + description: "Bad request: missing/invalid fields, unsupported amount, or\ + \ malformed payload." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": content: application/json: schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Unauthorized. Missing / invalid JWT token in Authorization - header. + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" "404": content: application/json: schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Not found - "5XX": + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": content: application/json: schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Internal error. - summary: Get orders + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Claim accrued rewards tags: - - Trading (Beta) - x-rate-limit-category: read + - Staking + x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise> =\ - \ fireblocks.tradingBeta.getOrders(tradingBetaApiGetOrdersRequest);" + code: "const response: Promise> = fireblocks.staking.claimRewards(stakingApiClaimRewardsRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.tradingBeta().getOrders(pageSize,\ - \ pageCursor, order, accountId, providerId, statuses, startTime, endTime,\ - \ assetConversionType);" + code: "CompletableFuture> response = fireblocks.staking().claimRewards(claimRewardsRequest,\ + \ chainDescriptor, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.trading_beta.get_orders(page_size, page_cursor,\ - \ order, account_id, provider_id, statuses, start_time, end_time, asset_conversion_type);" + code: "response = fireblocks.staking.claim_rewards(claim_rewards_request,\ + \ chain_descriptor, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> =\ - \ fireblocks.tradingBeta.getOrders(tradingBetaApiGetOrdersRequest);" + source: "const response: Promise> = fireblocks.staking.claimRewards(stakingApiClaimRewardsRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.tradingBeta().getOrders(pageSize,\ - \ pageCursor, order, accountId, providerId, statuses, startTime, endTime,\ - \ assetConversionType);" + source: "CompletableFuture> response = fireblocks.staking().claimRewards(claimRewardsRequest,\ + \ chainDescriptor, idempotencyKey);" - lang: Python - source: "response = fireblocks.trading_beta.get_orders(page_size, page_cursor,\ - \ order, account_id, provider_id, statuses, start_time, end_time, asset_conversion_type);" + source: "response = fireblocks.staking.claim_rewards(claim_rewards_request,\ + \ chain_descriptor, idempotency_key);" + x-content-type: application/json x-accepts: - application/json + /staking/chains/{chainDescriptor}/split: post: - description: |- - 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. - operationId: createOrder + description: "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)." + operationId: split parameters: + - description: "Protocol identifier for the staking operation (e.g., SOL)." + example: SOL + explode: false + in: path + name: chainDescriptor + required: true + schema: + enum: + - SOL + - SOL_TEST + type: string + style: simple - 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\ @@ -17735,139 +18650,116 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateOrderRequest" + $ref: "#/components/schemas/SplitRequest" required: true responses: - "202": + "201": content: application/json: schema: - $ref: "#/components/schemas/OrderDetails" - description: Order creation response - "401": + $ref: "#/components/schemas/SplitResponse" + description: Split request accepted and created. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": content: application/json: schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Unauthorized. Missing / invalid JWT token in Authorization - header. + $ref: "#/components/schemas/ErrorSchema" + description: "Bad request: missing/invalid fields, unsupported amount, or\ + \ malformed payload." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" "404": content: application/json: schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Not found - "5XX": + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": content: application/json: schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Internal error. - summary: Create an order + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Split a staking position tags: - - Trading (Beta) + - Staking x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.tradingBeta.createOrder(tradingBetaApiCreateOrderRequest);" + code: "const response: Promise> = fireblocks.staking.split(stakingApiSplitRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.tradingBeta().createOrder(createOrderRequest,\ - \ idempotencyKey);" + code: "CompletableFuture> response = fireblocks.staking().split(splitRequest,\ + \ chainDescriptor, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.trading_beta.create_order(create_order_request,\ + code: "response = fireblocks.staking.split(split_request, chain_descriptor,\ \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.tradingBeta.createOrder(tradingBetaApiCreateOrderRequest);" + source: "const response: Promise> = fireblocks.staking.split(stakingApiSplitRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.tradingBeta().createOrder(createOrderRequest,\ - \ idempotencyKey);" + source: "CompletableFuture> response = fireblocks.staking().split(splitRequest,\ + \ chainDescriptor, idempotencyKey);" - lang: Python - source: "response = fireblocks.trading_beta.create_order(create_order_request,\ + source: "response = fireblocks.staking.split(split_request, chain_descriptor,\ \ idempotency_key);" x-content-type: application/json x-accepts: - application/json - /trading/orders/{orderId}: - get: + /staking/chains/{chainDescriptor}/merge: + post: description: |- - 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. - operationId: getOrder + 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. + operationId: mergeStakeAccounts parameters: - - description: The ID of the order to fetch. + - description: "Protocol identifier for the merge staking operation (e.g., SOL)." + example: SOL explode: false in: path - name: orderId + name: chainDescriptor required: true schema: - minLength: 1 - type: string + enum: + - SOL + - SOL_TEST + type: string style: simple - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/OrderDetails" - description: Order response - "401": - content: - application/json: - schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Unauthorized. Missing / invalid JWT token in Authorization - header. - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Not found - "5XX": - content: - application/json: - schema: - $ref: "#/components/schemas/TradingErrorResponse" - description: Internal error. - summary: Get order details - tags: - - Trading (Beta) - x-rate-limit-category: read - x-readme: - code-samples: - - language: typescript - code: "const response: Promise> = fireblocks.tradingBeta.getOrder(tradingBetaApiGetOrderRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: CompletableFuture> response = fireblocks.tradingBeta().getOrder(orderId); - name: Fireblocks SDK Java example - - language: python - code: response = fireblocks.trading_beta.get_order(order_id); - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise> = fireblocks.tradingBeta.getOrder(tradingBetaApiGetOrderRequest);" - - lang: Java - source: CompletableFuture> response = fireblocks.tradingBeta().getOrder(orderId); - - lang: Python - source: response = fireblocks.trading_beta.get_order(order_id); - x-accepts: - - application/json - /admin_quorum: - put: - description: Update admin quorum threshold - operationId: setAdminQuorumThreshold - parameters: - 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\ @@ -17883,701 +18775,616 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SetAdminQuorumThresholdRequest" + $ref: "#/components/schemas/MergeStakeAccountsRequest" required: true responses: - "202": + "201": content: application/json: schema: - $ref: "#/components/schemas/SetAdminQuorumThresholdResponse" - description: OK + $ref: "#/components/schemas/MergeStakeAccountsResponse" + description: Merge request accepted and created. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Bad request: missing/invalid fields, unsupported amount, or\ + \ malformed payload." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Update admin quorum threshold + summary: Merge staking positions tags: - - Admin Quorum - x-internal: true + - Staking x-rate-limit-category: write x-readme: code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.staking.mergeStakeAccounts(stakingApiMergeStakeAccountsRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.staking().mergeStakeAccounts(mergeStakeAccountsRequest,\ + \ chainDescriptor, idempotencyKey);" + name: Fireblocks SDK Java example - language: python - code: result = fireblocks.set_admin_quorum_threshold(adminQuorumThreshold) - name: Fireblocks SDK Python example (Legacy) - - language: javascript - code: const result = await fireblocks.setAdminQuorumThreshold(adminQuorumThreshold) - name: Fireblocks SDK Javascript example + code: "response = fireblocks.staking.merge_stake_accounts(merge_stake_accounts_request,\ + \ chain_descriptor, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.staking.mergeStakeAccounts(stakingApiMergeStakeAccountsRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.staking().mergeStakeAccounts(mergeStakeAccountsRequest, chainDescriptor,\ + \ idempotencyKey);" + - lang: Python + source: "response = fireblocks.staking.merge_stake_accounts(merge_stake_accounts_request,\ + \ chain_descriptor, idempotency_key);" x-content-type: application/json x-accepts: - application/json - /nfts/ownership/tokens: + /staking/positions: get: - description: | - Returns all tokens and their data in your workspace. - operationId: getOwnershipTokens + description: |- + Returns all staking positions with core details: amounts, rewards, status, chain, and vault. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + operationId: getAllDelegations parameters: - - description: Blockchain descriptor filter - explode: true - in: query - name: blockchainDescriptor - required: false - schema: - enum: - - ETH - - ETH_TEST3 - - ETH_TEST5 - - ETH_TEST6 - - POLYGON - - POLYGON_TEST_MUMBAI - - AMOY_POLYGON_TEST - - XTZ - - XTZ_TEST - - BASECHAIN_ETH - - BASECHAIN_ETH_TEST3 - - BASECHAIN_ETH_TEST5 - - ETHERLINK - - ETHERLINK_TEST - - MANTLE - - MANTLE_TEST - - GUN_GUNZILLA - - GUN_GUNZILLA_TEST - - ETH_SONEIUM - - SONEIUM_MINATO_TEST - - IOTX_IOTEX - - KLAY_KAIA - - KLAY_KAIA_TEST - - APECHAIN - - APECHAIN_TEST - type: string - style: form - - description: A comma separated list of Vault Account IDs. Up to 100 are allowed - in a single request. This field will be ignored when walletType=END_USER_WALLET - or ncwId is provided. - explode: true - in: query - name: vaultAccountIds - required: false - schema: - type: string - style: form - - description: Tenant's Non-Custodial Wallet ID - explode: true - in: query - name: ncwId - required: false - schema: - type: string - style: form - - description: A comma separated list of Non-Custodial account IDs. Up to 100 - are allowed in a single request. This field will be ignored when walletType=VAULT_ACCOUNT - or ncwId is not provided. - explode: true - in: query - name: ncwAccountIds - required: false - schema: - type: string - style: form - - description: "Wallet type, it can be `VAULT_ACCOUNT` or `END_USER_WALLET`" - explode: true - in: query - name: walletType - required: false - schema: - default: VAULT_ACCOUNT - enum: - - VAULT_ACCOUNT - - END_USER_WALLET - type: string - style: form - - description: A comma separated list of NFT IDs. Up to 100 are allowed in a - single request. - explode: true - in: query - name: ids - required: false - schema: - type: string - style: form - - description: A comma separated list of collection IDs. Up to 100 are allowed - in a single request. - explode: true - in: query - name: collectionIds - required: false - schema: - type: string - style: form - - description: Page cursor to fetch - explode: true - in: query - name: pageCursor - required: false - schema: - type: string - style: form - - description: Items per page (max 100) - explode: true - in: query - name: pageSize - required: false - schema: - maximum: 100 - minimum: 1 - type: number - style: form - - description: "Sort by param, it can be one param or a list of params separated\ - \ by comma" - explode: true - in: query - name: sort - required: false - schema: - items: - enum: - - ownershipLastUpdateTime - - name - - collection.name - - blockchainDescriptor - type: string - type: array - style: form - - description: "Order direction, it can be `ASC` for ascending or `DESC` for\ - \ descending" - explode: true - in: query - name: order - required: false - schema: - default: ASC - enum: - - DESC - - ASC - type: string - style: form - - description: Token ownership status - explode: true - in: query - name: status - required: false - schema: - default: LISTED - enum: - - LISTED - - ARCHIVED - type: string - style: form - - description: "Search owned tokens and their collections. Possible criteria\ - \ for search: token name and id within the contract/collection, collection\ - \ name, blockchain descriptor and name." - explode: true - in: query - name: search - required: false - schema: - maximum: 100 - type: string - style: form - - description: Token ownership spam status. + - description: "Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}).\ + \ If omitted, positions across all supported chains are returned." explode: true in: query - name: spam + name: chainDescriptor required: false schema: - enum: - - "true" - - "false" - - all - type: string + $ref: "#/components/schemas/ChainDescriptor" style: form responses: "200": content: application/json: schema: - $ref: "#/components/schemas/GetOwnershipTokensResponse" - description: "" + $ref: "#/components/schemas/StakingGetAllDelegationsResponse" + description: Positions retrieved successfully. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: List all owned tokens (paginated) + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Bad request: missing/invalid fields, unsupported amount, or\ + \ malformed payload." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: List staking positions tags: - - NFTs + - Staking x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.nFTs.getOwnershipTokens(nFTsApiGetOwnershipTokensRequest);" + code: "const response: Promise>\ + \ = fireblocks.staking.getAllDelegations(stakingApiGetAllDelegationsRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.nFTs().getOwnershipTokens(blockchainDescriptor, vaultAccountIds,\ - \ ncwId, ncwAccountIds, walletType, ids, collectionIds, pageCursor, pageSize,\ - \ sort, order, status, search, spam);" + code: CompletableFuture>> response = fireblocks.staking().getAllDelegations(chainDescriptor); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.n_f_ts.get_ownership_tokens(blockchain_descriptor,\ - \ vault_account_ids, ncw_id, ncw_account_ids, wallet_type, ids, collection_ids,\ - \ page_cursor, page_size, sort, order, status, search, spam);" + code: response = fireblocks.staking.get_all_delegations(chain_descriptor); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.nFTs.getOwnershipTokens(nFTsApiGetOwnershipTokensRequest);" + source: "const response: Promise>\ + \ = fireblocks.staking.getAllDelegations(stakingApiGetAllDelegationsRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.nFTs().getOwnershipTokens(blockchainDescriptor, vaultAccountIds,\ - \ ncwId, ncwAccountIds, walletType, ids, collectionIds, pageCursor, pageSize,\ - \ sort, order, status, search, spam);" + source: CompletableFuture>> response = fireblocks.staking().getAllDelegations(chainDescriptor); - lang: Python - source: "response = fireblocks.n_f_ts.get_ownership_tokens(blockchain_descriptor,\ - \ vault_account_ids, ncw_id, ncw_account_ids, wallet_type, ids, collection_ids,\ - \ page_cursor, page_size, sort, order, status, search, spam);" + source: response = fireblocks.staking.get_all_delegations(chain_descriptor); x-accepts: - application/json - put: - description: | - Updates all tokens and balances per blockchain and vault account. - operationId: updateOwnershipTokens - parameters: - - description: Blockchain descriptor filter - explode: true - in: query - name: blockchainDescriptor - required: true - schema: - enum: - - ETH - - ETH_TEST5 - - ETH_TEST6 - - POLYGON - - POLYGON_TEST_MUMBAI - - AMOY_POLYGON_TEST - - BASECHAIN_ETH - - BASECHAIN_ETH_TEST5 - - ETHERLINK - - ETHERLINK_TEST - - MANTLE - - MANTLE_TEST - - GUN_GUNZILLA - - GUN_GUNZILLA_TEST - - ETH_SONEIUM - - SONEIUM_MINATO_TEST - - IOTX_IOTEX - - KLAY_KAIA - - KLAY_KAIA_TEST - - APECHAIN - - APECHAIN_TEST - type: string - style: form - - description: Vault account filter - explode: true - in: query - name: vaultAccountId - required: true - schema: - type: string - style: form - - 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." - explode: false - in: header - name: Idempotency-Key - required: false - schema: - type: string - style: simple + /staking/positions/summary: + get: + description: "Returns an aggregated cross-vault summary: active/inactive counts,\ + \ total staked, and total rewards per chain." + operationId: getSummary responses: - "202": - description: "" + "200": + content: + application/json: + example: + active: + - chainDescriptor: ETH + amount: "64.036604667" + - chainDescriptor: SOL + amount: "0.077345939" + inactive: + - chainDescriptor: ETH + amount: "0" + - chainDescriptor: SOL + amount: "0" + rewardsAmount: + - chainDescriptor: ETH + amount: "0.036604667" + - chainDescriptor: SOL + amount: "0.001345939" + totalStaked: + - chainDescriptor: ETH + amount: "64.036604667" + - chainDescriptor: SOL + amount: "0.077345939" + schema: + $ref: "#/components/schemas/DelegationSummary" + description: Summary across all vaults returned successfully. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Refresh vault account tokens + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get positions summary tags: - - NFTs - x-rate-limit-category: write + - Staking + x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.nFTs.updateOwnershipTokens(nFTsApiUpdateOwnershipTokensRequest);" + code: "const response: Promise> =\ + \ fireblocks.staking.getSummary();" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.nFTs().updateOwnershipTokens(blockchainDescriptor,\ - \ vaultAccountId, idempotencyKey);" + code: CompletableFuture> response = fireblocks.staking().getSummary(); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.n_f_ts.update_ownership_tokens(blockchain_descriptor,\ - \ vault_account_id, idempotency_key);" + code: response = fireblocks.staking.get_summary(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.nFTs.updateOwnershipTokens(nFTsApiUpdateOwnershipTokensRequest);" + source: "const response: Promise> =\ + \ fireblocks.staking.getSummary();" - lang: Java - source: "CompletableFuture> response = fireblocks.nFTs().updateOwnershipTokens(blockchainDescriptor,\ - \ vaultAccountId, idempotencyKey);" + source: CompletableFuture> response = fireblocks.staking().getSummary(); - lang: Python - source: "response = fireblocks.n_f_ts.update_ownership_tokens(blockchain_descriptor,\ - \ vault_account_id, idempotency_key);" + source: response = fireblocks.staking.get_summary(); x-accepts: - application/json - /nfts/ownership/assets: + /staking/positions/summary/vaults: get: - description: | - Returns all owned distinct tokens (for your tenant) and their data in your workspace. - operationId: listOwnedTokens - parameters: - - description: Tenant's Non-Custodial Wallet ID - explode: true - in: query - name: ncwId - required: false - schema: - type: string - style: form - - description: "Wallet type, it can be `VAULT_ACCOUNT` or `END_USER_WALLET`" - explode: true - in: query - name: walletType - required: false - schema: - default: VAULT_ACCOUNT - enum: - - VAULT_ACCOUNT - - END_USER_WALLET - type: string - style: form - - description: Page cursor to fetch - explode: true - in: query - name: pageCursor - required: false - schema: - type: string - style: form - - description: Items per page (max 100) - explode: true - in: query - name: pageSize - required: false - schema: - maximum: 100 - minimum: 1 - type: number - style: form - - description: "Sort by param, it can be one param or a list of params separated\ - \ by comma" - explode: true - in: query - name: sort - required: false - schema: - items: - enum: - - name - type: string - type: array - style: form - - description: "Order direction, it can be `ASC` for ascending or `DESC` for\ - \ descending" - explode: true - in: query - name: order - required: false - schema: - default: ASC - enum: - - DESC - - ASC - type: string - style: form - - description: Token ownership status - explode: true - in: query - name: status - required: false - schema: - default: LISTED - enum: - - LISTED - - ARCHIVED - type: string - style: form - - description: Search owned tokens by token name - explode: true - in: query - name: search - required: false - schema: - maximum: 100 - type: string - style: form - - description: Token ownership spam status. - explode: true - in: query - name: spam - required: false - schema: - enum: - - "true" - - "false" - - all - type: string - style: form + description: "Returns per-vault aggregates: status breakdown, total staked,\ + \ and total rewards per chain." + operationId: getSummaryByVault responses: "200": + content: + application/json: + example: + "0": + active: + - chainDescriptor: SOL + amount: "0.015202376" + inactive: + - chainDescriptor: SOL + amount: "0" + rewardsAmount: + - chainDescriptor: SOL + amount: "0.000202376" + totalStaked: + - chainDescriptor: SOL + amount: "0.015202376" + "1": + active: + - chainDescriptor: ETH + amount: "64.036604667" + - chainDescriptor: SOL + amount: "0.011191566" + inactive: + - chainDescriptor: ETH + amount: "0" + - chainDescriptor: SOL + amount: "0" + rewardsAmount: + - chainDescriptor: ETH + amount: "0.036604667" + - chainDescriptor: SOL + amount: "0.000191566" + totalStaked: + - chainDescriptor: ETH + amount: "64.036604667" + - chainDescriptor: SOL + amount: "0.011191566" + schema: + $ref: "#/components/schemas/StakingGetSummaryByVaultResponse" + description: Per-vault summary returned successfully. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": content: application/json: schema: - $ref: "#/components/schemas/ListOwnedTokensResponse" - description: "" + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: List all distinct owned tokens (paginated) + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get positions summary by vault tags: - - NFTs + - Staking x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.nFTs.listOwnedTokens(nFTsApiListOwnedTokensRequest);" + code: "const response: Promise>\ + \ = fireblocks.staking.getSummaryByVault();" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.nFTs().listOwnedTokens(ncwId, walletType, pageCursor, pageSize,\ - \ sort, order, status, search, spam);" + code: CompletableFuture> response + = fireblocks.staking().getSummaryByVault(); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.n_f_ts.list_owned_tokens(ncw_id, wallet_type,\ - \ page_cursor, page_size, sort, order, status, search, spam);" + code: response = fireblocks.staking.get_summary_by_vault(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.nFTs.listOwnedTokens(nFTsApiListOwnedTokensRequest);" + source: "const response: Promise>\ + \ = fireblocks.staking.getSummaryByVault();" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.nFTs().listOwnedTokens(ncwId, walletType, pageCursor, pageSize,\ - \ sort, order, status, search, spam);" + source: CompletableFuture> response + = fireblocks.staking().getSummaryByVault(); - lang: Python - source: "response = fireblocks.n_f_ts.list_owned_tokens(ncw_id, wallet_type,\ - \ page_cursor, page_size, sort, order, status, search, spam);" + source: response = fireblocks.staking.get_summary_by_vault(); x-accepts: - application/json - /nfts/ownership/collections: + /staking/positions/{id}: get: - description: | - Returns all collections in your workspace - operationId: listOwnedCollections + description: "Returns full details for a single staking position: amounts, rewards,\ + \ status, chain, and vault." + operationId: getDelegationById parameters: - - description: Tenant's Non-Custodial Wallet ID - explode: true - in: query - name: ncwId - required: false - schema: - type: string - style: form - - description: "Wallet type, it can be `VAULT_ACCOUNT` or `END_USER_WALLET`" - explode: true - in: query - name: walletType - required: false - schema: - default: VAULT_ACCOUNT - enum: - - VAULT_ACCOUNT - - END_USER_WALLET - type: string - style: form - - description: "Search owned collections. Possible criteria for search: collection\ - \ name, collection contract address." - explode: true - in: query - name: search - required: false - schema: - maximum: 100 - type: string - style: form - - description: Page cursor to fetch - explode: true - in: query - name: pageCursor - required: false - schema: - type: string - style: form - - description: Items per page (max 100) - explode: true - in: query - name: pageSize - required: false - schema: - maximum: 100 - minimum: 1 - type: number - style: form - - description: "Sort by param, it can be one param or a list of params separated\ - \ by comma" - explode: true - in: query - name: sort - required: false - schema: - items: - enum: - - name - type: string - type: array - style: form - - description: "Order direction, it can be `ASC` for ascending or `DESC` for\ - \ descending" - explode: true - in: query - name: order - required: false - schema: - default: ASC - enum: - - DESC - - ASC - type: string - style: form - - description: Token ownership status - explode: true - in: query - name: status - required: false + - description: Unique identifier of the staking position. + explode: false + in: path + name: id + required: true schema: - default: LISTED - enum: - - LISTED - - ARCHIVED type: string - style: form + style: simple responses: "200": content: application/json: schema: - $ref: "#/components/schemas/ListOwnedCollectionsResponse" - description: "" + $ref: "#/components/schemas/Delegation" + description: Position retrieved successfully. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: List owned collections (paginated) + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Bad request: missing/invalid fields, unsupported amount, or\ + \ malformed payload." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get position details tags: - - NFTs + - Staking x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.nFTs.listOwnedCollections(nFTsApiListOwnedCollectionsRequest);" + code: "const response: Promise> = fireblocks.staking.getDelegationById(stakingApiGetDelegationByIdRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.nFTs().listOwnedCollections(ncwId, walletType, search,\ - \ pageCursor, pageSize, sort, order, status);" + code: CompletableFuture> response = fireblocks.staking().getDelegationById(id); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.n_f_ts.list_owned_collections(ncw_id, wallet_type,\ - \ search, page_cursor, page_size, sort, order, status);" + code: response = fireblocks.staking.get_delegation_by_id(id); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.nFTs.listOwnedCollections(nFTsApiListOwnedCollectionsRequest);" + source: "const response: Promise> = fireblocks.staking.getDelegationById(stakingApiGetDelegationByIdRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.nFTs().listOwnedCollections(ncwId, walletType, search, pageCursor,\ - \ pageSize, sort, order, status);" + source: CompletableFuture> response = fireblocks.staking().getDelegationById(id); - lang: Python - source: "response = fireblocks.n_f_ts.list_owned_collections(ncw_id, wallet_type,\ - \ search, page_cursor, page_size, sort, order, status);" + source: response = fireblocks.staking.get_delegation_by_id(id); x-accepts: - application/json - /nfts/tokens/{id}: + /staking/providers: get: - description: | - Returns the requested token data. - operationId: getNFT - parameters: - - description: NFT ID - example: NFT-abcdefabcdefabcdefabcdefabcdefabcdefabcd - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple + description: |- + Returns all available staking providers with metadata such as name, ID, and supported chains. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + operationId: getProviders responses: "200": content: application/json: schema: - $ref: "#/components/schemas/TokenResponse" - description: "" + $ref: "#/components/schemas/StakingGetProvidersResponse" + description: Supported providers retrieved successfully. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: List token data by ID + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: List staking providers tags: - - NFTs + - Staking x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.nFTs.getNFT(nFTsApiGetNFTRequest);" + code: "const response: Promise>\ + \ = fireblocks.staking.getProviders();" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = fireblocks.nFTs().getNFT(id); + code: CompletableFuture>> response = fireblocks.staking().getProviders(); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.n_f_ts.get_n_f_t(id); + code: response = fireblocks.staking.get_providers(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.nFTs.getNFT(nFTsApiGetNFTRequest);" + source: "const response: Promise>\ + \ = fireblocks.staking.getProviders();" - lang: Java - source: CompletableFuture> response = fireblocks.nFTs().getNFT(id); + source: CompletableFuture>> response = fireblocks.staking().getProviders(); - lang: Python - source: response = fireblocks.n_f_ts.get_n_f_t(id); + source: response = fireblocks.staking.get_providers(); x-accepts: - application/json - put: - description: | - Updates the latest token metadata. - operationId: refreshNFTMetadata + /staking/providers/{providerId}/approveTermsOfService: + post: + description: Approves the provider's terms of service. Must be called once before + performing any staking operation with this provider. + operationId: approveTermsOfServiceByProviderId parameters: - - description: Unique ID of the End-User wallet to the API request. Required - for end-user wallet operations. - explode: false - in: header - name: X-End-User-Wallet-Id - required: false - schema: - format: uuid - type: string - style: simple - - description: NFT ID - example: NFT-abcdefabcdefabcdefabcdefabcdefabcdefabcd + - description: Unique identifier of the staking provider. explode: false in: path - name: id + name: providerId required: true schema: - type: string + $ref: "#/components/schemas/StakingProvider" style: simple - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -18591,308 +19398,214 @@ paths: type: string style: simple responses: - "202": - description: "" + "201": + description: Terms of service accepted. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Refresh token metadata - tags: - - NFTs - x-rate-limit-category: write - x-readme: - code-samples: - - language: typescript - code: "const response: Promise> = fireblocks.nFTs.refreshNFTMetadata(nFTsApiRefreshNFTMetadataRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: "CompletableFuture> response = fireblocks.nFTs().refreshNFTMetadata(id,\ - \ xEndUserWalletId, idempotencyKey);" - name: Fireblocks SDK Java example - - language: python - code: "response = fireblocks.n_f_ts.refresh_n_f_t_metadata(id, x_end_user_wallet_id,\ - \ idempotency_key);" - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise> = fireblocks.nFTs.refreshNFTMetadata(nFTsApiRefreshNFTMetadataRequest);" - - lang: Java - source: "CompletableFuture> response = fireblocks.nFTs().refreshNFTMetadata(id,\ - \ xEndUserWalletId, idempotencyKey);" - - lang: Python - source: "response = fireblocks.n_f_ts.refresh_n_f_t_metadata(id, x_end_user_wallet_id,\ - \ idempotency_key);" - x-accepts: - - application/json - /nfts/tokens: - get: - description: | - Returns the requested tokens data. - operationId: getNFTs - parameters: - - description: A comma separated list of NFT IDs. Up to 100 are allowed in a - single request. - explode: true - in: query - name: ids - required: true - schema: - type: string - style: form - - description: Page cursor to fetch - explode: true - in: query - name: pageCursor - required: false - schema: - type: string - style: form - - description: Items per page (max 100) - explode: true - in: query - name: pageSize - required: false - schema: - maximum: 100 - minimum: 1 - type: number - style: form - - description: "Sort by param, it can be one param or a list of params separated\ - \ by comma" - explode: true - in: query - name: sort - required: false - schema: - items: - enum: - - collection.name - - name - - blockchainDescriptor - type: string - type: array - style: form - - description: "Order direction, it can be `ASC` for ascending or `DESC` for\ - \ descending" - explode: true - in: query - name: order - required: false - schema: - default: ASC - enum: - - DESC - - ASC - type: string - style: form - responses: - "200": + "400": content: application/json: schema: - $ref: "#/components/schemas/GetNFTsResponse" - description: "" + $ref: "#/components/schemas/ErrorSchema" + description: "Bad request: missing/invalid fields, unsupported amount, or\ + \ malformed payload." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: List tokens by IDs - tags: - - NFTs - x-rate-limit-category: query - x-readme: - code-samples: - - language: typescript - code: "const response: Promise> = fireblocks.nFTs.getNFTs(nFTsApiGetNFTsRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: "CompletableFuture> response = fireblocks.nFTs().getNFTs(ids,\ - \ pageCursor, pageSize, sort, order);" - name: Fireblocks SDK Java example - - language: python - code: "response = fireblocks.n_f_ts.get_n_f_ts(ids, page_cursor, page_size,\ - \ sort, order);" - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise> = fireblocks.nFTs.getNFTs(nFTsApiGetNFTsRequest);" - - lang: Java - source: "CompletableFuture> response = fireblocks.nFTs().getNFTs(ids,\ - \ pageCursor, pageSize, sort, order);" - - lang: Python - source: "response = fireblocks.n_f_ts.get_n_f_ts(ids, page_cursor, page_size,\ - \ sort, order);" - x-accepts: - - application/json - /nfts/ownership/tokens/{id}/status: - put: - description: | - Updates token status for a tenant, in all tenant vaults. - operationId: updateTokenOwnershipStatus - parameters: - - description: Unique ID of the End-User wallet to the API request. Required - for end-user wallet operations. - explode: false - in: header - name: X-End-User-Wallet-Id - required: false - schema: - format: uuid - type: string - style: simple - - description: NFT ID - example: NFT-abcdefabcdefabcdefabcdefabcdefabcdefabcd - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - - 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." - explode: false - in: header - name: Idempotency-Key - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/UpdateTokenOwnershipStatusDto" - required: true - responses: - "200": - description: "" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted provider/validator." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Update token ownership status + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Not found: requested resource does not exist (e.g., position,\ + \ validator, provider, or wallet)." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Approve provider terms of service tags: - - NFTs + - Staking x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.nFTs.updateTokenOwnershipStatus(nFTsApiUpdateTokenOwnershipStatusRequest);" + code: "const response: Promise> = fireblocks.staking.approveTermsOfServiceByProviderId(stakingApiApproveTermsOfServiceByProviderIdRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.nFTs().updateTokenOwnershipStatus(updateTokenOwnershipStatusDto,\ - \ id, xEndUserWalletId, idempotencyKey);" + code: "CompletableFuture> response = fireblocks.staking().approveTermsOfServiceByProviderId(providerId,\ + \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.n_f_ts.update_token_ownership_status(update_token_ownership_status_dto,\ - \ id, x_end_user_wallet_id, idempotency_key);" + code: "response = fireblocks.staking.approve_terms_of_service_by_provider_id(provider_id,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.nFTs.updateTokenOwnershipStatus(nFTsApiUpdateTokenOwnershipStatusRequest);" + source: "const response: Promise> = fireblocks.staking.approveTermsOfServiceByProviderId(stakingApiApproveTermsOfServiceByProviderIdRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.nFTs().updateTokenOwnershipStatus(updateTokenOwnershipStatusDto,\ - \ id, xEndUserWalletId, idempotencyKey);" + source: "CompletableFuture> response = fireblocks.staking().approveTermsOfServiceByProviderId(providerId,\ + \ idempotencyKey);" - lang: Python - source: "response = fireblocks.n_f_ts.update_token_ownership_status(update_token_ownership_status_dto,\ - \ id, x_end_user_wallet_id, idempotency_key);" - x-content-type: application/json + source: "response = fireblocks.staking.approve_terms_of_service_by_provider_id(provider_id,\ + \ idempotency_key);" x-accepts: - application/json - /nfts/ownership/tokens/status: - put: - description: "Updates tokens status for a tenant, in all tenant vaults." - operationId: updateTokensOwnershipStatus + /trading/providers: + get: + description: | + 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). + operationId: getTradingProviders parameters: - - description: Unique ID of the End-User wallet to the API request. Required - for end-user wallet operations. - explode: false - in: header - name: X-End-User-Wallet-Id + - description: Page size for pagination. + explode: true + in: query + name: pageSize required: false schema: - format: uuid - type: string - style: simple - - 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." - explode: false - in: header - name: Idempotency-Key + default: 20 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Page cursor for pagination. + explode: true + in: query + name: pageCursor required: false schema: type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/UpdateTokensOwnershipStatusRequest" - required: true + style: form responses: "200": - description: All token statuses have been updated + content: + application/json: + schema: + $ref: "#/components/schemas/ProvidersListResponse" + description: Providers response headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "400": - description: Invalid data sent + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "404": - description: When ownership for token ID is not found + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted access." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Update tokens ownership status + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "5XX": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get providers tags: - - NFTs - x-rate-limit-category: write + - Trading (Beta) + x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.nFTs.updateTokensOwnershipStatus(nFTsApiUpdateTokensOwnershipStatusRequest);" + code: "const response: Promise>\ + \ = fireblocks.tradingBeta.getTradingProviders(tradingBetaApiGetTradingProvidersRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.nFTs().updateTokensOwnershipStatus(tokenOwnershipStatusUpdatePayload,\ - \ xEndUserWalletId, idempotencyKey);" + code: "CompletableFuture> response =\ + \ fireblocks.tradingBeta().getTradingProviders(pageSize, pageCursor);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.n_f_ts.update_tokens_ownership_status(token_ownership_status_update_payload,\ - \ x_end_user_wallet_id, idempotency_key);" + code: "response = fireblocks.trading_beta.get_trading_providers(page_size,\ + \ page_cursor);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.nFTs.updateTokensOwnershipStatus(nFTsApiUpdateTokensOwnershipStatusRequest);" + source: "const response: Promise>\ + \ = fireblocks.tradingBeta.getTradingProviders(tradingBetaApiGetTradingProvidersRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.nFTs().updateTokensOwnershipStatus(tokenOwnershipStatusUpdatePayload,\ - \ xEndUserWalletId, idempotencyKey);" + source: "CompletableFuture> response =\ + \ fireblocks.tradingBeta().getTradingProviders(pageSize, pageCursor);" - lang: Python - source: "response = fireblocks.n_f_ts.update_tokens_ownership_status(token_ownership_status_update_payload,\ - \ x_end_user_wallet_id, idempotency_key);" - x-content-type: application/json + source: "response = fireblocks.trading_beta.get_trading_providers(page_size,\ + \ page_cursor);" x-accepts: - application/json - /nfts/ownership/tokens/spam: - put: - description: "Updates tokens spam property for a tenant's token ownerships,\ - \ in all tenant vaults." - operationId: updateTokensOwnershipSpam + /trading/quotes: + post: + description: |- + 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). + operationId: createQuote parameters: - - description: Unique ID of the End-User wallet to the API request. Required - for end-user wallet operations. - explode: false - in: header - name: X-End-User-Wallet-Id - required: false - schema: - format: uuid - type: string - style: simple - 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\ @@ -18908,140 +19621,196 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateTokensOwnershipSpamRequest" + $ref: "#/components/schemas/CreateQuote" required: true responses: - "200": - description: All token spam properties have been updated + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/QuotesResponse" + description: Quote created headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" "400": - description: Invalid data sent + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Bad request: invalid input parameters, malformed request body,\ + \ or validation failure." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "404": - description: When ownership for token ID is not found + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Update tokens ownership spam property + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted access." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "5XX": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Create a quote tags: - - NFTs + - Trading (Beta) x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.nFTs.updateTokensOwnershipSpam(nFTsApiUpdateTokensOwnershipSpamRequest);" + code: "const response: Promise> = fireblocks.tradingBeta.createQuote(tradingBetaApiCreateQuoteRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.nFTs().updateTokensOwnershipSpam(tokenOwnershipSpamUpdatePayload,\ - \ xEndUserWalletId, idempotencyKey);" + code: "CompletableFuture> response = fireblocks.tradingBeta().createQuote(createQuote,\ + \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.n_f_ts.update_tokens_ownership_spam(token_ownership_spam_update_payload,\ - \ x_end_user_wallet_id, idempotency_key);" + code: "response = fireblocks.trading_beta.create_quote(create_quote, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.nFTs.updateTokensOwnershipSpam(nFTsApiUpdateTokensOwnershipSpamRequest);" + source: "const response: Promise> = fireblocks.tradingBeta.createQuote(tradingBetaApiCreateQuoteRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.nFTs().updateTokensOwnershipSpam(tokenOwnershipSpamUpdatePayload,\ - \ xEndUserWalletId, idempotencyKey);" + source: "CompletableFuture> response = fireblocks.tradingBeta().createQuote(createQuote,\ + \ idempotencyKey);" - lang: Python - source: "response = fireblocks.n_f_ts.update_tokens_ownership_spam(token_ownership_spam_update_payload,\ - \ x_end_user_wallet_id, idempotency_key);" + source: "response = fireblocks.trading_beta.create_quote(create_quote, idempotency_key);" x-content-type: application/json x-accepts: - application/json - /connections: + /trading/orders: get: - description: Get open Web3 connections. - operationId: get + description: |- + 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). + operationId: getOrders parameters: - - description: Unique ID of the End-User wallet to the API request. Required - for end-user wallet operations. - explode: false - in: header - name: X-End-User-Wallet-Id + - description: pageSize for pagination. + explode: true + in: query + name: pageSize + required: true + schema: + maximum: 100 + minimum: 1 + type: integer + style: form + - explode: true + in: query + name: pageCursor required: false schema: - format: uuid + minLength: 1 type: string - style: simple - - description: List order; ascending or descending. + style: form + - description: ASC / DESC ordering (default DESC) explode: true in: query name: order required: false schema: - default: ASC + default: DESC enum: - ASC - DESC type: string style: form - - description: Parsed filter object - examples: - object: - description: "" - summary: The filter object - value: - id: string - userId: string - vaultAccountId: number - connectionMethod: string - feeLevel: string - appUrl: string - appName: string - stringified: - description: |- - About stringified parsed objects: - - * Each key-value pair is separated by '=', and each pair is separated by ',' (you can use [`qs`](https://www.npmjs.com/package/qs) package for this) - summary: The stringified parsed object - value: "id=string,userId=string,vaultAccountId=number,connectionMethod=string,feeLevel=string,appUrl=string,appName=string" + - description: Filter by accountId. explode: true in: query - name: filter + name: accountId required: false schema: - $ref: "#/components/schemas/get_filter_parameter" + items: + minLength: 1 + type: string + type: array style: form - - description: Property to sort Web3 connections by. + - description: Filter by providerId. explode: true in: query - name: sort + name: providerId required: false schema: - default: createdAt - enum: - - id - - userId - - vaultAccountId - - createdAt - - feeLevel - - appUrl - - appName - type: string + items: + minLength: 1 + type: string + type: array style: form - - description: Amount of results to return in the next page. + - description: Filter by order status. explode: true in: query - name: pageSize + name: statuses required: false schema: - default: 10 - maximum: 50 - type: number + items: + $ref: "#/components/schemas/OrderStatus" + type: array style: form - - description: Cursor to the next page - explode: true + - explode: true in: query - name: next + name: startTime + required: false + schema: + minimum: 0 + type: integer + style: form + - explode: true + in: query + name: endTime + required: false + schema: + minimum: 0 + type: integer + style: form + - explode: true + in: query + name: assetConversionType required: false schema: + description: Filter by asset conversion type. + enum: + - DIGITAL_ONLY + - FIAT type: string style: form responses: @@ -19049,60 +19818,95 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetConnectionsResponse" - description: "" + $ref: "#/components/schemas/GetOrdersResponse" + description: Orders response headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "400": - description: Query parameters were invalid + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "500": - description: Something went wrong + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted access." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: List all open Web3 connections. + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Rate limit exceeded: slow down and retry later." + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "5XX": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get orders tags: - - Web3 connections - x-rate-limit-category: query + - Trading (Beta) + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.web3Connections.get(web3ConnectionsApiGetRequest);" + code: "const response: Promise> =\ + \ fireblocks.tradingBeta.getOrders(tradingBetaApiGetOrdersRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response =\ - \ fireblocks.web3Connections().get(order, filter, sort, pageSize, next,\ - \ xEndUserWalletId);" + code: "CompletableFuture> response = fireblocks.tradingBeta().getOrders(pageSize,\ + \ pageCursor, order, accountId, providerId, statuses, startTime, endTime,\ + \ assetConversionType);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.web3_connections.get(order, filter, sort, page_size,\ - \ next, x_end_user_wallet_id);" + code: "response = fireblocks.trading_beta.get_orders(page_size, page_cursor,\ + \ order, account_id, provider_id, statuses, start_time, end_time, asset_conversion_type);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.web3Connections.get(web3ConnectionsApiGetRequest);" + source: "const response: Promise> =\ + \ fireblocks.tradingBeta.getOrders(tradingBetaApiGetOrdersRequest);" - lang: Java - source: "CompletableFuture> response =\ - \ fireblocks.web3Connections().get(order, filter, sort, pageSize, next,\ - \ xEndUserWalletId);" + source: "CompletableFuture> response = fireblocks.tradingBeta().getOrders(pageSize,\ + \ pageCursor, order, accountId, providerId, statuses, startTime, endTime,\ + \ assetConversionType);" - lang: Python - source: "response = fireblocks.web3_connections.get(order, filter, sort, page_size,\ - \ next, x_end_user_wallet_id);" + source: "response = fireblocks.trading_beta.get_orders(page_size, page_cursor,\ + \ order, account_id, provider_id, statuses, start_time, end_time, asset_conversion_type);" x-accepts: - application/json - /connections/wc: post: description: |- - Initiate a new Web3 connection. + Create an order to buy or sell an asset. If no source is given, an external source will be use. - * Note: After this succeeds, make a request to `PUT /v1/connections/wc/{id}` (below) to approve or reject the new Web3 connection. - operationId: create + 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). + operationId: createOrder parameters: - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -19115,252 +19919,212 @@ paths: schema: type: string style: simple - - description: Unique ID of the End-User wallet to the API request. Required - for end-user wallet operations. - explode: false - in: header - name: X-End-User-Wallet-Id - required: false - schema: - format: uuid - type: string - style: simple requestBody: content: application/json: schema: - $ref: "#/components/schemas/CreateConnectionRequest" + $ref: "#/components/schemas/CreateOrderRequest" required: true responses: - "201": + "202": content: application/json: schema: - $ref: "#/components/schemas/CreateConnectionResponse" - description: Web3 connection initiated successfully + $ref: "#/components/schemas/OrderDetails" + description: Order creation response headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" "400": - description: Invalid data sent + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Bad request: invalid input parameters, malformed request body,\ + \ or validation failure." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "500": - description: Something went wrong + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Create a new Web3 connection. - tags: - - Web3 connections - x-rate-limit-category: high_compute - x-readme: - code-samples: - - language: typescript - code: "const response: Promise>\ - \ = fireblocks.web3Connections.create(web3ConnectionsApiCreateRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: "CompletableFuture> response\ - \ = fireblocks.web3Connections().create(createConnectionRequest, idempotencyKey,\ - \ xEndUserWalletId);" - name: Fireblocks SDK Java example - - language: python - code: "response = fireblocks.web3_connections.create(create_connection_request,\ - \ idempotency_key, x_end_user_wallet_id);" - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.web3Connections.create(web3ConnectionsApiCreateRequest);" - - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.web3Connections().create(createConnectionRequest, idempotencyKey,\ - \ xEndUserWalletId);" - - lang: Python - source: "response = fireblocks.web3_connections.create(create_connection_request,\ - \ idempotency_key, x_end_user_wallet_id);" - x-content-type: application/json - x-accepts: - - application/json - /connections/wc/{id}: - delete: - description: Remove a Web3 connection - operationId: remove - parameters: - - description: Unique ID of the End-User wallet to the API request. Required - for end-user wallet operations. - explode: false - in: header - name: X-End-User-Wallet-Id - required: false - schema: - format: uuid - type: string - style: simple - - description: The ID of the existing Web3 connection to remove. - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - responses: - "200": - description: Connection removed successfully + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted access." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "404": - description: Connection not found + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Rate limit exceeded: slow down and retry later." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "500": - description: Something went wrong + "5XX": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: Internal error while processing the request. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Remove an existing Web3 connection. + default: + $ref: "#/components/responses/Error" + summary: Create an order tags: - - Web3 connections - x-rate-limit-category: high_compute + - Trading (Beta) + x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.web3Connections.remove(web3ConnectionsApiRemoveRequest);" + code: "const response: Promise> = fireblocks.tradingBeta.createOrder(tradingBetaApiCreateOrderRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.web3Connections().remove(id,\ - \ xEndUserWalletId);" + code: "CompletableFuture> response = fireblocks.tradingBeta().createOrder(createOrderRequest,\ + \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.web3_connections.remove(id, x_end_user_wallet_id);" + code: "response = fireblocks.trading_beta.create_order(create_order_request,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.web3Connections.remove(web3ConnectionsApiRemoveRequest);" + source: "const response: Promise> = fireblocks.tradingBeta.createOrder(tradingBetaApiCreateOrderRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.web3Connections().remove(id,\ - \ xEndUserWalletId);" + source: "CompletableFuture> response = fireblocks.tradingBeta().createOrder(createOrderRequest,\ + \ idempotencyKey);" - lang: Python - source: "response = fireblocks.web3_connections.remove(id, x_end_user_wallet_id);" + source: "response = fireblocks.trading_beta.create_order(create_order_request,\ + \ idempotency_key);" + x-content-type: application/json x-accepts: - application/json - put: + /trading/orders/{orderId}: + get: description: |- - Submit a response to *approve* or *reject* an initiated Web3 connection. - * Note: This call is used to complete your `POST /v1/connections/wc/` request. + Retrieve detailed information about a specific order by its ID. - After this succeeds, your new Web3 connection is created and functioning. - operationId: submit + 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). + operationId: getOrder parameters: - - description: The ID of the initiated Web3 connection to approve. + - description: The ID of the order to fetch. explode: false in: path - name: id + name: orderId required: true schema: + minLength: 1 type: string style: simple - - 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." - explode: false - in: header - name: Idempotency-Key - required: false - schema: - type: string - style: simple - - description: Unique ID of the End-User wallet to the API request. Required - for end-user wallet operations. - explode: false - in: header - name: X-End-User-Wallet-Id - required: false - schema: - format: uuid - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/RespondToConnectionRequest" - required: true responses: "200": - description: Connection submitted successfully + content: + application/json: + schema: + $ref: "#/components/schemas/OrderDetails" + description: Order response headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "400": - description: Invalid data sent + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Forbidden: insufficient permissions, disabled feature, or\ + \ restricted access." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" "404": - description: Connection not found + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Not found: requested resource does not exist (e.g., order)." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "500": - description: Something went wrong + "429": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: "Rate limit exceeded: slow down and retry later." headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Respond to a pending Web3 connection request. + "5XX": + content: + application/json: + schema: + $ref: "#/components/schemas/TradingErrorSchema" + description: Internal error while processing the request. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get order details tags: - - Web3 connections - x-rate-limit-category: high_compute + - Trading (Beta) + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.web3Connections.submit(web3ConnectionsApiSubmitRequest);" + code: "const response: Promise> = fireblocks.tradingBeta.getOrder(tradingBetaApiGetOrderRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.web3Connections().submit(respondToConnectionRequest,\ - \ id, idempotencyKey, xEndUserWalletId);" + code: CompletableFuture> response = fireblocks.tradingBeta().getOrder(orderId); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.web3_connections.submit(respond_to_connection_request,\ - \ id, idempotency_key, x_end_user_wallet_id);" + code: response = fireblocks.trading_beta.get_order(order_id); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.web3Connections.submit(web3ConnectionsApiSubmitRequest);" + source: "const response: Promise> = fireblocks.tradingBeta.getOrder(tradingBetaApiGetOrderRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.web3Connections().submit(respondToConnectionRequest,\ - \ id, idempotencyKey, xEndUserWalletId);" + source: CompletableFuture> response = fireblocks.tradingBeta().getOrder(orderId); - lang: Python - source: "response = fireblocks.web3_connections.submit(respond_to_connection_request,\ - \ id, idempotency_key, x_end_user_wallet_id);" - x-content-type: application/json + source: response = fireblocks.trading_beta.get_order(order_id); x-accepts: - application/json - /screening/travel_rule/transaction/validate: - post: - description: |- - Validate Travel Rule transactions. - **[Deprecation Notice]** This endpoint will be deprecated soon in favor of the `validate full` endpoint. Please update your integrations to use the `validate full` endpoint to ensure compatibility with future releases. - - Checks what beneficiary VASP details are required by your jurisdiction and the beneficiary's jurisdiction. - operationId: validateTravelRuleTransaction + /admin_quorum: + put: + description: Update admin quorum threshold + operationId: setAdminQuorumThreshold parameters: - - description: |- - Specifies the notation of the transaction. Possible values are: - `notabene`: Uses Notabene notation (default behavior). - `fireblocks`: Uses Fireblocks notation, with automatic translation of asset tickers and amounts. - ``: Defaults to `notabene` for backward compatibility. - **Note:** The default value for the `notation` parameter will change from `notabene` to `fireblocks` Update your integrations accordingly. - explode: true - in: query - name: notation - required: false - schema: - $ref: "#/components/schemas/TravelRuleNotationEnum" - style: form - 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\ @@ -19376,237 +20140,214 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/TravelRuleValidateTransactionRequest" + $ref: "#/components/schemas/SetAdminQuorumThresholdRequest" required: true responses: - "200": + "202": content: application/json: schema: - $ref: "#/components/schemas/TravelRuleValidateTransactionResponse" - description: Transaction validated successfully + $ref: "#/components/schemas/SetAdminQuorumThresholdResponse" + description: OK + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Validate Travel Rule Transaction + summary: Update admin quorum threshold tags: - - Travel Rule + - Admin Quorum x-internal: true x-rate-limit-category: write + x-readme: + code-samples: + - language: python + code: result = fireblocks.set_admin_quorum_threshold(adminQuorumThreshold) + name: Fireblocks SDK Python example (Legacy) + - language: javascript + code: const result = await fireblocks.setAdminQuorumThreshold(adminQuorumThreshold) + name: Fireblocks SDK Javascript example x-content-type: application/json x-accepts: - application/json - /screening/travel_rule/transaction/validate/full: - post: - description: |- - Validate Full Travel Rule transactions. - - Checks for all required information on the originator and beneficiary VASPs. - operationId: validateFullTravelRuleTransaction + /nfts/ownership/tokens: + get: + description: | + Returns all tokens and their data in your workspace. + operationId: getOwnershipTokens parameters: - - description: |- - Specifies the notation of the transaction. Possible values are: - `notabene`: Uses Notabene notation (default behavior). - `fireblocks`: Uses Fireblocks notation, with automatic translation of asset tickers and amounts. - ``: Defaults to `notabene` for backward compatibility. - **Note:** The default value for the `notation` parameter will change from `notabene` to `fireblocks` Update your integrations accordingly. + - description: Blockchain descriptor filter explode: true in: query - name: notation + name: blockchainDescriptor required: false schema: - $ref: "#/components/schemas/TravelRuleNotationEnum" + enum: + - ETH + - ETH_TEST3 + - ETH_TEST5 + - ETH_TEST6 + - POLYGON + - POLYGON_TEST_MUMBAI + - AMOY_POLYGON_TEST + - XTZ + - XTZ_TEST + - BASECHAIN_ETH + - BASECHAIN_ETH_TEST3 + - BASECHAIN_ETH_TEST5 + - ETHERLINK + - ETHERLINK_TEST + - MANTLE + - MANTLE_TEST + - GUN_GUNZILLA + - GUN_GUNZILLA_TEST + - ETH_SONEIUM + - SONEIUM_MINATO_TEST + - IOTX_IOTEX + - KLAY_KAIA + - KLAY_KAIA_TEST + - APECHAIN + - APECHAIN_TEST + type: string style: form - - 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." - explode: false - in: header - name: Idempotency-Key + - description: A comma separated list of Vault Account IDs. Up to 100 are allowed + in a single request. This field will be ignored when walletType=END_USER_WALLET + or ncwId is provided. + explode: true + in: query + name: vaultAccountIds required: false schema: type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/TravelRuleValidateFullTransactionRequest" - required: true - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/TravelRuleValidateTransactionResponse" - description: Transaction validated successfully - default: - $ref: "#/components/responses/Error" - summary: Validate Full Travel Rule Transaction - tags: - - Travel Rule - x-rate-limit-category: write - x-readme: - code-samples: - - language: typescript - code: "const response: Promise>\ - \ = fireblocks.travelRule.validateFullTravelRuleTransaction(travelRuleApiValidateFullTravelRuleTransactionRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: "CompletableFuture>\ - \ response = fireblocks.travelRule().validateFullTravelRuleTransaction(travelRuleValidateFullTransactionRequest,\ - \ notation, idempotencyKey);" - name: Fireblocks SDK Java example - - language: python - code: "response = fireblocks.travel_rule.validate_full_travel_rule_transaction(travel_rule_validate_full_transaction_request,\ - \ notation, idempotency_key);" - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.travelRule.validateFullTravelRuleTransaction(travelRuleApiValidateFullTravelRuleTransactionRequest);" - - lang: Java - source: "CompletableFuture>\ - \ response = fireblocks.travelRule().validateFullTravelRuleTransaction(travelRuleValidateFullTransactionRequest,\ - \ notation, idempotencyKey);" - - lang: Python - source: "response = fireblocks.travel_rule.validate_full_travel_rule_transaction(travel_rule_validate_full_transaction_request,\ - \ notation, idempotency_key);" - x-content-type: application/json - x-accepts: - - application/json - /screening/travel_rule/vasp/{did}: - get: - description: |- - Get VASP Details. - - Returns information about a VASP that has the specified DID. - operationId: getVASPByDID - parameters: - - explode: false - in: path - name: did - required: true + style: form + - description: Tenant's Non-Custodial Wallet ID + explode: true + in: query + name: ncwId + required: false schema: type: string - style: simple - - description: "A CSV of fields to return. Choose from the following options:" + style: form + - description: A comma separated list of Non-Custodial account IDs. Up to 100 + are allowed in a single request. This field will be ignored when walletType=VAULT_ACCOUNT + or ncwId is not provided. explode: true in: query - name: fields + name: ncwAccountIds required: false schema: - $ref: "#/components/schemas/TravelRuleFieldsEnum" + type: string style: form - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/TravelRuleVASP" - description: Transaction validated successfully - "400": - description: Invalid request body - "500": - description: Internal server error - summary: Get VASP details - tags: - - Travel Rule - x-rate-limit-category: query - x-readme: - code-samples: - - language: typescript - code: "const response: Promise> = fireblocks.travelRule.getVASPByDID(travelRuleApiGetVASPByDIDRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: "CompletableFuture> response = fireblocks.travelRule().getVASPByDID(did,\ - \ fields);" - name: Fireblocks SDK Java example - - language: python - code: "response = fireblocks.travel_rule.get_v_a_s_p_by_d_i_d(did, fields);" - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise> = fireblocks.travelRule.getVASPByDID(travelRuleApiGetVASPByDIDRequest);" - - lang: Java - source: "CompletableFuture> response = fireblocks.travelRule().getVASPByDID(did,\ - \ fields);" - - lang: Python - source: "response = fireblocks.travel_rule.get_v_a_s_p_by_d_i_d(did, fields);" - x-accepts: - - application/json - /screening/travel_rule/vasp: - get: - description: |- - Get All VASPs. - - Returns a list of VASPs. VASPs can be searched and sorted. - operationId: getVASPs - parameters: - - description: Field to order by - example: ASC + - description: "Wallet type, it can be `VAULT_ACCOUNT` or `END_USER_WALLET`" explode: true in: query - name: order + name: walletType required: false schema: + default: VAULT_ACCOUNT enum: - - ASC - - DESC + - VAULT_ACCOUNT + - END_USER_WALLET type: string style: form - - description: Records per page - example: 10 + - description: A comma separated list of NFT IDs. Up to 100 are allowed in a + single request. + explode: true + in: query + name: ids + required: false + schema: + type: string + style: form + - description: A comma separated list of collection IDs. Up to 100 are allowed + in a single request. + explode: true + in: query + name: collectionIds + required: false + schema: + type: string + style: form + - description: Page cursor to fetch + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + - description: Items per page (max 100) explode: true in: query name: pageSize required: false schema: - default: 500 - maximum: 1000 - minimum: 100 + maximum: 100 + minimum: 1 type: number style: form - - description: "CSV of fields to return (all, \"blank\" or see list of all field\ - \ names below)" + - description: "Sort by param, it can be one param or a list of params separated\ + \ by comma" explode: true in: query - name: fields + name: sort required: false schema: - $ref: "#/components/schemas/TravelRuleFieldsEnum" + items: + enum: + - ownershipLastUpdateTime + - name + - collection.name + - blockchainDescriptor + type: string + type: array style: form - - description: Search query - example: Fireblocks + - description: "Order direction, it can be `ASC` for ascending or `DESC` for\ + \ descending" explode: true in: query - name: search + name: order required: false schema: + default: ASC + enum: + - DESC + - ASC type: string style: form - - description: "Filter by the VASP's review status. Possible values include:\ - \ \"TRUSTED\", \"BLOCKED\", \"MANUAL\", or \"NULL\". When provided, only\ - \ VASPs that match the specified reviewValue will be returned (i.e., VASPs\ - \ that have already been reviewed to this status)." - example: TRUSTED + - description: Token ownership status explode: true in: query - name: reviewValue + name: status required: false schema: + default: LISTED enum: - - TRUSTED - - BLOCKED - - MANUAL - - null + - LISTED + - ARCHIVED type: string style: form - - description: "Cursor for pagination. When provided, the response will include\ - \ the next page of results." - example: 100 + - description: "Search owned tokens and their collections. Possible criteria\ + \ for search: token name and id within the contract/collection, collection\ + \ name, blockchain descriptor and name." explode: true in: query - name: pageCursor + name: search + required: false + schema: + maximum: 100 + type: string + style: form + - description: Token ownership spam status. + explode: true + in: query + name: spam required: false schema: + enum: + - "true" + - "false" + - all type: string style: form responses: @@ -19614,50 +20355,93 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/TravelRuleGetAllVASPsResponse" - description: Get all VASPs - default: - $ref: "#/components/responses/Error" - summary: Get All VASPs + $ref: "#/components/schemas/GetOwnershipTokensResponse" + description: "" + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: List all owned tokens (paginated) tags: - - Travel Rule + - NFTs x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.travelRule.getVASPs(travelRuleApiGetVASPsRequest);" + code: "const response: Promise>\ + \ = fireblocks.nFTs.getOwnershipTokens(nFTsApiGetOwnershipTokensRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.travelRule().getVASPs(order, pageSize, fields, search,\ - \ reviewValue, pageCursor);" + code: "CompletableFuture> response\ + \ = fireblocks.nFTs().getOwnershipTokens(blockchainDescriptor, vaultAccountIds,\ + \ ncwId, ncwAccountIds, walletType, ids, collectionIds, pageCursor, pageSize,\ + \ sort, order, status, search, spam);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.travel_rule.get_v_a_s_ps(order, page_size,\ - \ fields, search, review_value, page_cursor);" + code: "response = fireblocks.n_f_ts.get_ownership_tokens(blockchain_descriptor,\ + \ vault_account_ids, ncw_id, ncw_account_ids, wallet_type, ids, collection_ids,\ + \ page_cursor, page_size, sort, order, status, search, spam);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.travelRule.getVASPs(travelRuleApiGetVASPsRequest);" + source: "const response: Promise>\ + \ = fireblocks.nFTs.getOwnershipTokens(nFTsApiGetOwnershipTokensRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.travelRule().getVASPs(order, pageSize, fields, search, reviewValue,\ - \ pageCursor);" + source: "CompletableFuture> response\ + \ = fireblocks.nFTs().getOwnershipTokens(blockchainDescriptor, vaultAccountIds,\ + \ ncwId, ncwAccountIds, walletType, ids, collectionIds, pageCursor, pageSize,\ + \ sort, order, status, search, spam);" - lang: Python - source: "response = fireblocks.travel_rule.get_v_a_s_ps(order, page_size,\ - \ fields, search, review_value, page_cursor);" + source: "response = fireblocks.n_f_ts.get_ownership_tokens(blockchain_descriptor,\ + \ vault_account_ids, ncw_id, ncw_account_ids, wallet_type, ids, collection_ids,\ + \ page_cursor, page_size, sort, order, status, search, spam);" x-accepts: - application/json - /screening/travel_rule/vasp/update: put: description: |- - Update VASP Details. + 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). - Updates a VASP with the provided parameters. Use this endpoint to add your public jsonDIDkey generated by Notabene. - operationId: updateVasp +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + operationId: updateOwnershipTokens parameters: + - description: Blockchain descriptor filter + explode: true + in: query + name: blockchainDescriptor + required: true + schema: + enum: + - ETH + - ETH_TEST5 + - ETH_TEST6 + - POLYGON + - POLYGON_TEST_MUMBAI + - AMOY_POLYGON_TEST + - BASECHAIN_ETH + - BASECHAIN_ETH_TEST5 + - ETHERLINK + - ETHERLINK_TEST + - MANTLE + - MANTLE_TEST + - GUN_GUNZILLA + - GUN_GUNZILLA_TEST + - ETH_SONEIUM + - SONEIUM_MINATO_TEST + - IOTX_IOTEX + - KLAY_KAIA + - KLAY_KAIA_TEST + - APECHAIN + - APECHAIN_TEST + type: string + style: form + - description: Vault account filter + explode: true + in: query + name: vaultAccountId + required: true + schema: + type: string + style: form - 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\ @@ -19669,320 +20453,392 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/TravelRuleUpdateVASPDetails" - required: true responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/TravelRuleUpdateVASPDetails" - description: VASP updated successfully - "400": - description: Invalid request body - "500": - description: Internal server error - summary: Add jsonDidKey to VASP details + "202": + description: "" + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Refresh vault account tokens tags: - - Travel Rule + - NFTs x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.travelRule.updateVasp(travelRuleApiUpdateVaspRequest);" + code: "const response: Promise> = fireblocks.nFTs.updateOwnershipTokens(nFTsApiUpdateOwnershipTokensRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.travelRule().updateVasp(travelRuleUpdateVASPDetails, idempotencyKey);" + code: "CompletableFuture> response = fireblocks.nFTs().updateOwnershipTokens(blockchainDescriptor,\ + \ vaultAccountId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.travel_rule.update_vasp(travel_rule_update_v_a_s_p_details,\ - \ idempotency_key);" + code: "response = fireblocks.n_f_ts.update_ownership_tokens(blockchain_descriptor,\ + \ vault_account_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.travelRule.updateVasp(travelRuleApiUpdateVaspRequest);" + source: "const response: Promise> = fireblocks.nFTs.updateOwnershipTokens(nFTsApiUpdateOwnershipTokensRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.travelRule().updateVasp(travelRuleUpdateVASPDetails, idempotencyKey);" + source: "CompletableFuture> response = fireblocks.nFTs().updateOwnershipTokens(blockchainDescriptor,\ + \ vaultAccountId, idempotencyKey);" - lang: Python - source: "response = fireblocks.travel_rule.update_vasp(travel_rule_update_v_a_s_p_details,\ - \ idempotency_key);" - x-content-type: application/json + source: "response = fireblocks.n_f_ts.update_ownership_tokens(blockchain_descriptor,\ + \ vault_account_id, idempotency_key);" x-accepts: - application/json - /screening/travel_rule/vault/{vaultAccountId}/vasp: + /nfts/ownership/assets: get: - description: Get assigned VASP Did for a specific vault. Returns empty string - vaspDid value in response if none assigned. - operationId: getVaspForVault + description: | + Returns all owned distinct tokens (for your tenant) and their data in your workspace. + operationId: listOwnedTokens parameters: - - description: The ID of the vault account - example: 1 - explode: false - in: path - name: vaultAccountId - required: true + - description: Tenant's Non-Custodial Wallet ID + explode: true + in: query + name: ncwId + required: false schema: - format: numeric type: string - x-fb-entity: vault_account - style: simple + style: form + - description: "Wallet type, it can be `VAULT_ACCOUNT` or `END_USER_WALLET`" + explode: true + in: query + name: walletType + required: false + schema: + default: VAULT_ACCOUNT + enum: + - VAULT_ACCOUNT + - END_USER_WALLET + type: string + style: form + - description: Page cursor to fetch + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + - description: Items per page (max 100) + explode: true + in: query + name: pageSize + required: false + schema: + maximum: 100 + minimum: 1 + type: number + style: form + - description: "Sort by param, it can be one param or a list of params separated\ + \ by comma" + explode: true + in: query + name: sort + required: false + schema: + items: + enum: + - name + type: string + type: array + style: form + - description: "Order direction, it can be `ASC` for ascending or `DESC` for\ + \ descending" + explode: true + in: query + name: order + required: false + schema: + default: ASC + enum: + - DESC + - ASC + type: string + style: form + - description: Token ownership status + explode: true + in: query + name: status + required: false + schema: + default: LISTED + enum: + - LISTED + - ARCHIVED + type: string + style: form + - description: Search owned tokens by token name + explode: true + in: query + name: search + required: false + schema: + maximum: 100 + type: string + style: form + - description: Token ownership spam status. + explode: true + in: query + name: spam + required: false + schema: + enum: + - "true" + - "false" + - all + type: string + style: form responses: "200": content: application/json: schema: - $ref: "#/components/schemas/TravelRuleVaspForVault" - description: OK + $ref: "#/components/schemas/ListOwnedTokensResponse" + description: "" headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Get assigned VASP to vault + summary: List all distinct owned tokens (paginated) tags: - - Travel Rule - x-rate-limit-category: read + - NFTs + x-rate-limit-category: query x-readme: code-samples: - - language: javascript - code: const vaultAsset = await fireblocks.getVaspForVault(vaultAccountId); - name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise>\ - \ = fireblocks.travelRule.getVaspForVault(travelRuleApiGetVaspForVaultRequest);" + code: "const response: Promise>\ + \ = fireblocks.nFTs.listOwnedTokens(nFTsApiListOwnedTokensRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = - fireblocks.travelRule().getVaspForVault(vaultAccountId); + code: "CompletableFuture> response\ + \ = fireblocks.nFTs().listOwnedTokens(ncwId, walletType, pageCursor, pageSize,\ + \ sort, order, status, search, spam);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.travel_rule.get_vasp_for_vault(vault_account_id); + code: "response = fireblocks.n_f_ts.list_owned_tokens(ncw_id, wallet_type,\ + \ page_cursor, page_size, sort, order, status, search, spam);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.travelRule.getVaspForVault(travelRuleApiGetVaspForVaultRequest);" + source: "const response: Promise>\ + \ = fireblocks.nFTs.listOwnedTokens(nFTsApiListOwnedTokensRequest);" - lang: Java - source: CompletableFuture> response = - fireblocks.travelRule().getVaspForVault(vaultAccountId); + source: "CompletableFuture> response\ + \ = fireblocks.nFTs().listOwnedTokens(ncwId, walletType, pageCursor, pageSize,\ + \ sort, order, status, search, spam);" - lang: Python - source: response = fireblocks.travel_rule.get_vasp_for_vault(vault_account_id); + source: "response = fireblocks.n_f_ts.list_owned_tokens(ncw_id, wallet_type,\ + \ page_cursor, page_size, sort, order, status, search, spam);" x-accepts: - application/json - post: - description: Sets the VASP Did for a specific vault. Pass empty string to remove - existing one. - operationId: setVaspForVault + /nfts/ownership/collections: + get: + description: | + Returns all collections in your workspace + operationId: listOwnedCollections parameters: - - description: The ID of the vault account - explode: false - in: path - name: vaultAccountId - required: true + - description: Tenant's Non-Custodial Wallet ID + explode: true + in: query + name: ncwId + required: false schema: - format: numeric type: string - x-fb-entity: vault_account - style: simple - - 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." - explode: false - in: header - name: Idempotency-Key + style: form + - description: "Wallet type, it can be `VAULT_ACCOUNT` or `END_USER_WALLET`" + explode: true + in: query + name: walletType required: false schema: + default: VAULT_ACCOUNT + enum: + - VAULT_ACCOUNT + - END_USER_WALLET type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/TravelRuleVaspForVault" - required: true - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/TravelRuleVaspForVault" - description: OK - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Assign VASP to vault - tags: - - Travel Rule - x-rate-limit-category: write - x-readme: - code-samples: - - language: javascript - code: "const vaultAsset = await fireblocks.setVaspForVault(vaultAccountId,\ - \ vaspDid);" - name: Fireblocks SDK Javascript example - - language: typescript - code: "const response: Promise>\ - \ = fireblocks.travelRule.setVaspForVault(travelRuleApiSetVaspForVaultRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: "CompletableFuture> response =\ - \ fireblocks.travelRule().setVaspForVault(travelRuleVaspForVault, vaultAccountId,\ - \ idempotencyKey);" - name: Fireblocks SDK Java example - - language: python - code: "response = fireblocks.travel_rule.set_vasp_for_vault(travel_rule_vasp_for_vault,\ - \ vault_account_id, idempotency_key);" - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.travelRule.setVaspForVault(travelRuleApiSetVaspForVaultRequest);" - - lang: Java - source: "CompletableFuture> response =\ - \ fireblocks.travelRule().setVaspForVault(travelRuleVaspForVault, vaultAccountId,\ - \ idempotencyKey);" - - lang: Python - source: "response = fireblocks.travel_rule.set_vasp_for_vault(travel_rule_vasp_for_vault,\ - \ vault_account_id, idempotency_key);" - x-content-type: application/json - x-accepts: - - application/json - /screening/travel_rule/post_screening_policy: - get: - description: Get the post-screening policy for Travel Rule. - operationId: getPostScreeningPolicy - parameters: [] + style: form + - description: "Search owned collections. Possible criteria for search: collection\ + \ name, collection contract address." + explode: true + in: query + name: search + required: false + schema: + maximum: 100 + type: string + style: form + - description: Page cursor to fetch + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + - description: Items per page (max 100) + explode: true + in: query + name: pageSize + required: false + schema: + maximum: 100 + minimum: 1 + type: number + style: form + - description: "Sort by param, it can be one param or a list of params separated\ + \ by comma" + explode: true + in: query + name: sort + required: false + schema: + items: + enum: + - name + type: string + type: array + style: form + - description: "Order direction, it can be `ASC` for ascending or `DESC` for\ + \ descending" + explode: true + in: query + name: order + required: false + schema: + default: ASC + enum: + - DESC + - ASC + type: string + style: form + - description: Token ownership status + explode: true + in: query + name: status + required: false + schema: + default: LISTED + enum: + - LISTED + - ARCHIVED + type: string + style: form responses: "200": content: application/json: schema: - $ref: "#/components/schemas/ScreeningPolicyResponse" - description: Post-screening policy retrieved successfully. - summary: Travel Rule - View Post-Screening Policy + $ref: "#/components/schemas/ListOwnedCollectionsResponse" + description: "" + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: List owned collections (paginated) tags: - - Compliance + - NFTs x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.compliance.getPostScreeningPolicy();" + code: "const response: Promise>\ + \ = fireblocks.nFTs.listOwnedCollections(nFTsApiListOwnedCollectionsRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = - fireblocks.compliance().getPostScreeningPolicy(); + code: "CompletableFuture> response\ + \ = fireblocks.nFTs().listOwnedCollections(ncwId, walletType, search,\ + \ pageCursor, pageSize, sort, order, status);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.compliance.get_post_screening_policy(); + code: "response = fireblocks.n_f_ts.list_owned_collections(ncw_id, wallet_type,\ + \ search, page_cursor, page_size, sort, order, status);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.compliance.getPostScreeningPolicy();" + source: "const response: Promise>\ + \ = fireblocks.nFTs.listOwnedCollections(nFTsApiListOwnedCollectionsRequest);" - lang: Java - source: CompletableFuture> response = - fireblocks.compliance().getPostScreeningPolicy(); + source: "CompletableFuture> response\ + \ = fireblocks.nFTs().listOwnedCollections(ncwId, walletType, search, pageCursor,\ + \ pageSize, sort, order, status);" - lang: Python - source: response = fireblocks.compliance.get_post_screening_policy(); + source: "response = fireblocks.n_f_ts.list_owned_collections(ncw_id, wallet_type,\ + \ search, page_cursor, page_size, sort, order, status);" x-accepts: - application/json - /screening/travel_rule/screening_policy: + /nfts/tokens/{id}: get: - description: Get the screening policy for Travel Rule. - operationId: getScreeningPolicy - parameters: [] + description: | + Returns the requested token data. + operationId: getNFT + parameters: + - description: NFT ID + example: NFT-abcdefabcdefabcdefabcdefabcdefabcdefabcd + explode: false + in: path + name: id + required: true + schema: + type: string + style: simple responses: "200": content: application/json: schema: - $ref: "#/components/schemas/ScreeningProviderRulesConfigurationResponse" - description: Screening policy retrieved successfully. - summary: Travel Rule - View Screening Policy + $ref: "#/components/schemas/TokenResponse" + description: "" + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: List token data by ID tags: - - Compliance + - NFTs x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.compliance.getScreeningPolicy();" - name: Fireblocks SDK TypeScript example - - language: java - code: CompletableFuture> - response = fireblocks.compliance().getScreeningPolicy(); - name: Fireblocks SDK Java example - - language: python - code: response = fireblocks.compliance.get_screening_policy(); - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.compliance.getScreeningPolicy();" - - lang: Java - source: CompletableFuture> - response = fireblocks.compliance().getScreeningPolicy(); - - lang: Python - source: response = fireblocks.compliance.get_screening_policy(); - x-accepts: - - application/json - /screening/travel_rule/policy_configuration: - get: - description: Retrieves the configuration for Travel Rule screening policy. - operationId: getScreeningConfiguration - parameters: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/ScreeningConfigurationsRequest" - description: Screening policy configuration retrieved successfully. - summary: Get Travel Rule Screening Policy Configuration - tags: - - Compliance Screening Configuration - x-rate-limit-category: write - x-readme: - code-samples: - - language: typescript - code: "const response: Promise>\ - \ = fireblocks.complianceScreeningConfiguration.getScreeningConfiguration();" + code: "const response: Promise> = fireblocks.nFTs.getNFT(nFTsApiGetNFTRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.complianceScreeningConfiguration().getScreeningConfiguration(); + code: CompletableFuture> response = fireblocks.nFTs().getNFT(id); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.compliance_screening_configuration.get_screening_configuration(); + code: response = fireblocks.n_f_ts.get_n_f_t(id); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.complianceScreeningConfiguration.getScreeningConfiguration();" + source: "const response: Promise> = fireblocks.nFTs.getNFT(nFTsApiGetNFTRequest);" - lang: Java - source: CompletableFuture> response - = fireblocks.complianceScreeningConfiguration().getScreeningConfiguration(); + source: CompletableFuture> response = fireblocks.nFTs().getNFT(id); - lang: Python - source: response = fireblocks.compliance_screening_configuration.get_screening_configuration(); + source: response = fireblocks.n_f_ts.get_n_f_t(id); x-accepts: - application/json put: - description: "Updates bypass screening, inbound delay, or outbound delay configurations\ - \ for Travel Rule." - operationId: updateTravelRuleConfig + description: | + Updates the latest token metadata. + operationId: refreshNFTMetadata parameters: + - description: Unique ID of the End-User wallet to the API request. Required + for end-user wallet operations. + explode: false + in: header + name: X-End-User-Wallet-Id + required: false + schema: + format: uuid + type: string + style: simple + - description: NFT ID + example: NFT-abcdefabcdefabcdefabcdefabcdefabcdefabcd + explode: false + in: path + name: id + required: true + schema: + type: string + style: simple - 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\ @@ -19995,85 +20851,163 @@ paths: type: string style: simple responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/ScreeningConfigurationsRequest" - description: Configuration updated successfully. - summary: Update Travel Rule Configuration + "202": + description: "" + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Refresh token metadata tags: - - Compliance + - NFTs x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.compliance.updateTravelRuleConfig(complianceApiUpdateTravelRuleConfigRequest);" + code: "const response: Promise> = fireblocks.nFTs.refreshNFTMetadata(nFTsApiRefreshNFTMetadataRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.compliance().updateTravelRuleConfig(idempotencyKey); + code: "CompletableFuture> response = fireblocks.nFTs().refreshNFTMetadata(id,\ + \ xEndUserWalletId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.compliance.update_travel_rule_config(idempotency_key); + code: "response = fireblocks.n_f_ts.refresh_n_f_t_metadata(id, x_end_user_wallet_id,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.compliance.updateTravelRuleConfig(complianceApiUpdateTravelRuleConfigRequest);" + source: "const response: Promise> = fireblocks.nFTs.refreshNFTMetadata(nFTsApiRefreshNFTMetadataRequest);" - lang: Java - source: CompletableFuture> response - = fireblocks.compliance().updateTravelRuleConfig(idempotencyKey); + source: "CompletableFuture> response = fireblocks.nFTs().refreshNFTMetadata(id,\ + \ xEndUserWalletId, idempotencyKey);" - lang: Python - source: response = fireblocks.compliance.update_travel_rule_config(idempotency_key); + source: "response = fireblocks.n_f_ts.refresh_n_f_t_metadata(id, x_end_user_wallet_id,\ + \ idempotency_key);" x-accepts: - application/json - /screening/aml/policy_configuration: + /nfts/tokens: get: - description: Retrieves the configuration for Travel Rule screening policy. - operationId: getAmlScreeningConfiguration - parameters: [] + description: | + Returns the requested tokens data. + operationId: getNFTs + parameters: + - description: A comma separated list of NFT IDs. Up to 100 are allowed in a + single request. + explode: true + in: query + name: ids + required: true + schema: + type: string + style: form + - description: Page cursor to fetch + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + - description: Items per page (max 100) + explode: true + in: query + name: pageSize + required: false + schema: + maximum: 100 + minimum: 1 + type: number + style: form + - description: "Sort by param, it can be one param or a list of params separated\ + \ by comma" + explode: true + in: query + name: sort + required: false + schema: + items: + enum: + - collection.name + - name + - blockchainDescriptor + type: string + type: array + style: form + - description: "Order direction, it can be `ASC` for ascending or `DESC` for\ + \ descending" + explode: true + in: query + name: order + required: false + schema: + default: ASC + enum: + - DESC + - ASC + type: string + style: form responses: "200": content: application/json: schema: - $ref: "#/components/schemas/ScreeningConfigurationsRequest" - description: Screening policy configuration retrieved successfully. - summary: Get AML Screening Policy Configuration + $ref: "#/components/schemas/GetNFTsResponse" + description: "" + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: List tokens by IDs tags: - - Compliance Screening Configuration + - NFTs x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.complianceScreeningConfiguration.getAmlScreeningConfiguration();" + code: "const response: Promise> = fireblocks.nFTs.getNFTs(nFTsApiGetNFTsRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.complianceScreeningConfiguration().getAmlScreeningConfiguration(); + code: "CompletableFuture> response = fireblocks.nFTs().getNFTs(ids,\ + \ pageCursor, pageSize, sort, order);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.compliance_screening_configuration.get_aml_screening_configuration(); + code: "response = fireblocks.n_f_ts.get_n_f_ts(ids, page_cursor, page_size,\ + \ sort, order);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.complianceScreeningConfiguration.getAmlScreeningConfiguration();" + source: "const response: Promise> = fireblocks.nFTs.getNFTs(nFTsApiGetNFTsRequest);" - lang: Java - source: CompletableFuture> response - = fireblocks.complianceScreeningConfiguration().getAmlScreeningConfiguration(); + source: "CompletableFuture> response = fireblocks.nFTs().getNFTs(ids,\ + \ pageCursor, pageSize, sort, order);" - lang: Python - source: response = fireblocks.compliance_screening_configuration.get_aml_screening_configuration(); + source: "response = fireblocks.n_f_ts.get_n_f_ts(ids, page_cursor, page_size,\ + \ sort, order);" x-accepts: - application/json + /nfts/ownership/tokens/{id}/status: put: - description: "Updates bypass screening, inbound delay, or outbound delay configurations\ - \ for AML." - operationId: updateAmlScreeningConfiguration + description: | + Updates token status for a tenant, in all tenant vaults. + operationId: updateTokenOwnershipStatus parameters: + - description: Unique ID of the End-User wallet to the API request. Required + for end-user wallet operations. + explode: false + in: header + name: X-End-User-Wallet-Id + required: false + schema: + format: uuid + type: string + style: simple + - description: NFT ID + example: NFT-abcdefabcdefabcdefabcdefabcdefabcdefabcd + explode: false + in: path + name: id + required: true + schema: + type: string + style: simple - 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\ @@ -20085,126 +21019,140 @@ paths: schema: type: string style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateTokenOwnershipStatusDto" + required: true responses: "200": - content: - application/json: - schema: - $ref: "#/components/schemas/ScreeningConfigurationsRequest" - description: Configuration updated successfully. - summary: Update AML Configuration + description: "" + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Update token ownership status tags: - - Compliance + - NFTs x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.compliance.updateAmlScreeningConfiguration(complianceApiUpdateAmlScreeningConfigurationRequest);" + code: "const response: Promise> = fireblocks.nFTs.updateTokenOwnershipStatus(nFTsApiUpdateTokenOwnershipStatusRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.compliance().updateAmlScreeningConfiguration(idempotencyKey); + code: "CompletableFuture> response = fireblocks.nFTs().updateTokenOwnershipStatus(updateTokenOwnershipStatusDto,\ + \ id, xEndUserWalletId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.compliance.update_aml_screening_configuration(idempotency_key); + code: "response = fireblocks.n_f_ts.update_token_ownership_status(update_token_ownership_status_dto,\ + \ id, x_end_user_wallet_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.compliance.updateAmlScreeningConfiguration(complianceApiUpdateAmlScreeningConfigurationRequest);" + source: "const response: Promise> = fireblocks.nFTs.updateTokenOwnershipStatus(nFTsApiUpdateTokenOwnershipStatusRequest);" - lang: Java - source: CompletableFuture> response - = fireblocks.compliance().updateAmlScreeningConfiguration(idempotencyKey); + source: "CompletableFuture> response = fireblocks.nFTs().updateTokenOwnershipStatus(updateTokenOwnershipStatusDto,\ + \ id, xEndUserWalletId, idempotencyKey);" - lang: Python - source: response = fireblocks.compliance.update_aml_screening_configuration(idempotency_key); + source: "response = fireblocks.n_f_ts.update_token_ownership_status(update_token_ownership_status_dto,\ + \ id, x_end_user_wallet_id, idempotency_key);" + x-content-type: application/json x-accepts: - application/json - /screening/aml/screening_policy: - get: - description: Get the screening policy for AML. - operationId: getAmlScreeningPolicy - parameters: [] + /nfts/ownership/tokens/status: + put: + description: "Updates tokens status for a tenant, in all tenant vaults." + operationId: updateTokensOwnershipStatus + parameters: + - description: Unique ID of the End-User wallet to the API request. Required + for end-user wallet operations. + explode: false + in: header + name: X-End-User-Wallet-Id + required: false + schema: + format: uuid + type: string + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateTokensOwnershipStatusRequest" + required: true responses: "200": - content: - application/json: - schema: - $ref: "#/components/schemas/ScreeningProviderRulesConfigurationResponse" - description: Screening policy retrieved successfully. - summary: AML - View Screening Policy + description: All token statuses have been updated + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": + description: Invalid data sent + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + description: When ownership for token ID is not found + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Update tokens ownership status tags: - - Compliance - x-rate-limit-category: query + - NFTs + x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.compliance.getAmlScreeningPolicy();" + code: "const response: Promise> = fireblocks.nFTs.updateTokensOwnershipStatus(nFTsApiUpdateTokensOwnershipStatusRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> - response = fireblocks.compliance().getAmlScreeningPolicy(); + code: "CompletableFuture> response = fireblocks.nFTs().updateTokensOwnershipStatus(tokenOwnershipStatusUpdatePayload,\ + \ xEndUserWalletId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.compliance.get_aml_screening_policy(); + code: "response = fireblocks.n_f_ts.update_tokens_ownership_status(token_ownership_status_update_payload,\ + \ x_end_user_wallet_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.compliance.getAmlScreeningPolicy();" + source: "const response: Promise> = fireblocks.nFTs.updateTokensOwnershipStatus(nFTsApiUpdateTokensOwnershipStatusRequest);" - lang: Java - source: CompletableFuture> - response = fireblocks.compliance().getAmlScreeningPolicy(); + source: "CompletableFuture> response = fireblocks.nFTs().updateTokensOwnershipStatus(tokenOwnershipStatusUpdatePayload,\ + \ xEndUserWalletId, idempotencyKey);" - lang: Python - source: response = fireblocks.compliance.get_aml_screening_policy(); + source: "response = fireblocks.n_f_ts.update_tokens_ownership_status(token_ownership_status_update_payload,\ + \ x_end_user_wallet_id, idempotency_key);" + x-content-type: application/json x-accepts: - application/json - /screening/aml/post_screening_policy: - get: - description: Get the post-screening policy for AML. - operationId: getAmlPostScreeningPolicy - parameters: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/ScreeningPolicyResponse" - description: Post-screening policy retrieved successfully. - summary: AML - View Post-Screening Policy - tags: - - Compliance - x-rate-limit-category: query - x-readme: - code-samples: - - language: typescript - code: "const response: Promise>\ - \ = fireblocks.compliance.getAmlPostScreeningPolicy();" - name: Fireblocks SDK TypeScript example - - language: java - code: CompletableFuture> response = - fireblocks.compliance().getAmlPostScreeningPolicy(); - name: Fireblocks SDK Java example - - language: python - code: response = fireblocks.compliance.get_aml_post_screening_policy(); - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.compliance.getAmlPostScreeningPolicy();" - - lang: Java - source: CompletableFuture> response = - fireblocks.compliance().getAmlPostScreeningPolicy(); - - lang: Python - source: response = fireblocks.compliance.get_aml_post_screening_policy(); - x-accepts: - - application/json - /screening/configurations: + /nfts/ownership/tokens/spam: put: - description: Update tenant screening configuration. - operationId: updateScreeningConfiguration + description: "Updates tokens spam property for a tenant's token ownerships,\ + \ in all tenant vaults." + operationId: updateTokensOwnershipSpam parameters: + - description: Unique ID of the End-User wallet to the API request. Required + for end-user wallet operations. + explode: false + in: header + name: X-End-User-Wallet-Id + required: false + schema: + format: uuid + type: string + style: simple - 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\ @@ -20220,179 +21168,201 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ScreeningUpdateConfigurations" + $ref: "#/components/schemas/UpdateTokensOwnershipSpamRequest" required: true responses: "200": - content: - application/json: - schema: - $ref: "#/components/schemas/ScreeningUpdateConfigurations" - description: Tenant Screening configuration updated successfully. - summary: Tenant - Screening Configuration + description: All token spam properties have been updated + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": + description: Invalid data sent + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + description: When ownership for token ID is not found + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Update tokens ownership spam property tags: - - Compliance + - NFTs x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.compliance.updateScreeningConfiguration(complianceApiUpdateScreeningConfigurationRequest);" + code: "const response: Promise> = fireblocks.nFTs.updateTokensOwnershipSpam(nFTsApiUpdateTokensOwnershipSpamRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.compliance().updateScreeningConfiguration(screeningUpdateConfigurations,\ - \ idempotencyKey);" + code: "CompletableFuture> response = fireblocks.nFTs().updateTokensOwnershipSpam(tokenOwnershipSpamUpdatePayload,\ + \ xEndUserWalletId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.compliance.update_screening_configuration(screening_update_configurations,\ - \ idempotency_key);" + code: "response = fireblocks.n_f_ts.update_tokens_ownership_spam(token_ownership_spam_update_payload,\ + \ x_end_user_wallet_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.compliance.updateScreeningConfiguration(complianceApiUpdateScreeningConfigurationRequest);" + source: "const response: Promise> = fireblocks.nFTs.updateTokensOwnershipSpam(nFTsApiUpdateTokensOwnershipSpamRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.compliance().updateScreeningConfiguration(screeningUpdateConfigurations,\ - \ idempotencyKey);" + source: "CompletableFuture> response = fireblocks.nFTs().updateTokensOwnershipSpam(tokenOwnershipSpamUpdatePayload,\ + \ xEndUserWalletId, idempotencyKey);" - lang: Python - source: "response = fireblocks.compliance.update_screening_configuration(screening_update_configurations,\ - \ idempotency_key);" + source: "response = fireblocks.n_f_ts.update_tokens_ownership_spam(token_ownership_spam_update_payload,\ + \ x_end_user_wallet_id, idempotency_key);" x-content-type: application/json x-accepts: - application/json - /screening/transaction/{txId}/bypass_screening_policy: - post: - description: This endpoint is restricted to Admin API users and is only applicable - to outgoing transactions. - operationId: retryRejectedTransactionBypassScreeningChecks + /connections: + get: + description: Get open Web3 connections. + operationId: get parameters: - - description: The transaction id that was rejected by screening checks - example: 550e8400-e29b-41d4-a716-446655440000 + - description: Unique ID of the End-User wallet to the API request. Required + for end-user wallet operations. explode: false - in: path - name: txId - required: true + in: header + name: X-End-User-Wallet-Id + required: false schema: + format: uuid type: string style: simple - - 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." - explode: false - in: header - name: Idempotency-Key + - description: List order; ascending or descending. + explode: true + in: query + name: order + required: false + schema: + default: ASC + enum: + - ASC + - DESC + type: string + style: form + - description: Parsed filter object + examples: + object: + description: "" + summary: The filter object + value: + id: string + userId: string + vaultAccountId: number + connectionMethod: string + feeLevel: string + appUrl: string + appName: string + stringified: + description: |- + About stringified parsed objects: + + * Each key-value pair is separated by '=', and each pair is separated by ',' (you can use [`qs`](https://www.npmjs.com/package/qs) package for this) + summary: The stringified parsed object + value: "id=string,userId=string,vaultAccountId=number,connectionMethod=string,feeLevel=string,appUrl=string,appName=string" + explode: true + in: query + name: filter + required: false + schema: + $ref: "#/components/schemas/get_filter_parameter" + style: form + - description: Property to sort Web3 connections by. + explode: true + in: query + name: sort required: false schema: + default: createdAt + enum: + - id + - userId + - vaultAccountId + - createdAt + - feeLevel + - appUrl + - appName type: string - style: simple - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/CreateTransactionResponse" - description: A transaction object - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: "Calling the \"Bypass Screening Policy\" API endpoint triggers a new\ - \ transaction, with the API user as the initiator, bypassing the screening\ - \ policy check" - tags: - - Compliance - x-rate-limit-category: write - x-readme: - code-samples: - - language: typescript - code: "const response: Promise>\ - \ = fireblocks.compliance.retryRejectedTransactionBypassScreeningChecks(complianceApiRetryRejectedTransactionBypassScreeningChecksRequest);" - name: Fireblocks SDK TypeScript example - - language: java - code: "CompletableFuture> response\ - \ = fireblocks.compliance().retryRejectedTransactionBypassScreeningChecks(txId,\ - \ idempotencyKey);" - name: Fireblocks SDK Java example - - language: python - code: "response = fireblocks.compliance.retry_rejected_transaction_bypass_screening_checks(tx_id,\ - \ idempotency_key);" - name: Fireblocks SDK Python example - x-codeSamples: - - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.compliance.retryRejectedTransactionBypassScreeningChecks(complianceApiRetryRejectedTransactionBypassScreeningChecksRequest);" - - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.compliance().retryRejectedTransactionBypassScreeningChecks(txId,\ - \ idempotencyKey);" - - lang: Python - source: "response = fireblocks.compliance.retry_rejected_transaction_bypass_screening_checks(tx_id,\ - \ idempotency_key);" - x-accepts: - - application/json - /screening/transaction/{txId}: - get: - description: Provides all the compliance details for the given screened transaction. - operationId: getScreeningFullDetails - parameters: - - description: Fireblocks transaction ID of the screened transaction - example: 550e8400-e29b-41d4-a716-446655440000 - explode: false - in: path - name: txId - required: true + style: form + - description: Amount of results to return in the next page. + explode: true + in: query + name: pageSize + required: false + schema: + default: 10 + maximum: 50 + type: number + style: form + - description: Cursor to the next page + explode: true + in: query + name: next + required: false schema: type: string - style: simple + style: form responses: "200": content: application/json: schema: - $ref: "#/components/schemas/ComplianceResultFullPayload" - description: A compliance object + $ref: "#/components/schemas/GetConnectionsResponse" + description: "" headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Provides all the compliance details for the given screened transaction. + "400": + description: Query parameters were invalid + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + description: Something went wrong + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: List all open Web3 connections. tags: - - Compliance + - Web3 connections x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.compliance.getScreeningFullDetails(complianceApiGetScreeningFullDetailsRequest);" + code: "const response: Promise>\ + \ = fireblocks.web3Connections.get(web3ConnectionsApiGetRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.compliance().getScreeningFullDetails(txId); + code: "CompletableFuture> response =\ + \ fireblocks.web3Connections().get(order, filter, sort, pageSize, next,\ + \ xEndUserWalletId);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.compliance.get_screening_full_details(tx_id); + code: "response = fireblocks.web3_connections.get(order, filter, sort, page_size,\ + \ next, x_end_user_wallet_id);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.compliance.getScreeningFullDetails(complianceApiGetScreeningFullDetailsRequest);" + source: "const response: Promise>\ + \ = fireblocks.web3Connections.get(web3ConnectionsApiGetRequest);" - lang: Java - source: CompletableFuture> response - = fireblocks.compliance().getScreeningFullDetails(txId); + source: "CompletableFuture> response =\ + \ fireblocks.web3Connections().get(order, filter, sort, pageSize, next,\ + \ xEndUserWalletId);" - lang: Python - source: response = fireblocks.compliance.get_screening_full_details(tx_id); + source: "response = fireblocks.web3_connections.get(order, filter, sort, page_size,\ + \ next, x_end_user_wallet_id);" x-accepts: - application/json - /screening/aml/verdict/manual: + /connections/wc: post: - description: Set AML verdict for incoming transactions when Manual Screening - Verdict feature is enabled. - operationId: setAmlVerdict + description: |- + Initiate a new Web3 connection. + + * Note: After this succeeds, make a request to `PUT /v1/connections/wc/{id}` (below) to approve or reject the new Web3 connection. + operationId: create parameters: - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -20405,122 +21375,156 @@ paths: schema: type: string style: simple + - description: Unique ID of the End-User wallet to the API request. Required + for end-user wallet operations. + explode: false + in: header + name: X-End-User-Wallet-Id + required: false + schema: + format: uuid + type: string + style: simple requestBody: content: application/json: schema: - $ref: "#/components/schemas/AmlVerdictManualRequest" + $ref: "#/components/schemas/CreateConnectionRequest" required: true responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/AmlVerdictManualResponse" - description: AML verdict set successfully. - "400": + "201": content: application/json: schema: - $ref: "#/components/schemas/ErrorSchema" - description: Feature not enabled for tenant. + $ref: "#/components/schemas/CreateConnectionResponse" + description: Web3 connection initiated successfully headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "425": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorSchema" - description: Too Early - transaction not yet in pending screening. + "400": + description: Invalid data sent headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" "500": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorSchema" - description: Internal server error. + description: Something went wrong headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Set AML Verdict for Manual Screening Verdict. + summary: Create a new Web3 connection. tags: - - Compliance - x-rate-limit-category: write + - Web3 connections + x-rate-limit-category: high_compute x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.compliance.setAmlVerdict(complianceApiSetAmlVerdictRequest);" + code: "const response: Promise>\ + \ = fireblocks.web3Connections.create(web3ConnectionsApiCreateRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.compliance().setAmlVerdict(amlVerdictManualRequest, idempotencyKey);" + code: "CompletableFuture> response\ + \ = fireblocks.web3Connections().create(createConnectionRequest, idempotencyKey,\ + \ xEndUserWalletId);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.compliance.set_aml_verdict(aml_verdict_manual_request,\ - \ idempotency_key);" + code: "response = fireblocks.web3_connections.create(create_connection_request,\ + \ idempotency_key, x_end_user_wallet_id);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.compliance.setAmlVerdict(complianceApiSetAmlVerdictRequest);" + source: "const response: Promise>\ + \ = fireblocks.web3Connections.create(web3ConnectionsApiCreateRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.compliance().setAmlVerdict(amlVerdictManualRequest, idempotencyKey);" + source: "CompletableFuture> response\ + \ = fireblocks.web3Connections().create(createConnectionRequest, idempotencyKey,\ + \ xEndUserWalletId);" - lang: Python - source: "response = fireblocks.compliance.set_aml_verdict(aml_verdict_manual_request,\ - \ idempotency_key);" + source: "response = fireblocks.web3_connections.create(create_connection_request,\ + \ idempotency_key, x_end_user_wallet_id);" x-content-type: application/json x-accepts: - application/json - /management/ota: - get: - description: Returns current OTA status - operationId: getOtaStatus + /connections/wc/{id}: + delete: + description: Remove a Web3 connection + operationId: remove + parameters: + - description: Unique ID of the End-User wallet to the API request. Required + for end-user wallet operations. + explode: false + in: header + name: X-End-User-Wallet-Id + required: false + schema: + format: uuid + type: string + style: simple + - description: The ID of the existing Web3 connection to remove. + explode: false + in: path + name: id + required: true + schema: + type: string + style: simple responses: "200": - content: - application/json: - schema: - $ref: "#/components/schemas/GetOtaStatusResponse" - description: Current OTA status + description: Connection removed successfully + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" "404": - description: Configuration not found for tenant - summary: Returns current OTA status + description: Connection not found + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "500": + description: Something went wrong + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Remove an existing Web3 connection. tags: - - OTA (Beta) - x-rate-limit-category: write + - Web3 connections + x-rate-limit-category: high_compute x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.oTABeta.getOtaStatus();" + code: "const response: Promise> = fireblocks.web3Connections.remove(web3ConnectionsApiRemoveRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = fireblocks.oTABeta().getOtaStatus(); + code: "CompletableFuture> response = fireblocks.web3Connections().remove(id,\ + \ xEndUserWalletId);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.o_t_a_beta.get_ota_status(); + code: "response = fireblocks.web3_connections.remove(id, x_end_user_wallet_id);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.oTABeta.getOtaStatus();" + source: "const response: Promise> = fireblocks.web3Connections.remove(web3ConnectionsApiRemoveRequest);" - lang: Java - source: CompletableFuture> response = fireblocks.oTABeta().getOtaStatus(); + source: "CompletableFuture> response = fireblocks.web3Connections().remove(id,\ + \ xEndUserWalletId);" - lang: Python - source: response = fireblocks.o_t_a_beta.get_ota_status(); + source: "response = fireblocks.web3_connections.remove(id, x_end_user_wallet_id);" x-accepts: - application/json put: - description: Enable or disable transactions to OTA - operationId: setOtaStatus + description: |- + Submit a response to *approve* or *reject* an initiated Web3 connection. + * Note: This call is used to complete your `POST /v1/connections/wc/` request. + + After this succeeds, your new Web3 connection is created and functioning. + operationId: submit parameters: + - description: The ID of the initiated Web3 connection to approve. + explode: false + in: path + name: id + required: true + schema: + type: string + style: simple - 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\ @@ -20532,221 +21536,390 @@ paths: schema: type: string style: simple + - description: Unique ID of the End-User wallet to the API request. Required + for end-user wallet operations. + explode: false + in: header + name: X-End-User-Wallet-Id + required: false + schema: + format: uuid + type: string + style: simple requestBody: content: application/json: schema: - $ref: "#/components/schemas/SetOtaStatusRequest" + $ref: "#/components/schemas/RespondToConnectionRequest" required: true responses: - "202": - content: - application/json: - schema: - $ref: "#/components/schemas/SetOtaStatusResponse" - description: Successfully updated OTA status + "200": + description: Connection submitted successfully headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" "400": - description: Bad request - "409": - description: Similar request already pending + description: Invalid data sent + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + description: Connection not found + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" "500": - description: Internal server error - summary: Enable or disable transactions to OTA + description: Something went wrong + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Respond to a pending Web3 connection request. tags: - - OTA (Beta) - x-rate-limit-category: query + - Web3 connections + x-rate-limit-category: high_compute x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.oTABeta.setOtaStatus(oTABetaApiSetOtaStatusRequest);" + code: "const response: Promise> = fireblocks.web3Connections.submit(web3ConnectionsApiSubmitRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.oTABeta().setOtaStatus(setOtaStatusRequest,\ - \ idempotencyKey);" + code: "CompletableFuture> response = fireblocks.web3Connections().submit(respondToConnectionRequest,\ + \ id, idempotencyKey, xEndUserWalletId);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.o_t_a_beta.set_ota_status(set_ota_status_request,\ - \ idempotency_key);" - name: Fireblocks SDK Python example + code: "response = fireblocks.web3_connections.submit(respond_to_connection_request,\ + \ id, idempotency_key, x_end_user_wallet_id);" + name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.oTABeta.setOtaStatus(oTABetaApiSetOtaStatusRequest);" + source: "const response: Promise> = fireblocks.web3Connections.submit(web3ConnectionsApiSubmitRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.oTABeta().setOtaStatus(setOtaStatusRequest,\ - \ idempotencyKey);" + source: "CompletableFuture> response = fireblocks.web3Connections().submit(respondToConnectionRequest,\ + \ id, idempotencyKey, xEndUserWalletId);" - lang: Python - source: "response = fireblocks.o_t_a_beta.set_ota_status(set_ota_status_request,\ - \ idempotency_key);" + source: "response = fireblocks.web3_connections.submit(respond_to_connection_request,\ + \ id, idempotency_key, x_end_user_wallet_id);" x-content-type: application/json x-accepts: - application/json - /management/workspace_status: - get: - description: Returns current workspace status - operationId: getWorkspaceStatus + /screening/travel_rule/transaction/validate: + post: + description: |- + Validate Travel Rule transactions. + Checks what beneficiary VASP details are required by your jurisdiction and the beneficiary's jurisdiction. + **Deprecation Notice** This endpoint will be deprecated soon in favor of the [validate full](https://developers.fireblocks.com/reference/validatefulltravelruletransaction) endpoint. Please update your integrations to use the [validate full](https://developers.fireblocks.com/reference/validatefulltravelruletransaction) endpoint to ensure compatibility with future releases. + Checks what beneficiary VASP details are required by your jurisdiction and the beneficiary's jurisdiction. + Learn more about Fireblocks Travel Rule management in the following [guide](https://developers.fireblocks.com/docs/define-travel-rule-policies). + +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + operationId: validateTravelRuleTransaction + parameters: + - description: |- + Specifies the notation of the transaction. Possible values are: - `notabene`: Uses Notabene notation (default behavior). - `fireblocks`: Uses Fireblocks notation, with automatic translation of asset tickers and amounts. - ``: Defaults to `notabene` for backward compatibility. + **Note:** The default value for the `notation` parameter will change from `notabene` to `fireblocks` Update your integrations accordingly. + explode: true + in: query + name: notation + required: false + schema: + $ref: "#/components/schemas/TravelRuleNotationEnum" + style: form + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/TravelRuleValidateTransactionRequest" + required: true responses: "200": content: application/json: schema: - $ref: "#/components/schemas/GetWorkspaceStatusResponse" - description: Current workspace status - "404": - description: Workspace not found - summary: Returns current workspace status + $ref: "#/components/schemas/TravelRuleValidateTransactionResponse" + description: Transaction validated successfully + default: + $ref: "#/components/responses/Error" + summary: Validate Travel Rule Transaction tags: - - Workspace Status (Beta) - x-rate-limit-category: query + - Travel Rule + x-internal: true + x-rate-limit-category: write + x-content-type: application/json + x-accepts: + - application/json + /screening/travel_rule/transaction/validate/full: + post: + description: |- + Validate Full Travel Rule transactions. + + Checks for all required information on the originator and beneficiary VASPs. + operationId: validateFullTravelRuleTransaction + parameters: + - description: |- + Specifies the notation of the transaction. Possible values are: - `notabene`: Uses Notabene notation (default behavior). - `fireblocks`: Uses Fireblocks notation, with automatic translation of asset tickers and amounts. - ``: Defaults to `notabene` for backward compatibility. + **Note:** The default value for the `notation` parameter will change from `notabene` to `fireblocks` Update your integrations accordingly. + explode: true + in: query + name: notation + required: false + schema: + $ref: "#/components/schemas/TravelRuleNotationEnum" + style: form + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/TravelRuleValidateFullTransactionRequest" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/TravelRuleValidateTransactionResponse" + description: Transaction validated successfully + default: + $ref: "#/components/responses/Error" + summary: Validate Full Travel Rule Transaction + tags: + - Travel Rule + x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.workspaceStatusBeta.getWorkspaceStatus();" + code: "const response: Promise>\ + \ = fireblocks.travelRule.validateFullTravelRuleTransaction(travelRuleApiValidateFullTravelRuleTransactionRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.workspaceStatusBeta().getWorkspaceStatus(); + code: "CompletableFuture>\ + \ response = fireblocks.travelRule().validateFullTravelRuleTransaction(travelRuleValidateFullTransactionRequest,\ + \ notation, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.workspace_status_beta.get_workspace_status(); + code: "response = fireblocks.travel_rule.validate_full_travel_rule_transaction(travel_rule_validate_full_transaction_request,\ + \ notation, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.workspaceStatusBeta.getWorkspaceStatus();" + source: "const response: Promise>\ + \ = fireblocks.travelRule.validateFullTravelRuleTransaction(travelRuleApiValidateFullTravelRuleTransactionRequest);" - lang: Java - source: CompletableFuture> response - = fireblocks.workspaceStatusBeta().getWorkspaceStatus(); + source: "CompletableFuture>\ + \ response = fireblocks.travelRule().validateFullTravelRuleTransaction(travelRuleValidateFullTransactionRequest,\ + \ notation, idempotencyKey);" - lang: Python - source: response = fireblocks.workspace_status_beta.get_workspace_status(); + source: "response = fireblocks.travel_rule.validate_full_travel_rule_transaction(travel_rule_validate_full_transaction_request,\ + \ notation, idempotency_key);" + x-content-type: application/json x-accepts: - application/json - /tap/active_policy: + /screening/travel_rule/vasp/{did}: get: - description: "Legacy Endpoint – Returns the active policy and its validation.\ - \
    \n**Note:** \n- This endpoint will remain available for the foreseeable\ - \ future and is not deprecated.
    - The `getActivePolicy` endpoint under\ - \ policy/paths provides policy type-specific operations and improved functionality.
    \ - \ - These endpoints are currently in beta and might be subject to changes.
    \n\ - If you want to participate and learn more about the Fireblocks TAP, please\ - \ contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com.\n" - operationId: getActivePolicyLegacy + description: |- + Get VASP Details. + + Returns information about a VASP that has the specified DID. + operationId: getVASPByDID + parameters: + - explode: false + in: path + name: did + required: true + schema: + type: string + style: simple + - description: "A CSV of fields to return. Choose from the following options:" + explode: true + in: query + name: fields + required: false + schema: + $ref: "#/components/schemas/TravelRuleFieldsEnum" + style: form responses: "200": content: application/json: schema: - $ref: "#/components/schemas/LegacyPolicyAndValidationResponse" - description: A policy object - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Get the active policy and its validation + $ref: "#/components/schemas/TravelRuleVASP" + description: Transaction validated successfully + "400": + description: Invalid request body + "500": + description: Internal server error + summary: Get VASP details tags: - - Policy Editor (Beta) + - Travel Rule x-rate-limit-category: query x-readme: code-samples: - - language: python - code: policy = fireblocks.get_active_policy() - name: Fireblocks SDK Python example (Legacy) - - language: javascript - code: const policy = await fireblocks.getActivePolicy(); - name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise>\ - \ = fireblocks.policyEditorBeta.getActivePolicyLegacy();" + code: "const response: Promise> = fireblocks.travelRule.getVASPByDID(travelRuleApiGetVASPByDIDRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> - response = fireblocks.policyEditorBeta().getActivePolicyLegacy(); + code: "CompletableFuture> response = fireblocks.travelRule().getVASPByDID(did,\ + \ fields);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.policy_editor_beta.get_active_policy_legacy(); + code: "response = fireblocks.travel_rule.get_v_a_s_p_by_d_i_d(did, fields);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.policyEditorBeta.getActivePolicyLegacy();" + source: "const response: Promise> = fireblocks.travelRule.getVASPByDID(travelRuleApiGetVASPByDIDRequest);" - lang: Java - source: CompletableFuture> - response = fireblocks.policyEditorBeta().getActivePolicyLegacy(); + source: "CompletableFuture> response = fireblocks.travelRule().getVASPByDID(did,\ + \ fields);" - lang: Python - source: response = fireblocks.policy_editor_beta.get_active_policy_legacy(); + source: "response = fireblocks.travel_rule.get_v_a_s_p_by_d_i_d(did, fields);" x-accepts: - application/json - /tap/draft: + /screening/travel_rule/vasp: get: - description: "Legacy Endpoint – Returns the active draft and its validation.\ - \
    \n**Note:** \n- This endpoint will remain available for the foreseeable\ - \ future and is not deprecated.
    - The `getDraft` endpoint under policy/paths\ - \ provides policy type-specific operations and improved functionality.
    \ - \ - These endpoints are currently in beta and might be subject to changes.
    \n\ - If you want to participate and learn more about the Fireblocks TAP, please\ - \ contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com.\n" - operationId: getDraftLegacy + description: |- + Get All VASPs. + + Returns a list of VASPs. VASPs can be searched and sorted. + operationId: getVASPs + parameters: + - description: Field to order by + example: ASC + explode: true + in: query + name: order + required: false + schema: + enum: + - ASC + - DESC + type: string + style: form + - description: Records per page + example: 10 + explode: true + in: query + name: pageSize + required: false + schema: + default: 500 + maximum: 1000 + minimum: 100 + type: number + style: form + - description: "CSV of fields to return (all, \"blank\" or see list of all field\ + \ names below)" + explode: true + in: query + name: fields + required: false + schema: + $ref: "#/components/schemas/TravelRuleFieldsEnum" + style: form + - description: Search query + example: Fireblocks + explode: true + in: query + name: search + required: false + schema: + type: string + style: form + - description: "Filter by the VASP's review status. Possible values include:\ + \ \"TRUSTED\", \"BLOCKED\", \"MANUAL\", or \"NULL\". When provided, only\ + \ VASPs that match the specified reviewValue will be returned (i.e., VASPs\ + \ that have already been reviewed to this status)." + example: TRUSTED + explode: true + in: query + name: reviewValue + required: false + schema: + enum: + - TRUSTED + - BLOCKED + - MANUAL + - null + type: string + style: form + - description: "Cursor for pagination. When provided, the response will include\ + \ the next page of results." + example: 100 + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form responses: "200": content: application/json: schema: - $ref: "#/components/schemas/LegacyDraftReviewAndValidationResponse" - description: A draft validation response object - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" + $ref: "#/components/schemas/TravelRuleGetAllVASPsResponse" + description: Get all VASPs default: $ref: "#/components/responses/Error" - summary: Get the active draft + summary: Get All VASPs tags: - - Policy Editor (Beta) - x-rate-limit-category: read + - Travel Rule + x-rate-limit-category: query x-readme: code-samples: - - language: python - code: policy = fireblocks.get_draft() - name: Fireblocks SDK Python example (Legacy) - - language: javascript - code: const policy = await fireblocks.getDraft(); - name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise>\ - \ = fireblocks.policyEditorBeta.getDraftLegacy();" + code: "const response: Promise>\ + \ = fireblocks.travelRule.getVASPs(travelRuleApiGetVASPsRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> - response = fireblocks.policyEditorBeta().getDraftLegacy(); + code: "CompletableFuture> response\ + \ = fireblocks.travelRule().getVASPs(order, pageSize, fields, search,\ + \ reviewValue, pageCursor);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.policy_editor_beta.get_draft_legacy(); + code: "response = fireblocks.travel_rule.get_v_a_s_ps(order, page_size,\ + \ fields, search, review_value, page_cursor);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.policyEditorBeta.getDraftLegacy();" + source: "const response: Promise>\ + \ = fireblocks.travelRule.getVASPs(travelRuleApiGetVASPsRequest);" - lang: Java - source: CompletableFuture> - response = fireblocks.policyEditorBeta().getDraftLegacy(); + source: "CompletableFuture> response\ + \ = fireblocks.travelRule().getVASPs(order, pageSize, fields, search, reviewValue,\ + \ pageCursor);" - lang: Python - source: response = fireblocks.policy_editor_beta.get_draft_legacy(); + source: "response = fireblocks.travel_rule.get_v_a_s_ps(order, page_size,\ + \ fields, search, review_value, page_cursor);" x-accepts: - application/json - post: - description: "Legacy Endpoint – Send publish request of certain draft id and\ - \ returns the response.
    \n**Note:** \n- This endpoint will remain available\ - \ for the foreseeable future and is not deprecated.
    - The `publishDraft`\ - \ endpoint under policy/paths provides improved functionality and better performance.
    \ - \ - These endpoints are currently in beta and might be subject to changes.
    \n\ - If you want to participate and learn more about the Fireblocks TAP, please\ - \ contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com.\n" - operationId: publishDraftLegacy + /screening/travel_rule/vasp/update: + put: + description: |- + Update VASP Details. + + Updates a VASP with the provided parameters. Use this endpoint to add your public jsonDIDkey generated by Notabene. + operationId: updateVasp parameters: - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -20763,143 +21936,125 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/LegacyPublishDraftRequest" + $ref: "#/components/schemas/TravelRuleUpdateVASPDetails" required: true responses: - "201": + "200": content: application/json: schema: - $ref: "#/components/schemas/LegacyPublishResult" - description: A policy publish result object - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Send publish request for a certain draft id + $ref: "#/components/schemas/TravelRuleUpdateVASPDetails" + description: VASP updated successfully + "400": + description: Invalid request body + "500": + description: Internal server error + summary: Add jsonDidKey to VASP details tags: - - Policy Editor (Beta) + - Travel Rule x-rate-limit-category: write x-readme: code-samples: - - language: python - code: policy = fireblocks.publish_draft() - name: Fireblocks SDK Python example (Legacy) - - language: javascript - code: const policy = await fireblocks.publishDraft(); - name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise>\ - \ = fireblocks.policyEditorBeta.publishDraftLegacy(policyEditorBetaApiPublishDraftLegacyRequest);" + code: "const response: Promise>\ + \ = fireblocks.travelRule.updateVasp(travelRuleApiUpdateVaspRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.policyEditorBeta().publishDraftLegacy(legacyPublishDraftRequest,\ - \ idempotencyKey);" + code: "CompletableFuture> response\ + \ = fireblocks.travelRule().updateVasp(travelRuleUpdateVASPDetails, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.policy_editor_beta.publish_draft_legacy(legacy_publish_draft_request,\ + code: "response = fireblocks.travel_rule.update_vasp(travel_rule_update_v_a_s_p_details,\ \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.policyEditorBeta.publishDraftLegacy(policyEditorBetaApiPublishDraftLegacyRequest);" + source: "const response: Promise>\ + \ = fireblocks.travelRule.updateVasp(travelRuleApiUpdateVaspRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.policyEditorBeta().publishDraftLegacy(legacyPublishDraftRequest,\ - \ idempotencyKey);" + source: "CompletableFuture> response\ + \ = fireblocks.travelRule().updateVasp(travelRuleUpdateVASPDetails, idempotencyKey);" - lang: Python - source: "response = fireblocks.policy_editor_beta.publish_draft_legacy(legacy_publish_draft_request,\ + source: "response = fireblocks.travel_rule.update_vasp(travel_rule_update_v_a_s_p_details,\ \ idempotency_key);" x-content-type: application/json x-accepts: - application/json - put: - description: "Legacy Endpoint – Update the draft and return its validation.\ - \
    \n**Note:** \n- This endpoint will remain available for the foreseeable\ - \ future and is not deprecated.
    - The `updateDraft` endpoint under policy/paths\ - \ provides policy type-specific operations and improved functionality.
    \ - \ - These endpoints are currently in beta and might be subject to changes.
    \n\ - If you want to participate and learn more about the Fireblocks TAP, please\ - \ contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com.\n" - operationId: updateDraftLegacy + /screening/travel_rule/vault/{vaultAccountId}/vasp: + get: + description: Get assigned VASP Did for a specific vault. Returns empty string + vaspDid value in response if none assigned. + operationId: getVaspForVault parameters: - - 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." + - description: The ID of the vault account + example: 1 explode: false - in: header - name: Idempotency-Key - required: false + in: path + name: vaultAccountId + required: true schema: + format: numeric type: string + x-fb-entity: vault_account style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/LegacyPolicyRules" - required: true responses: "200": content: application/json: schema: - $ref: "#/components/schemas/LegacyDraftReviewAndValidationResponse" - description: A draft validation response object + $ref: "#/components/schemas/TravelRuleVaspForVault" + description: OK headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Update the draft with a new set of rules + summary: Get assigned VASP to vault tags: - - Policy Editor (Beta) - x-rate-limit-category: write + - Travel Rule + x-rate-limit-category: read x-readme: code-samples: - - language: python - code: policy = fireblocks.update_draft() - name: Fireblocks SDK Python example (Legacy) - language: javascript - code: const policy = await fireblocks.updateDraft(); + code: const vaultAsset = await fireblocks.getVaspForVault(vaultAccountId); name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise>\ - \ = fireblocks.policyEditorBeta.updateDraftLegacy(policyEditorBetaApiUpdateDraftLegacyRequest);" + code: "const response: Promise>\ + \ = fireblocks.travelRule.getVaspForVault(travelRuleApiGetVaspForVaultRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture>\ - \ response = fireblocks.policyEditorBeta().updateDraftLegacy(legacyPolicyRules,\ - \ idempotencyKey);" + code: CompletableFuture> response = + fireblocks.travelRule().getVaspForVault(vaultAccountId); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.policy_editor_beta.update_draft_legacy(legacy_policy_rules,\ - \ idempotency_key);" + code: response = fireblocks.travel_rule.get_vasp_for_vault(vault_account_id); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.policyEditorBeta.updateDraftLegacy(policyEditorBetaApiUpdateDraftLegacyRequest);" + source: "const response: Promise>\ + \ = fireblocks.travelRule.getVaspForVault(travelRuleApiGetVaspForVaultRequest);" - lang: Java - source: "CompletableFuture>\ - \ response = fireblocks.policyEditorBeta().updateDraftLegacy(legacyPolicyRules,\ - \ idempotencyKey);" + source: CompletableFuture> response = + fireblocks.travelRule().getVaspForVault(vaultAccountId); - lang: Python - source: "response = fireblocks.policy_editor_beta.update_draft_legacy(legacy_policy_rules,\ - \ idempotency_key);" - x-content-type: application/json + source: response = fireblocks.travel_rule.get_vasp_for_vault(vault_account_id); x-accepts: - application/json - /tap/publish: post: - description: | - Send publish request of set of policy rules and returns the response.
    - **Note:** These endpoints are currently in beta and might be subject to changes. - If you want to participate and learn more about the Fireblocks TAP, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. - operationId: publishPolicyRules + description: Sets the VASP Did for a specific vault. Pass empty string to remove + existing one. + operationId: setVaspForVault parameters: + - description: The ID of the vault account + explode: false + in: path + name: vaultAccountId + required: true + schema: + format: numeric + type: string + x-fb-entity: vault_account + style: simple - 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\ @@ -20915,189 +22070,181 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/LegacyPolicyRules" + $ref: "#/components/schemas/TravelRuleVaspForVault" required: true responses: "201": content: application/json: schema: - $ref: "#/components/schemas/LegacyPublishResult" - description: A policy publish result object + $ref: "#/components/schemas/TravelRuleVaspForVault" + description: OK headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Send publish request for a set of policy rules + summary: Assign VASP to vault tags: - - Policy Editor (Beta) + - Travel Rule x-rate-limit-category: write x-readme: code-samples: - - language: python - code: policy = fireblocks.publish_rules() - name: Fireblocks SDK Python example (Legacy) - language: javascript - code: const policy = await fireblocks.publishRules(); + code: "const vaultAsset = await fireblocks.setVaspForVault(vaultAccountId,\ + \ vaspDid);" name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise>\ - \ = fireblocks.policyEditorBeta.publishPolicyRules(policyEditorBetaApiPublishPolicyRulesRequest);" + code: "const response: Promise>\ + \ = fireblocks.travelRule.setVaspForVault(travelRuleApiSetVaspForVaultRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.policyEditorBeta().publishPolicyRules(legacyPolicyRules,\ + code: "CompletableFuture> response =\ + \ fireblocks.travelRule().setVaspForVault(travelRuleVaspForVault, vaultAccountId,\ \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.policy_editor_beta.publish_policy_rules(legacy_policy_rules,\ - \ idempotency_key);" + code: "response = fireblocks.travel_rule.set_vasp_for_vault(travel_rule_vasp_for_vault,\ + \ vault_account_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.policyEditorBeta.publishPolicyRules(policyEditorBetaApiPublishPolicyRulesRequest);" + source: "const response: Promise>\ + \ = fireblocks.travelRule.setVaspForVault(travelRuleApiSetVaspForVaultRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.policyEditorBeta().publishPolicyRules(legacyPolicyRules,\ + source: "CompletableFuture> response =\ + \ fireblocks.travelRule().setVaspForVault(travelRuleVaspForVault, vaultAccountId,\ \ idempotencyKey);" - lang: Python - source: "response = fireblocks.policy_editor_beta.publish_policy_rules(legacy_policy_rules,\ - \ idempotency_key);" + source: "response = fireblocks.travel_rule.set_vasp_for_vault(travel_rule_vasp_for_vault,\ + \ vault_account_id, idempotency_key);" x-content-type: application/json x-accepts: - application/json - /policy/active_policy: + /screening/travel_rule/post_screening_policy: get: - description: | - 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. - operationId: getActivePolicy - parameters: - - description: "The policy type(s) to retrieve. Can be a single type or multiple\ - \ types by repeating the parameter (e.g., ?policyType=TRANSFER&policyType=MINT)." - explode: true - in: query - name: policyType - required: true - schema: - $ref: "#/components/schemas/PolicyType" - style: form + description: Get the post-screening policy for Travel Rule. + operationId: getPostScreeningPolicy + parameters: [] responses: "200": content: application/json: schema: - $ref: "#/components/schemas/PolicyAndValidationResponse" - description: A policy object with validation - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Get the active policy and its validation by policy type + $ref: "#/components/schemas/ScreeningPolicyResponse" + description: Post-screening policy retrieved successfully. + summary: Travel Rule - View Post-Screening Policy tags: - - Policy Editor V2 (Beta) + - Compliance x-rate-limit-category: query x-readme: code-samples: - - language: javascript - code: | - // Single policy type - const policy = await fireblocks.getActivePolicy({policyType: "TRANSFER"}); - // Multiple policy types - const policy = await fireblocks.getActivePolicy({policyType: ["TRANSFER", "MINT"]}); - name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise>\ - \ = fireblocks.policyEditorV2Beta.getActivePolicy(policyEditorV2BetaApiGetActivePolicyRequest);" + code: "const response: Promise>\ + \ = fireblocks.compliance.getPostScreeningPolicy();" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.policyEditorV2Beta().getActivePolicy(policyType); + code: CompletableFuture> response = + fireblocks.compliance().getPostScreeningPolicy(); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.policy_editor_v2_beta.get_active_policy(policy_type); + code: response = fireblocks.compliance.get_post_screening_policy(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.policyEditorV2Beta.getActivePolicy(policyEditorV2BetaApiGetActivePolicyRequest);" + source: "const response: Promise>\ + \ = fireblocks.compliance.getPostScreeningPolicy();" - lang: Java - source: CompletableFuture> response - = fireblocks.policyEditorV2Beta().getActivePolicy(policyType); + source: CompletableFuture> response = + fireblocks.compliance().getPostScreeningPolicy(); - lang: Python - source: response = fireblocks.policy_editor_v2_beta.get_active_policy(policy_type); + source: response = fireblocks.compliance.get_post_screening_policy(); x-accepts: - application/json - /policy/draft: + /screening/travel_rule/screening_policy: get: - description: | - Returns the active draft and its validation for a specific policy type.
    - **Note:** These endpoints are currently in beta and might be subject to changes. - operationId: getDraft - parameters: - - description: "The policy type(s) to retrieve. Can be a single type or multiple\ - \ types by repeating the parameter (e.g., ?policyType=TRANSFER&policyType=MINT)." - explode: true - in: query - name: policyType - required: true - schema: - $ref: "#/components/schemas/PolicyType" - style: form + description: Get the screening policy for Travel Rule. + operationId: getScreeningPolicy + parameters: [] responses: "200": content: application/json: schema: - $ref: "#/components/schemas/DraftReviewAndValidationResponse" - description: A draft validation response object - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Get the active draft by policy type + $ref: "#/components/schemas/ScreeningProviderRulesConfigurationResponse" + description: Screening policy retrieved successfully. + summary: Travel Rule - View Screening Policy tags: - - Policy Editor V2 (Beta) - x-rate-limit-category: read + - Compliance + x-rate-limit-category: query x-readme: code-samples: - - language: javascript - code: | - // Single policy type - const draft = await fireblocks.getDraft({policyType: "TRANSFER"}); - // Multiple policy types - const draft = await fireblocks.getDraft({policyType: ["TRANSFER", "MINT"]}); - name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise>\ - \ = fireblocks.policyEditorV2Beta.getDraft(policyEditorV2BetaApiGetDraftRequest);" + code: "const response: Promise>\ + \ = fireblocks.compliance.getScreeningPolicy();" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.policyEditorV2Beta().getDraft(policyType); + code: CompletableFuture> + response = fireblocks.compliance().getScreeningPolicy(); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.policy_editor_v2_beta.get_draft(policy_type); + code: response = fireblocks.compliance.get_screening_policy(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.policyEditorV2Beta.getDraft(policyEditorV2BetaApiGetDraftRequest);" + source: "const response: Promise>\ + \ = fireblocks.compliance.getScreeningPolicy();" - lang: Java - source: CompletableFuture> response - = fireblocks.policyEditorV2Beta().getDraft(policyType); + source: CompletableFuture> + response = fireblocks.compliance().getScreeningPolicy(); - lang: Python - source: response = fireblocks.policy_editor_v2_beta.get_draft(policy_type); + source: response = fireblocks.compliance.get_screening_policy(); x-accepts: - application/json - post: - description: | - Send publish request of certain draft id and returns the response.
    - **Note:** These endpoints are currently in beta and might be subject to changes. - If you want to participate and learn more about the Fireblocks Policy Editor, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. - operationId: publishDraft + /screening/travel_rule/policy_configuration: + get: + description: Retrieves the configuration for Travel Rule screening policy. + operationId: getScreeningConfiguration + parameters: [] + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/ScreeningConfigurationsRequest" + description: Screening policy configuration retrieved successfully. + summary: Get Travel Rule Screening Policy Configuration + tags: + - Compliance Screening Configuration + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.complianceScreeningConfiguration.getScreeningConfiguration();" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response + = fireblocks.complianceScreeningConfiguration().getScreeningConfiguration(); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.compliance_screening_configuration.get_screening_configuration(); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.complianceScreeningConfiguration.getScreeningConfiguration();" + - lang: Java + source: CompletableFuture> response + = fireblocks.complianceScreeningConfiguration().getScreeningConfiguration(); + - lang: Python + source: response = fireblocks.compliance_screening_configuration.get_screening_configuration(); + x-accepts: + - application/json + put: + description: "Updates bypass screening, inbound delay, or outbound delay configurations\ + \ for Travel Rule." + operationId: updateTravelRuleConfig parameters: - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -21110,62 +22257,45 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/PublishDraftRequest" - required: true responses: - "201": + "200": content: application/json: schema: - $ref: "#/components/schemas/PublishResult" - description: A policy publish result object - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Send publish request for a certain draft id + $ref: "#/components/schemas/ScreeningConfigurationsRequest" + description: Configuration updated successfully. + summary: Update Travel Rule Configuration tags: - - Policy Editor V2 (Beta) + - Compliance x-rate-limit-category: write x-readme: code-samples: - - language: javascript - code: | - const policy = await fireblocks.publishDraft({policyTypes: ["TRANSFER"], draftId: "draft-123"}); - name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise> = fireblocks.policyEditorV2Beta.publishDraft(policyEditorV2BetaApiPublishDraftRequest);" + code: "const response: Promise>\ + \ = fireblocks.compliance.updateTravelRuleConfig(complianceApiUpdateTravelRuleConfigRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.policyEditorV2Beta().publishDraft(publishDraftRequest,\ - \ idempotencyKey);" + code: CompletableFuture> response + = fireblocks.compliance().updateTravelRuleConfig(idempotencyKey); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.policy_editor_v2_beta.publish_draft(publish_draft_request,\ - \ idempotency_key);" + code: response = fireblocks.compliance.update_travel_rule_config(idempotency_key); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.policyEditorV2Beta.publishDraft(policyEditorV2BetaApiPublishDraftRequest);" + source: "const response: Promise>\ + \ = fireblocks.compliance.updateTravelRuleConfig(complianceApiUpdateTravelRuleConfigRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.policyEditorV2Beta().publishDraft(publishDraftRequest,\ - \ idempotencyKey);" + source: CompletableFuture> response + = fireblocks.compliance().updateTravelRuleConfig(idempotencyKey); - lang: Python - source: "response = fireblocks.policy_editor_v2_beta.publish_draft(publish_draft_request,\ - \ idempotency_key);" - x-content-type: application/json + source: response = fireblocks.compliance.update_travel_rule_config(idempotency_key); x-accepts: - application/json - put: - description: | - Update the draft and return its validation for specific policy types.
    - **Note:** These endpoints are currently in beta and might be subject to changes. - operationId: updateDraft + /screening/travel_rule/providers/trust/proof_of_address: + post: + description: Creates a cryptographic proof of address ownership for TRUST network. + operationId: createTrustProofOfAddress parameters: - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -21182,138 +22312,153 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateDraftRequest" + $ref: "#/components/schemas/TrustProofOfAddressRequest" required: true responses: - "200": + "201": content: application/json: schema: - $ref: "#/components/schemas/DraftReviewAndValidationResponse" - description: A draft validation response object + $ref: "#/components/schemas/TrustProofOfAddressCreateResponse" + description: Proof of address transaction created successfully headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Update the draft with a new set of rules by policy types + summary: Create Trust Network Proof of Address tags: - - Policy Editor V2 (Beta) - x-rate-limit-category: write + - Travel Rule + x-rate-limit-category: async x-readme: code-samples: - - language: javascript - code: | - const draft = await fireblocks.updateDraft({policyTypes: ["TRANSFER"], rules: rules}); - name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise>\ - \ = fireblocks.policyEditorV2Beta.updateDraft(policyEditorV2BetaApiUpdateDraftRequest);" + code: "const response: Promise>\ + \ = fireblocks.travelRule.createTrustProofOfAddress(travelRuleApiCreateTrustProofOfAddressRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture>\ - \ response = fireblocks.policyEditorV2Beta().updateDraft(updateDraftRequest,\ + code: "CompletableFuture>\ + \ response = fireblocks.travelRule().createTrustProofOfAddress(trustProofOfAddressRequest,\ \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.policy_editor_v2_beta.update_draft(update_draft_request,\ + code: "response = fireblocks.travel_rule.create_trust_proof_of_address(trust_proof_of_address_request,\ \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.policyEditorV2Beta.updateDraft(policyEditorV2BetaApiUpdateDraftRequest);" + source: "const response: Promise>\ + \ = fireblocks.travelRule.createTrustProofOfAddress(travelRuleApiCreateTrustProofOfAddressRequest);" - lang: Java - source: "CompletableFuture>\ - \ response = fireblocks.policyEditorV2Beta().updateDraft(updateDraftRequest,\ + source: "CompletableFuture>\ + \ response = fireblocks.travelRule().createTrustProofOfAddress(trustProofOfAddressRequest,\ \ idempotencyKey);" - lang: Python - source: "response = fireblocks.policy_editor_v2_beta.update_draft(update_draft_request,\ + source: "response = fireblocks.travel_rule.create_trust_proof_of_address(trust_proof_of_address_request,\ \ idempotency_key);" x-content-type: application/json x-accepts: - application/json - /management/users: + /screening/travel_rule/providers/trust/proof_of_address/{transactionId}: get: - description: Get console users for your tenant - operationId: getConsoleUsers + description: Retrieves the TRUST-compatible encoded signature for a proof of + address transaction. Send this signature directly to TRUST for verification. + operationId: getTrustProofOfAddress + parameters: + - description: Fireblocks transaction ID (UUID format) + example: 550e8400-e29b-41d4-a716-446655440000 + explode: false + in: path + name: transactionId + required: true + schema: + format: uuid + type: string + style: simple responses: "200": content: application/json: schema: - $ref: "#/components/schemas/GetConsoleUsersResponse" - description: got console users - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "401": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Unauthorized. Missing / invalid JWT token in Authorization - header. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Lacking permissions. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "5XX": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Internal error. + $ref: "#/components/schemas/TrustProofOfAddressResponse" + description: Encoded signature retrieved successfully headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Get console users + summary: Retrieve Trust Network Proof of Address Signature tags: - - Console User + - Travel Rule x-rate-limit-category: query x-readme: code-samples: - - language: javascript - code: const consoleUsers = await fireblocks.getConsoleUsers(); - name: Fireblocks SDK Javascript example + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.travelRule.getTrustProofOfAddress(travelRuleApiGetTrustProofOfAddressRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response + = fireblocks.travelRule().getTrustProofOfAddress(transactionId); + name: Fireblocks SDK Java example - language: python - code: consoleUsers = fireblocks.get_console_users() - name: Fireblocks SDK Python example (Legacy) + code: response = fireblocks.travel_rule.get_trust_proof_of_address(transaction_id); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.travelRule.getTrustProofOfAddress(travelRuleApiGetTrustProofOfAddressRequest);" + - lang: Java + source: CompletableFuture> response + = fireblocks.travelRule().getTrustProofOfAddress(transactionId); + - lang: Python + source: response = fireblocks.travel_rule.get_trust_proof_of_address(transaction_id); + x-accepts: + - application/json + /screening/aml/policy_configuration: + get: + description: Retrieves the configuration for Travel Rule screening policy. + operationId: getAmlScreeningConfiguration + parameters: [] + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/ScreeningConfigurationsRequest" + description: Screening policy configuration retrieved successfully. + summary: Get AML Screening Policy Configuration + tags: + - Compliance Screening Configuration + x-rate-limit-category: query + x-readme: + code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.consoleUser.getConsoleUsers();" + code: "const response: Promise>\ + \ = fireblocks.complianceScreeningConfiguration.getAmlScreeningConfiguration();" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = - fireblocks.consoleUser().getConsoleUsers(); + code: CompletableFuture> response + = fireblocks.complianceScreeningConfiguration().getAmlScreeningConfiguration(); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.console_user.get_console_users(); + code: response = fireblocks.compliance_screening_configuration.get_aml_screening_configuration(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.consoleUser.getConsoleUsers();" + source: "const response: Promise>\ + \ = fireblocks.complianceScreeningConfiguration.getAmlScreeningConfiguration();" - lang: Java - source: CompletableFuture> response = - fireblocks.consoleUser().getConsoleUsers(); + source: CompletableFuture> response + = fireblocks.complianceScreeningConfiguration().getAmlScreeningConfiguration(); - lang: Python - source: response = fireblocks.console_user.get_console_users(); + source: response = fireblocks.compliance_screening_configuration.get_aml_screening_configuration(); x-accepts: - application/json - post: - description: Creates console user in your tenant - operationId: createConsoleUser + put: + description: "Updates bypass screening, inbound delay, or outbound delay configurations\ + \ for AML." + operationId: updateAmlScreeningConfiguration parameters: - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -21326,168 +22471,125 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/CreateConsoleUser" responses: "200": - description: User creation approval request has been sent - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "400": - description: bad request - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "401": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Unauthorized. Missing / invalid JWT token in Authorization - header. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "403": content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" - description: Lacking permissions. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "5XX": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Internal error. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Create console user + $ref: "#/components/schemas/ScreeningConfigurationsRequest" + description: Configuration updated successfully. + summary: Update AML Configuration tags: - - Console User + - Compliance x-rate-limit-category: write x-readme: code-samples: - - language: javascript - code: "const res = await fireblocks.createConsoleUser(firstName, lastName,\ - \ email, role);" - name: Fireblocks SDK Javascript example - - language: python - code: "res = fireblocks.create_console_user(first_name, last_name, email,\ - \ role)" - name: Fireblocks SDK Python example (Legacy) - language: typescript - code: "const response: Promise> = fireblocks.consoleUser.createConsoleUser(consoleUserApiCreateConsoleUserRequest);" + code: "const response: Promise>\ + \ = fireblocks.compliance.updateAmlScreeningConfiguration(complianceApiUpdateAmlScreeningConfigurationRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.consoleUser().createConsoleUser(createConsoleUser,\ - \ idempotencyKey);" + code: CompletableFuture> response + = fireblocks.compliance().updateAmlScreeningConfiguration(idempotencyKey); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.console_user.create_console_user(create_console_user,\ - \ idempotency_key);" + code: response = fireblocks.compliance.update_aml_screening_configuration(idempotency_key); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.consoleUser.createConsoleUser(consoleUserApiCreateConsoleUserRequest);" + source: "const response: Promise>\ + \ = fireblocks.compliance.updateAmlScreeningConfiguration(complianceApiUpdateAmlScreeningConfigurationRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.consoleUser().createConsoleUser(createConsoleUser,\ - \ idempotencyKey);" + source: CompletableFuture> response + = fireblocks.compliance().updateAmlScreeningConfiguration(idempotencyKey); - lang: Python - source: "response = fireblocks.console_user.create_console_user(create_console_user,\ - \ idempotency_key);" - x-content-type: application/json + source: response = fireblocks.compliance.update_aml_screening_configuration(idempotency_key); x-accepts: - application/json - /management/api_users: + /screening/aml/screening_policy: get: - description: Get Api users of your tenant - operationId: getApiUsers + description: Get the screening policy for AML. + operationId: getAmlScreeningPolicy + parameters: [] responses: "200": content: application/json: schema: - $ref: "#/components/schemas/GetAPIUsersResponse" - description: got api users - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "401": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Unauthorized. Missing / invalid JWT token in Authorization - header. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Lacking permissions. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "5XX": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Internal error. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Get Api users + $ref: "#/components/schemas/ScreeningProviderRulesConfigurationResponse" + description: Screening policy retrieved successfully. + summary: AML - View Screening Policy tags: - - Api User + - Compliance x-rate-limit-category: query x-readme: code-samples: - - language: javascript - code: const apiUsers = await fireblocks.getApiUsers(); - name: Fireblocks SDK Javascript example - - language: python - code: apiUsers = fireblocks.get_api_users() - name: Fireblocks SDK Python example (Legacy) - language: typescript - code: "const response: Promise>\ - \ = fireblocks.apiUser.getApiUsers();" + code: "const response: Promise>\ + \ = fireblocks.compliance.getAmlScreeningPolicy();" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = fireblocks.apiUser().getApiUsers(); + code: CompletableFuture> + response = fireblocks.compliance().getAmlScreeningPolicy(); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.api_user.get_api_users(); + code: response = fireblocks.compliance.get_aml_screening_policy(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.apiUser.getApiUsers();" + source: "const response: Promise>\ + \ = fireblocks.compliance.getAmlScreeningPolicy();" - lang: Java - source: CompletableFuture> response = fireblocks.apiUser().getApiUsers(); + source: CompletableFuture> + response = fireblocks.compliance().getAmlScreeningPolicy(); - lang: Python - source: response = fireblocks.api_user.get_api_users(); + source: response = fireblocks.compliance.get_aml_screening_policy(); x-accepts: - application/json - post: - description: Creates Api user in your tenant - operationId: createApiUser + /screening/aml/post_screening_policy: + get: + description: Get the post-screening policy for AML. + operationId: getAmlPostScreeningPolicy + parameters: [] + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/ScreeningPolicyResponse" + description: Post-screening policy retrieved successfully. + summary: AML - View Post-Screening Policy + tags: + - Compliance + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.compliance.getAmlPostScreeningPolicy();" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response = + fireblocks.compliance().getAmlPostScreeningPolicy(); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.compliance.get_aml_post_screening_policy(); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.compliance.getAmlPostScreeningPolicy();" + - lang: Java + source: CompletableFuture> response = + fireblocks.compliance().getAmlPostScreeningPolicy(); + - lang: Python + source: response = fireblocks.compliance.get_aml_post_screening_policy(); + x-accepts: + - application/json + /screening/configurations: + put: + description: Update tenant screening configuration. + operationId: updateScreeningConfiguration parameters: - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -21504,95 +22606,59 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateAPIUser" + $ref: "#/components/schemas/ScreeningUpdateConfigurations" + required: true responses: "200": - description: User creation approval request has been sent - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "400": - description: bad request - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "401": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Unauthorized. Missing / invalid JWT token in Authorization - header. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Lacking permissions. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "5XX": content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" - description: Internal error. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Create Api user + $ref: "#/components/schemas/ScreeningUpdateConfigurations" + description: Tenant Screening configuration updated successfully. + summary: Tenant - Screening Configuration tags: - - Api User + - Compliance x-rate-limit-category: write x-readme: code-samples: - - language: javascript - code: "const res = await fireblocks.createApiUser(name, role, csrForNewUser,\ - \ coSignerType, isFirstUser);" - name: Fireblocks SDK Javascript example - - language: python - code: "res = fireblocks.create_api_user(name, role, csr_pem, co_signer_setup,\ - \ co_signer_setup_is_first_user)" - name: Fireblocks SDK Python example (Legacy) - language: typescript - code: "const response: Promise> = fireblocks.apiUser.createApiUser(apiUserApiCreateApiUserRequest);" + code: "const response: Promise>\ + \ = fireblocks.compliance.updateScreeningConfiguration(complianceApiUpdateScreeningConfigurationRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.apiUser().createApiUser(createAPIUser,\ + code: "CompletableFuture> response\ + \ = fireblocks.compliance().updateScreeningConfiguration(screeningUpdateConfigurations,\ \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.api_user.create_api_user(create_a_p_i_user,\ + code: "response = fireblocks.compliance.update_screening_configuration(screening_update_configurations,\ \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.apiUser.createApiUser(apiUserApiCreateApiUserRequest);" + source: "const response: Promise>\ + \ = fireblocks.compliance.updateScreeningConfiguration(complianceApiUpdateScreeningConfigurationRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.apiUser().createApiUser(createAPIUser,\ + source: "CompletableFuture> response\ + \ = fireblocks.compliance().updateScreeningConfiguration(screeningUpdateConfigurations,\ \ idempotencyKey);" - lang: Python - source: "response = fireblocks.api_user.create_api_user(create_a_p_i_user,\ + source: "response = fireblocks.compliance.update_screening_configuration(screening_update_configurations,\ \ idempotency_key);" x-content-type: application/json x-accepts: - application/json - /management/users/{id}/reset_device: + /screening/transaction/{txId}/bypass_screening_policy: post: - description: "Resets mobile device for given console user, that user will need\ - \ to do mobile onboarding again." - operationId: resetDevice + description: This endpoint is restricted to Admin API users and is only applicable + to outgoing transactions. + operationId: retryRejectedTransactionBypassScreeningChecks parameters: - - description: The ID of the console user + - description: The transaction id that was rejected by screening checks + example: 550e8400-e29b-41d4-a716-446655440000 explode: false in: path - name: id + name: txId required: true schema: type: string @@ -21609,82 +22675,61 @@ paths: type: string style: simple responses: - "200": - description: Reset device approval request has been sent - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "401": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Unauthorized. Missing / invalid JWT token in Authorization - header. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Lacking permissions. - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - "5XX": + "201": content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" - description: Internal error. + $ref: "#/components/schemas/CreateTransactionResponse" + description: A transaction object headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Resets device + summary: "Calling the \"Bypass Screening Policy\" API endpoint triggers a new\ + \ transaction, with the API user as the initiator, bypassing the screening\ + \ policy check" tags: - - Reset device + - Compliance x-rate-limit-category: write x-readme: code-samples: - - language: javascript - code: const res = await fireblocks.resetDeviceRequest(consoleUserId); - name: Fireblocks SDK Javascript example - - language: python - code: res = fireblocks.reset_device_request(console_user_id) - name: Fireblocks SDK Python example (Legacy) - language: typescript - code: "const response: Promise> = fireblocks.resetDevice.resetDevice(resetDeviceApiResetDeviceRequest);" + code: "const response: Promise>\ + \ = fireblocks.compliance.retryRejectedTransactionBypassScreeningChecks(complianceApiRetryRejectedTransactionBypassScreeningChecksRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.resetDevice().resetDevice(id,\ + code: "CompletableFuture> response\ + \ = fireblocks.compliance().retryRejectedTransactionBypassScreeningChecks(txId,\ \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.reset_device.reset_device(id, idempotency_key);" + code: "response = fireblocks.compliance.retry_rejected_transaction_bypass_screening_checks(tx_id,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.resetDevice.resetDevice(resetDeviceApiResetDeviceRequest);" + source: "const response: Promise>\ + \ = fireblocks.compliance.retryRejectedTransactionBypassScreeningChecks(complianceApiRetryRejectedTransactionBypassScreeningChecksRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.resetDevice().resetDevice(id,\ + source: "CompletableFuture> response\ + \ = fireblocks.compliance().retryRejectedTransactionBypassScreeningChecks(txId,\ \ idempotencyKey);" - lang: Python - source: "response = fireblocks.reset_device.reset_device(id, idempotency_key);" + source: "response = fireblocks.compliance.retry_rejected_transaction_bypass_screening_checks(tx_id,\ + \ idempotency_key);" x-accepts: - application/json - /management/api_users/{userId}/whitelist_ip_addresses: + /screening/transaction/{txId}: get: - description: Gets whitelisted ip addresses for given Api user. - operationId: getWhitelistIpAddresses + description: Provides all the compliance details for the given screened transaction. + operationId: getScreeningFullDetails parameters: - - description: The ID of the api user + - description: Fireblocks transaction ID of the screened transaction + example: 550e8400-e29b-41d4-a716-446655440000 explode: false in: path - name: userId + name: txId required: true schema: type: string @@ -21694,264 +22739,221 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetWhitelistIpAddressesResponse" - description: successfully got whitelisted ip addresses + $ref: "#/components/schemas/ComplianceResultFullPayload" + description: A compliance object headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "401": + default: + $ref: "#/components/responses/Error" + summary: Provides all the compliance details for the given screened transaction. + tags: + - Compliance + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.compliance.getScreeningFullDetails(complianceApiGetScreeningFullDetailsRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response + = fireblocks.compliance().getScreeningFullDetails(txId); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.compliance.get_screening_full_details(tx_id); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.compliance.getScreeningFullDetails(complianceApiGetScreeningFullDetailsRequest);" + - lang: Java + source: CompletableFuture> response + = fireblocks.compliance().getScreeningFullDetails(txId); + - lang: Python + source: response = fireblocks.compliance.get_screening_full_details(tx_id); + x-accepts: + - application/json + /screening/aml/verdict/manual: + post: + description: Set AML verdict for incoming transactions when Manual Screening + Verdict feature is enabled. + operationId: setAmlVerdict + parameters: + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AmlVerdictManualRequest" + required: true + responses: + "200": content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" - description: Unauthorized. Missing / invalid JWT token in Authorization - header. + $ref: "#/components/schemas/AmlVerdictManualResponse" + description: AML verdict set successfully. + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Feature not enabled for tenant. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "403": + "425": content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" - description: Lacking permissions. + $ref: "#/components/schemas/ErrorSchema" + description: Too Early - transaction not yet in pending screening. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - "5XX": + "500": content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" - description: Internal error. + $ref: "#/components/schemas/ErrorSchema" + description: Internal server error. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Gets whitelisted ip addresses + summary: Set AML Verdict for Manual Screening Verdict. tags: - - whitelist ip addresses - x-rate-limit-category: read + - Compliance + x-rate-limit-category: write x-readme: code-samples: - - language: javascript - code: const whitelistedAddresses = await fireblocks.getWhitelistedAddresses(apiUserId); - name: Fireblocks SDK Javascript example - - language: python - code: whitelisted_addresses = fireblocks.get_whitelisted_ip_addresses(api_user_id) - name: Fireblocks SDK Python example (Legacy) - language: typescript - code: "const response: Promise>\ - \ = fireblocks.whitelistIpAddresses.getWhitelistIpAddresses(whitelistIpAddressesApiGetWhitelistIpAddressesRequest);" + code: "const response: Promise>\ + \ = fireblocks.compliance.setAmlVerdict(complianceApiSetAmlVerdictRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.whitelistIpAddresses().getWhitelistIpAddresses(userId); + code: "CompletableFuture> response\ + \ = fireblocks.compliance().setAmlVerdict(amlVerdictManualRequest, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.whitelist_ip_addresses.get_whitelist_ip_addresses(user_id); + code: "response = fireblocks.compliance.set_aml_verdict(aml_verdict_manual_request,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.whitelistIpAddresses.getWhitelistIpAddresses(whitelistIpAddressesApiGetWhitelistIpAddressesRequest);" + source: "const response: Promise>\ + \ = fireblocks.compliance.setAmlVerdict(complianceApiSetAmlVerdictRequest);" - lang: Java - source: CompletableFuture> response - = fireblocks.whitelistIpAddresses().getWhitelistIpAddresses(userId); + source: "CompletableFuture> response\ + \ = fireblocks.compliance().setAmlVerdict(amlVerdictManualRequest, idempotencyKey);" - lang: Python - source: response = fireblocks.whitelist_ip_addresses.get_whitelist_ip_addresses(user_id); + source: "response = fireblocks.compliance.set_aml_verdict(aml_verdict_manual_request,\ + \ idempotency_key);" + x-content-type: application/json x-accepts: - application/json - /smart-transfers: + /screening/trlink/partners: get: - description: Finds Smart Transfer tickets that match the submitted criteria - operationId: searchTickets - parameters: - - description: Search string - counterparty name or asset or ticketId. Optional - explode: true - in: query - name: q - required: false - schema: - minLength: 1 - type: string - style: form - - description: Ticket statuses for Smart Transfer tickets. Optional - example: - - DRAFT - - OPEN - explode: true - in: query - name: statuses - required: false - schema: - default: [] - items: - enum: - - DRAFT - - PENDING_APPROVAL - - OPEN - - IN_SETTLEMENT - - FULFILLED - - EXPIRED - - CANCELED - type: string - type: array - style: form - - description: "NetworkId that is used in the ticket\t. Optional" - explode: true - in: query - name: networkId - required: false - schema: - type: string - style: form - - description: Filter created tickets by created by self or by others. Optional - explode: true - in: query - name: createdByMe - required: false - schema: - type: boolean - style: form - - description: Lower bound of search range. Optional - explode: true - in: query - name: expiresAfter - required: false - schema: - format: date-time - type: string - style: form - - description: Upper bound of search range. Optional - explode: true - in: query - name: expiresBefore - required: false - schema: - format: date-time - type: string - style: form - - description: "Type of transfer. ASYNC executes transfers as they are funded,\ - \ DVP executes all terms (legs) as one dvp transfer" - explode: true - in: query - name: type - required: false - schema: - enum: - - ASYNC - - DVP - type: string - style: form - - description: External ref. ID that workspace can use to identify ticket outside - of Fireblocks system. - explode: true - in: query - name: externalRefId - required: false - schema: - maxLength: 64 - minLength: 1 - type: string - style: form - - description: ID of the record after which to fetch $limit records - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: "Number of records to fetch. By default, it is 100" - explode: true - in: query - name: limit - required: false - schema: - minimum: 1 - type: number - style: form - - description: Sort by field - explode: true - in: query - name: sortBy - required: false - schema: - default: createdAt - enum: - - createdAt - - updatedAt - - submittedAt - example: createdAt - type: string - style: form - - description: ASC / DESC ordering (default DESC) - explode: true - in: query - name: order - required: false - schema: - default: DESC - enum: - - ASC - - DESC - example: DESC - type: string - style: form + description: "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." + operationId: getTRLinkPartners responses: "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferTicketFilteredResponse" - description: Smart Transfer tickets were returned successfully - "403": + $ref: "#/components/schemas/TRLinkPartnersListResponse" + description: List of partners retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: List available TRLink partners + tags: + - TRLink + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkPartners();" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture>> response + = fireblocks.tRLink().getTRLinkPartners(); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.t_r_link.get_t_r_link_partners(); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkPartners();" + - lang: Java + source: CompletableFuture>> response + = fireblocks.tRLink().getTRLinkPartners(); + - lang: Python + source: response = fireblocks.t_r_link.get_t_r_link_partners(); + x-accepts: + - application/json + /screening/trlink/customers: + get: + description: Retrieves all customers associated with the authenticated tenant. + Returns a list of legal entities configured for Travel Rule compliance. + operationId: getTRLinkCustomers + responses: + "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - summary: Find Ticket + $ref: "#/components/schemas/TRLinkCustomersListResponse" + description: Customers retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: Get all customers tags: - - Smart Transfer + - TRLink x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.searchTickets(smartTransferApiSearchTicketsRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkCustomers();" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture>\ - \ response = fireblocks.smartTransfer().searchTickets(q, statuses, networkId,\ - \ createdByMe, expiresAfter, expiresBefore, type, externalRefId, after,\ - \ limit, sortBy, order);" + code: CompletableFuture>> response + = fireblocks.tRLink().getTRLinkCustomers(); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.search_tickets(q, statuses,\ - \ network_id, created_by_me, expires_after, expires_before, type, external_ref_id,\ - \ after, limit, sort_by, order);" + code: response = fireblocks.t_r_link.get_t_r_link_customers(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.searchTickets(smartTransferApiSearchTicketsRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkCustomers();" - lang: Java - source: "CompletableFuture>\ - \ response = fireblocks.smartTransfer().searchTickets(q, statuses, networkId,\ - \ createdByMe, expiresAfter, expiresBefore, type, externalRefId, after,\ - \ limit, sortBy, order);" + source: CompletableFuture>> response + = fireblocks.tRLink().getTRLinkCustomers(); - lang: Python - source: "response = fireblocks.smart_transfer.search_tickets(q, statuses,\ - \ network_id, created_by_me, expires_after, expires_before, type, external_ref_id,\ - \ after, limit, sort_by, order);" + source: response = fireblocks.t_r_link.get_t_r_link_customers(); x-accepts: - application/json post: - description: Creates new Smart Transfer ticket - operationId: createTicket + description: 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. + operationId: createTRLinkCustomer parameters: - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -21968,215 +22970,160 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SmartTransferCreateTicket" + $ref: "#/components/schemas/TRLinkCreateCustomerRequest" required: true responses: "201": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferTicketResponse" - description: Smart Transfer ticket was created successfully - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "422": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Create Ticket + $ref: "#/components/schemas/TRLinkCustomerResponse" + description: Customer created successfully + default: + $ref: "#/components/responses/Error" + summary: Create customer tags: - - Smart Transfer - x-rate-limit-category: async + - TRLink + x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.createTicket(smartTransferApiCreateTicketRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.createTRLinkCustomer(tRLinkApiCreateTRLinkCustomerRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().createTicket(smartTransferCreateTicket,\ + code: "CompletableFuture> response =\ + \ fireblocks.tRLink().createTRLinkCustomer(tRLinkCreateCustomerRequest,\ \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.create_ticket(smart_transfer_create_ticket,\ + code: "response = fireblocks.t_r_link.create_t_r_link_customer(t_r_link_create_customer_request,\ \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.createTicket(smartTransferApiCreateTicketRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.createTRLinkCustomer(tRLinkApiCreateTRLinkCustomerRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().createTicket(smartTransferCreateTicket, idempotencyKey);" + source: "CompletableFuture> response =\ + \ fireblocks.tRLink().createTRLinkCustomer(tRLinkCreateCustomerRequest,\ + \ idempotencyKey);" - lang: Python - source: "response = fireblocks.smart_transfer.create_ticket(smart_transfer_create_ticket,\ + source: "response = fireblocks.t_r_link.create_t_r_link_customer(t_r_link_create_customer_request,\ \ idempotency_key);" x-content-type: application/json x-accepts: - application/json - /smart-transfers/{ticketId}: - get: - description: Find Smart Transfer ticket by id - operationId: findTicketById + /screening/trlink/customers/{customerId}: + delete: + description: Deletes a customer and all associated integrations. This action + cannot be undone. + operationId: deleteTRLinkCustomer parameters: - - explode: false + - description: Customer unique identifier + example: 550e8400-e29b-41d4-a716-446655440001 + explode: false in: path - name: ticketId + name: customerId required: true schema: + format: uuid type: string style: simple responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferTicketResponse" - description: Smart Transfer ticket returned successfully - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - summary: Search Tickets by ID + "204": + description: Customer deleted successfully + default: + $ref: "#/components/responses/Error" + summary: Delete customer tags: - - Smart Transfer - x-rate-limit-category: query + - TRLink + x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.findTicketById(smartTransferApiFindTicketByIdRequest);" + code: "const response: Promise> = fireblocks.tRLink.deleteTRLinkCustomer(tRLinkApiDeleteTRLinkCustomerRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.smartTransfer().findTicketById(ticketId); + code: CompletableFuture> response = fireblocks.tRLink().deleteTRLinkCustomer(customerId); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.smart_transfer.find_ticket_by_id(ticket_id); + code: response = fireblocks.t_r_link.delete_t_r_link_customer(customer_id); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.findTicketById(smartTransferApiFindTicketByIdRequest);" + source: "const response: Promise> = fireblocks.tRLink.deleteTRLinkCustomer(tRLinkApiDeleteTRLinkCustomerRequest);" - lang: Java - source: CompletableFuture> response - = fireblocks.smartTransfer().findTicketById(ticketId); + source: CompletableFuture> response = fireblocks.tRLink().deleteTRLinkCustomer(customerId); - lang: Python - source: response = fireblocks.smart_transfer.find_ticket_by_id(ticket_id); + source: response = fireblocks.t_r_link.delete_t_r_link_customer(customer_id); x-accepts: - application/json - /smart-transfers/{ticketId}/expires-in: - put: - description: Set expiration date on Smart Transfer ticket - operationId: setTicketExpiration + get: + description: Retrieves detailed information about a specific customer by their + unique identifier. + operationId: getTRLinkCustomerById parameters: - - explode: false + - description: Customer unique identifier + example: 550e8400-e29b-41d4-a716-446655440001 + explode: false in: path - name: ticketId + name: customerId required: true schema: + format: uuid type: string style: simple - - 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." - explode: false - in: header - name: Idempotency-Key - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferSetTicketExpiration" - required: true responses: "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferTicketResponse" - description: Successfully set expiration date on Smart Transfer ticket - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - "422": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Set expiration + $ref: "#/components/schemas/TRLinkCustomerResponse" + description: Customer retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: Get customer by ID tags: - - Smart Transfer - x-rate-limit-category: write + - TRLink + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.setTicketExpiration(smartTransferApiSetTicketExpirationRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkCustomerById(tRLinkApiGetTRLinkCustomerByIdRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().setTicketExpiration(smartTransferSetTicketExpiration,\ - \ ticketId, idempotencyKey);" + code: CompletableFuture> response = + fireblocks.tRLink().getTRLinkCustomerById(customerId); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.set_ticket_expiration(smart_transfer_set_ticket_expiration,\ - \ ticket_id, idempotency_key);" + code: response = fireblocks.t_r_link.get_t_r_link_customer_by_id(customer_id); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.setTicketExpiration(smartTransferApiSetTicketExpirationRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkCustomerById(tRLinkApiGetTRLinkCustomerByIdRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().setTicketExpiration(smartTransferSetTicketExpiration,\ - \ ticketId, idempotencyKey);" + source: CompletableFuture> response = + fireblocks.tRLink().getTRLinkCustomerById(customerId); - lang: Python - source: "response = fireblocks.smart_transfer.set_ticket_expiration(smart_transfer_set_ticket_expiration,\ - \ ticket_id, idempotency_key);" - x-content-type: application/json + source: response = fireblocks.t_r_link.get_t_r_link_customer_by_id(customer_id); x-accepts: - application/json - /smart-transfers/{ticketId}/external-id: put: - description: Set external id Smart Transfer ticket - operationId: setExternalRefId + description: Updates an existing customer's information. All fields are optional + - only provided fields will be updated. + operationId: updateTRLinkCustomer parameters: - - explode: false + - description: Customer unique identifier + example: 550e8400-e29b-41d4-a716-446655440001 + explode: false in: path - name: ticketId + name: customerId required: true schema: + format: uuid type: string style: simple - description: "A unique identifier for the request. If the request is sent\ @@ -22194,176 +23141,126 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SmartTransferSetTicketExternalId" + $ref: "#/components/schemas/TRLinkUpdateCustomerRequest" required: true responses: "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferTicketResponse" - description: Successfully set external id on Smart Transfer ticket - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - "422": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Add external ref. ID + $ref: "#/components/schemas/TRLinkCustomerResponse" + description: Customer updated successfully + default: + $ref: "#/components/responses/Error" + summary: Update customer tags: - - Smart Transfer + - TRLink x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.setExternalRefId(smartTransferApiSetExternalRefIdRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.updateTRLinkCustomer(tRLinkApiUpdateTRLinkCustomerRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().setExternalRefId(smartTransferSetTicketExternalId,\ - \ ticketId, idempotencyKey);" + code: "CompletableFuture> response =\ + \ fireblocks.tRLink().updateTRLinkCustomer(tRLinkUpdateCustomerRequest,\ + \ customerId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.set_external_ref_id(smart_transfer_set_ticket_external_id,\ - \ ticket_id, idempotency_key);" + code: "response = fireblocks.t_r_link.update_t_r_link_customer(t_r_link_update_customer_request,\ + \ customer_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.setExternalRefId(smartTransferApiSetExternalRefIdRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.updateTRLinkCustomer(tRLinkApiUpdateTRLinkCustomerRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().setExternalRefId(smartTransferSetTicketExternalId,\ - \ ticketId, idempotencyKey);" + source: "CompletableFuture> response =\ + \ fireblocks.tRLink().updateTRLinkCustomer(tRLinkUpdateCustomerRequest,\ + \ customerId, idempotencyKey);" - lang: Python - source: "response = fireblocks.smart_transfer.set_external_ref_id(smart_transfer_set_ticket_external_id,\ - \ ticket_id, idempotency_key);" + source: "response = fireblocks.t_r_link.update_t_r_link_customer(t_r_link_update_customer_request,\ + \ customer_id, idempotency_key);" x-content-type: application/json x-accepts: - application/json - /smart-transfers/{ticketId}/submit: - put: - description: "Submit Smart Transfer ticket - change status into ready for approval\ - \ if auto approval is not turned on, or OPEN if auto approval is on" - operationId: submitTicket + /screening/trlink/customers/{customerId}/integrations: + get: + description: Retrieves all TRLink integrations for a specific customer. Returns + a list of partner integrations configured for Travel Rule compliance. + operationId: getTRLinkCustomerIntegrations parameters: - - explode: false + - description: Customer unique identifier + example: 550e8400-e29b-41d4-a716-446655440001 + explode: false in: path - name: ticketId + name: customerId required: true schema: + format: uuid type: string style: simple - - 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." - explode: false - in: header - name: Idempotency-Key - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferSubmitTicket" - required: true responses: "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferTicketResponse" - description: Successfully submitted Smart Transfer ticket - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - "422": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Submit ticket + $ref: "#/components/schemas/TRLinkCustomerIntegrationsListResponse" + description: Customer integrations retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: Get customer integrations tags: - - Smart Transfer - x-rate-limit-category: write + - TRLink + x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.submitTicket(smartTransferApiSubmitTicketRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkCustomerIntegrations(tRLinkApiGetTRLinkCustomerIntegrationsRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().submitTicket(smartTransferSubmitTicket,\ - \ ticketId, idempotencyKey);" + code: CompletableFuture>> + response = fireblocks.tRLink().getTRLinkCustomerIntegrations(customerId); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.submit_ticket(smart_transfer_submit_ticket,\ - \ ticket_id, idempotency_key);" + code: response = fireblocks.t_r_link.get_t_r_link_customer_integrations(customer_id); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.submitTicket(smartTransferApiSubmitTicketRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkCustomerIntegrations(tRLinkApiGetTRLinkCustomerIntegrationsRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().submitTicket(smartTransferSubmitTicket, ticketId,\ - \ idempotencyKey);" + source: CompletableFuture>> + response = fireblocks.tRLink().getTRLinkCustomerIntegrations(customerId); - lang: Python - source: "response = fireblocks.smart_transfer.submit_ticket(smart_transfer_submit_ticket,\ - \ ticket_id, idempotency_key);" - x-content-type: application/json + source: response = fireblocks.t_r_link.get_t_r_link_customer_integrations(customer_id); x-accepts: - application/json - /smart-transfers/{ticketId}/fulfill: - put: - description: "Manually fulfill ticket, in case when all terms (legs) are funded\ - \ manually" - operationId: fulfillTicket + /screening/trlink/customers/{customerId}/integrations/{customerIntegrationId}: + get: + description: Retrieves detailed information about a specific customer integration. + operationId: getTRLinkCustomerIntegrationById parameters: - - explode: false + - description: Customer unique identifier + example: 550e8400-e29b-41d4-a716-446655440001 + explode: false in: path - name: ticketId + name: customerId required: true schema: + format: uuid type: string style: simple - - 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." + - description: Customer integration unique identifier + example: 123e4567-e89b-12d3-a456-426614174000 explode: false - in: header - name: Idempotency-Key - required: false + in: path + name: customerIntegrationId + required: true schema: + format: uuid type: string style: simple responses: @@ -22371,66 +23268,49 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SmartTransferTicketResponse" - description: Successfully fulfilled on Smart Transfer ticket - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - "422": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Fund ticket manually + $ref: "#/components/schemas/TRLinkCustomerIntegrationResponse" + description: Customer integration retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: Get customer integration by ID tags: - - Smart Transfer - x-rate-limit-category: write + - TRLink + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.fulfillTicket(smartTransferApiFulfillTicketRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkCustomerIntegrationById(tRLinkApiGetTRLinkCustomerIntegrationByIdRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().fulfillTicket(ticketId, idempotencyKey);" + code: "CompletableFuture>\ + \ response = fireblocks.tRLink().getTRLinkCustomerIntegrationById(customerId,\ + \ customerIntegrationId);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.fulfill_ticket(ticket_id, idempotency_key);" + code: "response = fireblocks.t_r_link.get_t_r_link_customer_integration_by_id(customer_id,\ + \ customer_integration_id);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.fulfillTicket(smartTransferApiFulfillTicketRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkCustomerIntegrationById(tRLinkApiGetTRLinkCustomerIntegrationByIdRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().fulfillTicket(ticketId, idempotencyKey);" + source: "CompletableFuture>\ + \ response = fireblocks.tRLink().getTRLinkCustomerIntegrationById(customerId,\ + \ customerIntegrationId);" - lang: Python - source: "response = fireblocks.smart_transfer.fulfill_ticket(ticket_id, idempotency_key);" + source: "response = fireblocks.t_r_link.get_t_r_link_customer_integration_by_id(customer_id,\ + \ customer_integration_id);" x-accepts: - application/json - /smart_transfers/{ticketId}/dvp/fund: - put: - description: Create or fulfill dvp ticket order - operationId: fundDvpTicket + /screening/trlink/customers/integration: + post: + description: 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. + operationId: createTRLinkIntegration parameters: - - explode: false - in: path - name: ticketId - required: true - schema: - type: string - style: simple - 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\ @@ -22446,154 +23326,108 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SmartTransferFundDvpTicket" + $ref: "#/components/schemas/TRLinkCreateIntegrationRequest" required: true responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferTicketResponse" - description: Successfully started creating or fulfilling order on dvp Smart - Transfer ticket - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - "422": + "201": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Fund dvp ticket + $ref: "#/components/schemas/TRLinkCustomerIntegrationResponse" + description: Customer integration created successfully + default: + $ref: "#/components/responses/Error" + summary: Create customer integration tags: - - Smart Transfer + - TRLink x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.fundDvpTicket(smartTransferApiFundDvpTicketRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.createTRLinkIntegration(tRLinkApiCreateTRLinkIntegrationRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().fundDvpTicket(smartTransferFundDvpTicket,\ - \ ticketId, idempotencyKey);" + code: "CompletableFuture>\ + \ response = fireblocks.tRLink().createTRLinkIntegration(tRLinkCreateIntegrationRequest,\ + \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.fund_dvp_ticket(smart_transfer_fund_dvp_ticket,\ - \ ticket_id, idempotency_key);" + code: "response = fireblocks.t_r_link.create_t_r_link_integration(t_r_link_create_integration_request,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.fundDvpTicket(smartTransferApiFundDvpTicketRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.createTRLinkIntegration(tRLinkApiCreateTRLinkIntegrationRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().fundDvpTicket(smartTransferFundDvpTicket,\ - \ ticketId, idempotencyKey);" + source: "CompletableFuture>\ + \ response = fireblocks.tRLink().createTRLinkIntegration(tRLinkCreateIntegrationRequest,\ + \ idempotencyKey);" - lang: Python - source: "response = fireblocks.smart_transfer.fund_dvp_ticket(smart_transfer_fund_dvp_ticket,\ - \ ticket_id, idempotency_key);" + source: "response = fireblocks.t_r_link.create_t_r_link_integration(t_r_link_create_integration_request,\ + \ idempotency_key);" x-content-type: application/json x-accepts: - application/json - /smart-transfers/{ticketId}/cancel: - put: - description: Cancel Smart Transfer ticket - operationId: cancelTicket + /screening/trlink/customers/integration/{customerIntegrationId}: + delete: + description: Disconnects a customer integration by removing stored credentials. + The integration record is deleted and cannot be recovered. + operationId: disconnectTRLinkIntegration parameters: - - explode: false + - description: Customer integration unique identifier + example: 123e4567-e89b-12d3-a456-426614174000 + explode: false in: path - name: ticketId + name: customerIntegrationId required: true schema: - type: string - style: simple - - 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." - explode: false - in: header - name: Idempotency-Key - required: false - schema: + format: uuid type: string style: simple responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferTicketResponse" - description: Smart Transfer ticket successfully canceled - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - "422": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Cancel Ticket + "204": + description: Customer integration disconnected successfully + default: + $ref: "#/components/responses/Error" + summary: Disconnect customer integration tags: - - Smart Transfer + - TRLink x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.cancelTicket(smartTransferApiCancelTicketRequest);" + code: "const response: Promise> = fireblocks.tRLink.disconnectTRLinkIntegration(tRLinkApiDisconnectTRLinkIntegrationRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().cancelTicket(ticketId, idempotencyKey);" + code: CompletableFuture> response = fireblocks.tRLink().disconnectTRLinkIntegration(customerIntegrationId); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.cancel_ticket(ticket_id, idempotency_key);" + code: response = fireblocks.t_r_link.disconnect_t_r_link_integration(customer_integration_id); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.cancelTicket(smartTransferApiCancelTicketRequest);" + source: "const response: Promise> = fireblocks.tRLink.disconnectTRLinkIntegration(tRLinkApiDisconnectTRLinkIntegrationRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().cancelTicket(ticketId, idempotencyKey);" + source: CompletableFuture> response = fireblocks.tRLink().disconnectTRLinkIntegration(customerIntegrationId); - lang: Python - source: "response = fireblocks.smart_transfer.cancel_ticket(ticket_id, idempotency_key);" + source: response = fireblocks.t_r_link.disconnect_t_r_link_integration(customer_integration_id); x-accepts: - application/json - /smart-transfers/{ticketId}/terms: - post: - description: Creates new smart transfer ticket term (when the ticket status - is DRAFT) - operationId: createTicketTerm + put: + description: Connects a customer integration by providing API credentials. Stores + encrypted credentials and enables the integration for use. + operationId: connectTRLinkIntegration parameters: - - explode: false + - description: Customer integration unique identifier + example: 123e4567-e89b-12d3-a456-426614174000 + explode: false in: path - name: ticketId + name: customerIntegrationId required: true schema: + format: uuid type: string style: simple - description: "A unique identifier for the request. If the request is sent\ @@ -22611,137 +23445,129 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SmartTransferCreateTicketTerm" + $ref: "#/components/schemas/TRLinkConnectIntegrationRequest" required: true responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferTicketTermResponse" - description: Smart Transfer ticket term was created successfully - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "422": + "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Create leg (term) + $ref: "#/components/schemas/TRLinkCustomerIntegrationResponse" + description: Customer integration connected successfully + default: + $ref: "#/components/responses/Error" + summary: Connect customer integration tags: - - Smart Transfer + - TRLink x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.createTicketTerm(smartTransferApiCreateTicketTermRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.connectTRLinkIntegration(tRLinkApiConnectTRLinkIntegrationRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().createTicketTerm(smartTransferCreateTicketTerm,\ - \ ticketId, idempotencyKey);" + code: "CompletableFuture>\ + \ response = fireblocks.tRLink().connectTRLinkIntegration(tRLinkConnectIntegrationRequest,\ + \ customerIntegrationId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.create_ticket_term(smart_transfer_create_ticket_term,\ - \ ticket_id, idempotency_key);" + code: "response = fireblocks.t_r_link.connect_t_r_link_integration(t_r_link_connect_integration_request,\ + \ customer_integration_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.createTicketTerm(smartTransferApiCreateTicketTermRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.connectTRLinkIntegration(tRLinkApiConnectTRLinkIntegrationRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().createTicketTerm(smartTransferCreateTicketTerm,\ - \ ticketId, idempotencyKey);" + source: "CompletableFuture>\ + \ response = fireblocks.tRLink().connectTRLinkIntegration(tRLinkConnectIntegrationRequest,\ + \ customerIntegrationId, idempotencyKey);" - lang: Python - source: "response = fireblocks.smart_transfer.create_ticket_term(smart_transfer_create_ticket_term,\ - \ ticket_id, idempotency_key);" + source: "response = fireblocks.t_r_link.connect_t_r_link_integration(t_r_link_connect_integration_request,\ + \ customer_integration_id, idempotency_key);" x-content-type: application/json x-accepts: - application/json - /smart-transfers/{ticketId}/terms/{termId}: - delete: - description: Delete ticket term when ticket is in DRAFT status - operationId: removeTicketTerm + /screening/trlink/customers/integration/{customerIntegrationId}/public_key: + get: + description: 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. + operationId: getTRLinkIntegrationPublicKey parameters: - - explode: false - in: path - name: ticketId - required: true - schema: - type: string - style: simple - - explode: false + - description: Customer integration unique identifier + example: 123e4567-e89b-12d3-a456-426614174000 + explode: false in: path - name: termId + name: customerIntegrationId required: true schema: + format: uuid type: string style: simple responses: - "204": - description: Smart Transfer ticket term successfully removed - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": + "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - summary: Delete ticket leg (term) + $ref: "#/components/schemas/TRLinkPublicKeyResponse" + description: Public key retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: Get public key for PII encryption tags: - - Smart Transfer - x-rate-limit-category: write + - TRLink + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.smartTransfer.removeTicketTerm(smartTransferApiRemoveTicketTermRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkIntegrationPublicKey(tRLinkApiGetTRLinkIntegrationPublicKeyRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.smartTransfer().removeTicketTerm(ticketId,\ - \ termId);" + code: CompletableFuture> response = + fireblocks.tRLink().getTRLinkIntegrationPublicKey(customerIntegrationId); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.remove_ticket_term(ticket_id,\ - \ term_id);" + code: response = fireblocks.t_r_link.get_t_r_link_integration_public_key(customer_integration_id); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.smartTransfer.removeTicketTerm(smartTransferApiRemoveTicketTermRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkIntegrationPublicKey(tRLinkApiGetTRLinkIntegrationPublicKeyRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.smartTransfer().removeTicketTerm(ticketId,\ - \ termId);" + source: CompletableFuture> response = + fireblocks.tRLink().getTRLinkIntegrationPublicKey(customerIntegrationId); - lang: Python - source: "response = fireblocks.smart_transfer.remove_ticket_term(ticket_id,\ - \ term_id);" + source: response = fireblocks.t_r_link.get_t_r_link_integration_public_key(customer_integration_id); x-accepts: - application/json - get: - description: Find Smart Transfer ticket term by id - operationId: findTicketTermById + /screening/trlink/customers/integration/{customerIntegrationId}/test_connection: + post: + description: 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. + operationId: testTRLinkIntegrationConnection parameters: - - explode: false + - description: Customer integration unique identifier + example: 123e4567-e89b-12d3-a456-426614174000 + explode: false in: path - name: ticketId + name: customerIntegrationId required: true schema: + format: uuid type: string style: simple - - explode: false - in: path - name: termId - required: true + - 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." + explode: false + in: header + name: Idempotency-Key + required: false schema: type: string style: simple @@ -22750,66 +23576,331 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SmartTransferTicketTermResponse" - description: Smart Transfer ticket term returned successfully - "403": + $ref: "#/components/schemas/TRLinkTestConnectionResponse" + description: Connection test completed (success or failure details in response + body) + default: + $ref: "#/components/responses/Error" + summary: Test connection + tags: + - TRLink + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.tRLink.testTRLinkIntegrationConnection(tRLinkApiTestTRLinkIntegrationConnectionRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.tRLink().testTRLinkIntegrationConnection(customerIntegrationId,\ + \ idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.t_r_link.test_t_r_link_integration_connection(customer_integration_id,\ + \ idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.tRLink.testTRLinkIntegrationConnection(tRLinkApiTestTRLinkIntegrationConnectionRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.tRLink().testTRLinkIntegrationConnection(customerIntegrationId,\ + \ idempotencyKey);" + - lang: Python + source: "response = fireblocks.t_r_link.test_t_r_link_integration_connection(customer_integration_id,\ + \ idempotency_key);" + x-accepts: + - application/json + /screening/trlink/customers/integration/{customerIntegrationId}/vasps: + get: + description: Retrieves a paginated list of VASPs (Virtual Asset Service Providers) + available through the partner integration. Supports cursor-based pagination. + operationId: listTRLinkVasps + parameters: + - description: Customer integration unique identifier + explode: false + in: path + name: customerIntegrationId + required: true + schema: + format: uuid + type: string + style: simple + - description: Number of results per page (max 100) + explode: true + in: query + name: pageSize + required: false + schema: + default: 100 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Cursor for pagination (from previous response) + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + responses: + "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": + $ref: "#/components/schemas/TRLinkAPIPagedResponse" + description: VASPs retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: List VASPs + tags: + - TRLink + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.tRLink.listTRLinkVasps(tRLinkApiListTRLinkVaspsRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response =\ + \ fireblocks.tRLink().listTRLinkVasps(customerIntegrationId, pageSize,\ + \ pageCursor);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.t_r_link.list_t_r_link_vasps(customer_integration_id,\ + \ page_size, page_cursor);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.tRLink.listTRLinkVasps(tRLinkApiListTRLinkVaspsRequest);" + - lang: Java + source: "CompletableFuture> response =\ + \ fireblocks.tRLink().listTRLinkVasps(customerIntegrationId, pageSize, pageCursor);" + - lang: Python + source: "response = fireblocks.t_r_link.list_t_r_link_vasps(customer_integration_id,\ + \ page_size, page_cursor);" + x-accepts: + - application/json + /screening/trlink/customers/integration/{customerIntegrationId}/vasps/{vaspId}: + get: + description: Retrieves detailed information about a specific VASP by its unique + identifier. Returns VASP details including public key if available. + operationId: getTRLinkVaspById + parameters: + - description: Customer integration unique identifier + explode: false + in: path + name: customerIntegrationId + required: true + schema: + format: uuid + type: string + style: simple + - description: VASP unique identifier (DID format) + explode: false + in: path + name: vaspId + required: true + schema: + type: string + style: simple + responses: + "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - summary: Search ticket by leg (term) ID + $ref: "#/components/schemas/TRLinkVaspDto" + description: VASP retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: Get VASP by ID tags: - - Smart Transfer + - TRLink x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.findTicketTermById(smartTransferApiFindTicketTermByIdRequest);" + code: "const response: Promise> = fireblocks.tRLink.getTRLinkVaspById(tRLinkApiGetTRLinkVaspByIdRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().findTicketTermById(ticketId, termId);" + code: "CompletableFuture> response = fireblocks.tRLink().getTRLinkVaspById(customerIntegrationId,\ + \ vaspId);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.find_ticket_term_by_id(ticket_id,\ - \ term_id);" + code: "response = fireblocks.t_r_link.get_t_r_link_vasp_by_id(customer_integration_id,\ + \ vasp_id);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.findTicketTermById(smartTransferApiFindTicketTermByIdRequest);" + source: "const response: Promise> = fireblocks.tRLink.getTRLinkVaspById(tRLinkApiGetTRLinkVaspByIdRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().findTicketTermById(ticketId, termId);" + source: "CompletableFuture> response = fireblocks.tRLink().getTRLinkVaspById(customerIntegrationId,\ + \ vaspId);" - lang: Python - source: "response = fireblocks.smart_transfer.find_ticket_term_by_id(ticket_id,\ - \ term_id);" + source: "response = fireblocks.t_r_link.get_t_r_link_vasp_by_id(customer_integration_id,\ + \ vasp_id);" x-accepts: - application/json - put: - description: Update ticket term (when ticket status is DRAFT) - operationId: updateTicketTerm + /screening/trlink/customers/integration/{customerIntegrationId}/assets: + get: + description: 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. + operationId: listTRLinkSupportedAssets parameters: - - explode: false + - description: Customer integration unique identifier + explode: false in: path - name: ticketId + name: customerIntegrationId + required: true + schema: + format: uuid + type: string + style: simple + - description: Number of results per page (max 100) + explode: true + in: query + name: pageSize + required: false + schema: + default: 100 + maximum: 100 + minimum: 1 + type: integer + style: form + - description: Cursor for pagination (from previous response) + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/TRLinkAssetsListPagedResponse" + description: Supported assets retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: List supported assets + tags: + - TRLink + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.tRLink.listTRLinkSupportedAssets(tRLinkApiListTRLinkSupportedAssetsRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.tRLink().listTRLinkSupportedAssets(customerIntegrationId,\ + \ pageSize, pageCursor);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.t_r_link.list_t_r_link_supported_assets(customer_integration_id,\ + \ page_size, page_cursor);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.tRLink.listTRLinkSupportedAssets(tRLinkApiListTRLinkSupportedAssetsRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.tRLink().listTRLinkSupportedAssets(customerIntegrationId,\ + \ pageSize, pageCursor);" + - lang: Python + source: "response = fireblocks.t_r_link.list_t_r_link_supported_assets(customer_integration_id,\ + \ page_size, page_cursor);" + x-accepts: + - application/json + /screening/trlink/customers/integration/{customerIntegrationId}/assets/{assetId}: + get: + description: "Retrieves detailed information about a specific asset by its Fireblocks\ + \ asset ID. Returns the transformed Fireblocks asset data, raw partner response,\ + \ and support status." + operationId: getTRLinkSupportedAsset + parameters: + - description: Customer integration unique identifier + explode: false + in: path + name: customerIntegrationId required: true schema: + format: uuid type: string style: simple - - explode: false + - description: Fireblocks asset ID + explode: false in: path - name: termId + name: assetId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/TRLinkGetSupportedAssetResponse" + description: Asset retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: Get supported asset by ID + tags: + - TRLink + x-rate-limit-category: read + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkSupportedAsset(tRLinkApiGetTRLinkSupportedAssetRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.tRLink().getTRLinkSupportedAsset(customerIntegrationId,\ + \ assetId);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.t_r_link.get_t_r_link_supported_asset(customer_integration_id,\ + \ asset_id);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkSupportedAsset(tRLinkApiGetTRLinkSupportedAssetRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.tRLink().getTRLinkSupportedAsset(customerIntegrationId, assetId);" + - lang: Python + source: "response = fireblocks.t_r_link.get_t_r_link_supported_asset(customer_integration_id,\ + \ asset_id);" + x-accepts: + - application/json + /screening/trlink/customers/integration/{customerIntegrationId}/trm/assess: + post: + description: "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." + operationId: assessTRLinkTravelRuleRequirement + parameters: + - description: Customer integration unique identifier + explode: false + in: path + name: customerIntegrationId required: true schema: + format: uuid type: string style: simple - description: "A unique identifier for the request. If the request is sent\ @@ -22827,78 +23918,64 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SmartTransferUpdateTicketTerm" + $ref: "#/components/schemas/TRLinkAssessTravelRuleRequest" required: true responses: "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferTicketTermResponse" - description: Smart Transfer ticket term updated successfully - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - summary: Update ticket leg (term) + $ref: "#/components/schemas/TRLinkAssessTravelRuleResponse" + description: Travel rule assessment completed + default: + $ref: "#/components/responses/Error" + summary: Assess Travel Rule requirement tags: - - Smart Transfer + - TRLink x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.updateTicketTerm(smartTransferApiUpdateTicketTermRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.assessTRLinkTravelRuleRequirement(tRLinkApiAssessTRLinkTravelRuleRequirementRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().updateTicketTerm(smartTransferUpdateTicketTerm,\ - \ ticketId, termId, idempotencyKey);" + code: "CompletableFuture> response\ + \ = fireblocks.tRLink().assessTRLinkTravelRuleRequirement(tRLinkAssessTravelRuleRequest,\ + \ customerIntegrationId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.update_ticket_term(smart_transfer_update_ticket_term,\ - \ ticket_id, term_id, idempotency_key);" + code: "response = fireblocks.t_r_link.assess_t_r_link_travel_rule_requirement(t_r_link_assess_travel_rule_request,\ + \ customer_integration_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.updateTicketTerm(smartTransferApiUpdateTicketTermRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.assessTRLinkTravelRuleRequirement(tRLinkApiAssessTRLinkTravelRuleRequirementRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().updateTicketTerm(smartTransferUpdateTicketTerm,\ - \ ticketId, termId, idempotencyKey);" + source: "CompletableFuture> response\ + \ = fireblocks.tRLink().assessTRLinkTravelRuleRequirement(tRLinkAssessTravelRuleRequest,\ + \ customerIntegrationId, idempotencyKey);" - lang: Python - source: "response = fireblocks.smart_transfer.update_ticket_term(smart_transfer_update_ticket_term,\ - \ ticket_id, term_id, idempotency_key);" + source: "response = fireblocks.t_r_link.assess_t_r_link_travel_rule_requirement(t_r_link_assess_travel_rule_request,\ + \ customer_integration_id, idempotency_key);" x-content-type: application/json x-accepts: - application/json - /smart-transfers/{ticketId}/terms/{termId}/fund: - put: - description: "Set funding source for ticket term (in case of ASYNC tickets,\ - \ this will execute transfer immediately)" - operationId: fundTicketTerm + /screening/trlink/customers/integration/{customerIntegrationId}/trm: + post: + description: Creates a new travel rule message with IVMS101-compliant PII data. + Encrypts sensitive originator and beneficiary information before sending to + partner. + operationId: createTRLinkTrm parameters: - - explode: false - in: path - name: ticketId - required: true - schema: - type: string - style: simple - - explode: false + - description: Customer integration unique identifier + explode: false in: path - name: termId + name: customerIntegrationId required: true schema: + format: uuid type: string style: simple - description: "A unique identifier for the request. If the request is sent\ @@ -22916,82 +23993,132 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SmartTransferFundTerm" + $ref: "#/components/schemas/TRLinkCreateTrmRequest" required: true responses: "201": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferTicketTermResponse" - description: Funding source for ticket term successfully done - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - "422": + $ref: "#/components/schemas/TRLinkTrmInfoResponse" + description: TRM created successfully + default: + $ref: "#/components/responses/Error" + summary: Create Travel Rule Message + tags: + - TRLink + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.tRLink.createTRLinkTrm(tRLinkApiCreateTRLinkTrmRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response =\ + \ fireblocks.tRLink().createTRLinkTrm(tRLinkCreateTrmRequest, customerIntegrationId,\ + \ idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.t_r_link.create_t_r_link_trm(t_r_link_create_trm_request,\ + \ customer_integration_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.tRLink.createTRLinkTrm(tRLinkApiCreateTRLinkTrmRequest);" + - lang: Java + source: "CompletableFuture> response =\ + \ fireblocks.tRLink().createTRLinkTrm(tRLinkCreateTrmRequest, customerIntegrationId,\ + \ idempotencyKey);" + - lang: Python + source: "response = fireblocks.t_r_link.create_t_r_link_trm(t_r_link_create_trm_request,\ + \ customer_integration_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}: + get: + description: "Retrieves a Travel Rule Message by its unique identifier from\ + \ the partner provider. Returns full TRM details including status, IVMS101\ + \ data, and transaction information." + operationId: getTRLinkTrmById + parameters: + - description: Customer integration unique identifier + explode: false + in: path + name: customerIntegrationId + required: true + schema: + format: uuid + type: string + style: simple + - description: Travel Rule Message unique identifier + explode: false + in: path + name: trmId + required: true + schema: + type: string + style: simple + responses: + "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Define funding source + $ref: "#/components/schemas/TRLinkTrmInfoResponse" + description: TRM retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: Get TRM by ID tags: - - Smart Transfer - x-rate-limit-category: write + - TRLink + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.fundTicketTerm(smartTransferApiFundTicketTermRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkTrmById(tRLinkApiGetTRLinkTrmByIdRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().fundTicketTerm(smartTransferFundTerm, ticketId,\ - \ termId, idempotencyKey);" + code: "CompletableFuture> response =\ + \ fireblocks.tRLink().getTRLinkTrmById(customerIntegrationId, trmId);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.fund_ticket_term(smart_transfer_fund_term,\ - \ ticket_id, term_id, idempotency_key);" + code: "response = fireblocks.t_r_link.get_t_r_link_trm_by_id(customer_integration_id,\ + \ trm_id);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.fundTicketTerm(smartTransferApiFundTicketTermRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkTrmById(tRLinkApiGetTRLinkTrmByIdRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().fundTicketTerm(smartTransferFundTerm, ticketId,\ - \ termId, idempotencyKey);" + source: "CompletableFuture> response =\ + \ fireblocks.tRLink().getTRLinkTrmById(customerIntegrationId, trmId);" - lang: Python - source: "response = fireblocks.smart_transfer.fund_ticket_term(smart_transfer_fund_term,\ - \ ticket_id, term_id, idempotency_key);" - x-content-type: application/json + source: "response = fireblocks.t_r_link.get_t_r_link_trm_by_id(customer_integration_id,\ + \ trm_id);" x-accepts: - application/json - /smart_transfers/{ticketId}/terms/{termId}/dvp/approve: - put: - description: Set funding source for ticket term and creating approving transaction - for contract to transfer asset - operationId: approveDvPTicketTerm + /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/cancel: + post: + description: Cancels a travel rule message. The TRM status will be updated to + cancelled and the partner will be notified. + operationId: cancelTRLinkTrm parameters: - - explode: false + - description: Customer integration unique identifier + explode: false in: path - name: ticketId + name: customerIntegrationId required: true schema: + format: uuid type: string style: simple - - explode: false + - description: Travel Rule Message unique identifier + explode: false in: path - name: termId + name: trmId required: true schema: type: string @@ -23011,81 +24138,69 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SmartTransferApproveTerm" + $ref: "#/components/schemas/TRLinkCancelTrmRequest" required: true responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferTicketTermResponse" - description: Creating approval transaction started - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - "422": + "202": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Define funding source and give approve to contract to transfer asset + $ref: "#/components/schemas/TRLinkTrmInfoResponse" + description: Transaction cancellation request accepted + default: + $ref: "#/components/responses/Error" + summary: Cancel Travel Rule Message tags: - - Smart Transfer + - TRLink x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.approveDvPTicketTerm(smartTransferApiApproveDvPTicketTermRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.cancelTRLinkTrm(tRLinkApiCancelTRLinkTrmRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().approveDvPTicketTerm(smartTransferApproveTerm,\ - \ ticketId, termId, idempotencyKey);" + code: "CompletableFuture> response =\ + \ fireblocks.tRLink().cancelTRLinkTrm(tRLinkCancelTrmRequest, customerIntegrationId,\ + \ trmId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.approve_dv_p_ticket_term(smart_transfer_approve_term,\ - \ ticket_id, term_id, idempotency_key);" + code: "response = fireblocks.t_r_link.cancel_t_r_link_trm(t_r_link_cancel_trm_request,\ + \ customer_integration_id, trm_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.approveDvPTicketTerm(smartTransferApiApproveDvPTicketTermRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.cancelTRLinkTrm(tRLinkApiCancelTRLinkTrmRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().approveDvPTicketTerm(smartTransferApproveTerm,\ - \ ticketId, termId, idempotencyKey);" + source: "CompletableFuture> response =\ + \ fireblocks.tRLink().cancelTRLinkTrm(tRLinkCancelTrmRequest, customerIntegrationId,\ + \ trmId, idempotencyKey);" - lang: Python - source: "response = fireblocks.smart_transfer.approve_dv_p_ticket_term(smart_transfer_approve_term,\ - \ ticket_id, term_id, idempotency_key);" + source: "response = fireblocks.t_r_link.cancel_t_r_link_trm(t_r_link_cancel_trm_request,\ + \ customer_integration_id, trm_id, idempotency_key);" x-content-type: application/json x-accepts: - application/json - /smart-transfers/{ticketId}/terms/{termId}/manually-fund: - put: - description: Manually set ticket term transaction - operationId: manuallyFundTicketTerm + /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/redirect: + post: + description: Redirects a Travel Rule Message to a subsidiary VASP. This operation + requires the partner to support nested VASPs functionality. + operationId: redirectTRLinkTrm parameters: - - explode: false + - description: Customer integration unique identifier + explode: false in: path - name: ticketId + name: customerIntegrationId required: true schema: + format: uuid type: string style: simple - - explode: false + - description: Travel Rule Message unique identifier + explode: false in: path - name: termId + name: trmId required: true schema: type: string @@ -23105,122 +24220,108 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SmartTransferManuallyFundTerm" + $ref: "#/components/schemas/TRLinkRedirectTrmRequest" required: true responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferTicketTermResponse" - description: Successfully manually set ticket term transaction - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferNotFoundResponse" - description: Not found - "422": + "202": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Manually add term transaction + $ref: "#/components/schemas/TRLinkTrmInfoResponse" + description: Transaction redirect request accepted + default: + $ref: "#/components/responses/Error" + summary: Redirect Travel Rule Message tags: - - Smart Transfer + - TRLink x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.manuallyFundTicketTerm(smartTransferApiManuallyFundTicketTermRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.redirectTRLinkTrm(tRLinkApiRedirectTRLinkTrmRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().manuallyFundTicketTerm(smartTransferManuallyFundTerm,\ - \ ticketId, termId, idempotencyKey);" + code: "CompletableFuture> response =\ + \ fireblocks.tRLink().redirectTRLinkTrm(tRLinkRedirectTrmRequest, customerIntegrationId,\ + \ trmId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.manually_fund_ticket_term(smart_transfer_manually_fund_term,\ - \ ticket_id, term_id, idempotency_key);" + code: "response = fireblocks.t_r_link.redirect_t_r_link_trm(t_r_link_redirect_trm_request,\ + \ customer_integration_id, trm_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.manuallyFundTicketTerm(smartTransferApiManuallyFundTicketTermRequest);" + source: "const response: Promise>\ + \ = fireblocks.tRLink.redirectTRLinkTrm(tRLinkApiRedirectTRLinkTrmRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().manuallyFundTicketTerm(smartTransferManuallyFundTerm,\ - \ ticketId, termId, idempotencyKey);" + source: "CompletableFuture> response =\ + \ fireblocks.tRLink().redirectTRLinkTrm(tRLinkRedirectTrmRequest, customerIntegrationId,\ + \ trmId, idempotencyKey);" - lang: Python - source: "response = fireblocks.smart_transfer.manually_fund_ticket_term(smart_transfer_manually_fund_term,\ - \ ticket_id, term_id, idempotency_key);" + source: "response = fireblocks.t_r_link.redirect_t_r_link_trm(t_r_link_redirect_trm_request,\ + \ customer_integration_id, trm_id, idempotency_key);" x-content-type: application/json x-accepts: - application/json - /smart-transfers/settings/user-groups: + /screening/trlink/policy: get: - description: Get Smart Transfer user groups - operationId: getSmartTransferUserGroups - parameters: [] + description: "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." + operationId: getTRLinkPolicy responses: "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferUserGroupsResponse" - description: User group settings were returned successfully - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "422": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Get user group + $ref: "#/components/schemas/TRLinkPolicyResponse" + description: Policy retrieved successfully + default: + $ref: "#/components/responses/Error" + summary: Get TRLink policy tags: - - Smart Transfer - x-rate-limit-category: query + - TRLink + x-rate-limit-category: read x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.getSmartTransferUserGroups();" + code: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkPolicy();" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response - = fireblocks.smartTransfer().getSmartTransferUserGroups(); + code: CompletableFuture> response = fireblocks.tRLink().getTRLinkPolicy(); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.smart_transfer.get_smart_transfer_user_groups(); + code: response = fireblocks.t_r_link.get_t_r_link_policy(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.getSmartTransferUserGroups();" + source: "const response: Promise>\ + \ = fireblocks.tRLink.getTRLinkPolicy();" - lang: Java - source: CompletableFuture> response - = fireblocks.smartTransfer().getSmartTransferUserGroups(); + source: CompletableFuture> response = fireblocks.tRLink().getTRLinkPolicy(); - lang: Python - source: response = fireblocks.smart_transfer.get_smart_transfer_user_groups(); + source: response = fireblocks.t_r_link.get_t_r_link_policy(); x-accepts: - application/json + /screening/trlink/transaction/{txId}/travel_rule_message_id: post: - description: Set Smart Transfer user group - operationId: setUserGroups + description: Associates a Travel Rule Message ID with a Fireblocks transaction. + This links the TRM compliance data to the blockchain transaction. + operationId: setTRLinkTransactionTravelRuleMessageId parameters: + - description: Fireblocks transaction unique identifier + explode: false + in: path + name: txId + required: true + schema: + format: uuid + type: string + style: simple - 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\ @@ -23236,230 +24337,403 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SmartTransferSetUserGroups" + $ref: "#/components/schemas/TRLinkSetTransactionTravelRuleMessageIdRequest" required: true responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferUserGroupsResponse" - description: User group settings were set successfully - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - "422": + "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferBadRequestResponse" - description: Bad Request - summary: Set user group - tags: - - Smart Transfer + $ref: "#/components/schemas/TRLinkSetTransactionTravelRuleMessageIdResponse" + description: Travel rule message ID set successfully + default: + $ref: "#/components/responses/Error" + summary: Set transaction travel rule message ID + tags: + - TRLink x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.setUserGroups(smartTransferApiSetUserGroupsRequest);" + code: "const response: Promise>\ + \ = fireblocks.tRLink.setTRLinkTransactionTravelRuleMessageId(tRLinkApiSetTRLinkTransactionTravelRuleMessageIdRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().setUserGroups(smartTransferSetUserGroups,\ + code: "CompletableFuture>\ + \ response = fireblocks.tRLink().setTRLinkTransactionTravelRuleMessageId(tRLinkSetTransactionTravelRuleMessageIdRequest,\ + \ txId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.t_r_link.set_t_r_link_transaction_travel_rule_message_id(t_r_link_set_transaction_travel_rule_message_id_request,\ + \ tx_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.tRLink.setTRLinkTransactionTravelRuleMessageId(tRLinkApiSetTRLinkTransactionTravelRuleMessageIdRequest);" + - lang: Java + source: "CompletableFuture>\ + \ response = fireblocks.tRLink().setTRLinkTransactionTravelRuleMessageId(tRLinkSetTransactionTravelRuleMessageIdRequest,\ + \ txId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.t_r_link.set_t_r_link_transaction_travel_rule_message_id(t_r_link_set_transaction_travel_rule_message_id_request,\ + \ tx_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /screening/trlink/transaction/{txId}/destination/travel_rule_message_id: + post: + description: Associates a Travel Rule Message ID with a specific destination + in a multi-destination Fireblocks transaction. Matches destinations by amount + and peer path. + operationId: setTRLinkDestinationTravelRuleMessageId + parameters: + - description: Fireblocks transaction unique identifier + explode: false + in: path + name: txId + required: true + schema: + format: uuid + type: string + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/TRLinkSetDestinationTravelRuleMessageIdRequest" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/TRLinkSetDestinationTravelRuleMessageIdResponse" + description: Destination travel rule message ID set successfully + default: + $ref: "#/components/responses/Error" + summary: Set destination travel rule message ID + tags: + - TRLink + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.tRLink.setTRLinkDestinationTravelRuleMessageId(tRLinkApiSetTRLinkDestinationTravelRuleMessageIdRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture>\ + \ response = fireblocks.tRLink().setTRLinkDestinationTravelRuleMessageId(tRLinkSetDestinationTravelRuleMessageIdRequest,\ + \ txId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.t_r_link.set_t_r_link_destination_travel_rule_message_id(t_r_link_set_destination_travel_rule_message_id_request,\ + \ tx_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.tRLink.setTRLinkDestinationTravelRuleMessageId(tRLinkApiSetTRLinkDestinationTravelRuleMessageIdRequest);" + - lang: Java + source: "CompletableFuture>\ + \ response = fireblocks.tRLink().setTRLinkDestinationTravelRuleMessageId(tRLinkSetDestinationTravelRuleMessageIdRequest,\ + \ txId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.t_r_link.set_t_r_link_destination_travel_rule_message_id(t_r_link_set_destination_travel_rule_message_id_request,\ + \ tx_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /management/ota: + get: + description: Returns current OTA status + operationId: getOtaStatus + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetOtaStatusResponse" + description: Current OTA status + "404": + description: Configuration not found for tenant + summary: Returns current OTA status + tags: + - OTA (Beta) + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.oTABeta.getOtaStatus();" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response = fireblocks.oTABeta().getOtaStatus(); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.o_t_a_beta.get_ota_status(); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.oTABeta.getOtaStatus();" + - lang: Java + source: CompletableFuture> response = fireblocks.oTABeta().getOtaStatus(); + - lang: Python + source: response = fireblocks.o_t_a_beta.get_ota_status(); + x-accepts: + - application/json + put: + description: |- + 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) + operationId: setOtaStatus + parameters: + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SetOtaStatusRequest" + required: true + responses: + "202": + content: + application/json: + schema: + $ref: "#/components/schemas/SetOtaStatusResponse" + description: Successfully updated OTA status + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": + description: Bad request + "409": + description: Similar request already pending + "500": + description: Internal server error + summary: Enable or disable transactions to OTA + tags: + - OTA (Beta) + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.oTABeta.setOtaStatus(oTABetaApiSetOtaStatusRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.oTABeta().setOtaStatus(setOtaStatusRequest,\ \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.smart_transfer.set_user_groups(smart_transfer_set_user_groups,\ + code: "response = fireblocks.o_t_a_beta.set_ota_status(set_ota_status_request,\ \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.setUserGroups(smartTransferApiSetUserGroupsRequest);" + source: "const response: Promise>\ + \ = fireblocks.oTABeta.setOtaStatus(oTABetaApiSetOtaStatusRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.smartTransfer().setUserGroups(smartTransferSetUserGroups,\ + source: "CompletableFuture> response = fireblocks.oTABeta().setOtaStatus(setOtaStatusRequest,\ \ idempotencyKey);" - lang: Python - source: "response = fireblocks.smart_transfer.set_user_groups(smart_transfer_set_user_groups,\ + source: "response = fireblocks.o_t_a_beta.set_ota_status(set_ota_status_request,\ \ idempotency_key);" x-content-type: application/json x-accepts: - application/json - /smart_transfers/statistic: + /management/workspace_status: get: - description: Get smart transfer statistic - operationId: getSmartTransferStatistic + description: |- + 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. + operationId: getWorkspaceStatus responses: "200": content: application/json: schema: - $ref: "#/components/schemas/SmartTransferStatistic" - description: Smart Transfer ticket statistic returned successfully - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/SmartTransferForbiddenResponse" - description: Unauthorized - default: - $ref: "#/components/responses/Error" - summary: Get smart transfers statistic + $ref: "#/components/schemas/GetWorkspaceStatusResponse" + description: Current workspace status + "404": + description: Workspace not found + summary: Returns current workspace status tags: - - Smart Transfer + - Workspace Status (Beta) x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.smartTransfer.getSmartTransferStatistic();" + code: "const response: Promise>\ + \ = fireblocks.workspaceStatusBeta.getWorkspaceStatus();" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = - fireblocks.smartTransfer().getSmartTransferStatistic(); + code: CompletableFuture> response + = fireblocks.workspaceStatusBeta().getWorkspaceStatus(); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.smart_transfer.get_smart_transfer_statistic(); + code: response = fireblocks.workspace_status_beta.get_workspace_status(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.smartTransfer.getSmartTransferStatistic();" + source: "const response: Promise>\ + \ = fireblocks.workspaceStatusBeta.getWorkspaceStatus();" - lang: Java - source: CompletableFuture> response = - fireblocks.smartTransfer().getSmartTransferStatistic(); + source: CompletableFuture> response + = fireblocks.workspaceStatusBeta().getWorkspaceStatus(); - lang: Python - source: response = fireblocks.smart_transfer.get_smart_transfer_statistic(); + source: response = fireblocks.workspace_status_beta.get_workspace_status(); x-accepts: - application/json - /batch/jobs: + /tap/active_policy: get: - description: "Get an array of objects including all active, paused, canceled,\ - \ and complete jobs in a workspace." - operationId: getJobs - parameters: - - description: Start of time range in ms since 1970 - explode: true - in: query - name: fromTime - required: false - schema: - type: integer - style: form - - description: End of time range in ms since 1970 - explode: true - in: query - name: toTime - required: false - schema: - type: integer - style: form + description: "Legacy Endpoint – Returns the active policy and its validation.\ + \
    \n**Note:** \n- This endpoint will remain available for the foreseeable\ + \ future and is not deprecated.
    - The `getActivePolicy` endpoint under\ + \ policy/paths provides policy type-specific operations and improved functionality.
    \ + \ - These endpoints are currently in beta and might be subject to changes.
    \n\ + If you want to participate and learn more about the Fireblocks TAP, please\ + \ contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com.\n" + operationId: getActivePolicyLegacy responses: "200": content: application/json: schema: - $ref: "#/components/schemas/Jobs" - description: An array of jobs + $ref: "#/components/schemas/LegacyPolicyAndValidationResponse" + description: A policy object headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Return a list of jobs belonging to tenant + summary: Get the active policy and its validation tags: - - Job Management + - Policy Editor (Beta) x-rate-limit-category: query x-readme: code-samples: + - language: python + code: policy = fireblocks.get_active_policy() + name: Fireblocks SDK Python example (Legacy) + - language: javascript + code: const policy = await fireblocks.getActivePolicy(); + name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise> = fireblocks.jobManagement.getJobs(jobManagementApiGetJobsRequest);" + code: "const response: Promise>\ + \ = fireblocks.policyEditorBeta.getActivePolicyLegacy();" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture>> response = fireblocks.jobManagement().getJobs(fromTime,\ - \ toTime);" + code: CompletableFuture> + response = fireblocks.policyEditorBeta().getActivePolicyLegacy(); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.job_management.get_jobs(from_time, to_time);" + code: response = fireblocks.policy_editor_beta.get_active_policy_legacy(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.jobManagement.getJobs(jobManagementApiGetJobsRequest);" + source: "const response: Promise>\ + \ = fireblocks.policyEditorBeta.getActivePolicyLegacy();" - lang: Java - source: "CompletableFuture>> response = fireblocks.jobManagement().getJobs(fromTime,\ - \ toTime);" + source: CompletableFuture> + response = fireblocks.policyEditorBeta().getActivePolicyLegacy(); - lang: Python - source: "response = fireblocks.job_management.get_jobs(from_time, to_time);" + source: response = fireblocks.policy_editor_beta.get_active_policy_legacy(); x-accepts: - application/json - /batch/{jobId}: + /tap/draft: get: - description: Get an object describing the given job - operationId: getJob - parameters: - - description: The requested job id - explode: false - in: path - name: jobId - required: true - schema: - type: string - style: simple + description: "Legacy Endpoint – Returns the active draft and its validation.\ + \
    \n**Note:** \n- This endpoint will remain available for the foreseeable\ + \ future and is not deprecated.
    - The `getDraft` endpoint under policy/paths\ + \ provides policy type-specific operations and improved functionality.
    \ + \ - These endpoints are currently in beta and might be subject to changes.
    \n\ + If you want to participate and learn more about the Fireblocks TAP, please\ + \ contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com.\n" + operationId: getDraftLegacy responses: "200": content: application/json: schema: - $ref: "#/components/schemas/Job" - description: A JSON object that describes the job + $ref: "#/components/schemas/LegacyDraftReviewAndValidationResponse" + description: A draft validation response object headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Get job details + summary: Get the active draft tags: - - Job Management + - Policy Editor (Beta) x-rate-limit-category: read x-readme: code-samples: + - language: python + code: policy = fireblocks.get_draft() + name: Fireblocks SDK Python example (Legacy) + - language: javascript + code: const policy = await fireblocks.getDraft(); + name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise> = fireblocks.jobManagement.getJob(jobManagementApiGetJobRequest);" + code: "const response: Promise>\ + \ = fireblocks.policyEditorBeta.getDraftLegacy();" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = fireblocks.jobManagement().getJob(jobId); + code: CompletableFuture> + response = fireblocks.policyEditorBeta().getDraftLegacy(); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.job_management.get_job(job_id); + code: response = fireblocks.policy_editor_beta.get_draft_legacy(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.jobManagement.getJob(jobManagementApiGetJobRequest);" + source: "const response: Promise>\ + \ = fireblocks.policyEditorBeta.getDraftLegacy();" - lang: Java - source: CompletableFuture> response = fireblocks.jobManagement().getJob(jobId); + source: CompletableFuture> + response = fireblocks.policyEditorBeta().getDraftLegacy(); - lang: Python - source: response = fireblocks.job_management.get_job(job_id); + source: response = fireblocks.policy_editor_beta.get_draft_legacy(); x-accepts: - application/json - /batch/{jobId}/pause: post: - description: "Pause the given job, after the current task is done. A paused\ - \ job can later be resumed by calling 'continue', or canceled." - operationId: pauseJob + description: "Legacy Endpoint – Send publish request of certain draft id and\ + \ returns the response.
    \n**Note:** \n- This endpoint will remain available\ + \ for the foreseeable future and is not deprecated.
    - The `publishDraft`\ + \ endpoint under policy/paths provides improved functionality and better performance.
    \ + \ - These endpoints are currently in beta and might be subject to changes.
    \n\ + If you want to participate and learn more about the Fireblocks TAP, please\ + \ contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com.\n" + operationId: publishDraftLegacy parameters: - - description: The requested job id - explode: false - in: path - name: jobId - required: true - schema: - type: string - style: simple - 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\ @@ -23471,50 +24745,71 @@ paths: schema: type: string style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/LegacyPublishDraftRequest" + required: true responses: - "200": - description: paused successfully + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/LegacyPublishResult" + description: A policy publish result object + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Pause a job + summary: Send publish request for a certain draft id tags: - - Job Management + - Policy Editor (Beta) x-rate-limit-category: write x-readme: code-samples: + - language: python + code: policy = fireblocks.publish_draft() + name: Fireblocks SDK Python example (Legacy) + - language: javascript + code: const policy = await fireblocks.publishDraft(); + name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise> = fireblocks.jobManagement.pauseJob(jobManagementApiPauseJobRequest);" + code: "const response: Promise>\ + \ = fireblocks.policyEditorBeta.publishDraftLegacy(policyEditorBetaApiPublishDraftLegacyRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.jobManagement().pauseJob(jobId,\ + code: "CompletableFuture> response = fireblocks.policyEditorBeta().publishDraftLegacy(legacyPublishDraftRequest,\ \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.job_management.pause_job(job_id, idempotency_key);" + code: "response = fireblocks.policy_editor_beta.publish_draft_legacy(legacy_publish_draft_request,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.jobManagement.pauseJob(jobManagementApiPauseJobRequest);" + source: "const response: Promise>\ + \ = fireblocks.policyEditorBeta.publishDraftLegacy(policyEditorBetaApiPublishDraftLegacyRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.jobManagement().pauseJob(jobId,\ + source: "CompletableFuture> response = fireblocks.policyEditorBeta().publishDraftLegacy(legacyPublishDraftRequest,\ \ idempotencyKey);" - lang: Python - source: "response = fireblocks.job_management.pause_job(job_id, idempotency_key);" + source: "response = fireblocks.policy_editor_beta.publish_draft_legacy(legacy_publish_draft_request,\ + \ idempotency_key);" + x-content-type: application/json x-accepts: - application/json - /batch/{jobId}/continue: - post: - description: Continue the given paused job. - operationId: continueJob + put: + description: "Legacy Endpoint – Update the draft and return its validation.\ + \
    \n**Note:** \n- This endpoint will remain available for the foreseeable\ + \ future and is not deprecated.
    - The `updateDraft` endpoint under policy/paths\ + \ provides policy type-specific operations and improved functionality.
    \ + \ - These endpoints are currently in beta and might be subject to changes.
    \n\ + If you want to participate and learn more about the Fireblocks TAP, please\ + \ contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com.\n" + operationId: updateDraftLegacy parameters: - - description: The requested job id - explode: false - in: path - name: jobId - required: true - schema: - type: string - style: simple - 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\ @@ -23526,52 +24821,71 @@ paths: schema: type: string style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/LegacyPolicyRules" + required: true responses: "200": - description: continued successfully + content: + application/json: + schema: + $ref: "#/components/schemas/LegacyDraftReviewAndValidationResponse" + description: A draft validation response object + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Continue a paused job + summary: Update the draft with a new set of rules tags: - - Job Management + - Policy Editor (Beta) x-rate-limit-category: write x-readme: code-samples: + - language: python + code: policy = fireblocks.update_draft() + name: Fireblocks SDK Python example (Legacy) + - language: javascript + code: const policy = await fireblocks.updateDraft(); + name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise> = fireblocks.jobManagement.continueJob(jobManagementApiContinueJobRequest);" + code: "const response: Promise>\ + \ = fireblocks.policyEditorBeta.updateDraftLegacy(policyEditorBetaApiUpdateDraftLegacyRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.jobManagement().continueJob(jobId,\ + code: "CompletableFuture>\ + \ response = fireblocks.policyEditorBeta().updateDraftLegacy(legacyPolicyRules,\ \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.job_management.continue_job(job_id, idempotency_key);" + code: "response = fireblocks.policy_editor_beta.update_draft_legacy(legacy_policy_rules,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.jobManagement.continueJob(jobManagementApiContinueJobRequest);" + source: "const response: Promise>\ + \ = fireblocks.policyEditorBeta.updateDraftLegacy(policyEditorBetaApiUpdateDraftLegacyRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.jobManagement().continueJob(jobId,\ + source: "CompletableFuture>\ + \ response = fireblocks.policyEditorBeta().updateDraftLegacy(legacyPolicyRules,\ \ idempotencyKey);" - lang: Python - source: "response = fireblocks.job_management.continue_job(job_id, idempotency_key);" + source: "response = fireblocks.policy_editor_beta.update_draft_legacy(legacy_policy_rules,\ + \ idempotency_key);" + x-content-type: application/json x-accepts: - application/json - /batch/{jobId}/cancel: + /tap/publish: post: - description: "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." - operationId: cancelJob + description: | + Send publish request of set of policy rules and returns the response.
    + **Note:** These endpoints are currently in beta and might be subject to changes. + If you want to participate and learn more about the Fireblocks TAP, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. + operationId: publishPolicyRules parameters: - - description: The requested job id - explode: false - in: path - name: jobId - required: true - schema: - type: string - style: simple - 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\ @@ -23583,175 +24897,196 @@ paths: schema: type: string style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/LegacyPolicyRules" + required: true responses: - "200": - description: canceled successfully + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/LegacyPublishResult" + description: A policy publish result object + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Cancel a running job + summary: Send publish request for a set of policy rules tags: - - Job Management - x-rate-limit-category: read + - Policy Editor (Beta) + x-rate-limit-category: write x-readme: code-samples: + - language: python + code: policy = fireblocks.publish_rules() + name: Fireblocks SDK Python example (Legacy) + - language: javascript + code: const policy = await fireblocks.publishRules(); + name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise> = fireblocks.jobManagement.cancelJob(jobManagementApiCancelJobRequest);" + code: "const response: Promise>\ + \ = fireblocks.policyEditorBeta.publishPolicyRules(policyEditorBetaApiPublishPolicyRulesRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.jobManagement().cancelJob(jobId,\ + code: "CompletableFuture> response = fireblocks.policyEditorBeta().publishPolicyRules(legacyPolicyRules,\ \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.job_management.cancel_job(job_id, idempotency_key);" + code: "response = fireblocks.policy_editor_beta.publish_policy_rules(legacy_policy_rules,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.jobManagement.cancelJob(jobManagementApiCancelJobRequest);" + source: "const response: Promise>\ + \ = fireblocks.policyEditorBeta.publishPolicyRules(policyEditorBetaApiPublishPolicyRulesRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.jobManagement().cancelJob(jobId,\ + source: "CompletableFuture> response = fireblocks.policyEditorBeta().publishPolicyRules(legacyPolicyRules,\ \ idempotencyKey);" - lang: Python - source: "response = fireblocks.job_management.cancel_job(job_id, idempotency_key);" + source: "response = fireblocks.policy_editor_beta.publish_policy_rules(legacy_policy_rules,\ + \ idempotency_key);" + x-content-type: application/json x-accepts: - application/json - /batch/{jobId}/tasks: + /policy/active_policy: get: - description: Return a list of tasks for given job - operationId: getJobTasks + description: | + 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. + operationId: getActivePolicy parameters: - - description: The requested job id - explode: false - in: path - name: jobId + - description: "The policy type(s) to retrieve. Can be a single type or multiple\ + \ types by repeating the parameter (e.g., ?policyType=TRANSFER&policyType=MINT)." + explode: true + in: query + name: policyType required: true schema: - type: string - style: simple + $ref: "#/components/schemas/PolicyType" + style: form responses: "200": content: application/json: schema: - $ref: "#/components/schemas/Tasks" - description: An array of tasks + $ref: "#/components/schemas/PolicyAndValidationResponse" + description: A policy object with validation headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Return a list of tasks for given job + summary: Get the active policy and its validation by policy type tags: - - Job Management + - Policy Editor V2 (Beta) x-rate-limit-category: query x-readme: code-samples: + - language: javascript + code: | + // Single policy type + const policy = await fireblocks.getActivePolicy({policyType: "TRANSFER"}); + // Multiple policy types + const policy = await fireblocks.getActivePolicy({policyType: ["TRANSFER", "MINT"]}); + name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise> = fireblocks.jobManagement.getJobTasks(jobManagementApiGetJobTasksRequest);" + code: "const response: Promise>\ + \ = fireblocks.policyEditorV2Beta.getActivePolicy(policyEditorV2BetaApiGetActivePolicyRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture>> response = fireblocks.jobManagement().getJobTasks(jobId); + code: CompletableFuture> response + = fireblocks.policyEditorV2Beta().getActivePolicy(policyType); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.job_management.get_job_tasks(job_id); + code: response = fireblocks.policy_editor_v2_beta.get_active_policy(policy_type); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.jobManagement.getJobTasks(jobManagementApiGetJobTasksRequest);" + source: "const response: Promise>\ + \ = fireblocks.policyEditorV2Beta.getActivePolicy(policyEditorV2BetaApiGetActivePolicyRequest);" - lang: Java - source: CompletableFuture>> response = fireblocks.jobManagement().getJobTasks(jobId); + source: CompletableFuture> response + = fireblocks.policyEditorV2Beta().getActivePolicy(policyType); - lang: Python - source: response = fireblocks.job_management.get_job_tasks(job_id); + source: response = fireblocks.policy_editor_v2_beta.get_active_policy(policy_type); x-accepts: - application/json - /tags: + /policy/draft: get: - description: Retrieve a paged list of all tags according to filters. - operationId: getTags + description: | + Returns the active draft and its validation for a specific policy type.
    + **Note:** These endpoints are currently in beta and might be subject to changes. + operationId: getDraft parameters: - - description: Page cursor to get the next page. - example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + - description: "The policy type(s) to retrieve. Can be a single type or multiple\ + \ types by repeating the parameter (e.g., ?policyType=TRANSFER&policyType=MINT)." explode: true in: query - name: pageCursor - required: false + name: policyType + required: true schema: - type: string - style: form - - description: Maximum number of items in the page - explode: true - in: query - name: pageSize - required: false - schema: - default: 100 - maximum: 100 - minimum: 1 - type: number - style: form - - description: Label prefix to filter by. - example: VIP - explode: true - in: query - name: label - required: false - schema: - type: string - style: form - - description: List of tag IDs to filter by. - explode: true - in: query - name: tagIds - required: false - schema: - items: - format: uuid - type: string - maxItems: 100 - type: array + $ref: "#/components/schemas/PolicyType" style: form responses: "200": content: application/json: schema: - $ref: "#/components/schemas/TagsPagedResponse" - description: A TagsPagedResponse object + $ref: "#/components/schemas/DraftReviewAndValidationResponse" + description: A draft validation response object headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Get list of tags + default: + $ref: "#/components/responses/Error" + summary: Get the active draft by policy type tags: - - Tags - x-rate-limit-category: query + - Policy Editor V2 (Beta) + x-rate-limit-category: read x-readme: code-samples: + - language: javascript + code: | + // Single policy type + const draft = await fireblocks.getDraft({policyType: "TRANSFER"}); + // Multiple policy types + const draft = await fireblocks.getDraft({policyType: ["TRANSFER", "MINT"]}); + name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise> =\ - \ fireblocks.tags.getTags(tagsApiGetTagsRequest);" + code: "const response: Promise>\ + \ = fireblocks.policyEditorV2Beta.getDraft(policyEditorV2BetaApiGetDraftRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.tags().getTags(pageCursor,\ - \ pageSize, label, tagIds);" + code: CompletableFuture> response + = fireblocks.policyEditorV2Beta().getDraft(policyType); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.tags.get_tags(page_cursor, page_size, label,\ - \ tag_ids);" + code: response = fireblocks.policy_editor_v2_beta.get_draft(policy_type); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> =\ - \ fireblocks.tags.getTags(tagsApiGetTagsRequest);" + source: "const response: Promise>\ + \ = fireblocks.policyEditorV2Beta.getDraft(policyEditorV2BetaApiGetDraftRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.tags().getTags(pageCursor,\ - \ pageSize, label, tagIds);" + source: CompletableFuture> response + = fireblocks.policyEditorV2Beta().getDraft(policyType); - lang: Python - source: "response = fireblocks.tags.get_tags(page_cursor, page_size, label,\ - \ tag_ids);" + source: response = fireblocks.policy_editor_v2_beta.get_draft(policy_type); x-accepts: - application/json post: - description: Create a new tag. - operationId: createTag + description: | + Send publish request of certain draft id and returns the response.
    + **Note:** These endpoints are currently in beta and might be subject to changes. + If you want to participate and learn more about the Fireblocks Policy Editor, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. + operationId: publishDraft parameters: - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -23768,149 +25103,214 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateTagRequest" + $ref: "#/components/schemas/PublishDraftRequest" required: true responses: - "200": + "201": content: application/json: schema: - $ref: "#/components/schemas/Tag" - description: A tag object + $ref: "#/components/schemas/PublishResult" + description: A policy publish result object headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Create a tag + default: + $ref: "#/components/responses/Error" + summary: Send publish request for a certain draft id tags: - - Tags + - Policy Editor V2 (Beta) x-rate-limit-category: write x-readme: code-samples: + - language: javascript + code: | + const policy = await fireblocks.publishDraft({policyTypes: ["TRANSFER"], draftId: "draft-123"}); + name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise> = fireblocks.tags.createTag(tagsApiCreateTagRequest);" + code: "const response: Promise> = fireblocks.policyEditorV2Beta.publishDraft(policyEditorV2BetaApiPublishDraftRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.tags().createTag(createTagRequest,\ + code: "CompletableFuture> response = fireblocks.policyEditorV2Beta().publishDraft(publishDraftRequest,\ \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.tags.create_tag(create_tag_request, idempotency_key);" + code: "response = fireblocks.policy_editor_v2_beta.publish_draft(publish_draft_request,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.tags.createTag(tagsApiCreateTagRequest);" + source: "const response: Promise> = fireblocks.policyEditorV2Beta.publishDraft(policyEditorV2BetaApiPublishDraftRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.tags().createTag(createTagRequest,\ + source: "CompletableFuture> response = fireblocks.policyEditorV2Beta().publishDraft(publishDraftRequest,\ \ idempotencyKey);" - lang: Python - source: "response = fireblocks.tags.create_tag(create_tag_request, idempotency_key);" + source: "response = fireblocks.policy_editor_v2_beta.publish_draft(publish_draft_request,\ + \ idempotency_key);" x-content-type: application/json x-accepts: - application/json - /tags/{tagId}: - delete: - description: Delete the specified tag. - operationId: deleteTag + put: + description: | + Update the draft and return its validation for specific policy types.
    + **Note:** These endpoints are currently in beta and might be subject to changes. + operationId: updateDraft parameters: - - description: The ID of the tag to retrieve + - 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." explode: false - in: path - name: tagId - required: true + in: header + name: Idempotency-Key + required: false schema: - format: uuid type: string style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateDraftRequest" + required: true responses: - "204": - description: Tag was deleted successfully + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DraftReviewAndValidationResponse" + description: A draft validation response object headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Delete a tag + default: + $ref: "#/components/responses/Error" + summary: Update the draft with a new set of rules by policy types tags: - - Tags + - Policy Editor V2 (Beta) x-rate-limit-category: write x-readme: code-samples: + - language: javascript + code: | + const draft = await fireblocks.updateDraft({policyTypes: ["TRANSFER"], rules: rules}); + name: Fireblocks SDK Javascript example - language: typescript - code: "const response: Promise> = fireblocks.tags.deleteTag(tagsApiDeleteTagRequest);" + code: "const response: Promise>\ + \ = fireblocks.policyEditorV2Beta.updateDraft(policyEditorV2BetaApiUpdateDraftRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = fireblocks.tags().deleteTag(tagId); + code: "CompletableFuture>\ + \ response = fireblocks.policyEditorV2Beta().updateDraft(updateDraftRequest,\ + \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.tags.delete_tag(tag_id); + code: "response = fireblocks.policy_editor_v2_beta.update_draft(update_draft_request,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.tags.deleteTag(tagsApiDeleteTagRequest);" + source: "const response: Promise>\ + \ = fireblocks.policyEditorV2Beta.updateDraft(policyEditorV2BetaApiUpdateDraftRequest);" - lang: Java - source: CompletableFuture> response = fireblocks.tags().deleteTag(tagId); + source: "CompletableFuture>\ + \ response = fireblocks.policyEditorV2Beta().updateDraft(updateDraftRequest,\ + \ idempotencyKey);" - lang: Python - source: response = fireblocks.tags.delete_tag(tag_id); + source: "response = fireblocks.policy_editor_v2_beta.update_draft(update_draft_request,\ + \ idempotency_key);" + x-content-type: application/json x-accepts: - application/json + /management/users: get: - description: Retrieve an existing tag by ID. - operationId: getTag - parameters: - - description: The ID of the tag to retrieve - explode: false - in: path - name: tagId - required: true - schema: - format: uuid - type: string - style: simple + description: |- + 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. + operationId: getConsoleUsers responses: "200": content: application/json: schema: - $ref: "#/components/schemas/Tag" - description: A tag object + $ref: "#/components/schemas/GetConsoleUsersResponse" + description: got console users headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Get a tag + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Lacking permissions. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "5XX": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Internal error. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get console users tags: - - Tags - x-rate-limit-category: read + - Console User + x-rate-limit-category: query x-readme: code-samples: + - language: javascript + code: const consoleUsers = await fireblocks.getConsoleUsers(); + name: Fireblocks SDK Javascript example + - language: python + code: consoleUsers = fireblocks.get_console_users() + name: Fireblocks SDK Python example (Legacy) - language: typescript - code: "const response: Promise> = fireblocks.tags.getTag(tagsApiGetTagRequest);" + code: "const response: Promise>\ + \ = fireblocks.consoleUser.getConsoleUsers();" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = fireblocks.tags().getTag(tagId); + code: CompletableFuture> response = + fireblocks.consoleUser().getConsoleUsers(); name: Fireblocks SDK Java example - language: python - code: response = fireblocks.tags.get_tag(tag_id); + code: response = fireblocks.console_user.get_console_users(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.tags.getTag(tagsApiGetTagRequest);" + source: "const response: Promise>\ + \ = fireblocks.consoleUser.getConsoleUsers();" - lang: Java - source: CompletableFuture> response = fireblocks.tags().getTag(tagId); + source: CompletableFuture> response = + fireblocks.consoleUser().getConsoleUsers(); - lang: Python - source: response = fireblocks.tags.get_tag(tag_id); + source: response = fireblocks.console_user.get_console_users(); x-accepts: - application/json - patch: - description: Update an existing specified tag. - operationId: updateTag + post: + description: |- + 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. + operationId: createConsoleUser parameters: - - description: The ID of the tag to update - explode: false - in: path - name: tagId - required: true - schema: - format: uuid - type: string - style: simple - 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\ @@ -23926,133 +25326,170 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateTagRequest" - required: true + $ref: "#/components/schemas/CreateConsoleUser" responses: "200": + description: User creation approval request has been sent + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": + description: bad request + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "401": content: application/json: schema: - $ref: "#/components/schemas/Tag" - description: A tag object + $ref: "#/components/schemas/ErrorResponse" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" - summary: Update a tag + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Lacking permissions. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "5XX": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Internal error. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Create console user tags: - - Tags + - Console User x-rate-limit-category: write x-readme: code-samples: + - language: javascript + code: "const res = await fireblocks.createConsoleUser(firstName, lastName,\ + \ email, role);" + name: Fireblocks SDK Javascript example + - language: python + code: "res = fireblocks.create_console_user(first_name, last_name, email,\ + \ role)" + name: Fireblocks SDK Python example (Legacy) - language: typescript - code: "const response: Promise> = fireblocks.tags.updateTag(tagsApiUpdateTagRequest);" + code: "const response: Promise> = fireblocks.consoleUser.createConsoleUser(consoleUserApiCreateConsoleUserRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.tags().updateTag(updateTagRequest,\ - \ tagId, idempotencyKey);" + code: "CompletableFuture> response = fireblocks.consoleUser().createConsoleUser(createConsoleUser,\ + \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.tags.update_tag(update_tag_request, tag_id,\ + code: "response = fireblocks.console_user.create_console_user(create_console_user,\ \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.tags.updateTag(tagsApiUpdateTagRequest);" + source: "const response: Promise> = fireblocks.consoleUser.createConsoleUser(consoleUserApiCreateConsoleUserRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.tags().updateTag(updateTagRequest,\ - \ tagId, idempotencyKey);" + source: "CompletableFuture> response = fireblocks.consoleUser().createConsoleUser(createConsoleUser,\ + \ idempotencyKey);" - lang: Python - source: "response = fireblocks.tags.update_tag(update_tag_request, tag_id,\ + source: "response = fireblocks.console_user.create_console_user(create_console_user,\ \ idempotency_key);" x-content-type: application/json x-accepts: - application/json - /cosigners: + /management/api_users: get: - description: | - Get all workspace cosigners (paginated) - **Note:** These endpoints are currently in beta and might be subject to changes. - operationId: getCosigners - parameters: - - description: ASC / DESC ordering (default DESC) - example: ASC - explode: true - in: query - name: order - required: false - schema: - default: DESC - enum: - - ASC - - DESC - type: string - style: form - - description: Cursor of the required page - explode: true - in: query - name: pageCursor - required: false - schema: - type: string - style: form - - description: Maximum number of items in the page - example: 10 - explode: true - in: query - name: pageSize - required: false - schema: - default: 10 - maximum: 100 - minimum: 1 - type: number - style: form + description: |- + 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. + operationId: getApiUsers responses: "200": content: application/json: schema: - $ref: "#/components/schemas/CosignersPaginatedResponse" - description: A paginated response containing Cosigner objects + $ref: "#/components/schemas/GetAPIUsersResponse" + description: got api users + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Lacking permissions. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "5XX": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Internal error. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Get all cosigners + summary: Get API Keys tags: - - Cosigners (Beta) + - Api User x-rate-limit-category: query x-readme: code-samples: + - language: javascript + code: const apiUsers = await fireblocks.getApiUsers(); + name: Fireblocks SDK Javascript example + - language: python + code: apiUsers = fireblocks.get_api_users() + name: Fireblocks SDK Python example (Legacy) - language: typescript - code: "const response: Promise>\ - \ = fireblocks.cosignersBeta.getCosigners(cosignersBetaApiGetCosignersRequest);" + code: "const response: Promise>\ + \ = fireblocks.apiUser.getApiUsers();" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.cosignersBeta().getCosigners(order, pageCursor, pageSize);" + code: CompletableFuture> response = fireblocks.apiUser().getApiUsers(); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.cosigners_beta.get_cosigners(order, page_cursor,\ - \ page_size);" + code: response = fireblocks.api_user.get_api_users(); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.cosignersBeta.getCosigners(cosignersBetaApiGetCosignersRequest);" + source: "const response: Promise>\ + \ = fireblocks.apiUser.getApiUsers();" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.cosignersBeta().getCosigners(order, pageCursor, pageSize);" + source: CompletableFuture> response = fireblocks.apiUser().getApiUsers(); - lang: Python - source: "response = fireblocks.cosigners_beta.get_cosigners(order, page_cursor,\ - \ page_size);" + source: response = fireblocks.api_user.get_api_users(); x-accepts: - application/json post: - description: Add a new cosigner. The cosigner will be pending pairing until - the API key is manually paired - operationId: addCosigner + description: |- + 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. + operationId: createApiUser parameters: - description: "A unique identifier for the request. If the request is sent\ \ multiple times with the same idempotency key, the server will return the\ @@ -24069,346 +25506,544 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AddCosignerRequest" - required: true + $ref: "#/components/schemas/CreateAPIUser" responses: - "201": + "200": + description: User creation approval request has been sent + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "400": + description: bad request + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "401": content: application/json: schema: - $ref: "#/components/schemas/AddCosignerResponse" - description: Pending cosigner added + $ref: "#/components/schemas/ErrorResponse" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Lacking permissions. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "5XX": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Internal error. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Add cosigner + summary: Create API Key tags: - - Cosigners (Beta) + - Api User x-rate-limit-category: write x-readme: code-samples: + - language: javascript + code: "const res = await fireblocks.createApiUser(name, role, csrForNewUser,\ + \ coSignerType, isFirstUser);" + name: Fireblocks SDK Javascript example + - language: python + code: "res = fireblocks.create_api_user(name, role, csr_pem, co_signer_setup,\ + \ co_signer_setup_is_first_user)" + name: Fireblocks SDK Python example (Legacy) - language: typescript - code: "const response: Promise>\ - \ = fireblocks.cosignersBeta.addCosigner(cosignersBetaApiAddCosignerRequest);" + code: "const response: Promise> = fireblocks.apiUser.createApiUser(apiUserApiCreateApiUserRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.cosignersBeta().addCosigner(addCosignerRequest,\ + code: "CompletableFuture> response = fireblocks.apiUser().createApiUser(createAPIUser,\ \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.cosigners_beta.add_cosigner(add_cosigner_request,\ + code: "response = fireblocks.api_user.create_api_user(create_a_p_i_user,\ \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.cosignersBeta.addCosigner(cosignersBetaApiAddCosignerRequest);" + source: "const response: Promise> = fireblocks.apiUser.createApiUser(apiUserApiCreateApiUserRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.cosignersBeta().addCosigner(addCosignerRequest,\ + source: "CompletableFuture> response = fireblocks.apiUser().createApiUser(createAPIUser,\ \ idempotencyKey);" - lang: Python - source: "response = fireblocks.cosigners_beta.add_cosigner(add_cosigner_request,\ + source: "response = fireblocks.api_user.create_api_user(create_a_p_i_user,\ \ idempotency_key);" x-content-type: application/json x-accepts: - application/json - /cosigners/{cosignerId}: - get: - description: | - Get a cosigner by ID - **Note:** These endpoints are currently in beta and might be subject to changes. - operationId: getCosigner + /management/users/{id}/reset_device: + post: + description: |- + 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. + operationId: resetDevice parameters: - - description: The unique identifier of the cosigner - example: 44fcead0-7053-4831-a53a-df7fb90d440f + - description: The ID of the console user explode: false in: path - name: cosignerId + name: id required: true schema: - format: uuid type: string style: simple - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Cosigner" - description: A cosigner object + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + responses: + "200": + description: Reset device approval request has been sent + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Lacking permissions. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "5XX": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Internal error. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Get cosigner + summary: Resets device tags: - - Cosigners (Beta) - x-rate-limit-category: read + - Reset device + x-rate-limit-category: write x-readme: code-samples: + - language: javascript + code: const res = await fireblocks.resetDeviceRequest(consoleUserId); + name: Fireblocks SDK Javascript example + - language: python + code: res = fireblocks.reset_device_request(console_user_id) + name: Fireblocks SDK Python example (Legacy) - language: typescript - code: "const response: Promise> = fireblocks.cosignersBeta.getCosigner(cosignersBetaApiGetCosignerRequest);" + code: "const response: Promise> = fireblocks.resetDevice.resetDevice(resetDeviceApiResetDeviceRequest);" name: Fireblocks SDK TypeScript example - language: java - code: CompletableFuture> response = fireblocks.cosignersBeta().getCosigner(cosignerId); + code: "CompletableFuture> response = fireblocks.resetDevice().resetDevice(id,\ + \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: response = fireblocks.cosigners_beta.get_cosigner(cosigner_id); + code: "response = fireblocks.reset_device.reset_device(id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.cosignersBeta.getCosigner(cosignersBetaApiGetCosignerRequest);" + source: "const response: Promise> = fireblocks.resetDevice.resetDevice(resetDeviceApiResetDeviceRequest);" - lang: Java - source: CompletableFuture> response = fireblocks.cosignersBeta().getCosigner(cosignerId); + source: "CompletableFuture> response = fireblocks.resetDevice().resetDevice(id,\ + \ idempotencyKey);" - lang: Python - source: response = fireblocks.cosigners_beta.get_cosigner(cosigner_id); + source: "response = fireblocks.reset_device.reset_device(id, idempotency_key);" x-accepts: - application/json - patch: - description: | - Rename a cosigner by ID - **Note:** These endpoints are currently in beta and might be subject to changes. - operationId: renameCosigner + /management/api_users/{userId}/whitelist_ip_addresses: + get: + description: |- + 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. + operationId: getWhitelistIpAddresses parameters: - - description: The unique identifier of the cosigner - example: 44fcead0-7053-4831-a53a-df7fb90d440f + - description: The ID of the api user explode: false in: path - name: cosignerId + name: userId required: true schema: - format: uuid type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/RenameCosigner" - required: true responses: "200": content: application/json: schema: - $ref: "#/components/schemas/Cosigner" - description: A cosigner object + $ref: "#/components/schemas/GetWhitelistIpAddressesResponse" + description: successfully got whitelisted ip addresses + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Unauthorized. Missing / invalid JWT token in Authorization + header. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Lacking permissions. + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "5XX": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Internal error. headers: X-Request-ID: $ref: "#/components/headers/X-Request-ID" default: $ref: "#/components/responses/Error" - summary: Rename cosigner + summary: Get whitelisted ip addresses for an API Key tags: - - Cosigners (Beta) - x-rate-limit-category: write + - whitelist ip addresses + x-rate-limit-category: read x-readme: code-samples: + - language: javascript + code: const whitelistedAddresses = await fireblocks.getWhitelistedAddresses(apiUserId); + name: Fireblocks SDK Javascript example + - language: python + code: whitelisted_addresses = fireblocks.get_whitelisted_ip_addresses(api_user_id) + name: Fireblocks SDK Python example (Legacy) - language: typescript - code: "const response: Promise> = fireblocks.cosignersBeta.renameCosigner(cosignersBetaApiRenameCosignerRequest);" + code: "const response: Promise>\ + \ = fireblocks.whitelistIpAddresses.getWhitelistIpAddresses(whitelistIpAddressesApiGetWhitelistIpAddressesRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.cosignersBeta().renameCosigner(renameCosigner,\ - \ cosignerId);" + code: CompletableFuture> response + = fireblocks.whitelistIpAddresses().getWhitelistIpAddresses(userId); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.cosigners_beta.rename_cosigner(rename_cosigner,\ - \ cosigner_id);" + code: response = fireblocks.whitelist_ip_addresses.get_whitelist_ip_addresses(user_id); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.cosignersBeta.renameCosigner(cosignersBetaApiRenameCosignerRequest);" + source: "const response: Promise>\ + \ = fireblocks.whitelistIpAddresses.getWhitelistIpAddresses(whitelistIpAddressesApiGetWhitelistIpAddressesRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.cosignersBeta().renameCosigner(renameCosigner,\ - \ cosignerId);" + source: CompletableFuture> response + = fireblocks.whitelistIpAddresses().getWhitelistIpAddresses(userId); - lang: Python - source: "response = fireblocks.cosigners_beta.rename_cosigner(rename_cosigner,\ - \ cosigner_id);" - x-content-type: application/json + source: response = fireblocks.whitelist_ip_addresses.get_whitelist_ip_addresses(user_id); x-accepts: - application/json - /cosigners/{cosignerId}/api_keys: + /smart-transfers: get: - description: Get all cosigner paired API keys (paginated) - operationId: getApiKeys + description: |- + 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. + operationId: searchTickets parameters: - - description: The unique identifier of the cosigner - example: 44fcead0-7053-4831-a53a-df7fb90d440f - explode: false - in: path - name: cosignerId - required: true + - description: Search string - counterparty name or asset or ticketId. Optional + explode: true + in: query + name: q + required: false schema: - format: uuid + minLength: 1 type: string - style: simple - - description: ASC / DESC ordering (default DESC) - example: ASC + style: form + - description: Ticket statuses for Smart Transfer tickets. Optional + example: + - DRAFT + - OPEN explode: true in: query - name: order + name: statuses + required: false + schema: + default: [] + items: + enum: + - DRAFT + - PENDING_APPROVAL + - OPEN + - IN_SETTLEMENT + - FULFILLED + - EXPIRED + - CANCELED + type: string + type: array + style: form + - description: "NetworkId that is used in the ticket\t. Optional" + explode: true + in: query + name: networkId + required: false + schema: + type: string + style: form + - description: Filter created tickets by created by self or by others. Optional + explode: true + in: query + name: createdByMe + required: false + schema: + type: boolean + style: form + - description: Lower bound of search range. Optional + explode: true + in: query + name: expiresAfter + required: false + schema: + format: date-time + type: string + style: form + - description: Upper bound of search range. Optional + explode: true + in: query + name: expiresBefore + required: false + schema: + format: date-time + type: string + style: form + - description: "Type of transfer. ASYNC executes transfers as they are funded,\ + \ DVP executes all terms (legs) as one dvp transfer" + explode: true + in: query + name: type required: false schema: - default: DESC enum: - - ASC - - DESC + - ASYNC + - DVP type: string style: form - - description: Cursor of the required page + - description: External ref. ID that workspace can use to identify ticket outside + of Fireblocks system. explode: true in: query - name: pageCursor + name: externalRefId required: false schema: + maxLength: 64 + minLength: 1 type: string style: form - - description: Maximum number of items in the page - example: 10 + - description: ID of the record after which to fetch $limit records explode: true in: query - name: pageSize + name: after + required: false + schema: + type: string + style: form + - description: "Number of records to fetch. By default, it is 100" + explode: true + in: query + name: limit required: false schema: - default: 10 - maximum: 100 minimum: 1 type: number style: form + - description: Sort by field + explode: true + in: query + name: sortBy + required: false + schema: + default: createdAt + enum: + - createdAt + - updatedAt + - submittedAt + example: createdAt + type: string + style: form + - description: ASC / DESC ordering (default DESC) + explode: true + in: query + name: order + required: false + schema: + default: DESC + enum: + - ASC + - DESC + example: DESC + type: string + style: form responses: "200": content: application/json: schema: - $ref: "#/components/schemas/ApiKeysPaginatedResponse" - description: A paginated response containing ApiKey objects - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Get all API keys + $ref: "#/components/schemas/SmartTransferTicketFilteredResponse" + description: Smart Transfer tickets were returned successfully + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + summary: Find Ticket tags: - - Cosigners (Beta) + - Smart Transfer x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.cosignersBeta.getApiKeys(cosignersBetaApiGetApiKeysRequest);" + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.searchTickets(smartTransferApiSearchTicketsRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.cosignersBeta().getApiKeys(cosignerId, order, pageCursor,\ - \ pageSize);" + code: "CompletableFuture>\ + \ response = fireblocks.smartTransfer().searchTickets(q, statuses, networkId,\ + \ createdByMe, expiresAfter, expiresBefore, type, externalRefId, after,\ + \ limit, sortBy, order);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.cosigners_beta.get_api_keys(cosigner_id, order,\ - \ page_cursor, page_size);" + code: "response = fireblocks.smart_transfer.search_tickets(q, statuses,\ + \ network_id, created_by_me, expires_after, expires_before, type, external_ref_id,\ + \ after, limit, sort_by, order);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.cosignersBeta.getApiKeys(cosignersBetaApiGetApiKeysRequest);" + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.searchTickets(smartTransferApiSearchTicketsRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.cosignersBeta().getApiKeys(cosignerId, order, pageCursor,\ - \ pageSize);" + source: "CompletableFuture>\ + \ response = fireblocks.smartTransfer().searchTickets(q, statuses, networkId,\ + \ createdByMe, expiresAfter, expiresBefore, type, externalRefId, after,\ + \ limit, sortBy, order);" - lang: Python - source: "response = fireblocks.cosigners_beta.get_api_keys(cosigner_id, order,\ - \ page_cursor, page_size);" + source: "response = fireblocks.smart_transfer.search_tickets(q, statuses,\ + \ network_id, created_by_me, expires_after, expires_before, type, external_ref_id,\ + \ after, limit, sort_by, order);" x-accepts: - application/json - /cosigners/{cosignerId}/api_keys/{apiKeyId}: - delete: - description: Unpair an API key from a cosigner - operationId: unpairApiKey + post: + description: | + 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. + operationId: createTicket parameters: - - description: The unique identifier of the cosigner - example: 44fcead0-7053-4831-a53a-df7fb90d440f + - 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." explode: false - in: path - name: cosignerId - required: true + in: header + name: Idempotency-Key + required: false schema: - format: uuid type: string style: simple - - description: The unique identifier of the API key - example: 44fcead0-7053-4831-a53a-df7fb90d440f - explode: false - in: path - name: apiKeyId + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferCreateTicket" required: true - schema: - type: string - style: simple responses: - "202": + "201": content: application/json: schema: - $ref: "#/components/schemas/ApiKey" - description: The API key object to be unpaired - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - Location: - $ref: "#/components/headers/Location" - default: - $ref: "#/components/responses/Error" - summary: Unpair API key + $ref: "#/components/schemas/SmartTransferTicketResponse" + description: Smart Transfer ticket was created successfully + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Create Ticket tags: - - Cosigners (Beta) - x-rate-limit-category: write + - Smart Transfer + x-rate-limit-category: async x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.cosignersBeta.unpairApiKey(cosignersBetaApiUnpairApiKeyRequest);" + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.createTicket(smartTransferApiCreateTicketRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.cosignersBeta().unpairApiKey(cosignerId,\ - \ apiKeyId);" + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().createTicket(smartTransferCreateTicket,\ + \ idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.cosigners_beta.unpair_api_key(cosigner_id,\ - \ api_key_id);" + code: "response = fireblocks.smart_transfer.create_ticket(smart_transfer_create_ticket,\ + \ idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.cosignersBeta.unpairApiKey(cosignersBetaApiUnpairApiKeyRequest);" + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.createTicket(smartTransferApiCreateTicketRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.cosignersBeta().unpairApiKey(cosignerId,\ - \ apiKeyId);" + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().createTicket(smartTransferCreateTicket, idempotencyKey);" - lang: Python - source: "response = fireblocks.cosigners_beta.unpair_api_key(cosigner_id,\ - \ api_key_id);" + source: "response = fireblocks.smart_transfer.create_ticket(smart_transfer_create_ticket,\ + \ idempotency_key);" + x-content-type: application/json x-accepts: - application/json + /smart-transfers/{ticketId}: get: - description: | - Get an API key by ID - **Note:** These endpoints are currently in beta and might be subject to changes. - operationId: getApiKey + description: "Find Smart Transfer ticket by id.
    Endpoint Permission: Admin,\ + \ Non-Signing Admin, Signer, Approver, Editor, Viewer." + operationId: findTicketById parameters: - - description: The unique identifier of the cosigner - example: 44fcead0-7053-4831-a53a-df7fb90d440f - explode: false - in: path - name: cosignerId - required: true - schema: - format: uuid - type: string - style: simple - - description: The unique identifier of the API key - example: 44fcead0-7053-4831-a53a-df7fb90d440f - explode: false + - explode: false in: path - name: apiKeyId + name: ticketId required: true schema: type: string @@ -24418,59 +26053,69 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ApiKey" - description: An ApiKey object - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Get API key + $ref: "#/components/schemas/SmartTransferTicketResponse" + description: Smart Transfer ticket returned successfully + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + summary: Search Ticket by ID tags: - - Cosigners (Beta) - x-rate-limit-category: read + - Smart Transfer + x-rate-limit-category: query x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.cosignersBeta.getApiKey(cosignersBetaApiGetApiKeyRequest);" + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.findTicketById(smartTransferApiFindTicketByIdRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.cosignersBeta().getApiKey(cosignerId,\ - \ apiKeyId);" + code: CompletableFuture> response + = fireblocks.smartTransfer().findTicketById(ticketId); name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.cosigners_beta.get_api_key(cosigner_id, api_key_id);" + code: response = fireblocks.smart_transfer.find_ticket_by_id(ticket_id); name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.cosignersBeta.getApiKey(cosignersBetaApiGetApiKeyRequest);" + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.findTicketById(smartTransferApiFindTicketByIdRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.cosignersBeta().getApiKey(cosignerId,\ - \ apiKeyId);" + source: CompletableFuture> response + = fireblocks.smartTransfer().findTicketById(ticketId); - lang: Python - source: "response = fireblocks.cosigners_beta.get_api_key(cosigner_id, api_key_id);" + source: response = fireblocks.smart_transfer.find_ticket_by_id(ticket_id); x-accepts: - application/json - patch: - description: Update the callback handler of an API key - operationId: updateCallbackHandler + /smart-transfers/{ticketId}/expires-in: + put: + description: "Set expiration date on Smart Transfer ticket.
    Endpoint Permission:\ + \ Admin, Non-Signing Admin, Signer, Approver, Editor." + operationId: setTicketExpiration parameters: - - description: The unique identifier of the cosigner - example: 44fcead0-7053-4831-a53a-df7fb90d440f - explode: false + - explode: false in: path - name: cosignerId + name: ticketId required: true schema: - format: uuid type: string style: simple - - description: The unique identifier of the API key - example: 44fcead0-7053-4831-a53a-df7fb90d440f - explode: false - in: path - name: apiKeyId - required: true + - 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." + explode: false + in: header + name: Idempotency-Key + required: false schema: type: string style: simple @@ -24478,74 +26123,164 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateCallbackHandlerRequest" + $ref: "#/components/schemas/SmartTransferSetTicketExpiration" required: true responses: - "202": + "200": content: application/json: schema: - $ref: "#/components/schemas/UpdateCallbackHandlerResponse" - description: The API key object with the new callback handler - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - Location: - $ref: "#/components/headers/Location" - default: - $ref: "#/components/responses/Error" - summary: Update API key callback handler + $ref: "#/components/schemas/SmartTransferTicketResponse" + description: Successfully set expiration date on Smart Transfer ticket + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Set expiration tags: - - Cosigners (Beta) + - Smart Transfer x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise>\ - \ = fireblocks.cosignersBeta.updateCallbackHandler(cosignersBetaApiUpdateCallbackHandlerRequest);" + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.setTicketExpiration(smartTransferApiSetTicketExpirationRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response\ - \ = fireblocks.cosignersBeta().updateCallbackHandler(updateCallbackHandlerRequest,\ - \ cosignerId, apiKeyId);" + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().setTicketExpiration(smartTransferSetTicketExpiration,\ + \ ticketId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.cosigners_beta.update_callback_handler(update_callback_handler_request,\ - \ cosigner_id, api_key_id);" + code: "response = fireblocks.smart_transfer.set_ticket_expiration(smart_transfer_set_ticket_expiration,\ + \ ticket_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise>\ - \ = fireblocks.cosignersBeta.updateCallbackHandler(cosignersBetaApiUpdateCallbackHandlerRequest);" + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.setTicketExpiration(smartTransferApiSetTicketExpirationRequest);" - lang: Java - source: "CompletableFuture> response\ - \ = fireblocks.cosignersBeta().updateCallbackHandler(updateCallbackHandlerRequest,\ - \ cosignerId, apiKeyId);" + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().setTicketExpiration(smartTransferSetTicketExpiration,\ + \ ticketId, idempotencyKey);" - lang: Python - source: "response = fireblocks.cosigners_beta.update_callback_handler(update_callback_handler_request,\ - \ cosigner_id, api_key_id);" + source: "response = fireblocks.smart_transfer.set_ticket_expiration(smart_transfer_set_ticket_expiration,\ + \ ticket_id, idempotency_key);" x-content-type: application/json x-accepts: - application/json + /smart-transfers/{ticketId}/external-id: put: - description: Pair an API key to a cosigner - operationId: pairApiKey + description: "Set external id Smart Transfer ticket.
    Endpoint Permission:\ + \ Admin, Non-Signing Admin, Signer, Approver, Editor." + operationId: setExternalRefId parameters: - - description: The unique identifier of the cosigner - example: 44fcead0-7053-4831-a53a-df7fb90d440f - explode: false + - explode: false in: path - name: cosignerId + name: ticketId required: true schema: - format: uuid type: string style: simple - - description: The unique identifier of the API key - example: 44fcead0-7053-4831-a53a-df7fb90d440f + - 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." explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferSetTicketExternalId" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferTicketResponse" + description: Successfully set external id on Smart Transfer ticket + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Add external ref. ID + tags: + - Smart Transfer + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.setExternalRefId(smartTransferApiSetExternalRefIdRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().setExternalRefId(smartTransferSetTicketExternalId,\ + \ ticketId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.smart_transfer.set_external_ref_id(smart_transfer_set_ticket_external_id,\ + \ ticket_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.setExternalRefId(smartTransferApiSetExternalRefIdRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().setExternalRefId(smartTransferSetTicketExternalId,\ + \ ticketId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.smart_transfer.set_external_ref_id(smart_transfer_set_ticket_external_id,\ + \ ticket_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /smart-transfers/{ticketId}/submit: + put: + description: "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." + operationId: submitTicket + parameters: + - explode: false in: path - name: apiKeyId + name: ticketId required: true schema: type: string @@ -24565,3378 +26300,4545 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PairApiKeyRequest" + $ref: "#/components/schemas/SmartTransferSubmitTicket" required: true responses: - "202": + "200": content: application/json: schema: - $ref: "#/components/schemas/PairApiKeyResponse" - description: The API key object to be paired - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - Location: - $ref: "#/components/headers/Location" - default: - $ref: "#/components/responses/Error" - summary: Pair API key + $ref: "#/components/schemas/SmartTransferTicketResponse" + description: Successfully submitted Smart Transfer ticket + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Submit ticket tags: - - Cosigners (Beta) + - Smart Transfer x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise> =\ - \ fireblocks.cosignersBeta.pairApiKey(cosignersBetaApiPairApiKeyRequest);" + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.submitTicket(smartTransferApiSubmitTicketRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.cosignersBeta().pairApiKey(pairApiKeyRequest,\ - \ cosignerId, apiKeyId, idempotencyKey);" + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().submitTicket(smartTransferSubmitTicket,\ + \ ticketId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.cosigners_beta.pair_api_key(pair_api_key_request,\ - \ cosigner_id, api_key_id, idempotency_key);" + code: "response = fireblocks.smart_transfer.submit_ticket(smart_transfer_submit_ticket,\ + \ ticket_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> =\ - \ fireblocks.cosignersBeta.pairApiKey(cosignersBetaApiPairApiKeyRequest);" + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.submitTicket(smartTransferApiSubmitTicketRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.cosignersBeta().pairApiKey(pairApiKeyRequest,\ - \ cosignerId, apiKeyId, idempotencyKey);" + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().submitTicket(smartTransferSubmitTicket, ticketId,\ + \ idempotencyKey);" - lang: Python - source: "response = fireblocks.cosigners_beta.pair_api_key(pair_api_key_request,\ - \ cosigner_id, api_key_id, idempotency_key);" + source: "response = fireblocks.smart_transfer.submit_ticket(smart_transfer_submit_ticket,\ + \ ticket_id, idempotency_key);" x-content-type: application/json x-accepts: - application/json - /cosigners/{cosignerId}/api_keys/{apiKeyId}/{requestId}: - get: - description: Get the status of an asynchronous request - operationId: getRequestStatus + /smart-transfers/{ticketId}/fulfill: + put: + description: "Manually fulfill ticket, in case when all terms (legs) are funded\ + \ manually.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver,\ + \ Editor." + operationId: fulfillTicket parameters: - - description: The unique identifier of the cosigner - example: 44fcead0-7053-4831-a53a-df7fb90d440f - explode: false + - explode: false in: path - name: cosignerId + name: ticketId required: true schema: - format: uuid type: string style: simple - - description: The unique identifier of the API key - example: 44fcead0-7053-4831-a53a-df7fb90d440f + - 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." explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferTicketResponse" + description: Successfully fulfilled on Smart Transfer ticket + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Fund ticket manually + tags: + - Smart Transfer + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.fulfillTicket(smartTransferApiFulfillTicketRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().fulfillTicket(ticketId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.smart_transfer.fulfill_ticket(ticket_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.fulfillTicket(smartTransferApiFulfillTicketRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().fulfillTicket(ticketId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.smart_transfer.fulfill_ticket(ticket_id, idempotency_key);" + x-accepts: + - application/json + /smart_transfers/{ticketId}/dvp/fund: + put: + description: Create or fulfill dvp ticket order + operationId: fundDvpTicket + parameters: + - explode: false in: path - name: apiKeyId + name: ticketId required: true schema: type: string style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferFundDvpTicket" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferTicketResponse" + description: Successfully started creating or fulfilling order on dvp Smart + Transfer ticket + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Fund dvp ticket + tags: + - Smart Transfer + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.fundDvpTicket(smartTransferApiFundDvpTicketRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().fundDvpTicket(smartTransferFundDvpTicket,\ + \ ticketId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.smart_transfer.fund_dvp_ticket(smart_transfer_fund_dvp_ticket,\ + \ ticket_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.fundDvpTicket(smartTransferApiFundDvpTicketRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().fundDvpTicket(smartTransferFundDvpTicket,\ + \ ticketId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.smart_transfer.fund_dvp_ticket(smart_transfer_fund_dvp_ticket,\ + \ ticket_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /smart-transfers/{ticketId}/cancel: + put: + description: "Cancel Smart Transfer ticket.
    Endpoint Permission: Admin,\ + \ Non-Signing Admin, Signer, Approver, Editor." + operationId: cancelTicket + parameters: - explode: false in: path - name: requestId + name: ticketId required: true schema: type: string style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple responses: "200": content: application/json: schema: - $ref: "#/components/schemas/Status" - description: The status of the request - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - default: - $ref: "#/components/responses/Error" - summary: Get request status + $ref: "#/components/schemas/SmartTransferTicketResponse" + description: Smart Transfer ticket successfully canceled + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Cancel Ticket tags: - - Cosigners (Beta) - x-rate-limit-category: read + - Smart Transfer + x-rate-limit-category: write x-readme: code-samples: - language: typescript - code: "const response: Promise> = fireblocks.cosignersBeta.getRequestStatus(cosignersBetaApiGetRequestStatusRequest);" + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.cancelTicket(smartTransferApiCancelTicketRequest);" name: Fireblocks SDK TypeScript example - language: java - code: "CompletableFuture> response = fireblocks.cosignersBeta().getRequestStatus(cosignerId,\ - \ apiKeyId, requestId);" + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().cancelTicket(ticketId, idempotencyKey);" name: Fireblocks SDK Java example - language: python - code: "response = fireblocks.cosigners_beta.get_request_status(cosigner_id,\ - \ api_key_id, request_id);" + code: "response = fireblocks.smart_transfer.cancel_ticket(ticket_id, idempotency_key);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript - source: "const response: Promise> = fireblocks.cosignersBeta.getRequestStatus(cosignersBetaApiGetRequestStatusRequest);" + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.cancelTicket(smartTransferApiCancelTicketRequest);" - lang: Java - source: "CompletableFuture> response = fireblocks.cosignersBeta().getRequestStatus(cosignerId,\ - \ apiKeyId, requestId);" + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().cancelTicket(ticketId, idempotencyKey);" - lang: Python - source: "response = fireblocks.cosigners_beta.get_request_status(cosigner_id,\ - \ api_key_id, request_id);" + source: "response = fireblocks.smart_transfer.cancel_ticket(ticket_id, idempotency_key);" x-accepts: - application/json -components: - headers: - X-Request-ID: - description: Unique ID correlated to the API request. Please provide it in any - support ticket you create or on Github issues related to Fireblocks SDKs - explode: false - schema: - type: string - style: simple - next-page: - description: URL representing a new request to this API endpoint to receive - the next page of results. - explode: false - schema: - type: string - style: simple - prev-page: - description: URL representing a new request to this API endpoint to receive - the previous page of results. - explode: false - schema: - type: string - style: simple - Location: - description: The location URL of the request status - explode: false - schema: - type: string - style: simple - parameters: - X-Idempotency-Key: - 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." - explode: false - in: header - name: Idempotency-Key - required: false - schema: - type: string - style: simple - X-End-User-Wallet-Id_required: - description: Unique ID of the End-User wallet to the API request. Required for - end-user wallet operations. - explode: false - in: header - name: X-End-User-Wallet-Id - required: true - schema: - format: uuid - type: string - style: simple - X-End-User-Wallet-Id: - description: Unique ID of the End-User wallet to the API request. Required for - end-user wallet operations. - explode: false - in: header - name: X-End-User-Wallet-Id - required: false - schema: - format: uuid - type: string - style: simple - responses: - Error: - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorSchema" - description: Error Response - headers: - X-Request-ID: - $ref: "#/components/headers/X-Request-ID" - BadRequestError: - content: - application/json: - example: - error: - type: VALIDATION - message: Invalid input data or parameters - schema: - $ref: "#/components/schemas/ErrorResponse" - description: "Bad request, invalid input data or parameters" - OriginalTokenLinkNotFoundError: - content: - application/json: - example: - error: - type: NOT_FOUND - message: The specified token link was not found - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Token link not found - TokenLinkPreparationError: - content: - application/json: - example: - error: - type: UNPROCESSABLE_ENTITY - message: An error occurred during token link preparation - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Token link preparation error - OriginalTokenLinkNotFungibleError: - content: - application/json: - example: - error: - type: UNPROCESSABLE_ENTITY - message: The token link is not of fungible type - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Token link is not fungible - InternalServerError: - content: - application/json: - example: - error: - type: INTERNAL - message: An unexpected error occurred during execution. Please try again - later. - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Internal server error - TokenLinkProcessingError: - content: - application/json: - example: - error: - type: UNPROCESSABLE_ENTITY - message: An error occurred during token link processing - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Token link processing error - BridgingProtocolBlockchainMetadataNotFoundError: - content: - application/json: - example: - error: - type: NOT_FOUND - message: Bridging to the specified blockchain is not supported - schema: - $ref: "#/components/schemas/ErrorResponse" - description: Bridging protocol blockchain metadata not found - schemas: - ErrorSchema: - example: - code: 0.8008281904610115 - message: message - properties: - message: - type: string - code: - type: number - type: object - RewardsInfo: - example: - pendingRewards: pendingRewards - properties: - pendingRewards: - description: Amount that is pending for rewards - type: string - type: object - VaultAsset: - example: - totalStakedCPU: totalStakedCPU - blockHash: blockHash - pendingRefundNetwork: pendingRefundNetwork - lockedAmount: lockedAmount - pending: pending - staked: staked - rewardsInfo: - pendingRewards: pendingRewards - available: available - frozen: frozen - selfStakedCPU: selfStakedCPU - totalStakedNetwork: totalStakedNetwork - total: total - balance: balance - blockHeight: blockHeight - selfStakedNetwork: selfStakedNetwork - pendingRefundCPU: pendingRefundCPU - id: id - properties: - id: - type: string - total: - description: "The total wallet balance. In EOS this value includes the network\ - \ balance, self staking and pending refund. For all other coins it is\ - \ the balance as it appears on the blockchain." - type: string - balance: - deprecated: true - description: Deprecated - replaced by "total" - type: string - available: - description: Funds available for transfer. Equals the blockchain balance - minus any locked amounts - type: string - pending: - description: The cumulative balance of all transactions pending to be cleared - type: string - frozen: - description: The cumulative frozen balance - type: string - lockedAmount: - description: Funds in outgoing transactions that are not yet published to - the network - type: string - staked: - description: Staked balance - type: string - totalStakedCPU: - description: Deprecated + /smart-transfers/{ticketId}/terms: + post: + description: "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." + operationId: createTicketTerm + parameters: + - explode: false + in: path + name: ticketId + required: true + schema: type: string - totalStakedNetwork: - description: Deprecated + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: type: string - selfStakedCPU: - description: Deprecated + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferCreateTicketTerm" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferTicketTermResponse" + description: Smart Transfer ticket term was created successfully + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Create leg (term) + tags: + - Smart Transfer + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.createTicketTerm(smartTransferApiCreateTicketTermRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().createTicketTerm(smartTransferCreateTicketTerm,\ + \ ticketId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.smart_transfer.create_ticket_term(smart_transfer_create_ticket_term,\ + \ ticket_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.createTicketTerm(smartTransferApiCreateTicketTermRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().createTicketTerm(smartTransferCreateTicketTerm,\ + \ ticketId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.smart_transfer.create_ticket_term(smart_transfer_create_ticket_term,\ + \ ticket_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /smart-transfers/{ticketId}/terms/{termId}: + delete: + description: Delete ticket term when ticket is in DRAFT status + operationId: removeTicketTerm + parameters: + - explode: false + in: path + name: ticketId + required: true + schema: type: string - selfStakedNetwork: - description: Deprecated + style: simple + - explode: false + in: path + name: termId + required: true + schema: type: string - pendingRefundCPU: - description: Deprecated + style: simple + responses: + "204": + description: Smart Transfer ticket term successfully removed + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + summary: Delete ticket leg (term) + tags: + - Smart Transfer + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.smartTransfer.removeTicketTerm(smartTransferApiRemoveTicketTermRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.smartTransfer().removeTicketTerm(ticketId,\ + \ termId);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.smart_transfer.remove_ticket_term(ticket_id,\ + \ term_id);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.smartTransfer.removeTicketTerm(smartTransferApiRemoveTicketTermRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.smartTransfer().removeTicketTerm(ticketId,\ + \ termId);" + - lang: Python + source: "response = fireblocks.smart_transfer.remove_ticket_term(ticket_id,\ + \ term_id);" + x-accepts: + - application/json + get: + description: "Find a specific term of a specific Smart Transfer ticket.
    Endpoint\ + \ Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer." + operationId: findTicketTermById + parameters: + - explode: false + in: path + name: ticketId + required: true + schema: type: string - pendingRefundNetwork: - description: Deprecated + style: simple + - explode: false + in: path + name: termId + required: true + schema: type: string - blockHeight: + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferTicketTermResponse" + description: Smart Transfer ticket term returned successfully + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + summary: Get Smart Transfer ticket term + tags: + - Smart Transfer + x-rate-limit-category: read + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.findTicketTermById(smartTransferApiFindTicketTermByIdRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().findTicketTermById(ticketId, termId);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.smart_transfer.find_ticket_term_by_id(ticket_id,\ + \ term_id);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.findTicketTermById(smartTransferApiFindTicketTermByIdRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().findTicketTermById(ticketId, termId);" + - lang: Python + source: "response = fireblocks.smart_transfer.find_ticket_term_by_id(ticket_id,\ + \ term_id);" + x-accepts: + - application/json + put: + description: Update ticket term (when ticket status is DRAFT) + operationId: updateTicketTerm + parameters: + - explode: false + in: path + name: ticketId + required: true + schema: type: string - blockHash: + style: simple + - explode: false + in: path + name: termId + required: true + schema: type: string - rewardsInfo: - $ref: "#/components/schemas/RewardsInfo" - type: object - Tag: - example: - isProtected: true - color: color - description: Tag for VIP customers - id: df4c0987-30da-4976-8dcf-bc2dd41ae331 - label: VIP - updatedAt: "1719859200" - properties: - id: - description: The unique identifier of the tag - example: df4c0987-30da-4976-8dcf-bc2dd41ae331 - format: uuid + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: type: string - label: - description: The tag label - example: VIP + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferUpdateTicketTerm" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferTicketTermResponse" + description: Smart Transfer ticket term updated successfully + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + summary: Update ticket leg (term) + tags: + - Smart Transfer + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.updateTicketTerm(smartTransferApiUpdateTicketTermRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().updateTicketTerm(smartTransferUpdateTicketTerm,\ + \ ticketId, termId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.smart_transfer.update_ticket_term(smart_transfer_update_ticket_term,\ + \ ticket_id, term_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.updateTicketTerm(smartTransferApiUpdateTicketTermRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().updateTicketTerm(smartTransferUpdateTicketTerm,\ + \ ticketId, termId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.smart_transfer.update_ticket_term(smart_transfer_update_ticket_term,\ + \ ticket_id, term_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /smart-transfers/{ticketId}/terms/{termId}/fund: + put: + description: "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." + operationId: fundTicketTerm + parameters: + - explode: false + in: path + name: ticketId + required: true + schema: type: string - description: - description: Description for the tag - example: Tag for VIP customers + style: simple + - explode: false + in: path + name: termId + required: true + schema: type: string - isProtected: - description: Whether the tag is protected - type: boolean - color: - description: The color of the tag in hex format + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: type: string - example: null - updatedAt: - description: The date and time the tag was last updated - example: "1719859200" - format: numeric + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferFundTerm" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferTicketTermResponse" + description: Funding source for ticket term successfully done + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Define funding source + tags: + - Smart Transfer + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.fundTicketTerm(smartTransferApiFundTicketTermRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().fundTicketTerm(smartTransferFundTerm, ticketId,\ + \ termId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.smart_transfer.fund_ticket_term(smart_transfer_fund_term,\ + \ ticket_id, term_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.fundTicketTerm(smartTransferApiFundTicketTermRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().fundTicketTerm(smartTransferFundTerm, ticketId,\ + \ termId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.smart_transfer.fund_ticket_term(smart_transfer_fund_term,\ + \ ticket_id, term_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /smart_transfers/{ticketId}/terms/{termId}/dvp/approve: + put: + description: Set funding source for ticket term and creating approving transaction + for contract to transfer asset + operationId: approveDvPTicketTerm + parameters: + - explode: false + in: path + name: ticketId + required: true + schema: type: string - required: - - id - - label - type: object - VaultAccount: - example: - assets: - - totalStakedCPU: totalStakedCPU - blockHash: blockHash - pendingRefundNetwork: pendingRefundNetwork - lockedAmount: lockedAmount - pending: pending - staked: staked - rewardsInfo: - pendingRewards: pendingRewards - available: available - frozen: frozen - selfStakedCPU: selfStakedCPU - totalStakedNetwork: totalStakedNetwork - total: total - balance: balance - blockHeight: blockHeight - selfStakedNetwork: selfStakedNetwork - pendingRefundCPU: pendingRefundCPU - id: id - - totalStakedCPU: totalStakedCPU - blockHash: blockHash - pendingRefundNetwork: pendingRefundNetwork - lockedAmount: lockedAmount - pending: pending - staked: staked - rewardsInfo: - pendingRewards: pendingRewards - available: available - frozen: frozen - selfStakedCPU: selfStakedCPU - totalStakedNetwork: totalStakedNetwork - total: total - balance: balance - blockHeight: blockHeight - selfStakedNetwork: selfStakedNetwork - pendingRefundCPU: pendingRefundCPU - id: id - hiddenOnUI: true - name: name - id: id - customerRefId: customerRefId - autoFuel: true - tags: - - isProtected: true - color: color - description: Tag for VIP customers - id: df4c0987-30da-4976-8dcf-bc2dd41ae331 - label: VIP - updatedAt: "1719859200" - - isProtected: true - color: color - description: Tag for VIP customers - id: df4c0987-30da-4976-8dcf-bc2dd41ae331 - label: VIP - updatedAt: "1719859200" - properties: - id: + style: simple + - explode: false + in: path + name: termId + required: true + schema: type: string - name: + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: type: string - assets: - items: - $ref: "#/components/schemas/VaultAsset" - type: array - hiddenOnUI: - type: boolean - customerRefId: + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferApproveTerm" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferTicketTermResponse" + description: Creating approval transaction started + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Set funding source and approval + tags: + - Smart Transfer + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.approveDvPTicketTerm(smartTransferApiApproveDvPTicketTermRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().approveDvPTicketTerm(smartTransferApproveTerm,\ + \ ticketId, termId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.smart_transfer.approve_dv_p_ticket_term(smart_transfer_approve_term,\ + \ ticket_id, term_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.approveDvPTicketTerm(smartTransferApiApproveDvPTicketTermRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().approveDvPTicketTerm(smartTransferApproveTerm,\ + \ ticketId, termId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.smart_transfer.approve_dv_p_ticket_term(smart_transfer_approve_term,\ + \ ticket_id, term_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /smart-transfers/{ticketId}/terms/{termId}/manually-fund: + put: + description: |- + Manually set ticket term transaction. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + operationId: manuallyFundTicketTerm + parameters: + - explode: false + in: path + name: ticketId + required: true + schema: type: string - autoFuel: - type: boolean - tags: - description: List of tags attached to the vault account - items: - $ref: "#/components/schemas/Tag" - type: array - type: object - GetVaultAccountsResponse: - items: - $ref: "#/components/schemas/VaultAccount" - type: array - CreateVaultAccountRequest: - example: - vaultType: MPC - autoAssign: false - hiddenOnUI: true - name: name - customerRefId: customerRefId - autoFuel: true - properties: - name: - description: Account Name + style: simple + - explode: false + in: path + name: termId + required: true + schema: type: string - hiddenOnUI: - description: "Optional - if true, the created account and all related transactions\ - \ will not be shown on Fireblocks console" - type: boolean - customerRefId: - description: Optional - Sets a customer reference ID + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: type: string - autoFuel: - description: Optional - Sets the autoFuel property of the vault account - type: boolean - vaultType: - default: MPC - description: "Type of vault account. The default type will be set to MPC.
    \ - \ If the workspace does not support the selected type, it will return\ - \ an error." - enum: - - MPC - - KEY_LINK + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferManuallyFundTerm" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferTicketTermResponse" + description: Successfully manually set ticket term transaction + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferNotFoundResponse" + description: Not found + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Manually add term transaction + tags: + - Smart Transfer + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.manuallyFundTicketTerm(smartTransferApiManuallyFundTicketTermRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().manuallyFundTicketTerm(smartTransferManuallyFundTerm,\ + \ ticketId, termId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.smart_transfer.manually_fund_ticket_term(smart_transfer_manually_fund_term,\ + \ ticket_id, term_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.manuallyFundTicketTerm(smartTransferApiManuallyFundTicketTermRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().manuallyFundTicketTerm(smartTransferManuallyFundTerm,\ + \ ticketId, termId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.smart_transfer.manually_fund_ticket_term(smart_transfer_manually_fund_term,\ + \ ticket_id, term_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /smart-transfers/settings/user-groups: + get: + description: |- + Get Smart Transfer user groups. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + operationId: getSmartTransferUserGroups + parameters: [] + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferUserGroupsResponse" + description: User group settings were returned successfully + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Get user group + tags: + - Smart Transfer + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.getSmartTransferUserGroups();" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response + = fireblocks.smartTransfer().getSmartTransferUserGroups(); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.smart_transfer.get_smart_transfer_user_groups(); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.getSmartTransferUserGroups();" + - lang: Java + source: CompletableFuture> response + = fireblocks.smartTransfer().getSmartTransferUserGroups(); + - lang: Python + source: response = fireblocks.smart_transfer.get_smart_transfer_user_groups(); + x-accepts: + - application/json + post: + description: |- + Set Smart Transfers user group to receive email notifications for Smart Transfers. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + operationId: setUserGroups + parameters: + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: type: string - autoAssign: - default: false - description: "Applicable only when the vault account type is KEY_LINK. For\ - \ MPC, this parameter will be ignored.
    If set to true and there are\ - \ available keys, random keys will be assigned to the newly created vault\ - \ account.
    If set to true and there are no available keys to be assigned,\ - \ it will return an error.
    If set to false, the vault account will\ - \ be created without any keys." - type: boolean - type: object - VaultAccountsPagedResponse: - example: - previousUrl: previousUrl - paging: - before: before - after: after - accounts: - - assets: - - totalStakedCPU: totalStakedCPU - blockHash: blockHash - pendingRefundNetwork: pendingRefundNetwork - lockedAmount: lockedAmount - pending: pending - staked: staked - rewardsInfo: - pendingRewards: pendingRewards - available: available - frozen: frozen - selfStakedCPU: selfStakedCPU - totalStakedNetwork: totalStakedNetwork - total: total - balance: balance - blockHeight: blockHeight - selfStakedNetwork: selfStakedNetwork - pendingRefundCPU: pendingRefundCPU - id: id - - totalStakedCPU: totalStakedCPU - blockHash: blockHash - pendingRefundNetwork: pendingRefundNetwork - lockedAmount: lockedAmount - pending: pending - staked: staked - rewardsInfo: - pendingRewards: pendingRewards - available: available - frozen: frozen - selfStakedCPU: selfStakedCPU - totalStakedNetwork: totalStakedNetwork - total: total - balance: balance - blockHeight: blockHeight - selfStakedNetwork: selfStakedNetwork - pendingRefundCPU: pendingRefundCPU - id: id - hiddenOnUI: true - name: name - id: id - customerRefId: customerRefId - autoFuel: true - tags: - - isProtected: true - color: color - description: Tag for VIP customers - id: df4c0987-30da-4976-8dcf-bc2dd41ae331 - label: VIP - updatedAt: "1719859200" - - isProtected: true - color: color - description: Tag for VIP customers - id: df4c0987-30da-4976-8dcf-bc2dd41ae331 - label: VIP - updatedAt: "1719859200" - - assets: - - totalStakedCPU: totalStakedCPU - blockHash: blockHash - pendingRefundNetwork: pendingRefundNetwork - lockedAmount: lockedAmount - pending: pending - staked: staked - rewardsInfo: - pendingRewards: pendingRewards - available: available - frozen: frozen - selfStakedCPU: selfStakedCPU - totalStakedNetwork: totalStakedNetwork - total: total - balance: balance - blockHeight: blockHeight - selfStakedNetwork: selfStakedNetwork - pendingRefundCPU: pendingRefundCPU - id: id - - totalStakedCPU: totalStakedCPU - blockHash: blockHash - pendingRefundNetwork: pendingRefundNetwork - lockedAmount: lockedAmount - pending: pending - staked: staked - rewardsInfo: - pendingRewards: pendingRewards - available: available - frozen: frozen - selfStakedCPU: selfStakedCPU - totalStakedNetwork: totalStakedNetwork - total: total - balance: balance - blockHeight: blockHeight - selfStakedNetwork: selfStakedNetwork - pendingRefundCPU: pendingRefundCPU - id: id - hiddenOnUI: true - name: name - id: id - customerRefId: customerRefId - autoFuel: true - tags: - - isProtected: true - color: color - description: Tag for VIP customers - id: df4c0987-30da-4976-8dcf-bc2dd41ae331 - label: VIP - updatedAt: "1719859200" - - isProtected: true - color: color - description: Tag for VIP customers - id: df4c0987-30da-4976-8dcf-bc2dd41ae331 - label: VIP - updatedAt: "1719859200" - nextUrl: nextUrl - properties: - accounts: - items: - $ref: "#/components/schemas/VaultAccount" - type: array - paging: - $ref: "#/components/schemas/VaultAccountsPagedResponse_paging" - previousUrl: - type: string - nextUrl: - type: string - type: object - UpdateVaultAccountRequest: - example: - name: name - properties: - name: - description: Account Name - type: string - type: object - RenameVaultAccountResponse: - example: - name: name - id: id - properties: - name: - description: The new name of the vault account - type: string - id: - description: The ID of the vault account - type: string - type: object - AssetWallet: - example: - blockHash: blockHash - total: total - lockedAmount: lockedAmount - blockHeight: blockHeight - vaultId: vaultId - assetId: assetId - pending: pending - staked: staked - available: available - creationTimestamp: creationTimestamp - frozen: frozen - properties: - vaultId: - description: "ID of the vault account. You can [get the vault account by\ - \ this ID](https://developers.fireblocks.com/reference/get_vault-accounts-vaultaccountid)\ - \ to retrieve vault properties such as its name, auto fueling, hidden\ - \ on UI or customer reference ID." - type: string - assetId: - description: "ID of the asset. You can get more information about this asset\ - \ by using the [supported assets API](https://developers.fireblocks.com/reference/get_supported-assets)" - type: string - available: - description: "Available balance, available to use in a transaction." - type: string - total: - description: "Total balance at the asset wallet, as seen at the blockchain\ - \ explorers. This includes balance available, and any kind of unavailable\ - \ balance such as locked, frozen, or others." - type: string - pending: - description: Pending balance. - type: string - staked: - description: Staked balance. - type: string - frozen: - description: Funds frozen due to the anti-money laundering policy at this - workspace. - type: string - lockedAmount: - description: Locked balance. - type: string - blockHeight: - description: The height (number) of the block of the balance. Can by empty. - type: string - blockHash: - description: The hash of the block of the balance. Can by empty. + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferSetUserGroups" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferUserGroupsResponse" + description: User group settings were set successfully + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferBadRequestResponse" + description: Bad Request + summary: Set user group + tags: + - Smart Transfer + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.setUserGroups(smartTransferApiSetUserGroupsRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().setUserGroups(smartTransferSetUserGroups,\ + \ idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.smart_transfer.set_user_groups(smart_transfer_set_user_groups,\ + \ idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.setUserGroups(smartTransferApiSetUserGroupsRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.smartTransfer().setUserGroups(smartTransferSetUserGroups,\ + \ idempotencyKey);" + - lang: Python + source: "response = fireblocks.smart_transfer.set_user_groups(smart_transfer_set_user_groups,\ + \ idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /smart_transfers/statistic: + get: + description: Get smart transfer statistic + operationId: getSmartTransferStatistic + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferStatistic" + description: Smart Transfer ticket statistic returned successfully + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/SmartTransferForbiddenResponse" + description: Unauthorized + default: + $ref: "#/components/responses/Error" + summary: Get smart transfers statistic + tags: + - Smart Transfer + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.smartTransfer.getSmartTransferStatistic();" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response = + fireblocks.smartTransfer().getSmartTransferStatistic(); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.smart_transfer.get_smart_transfer_statistic(); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.smartTransfer.getSmartTransferStatistic();" + - lang: Java + source: CompletableFuture> response = + fireblocks.smartTransfer().getSmartTransferStatistic(); + - lang: Python + source: response = fireblocks.smart_transfer.get_smart_transfer_statistic(); + x-accepts: + - application/json + /tags: + get: + description: Retrieve a paged list of all tags according to filters. + operationId: getTags + parameters: + - description: Page cursor to get the next page. + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + explode: true + in: query + name: pageCursor + required: false + schema: type: string - creationTimestamp: - description: Unix timestamp of the time the asset wallet was created. + style: form + - description: Maximum number of items in the page + explode: true + in: query + name: pageSize + required: false + schema: + default: 100 + maximum: 100 + minimum: 1 + type: number + style: form + - description: Label prefix to filter by. + example: VIP + explode: true + in: query + name: label + required: false + schema: type: string - type: object - PaginatedAssetWalletResponse: - example: - assetWallets: - - blockHash: blockHash - total: total - lockedAmount: lockedAmount - blockHeight: blockHeight - vaultId: vaultId - assetId: assetId - pending: pending - staked: staked - available: available - creationTimestamp: creationTimestamp - frozen: frozen - - blockHash: blockHash - total: total - lockedAmount: lockedAmount - blockHeight: blockHeight - vaultId: vaultId - assetId: assetId - pending: pending - staked: staked - available: available - creationTimestamp: creationTimestamp - frozen: frozen - paging: - before: before - after: after - properties: - assetWallets: + style: form + - description: List of tag IDs to filter by. + explode: true + in: query + name: tagIds + required: false + schema: items: - $ref: "#/components/schemas/AssetWallet" + format: uuid + type: string + maxItems: 100 type: array - paging: - $ref: "#/components/schemas/PaginatedAssetWalletResponse_paging" - type: object - VaultActionStatus: - example: - success: true - properties: - success: + style: form + - description: Whether to include pending approval requests info. + explode: true + in: query + name: includePendingApprovalsInfo + required: false + schema: + default: false type: boolean - type: object - CreateVaultAssetResponse: - example: - legacyAddress: legacyAddress - address: address - activationTxId: activationTxId - enterpriseAddress: enterpriseAddress - id: id - tag: tag - eosAccountName: eosAccountName - status: status - properties: - id: - type: string - address: - type: string - legacyAddress: - type: string - enterpriseAddress: - type: string - tag: - type: string - eosAccountName: - type: string - status: - type: string - activationTxId: - type: string - type: object - SetCustomerRefIdRequest: - example: - customerRefId: customerRefId - properties: - customerRefId: - description: Customer reference ID - type: string - type: object - SetAutoFuelRequest: - example: - autoFuel: true - properties: - autoFuel: - description: Auto Fuel + style: form + - explode: true + in: query + name: isProtected + required: false + schema: type: boolean - type: object - CreateAssetsRequest: - example: - eosAccountName: eosAccountName - properties: - eosAccountName: - description: "Optional - when creating an EOS wallet, the account name.\ - \ If not provided, a random name will be generated" - type: string - type: object - VaultWalletAddress: - example: - bip44AddressIndex: 0 - legacyAddress: legacyAddress - address: address - assetId: assetId - addressFormat: SEGWIT - userDefined: true - enterpriseAddress: enterpriseAddress - description: description - tag: tag - type: type - customerRefId: customerRefId - properties: - assetId: - type: string - x-fb-entity: asset - address: - type: string - description: - type: string - tag: - type: string - type: - type: string - customerRefId: - type: string - addressFormat: - enum: - - SEGWIT - - LEGACY - - BASE - - PAYMENT - type: string - legacyAddress: + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/TagsPagedResponse" + description: Tags fetched successfully + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Get list of tags + tags: + - Tags + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> =\ + \ fireblocks.tags.getTags(tagsApiGetTagsRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.tags().getTags(pageCursor,\ + \ pageSize, label, tagIds, includePendingApprovalsInfo, isProtected);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.tags.get_tags(page_cursor, page_size, label,\ + \ tag_ids, include_pending_approvals_info, is_protected);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> =\ + \ fireblocks.tags.getTags(tagsApiGetTagsRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.tags().getTags(pageCursor,\ + \ pageSize, label, tagIds, includePendingApprovalsInfo, isProtected);" + - lang: Python + source: "response = fireblocks.tags.get_tags(page_cursor, page_size, label,\ + \ tag_ids, include_pending_approvals_info, is_protected);" + x-accepts: + - application/json + post: + description: |- + 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. + operationId: createTag + parameters: + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: type: string - enterpriseAddress: + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/CreateTagRequest" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/Tag" + description: Tag created successfully + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Create a new tag + tags: + - Tags + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.tags.createTag(tagsApiCreateTagRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.tags().createTag(createTagRequest,\ + \ idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.tags.create_tag(create_tag_request, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.tags.createTag(tagsApiCreateTagRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.tags().createTag(createTagRequest,\ + \ idempotencyKey);" + - lang: Python + source: "response = fireblocks.tags.create_tag(create_tag_request, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /tags/{tagId}: + delete: + description: |- + 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. + operationId: deleteTag + parameters: + - description: The ID of the tag to retrieve + explode: false + in: path + name: tagId + required: true + schema: + format: uuid type: string - bip44AddressIndex: - type: integer - userDefined: - type: boolean - type: object - GetVaultAccountAssetAddressesResponse: - items: - $ref: "#/components/schemas/VaultWalletAddress" - type: array - CreateAddressRequest: - example: - description: description - customerRefId: customerRefId - properties: - description: - description: (Optional) Attach a description to the new address - type: string - customerRefId: - description: Optional - Sets a customer reference ID - type: string - type: object - CreateAddressResponse: - example: - bip44AddressIndex: 0 - legacyAddress: legacyAddress - address: address - enterpriseAddress: enterpriseAddress - tag: tag - properties: - address: - type: string - legacyAddress: - type: string - enterpriseAddress: + style: simple + responses: + "204": + description: Tag was deleted successfully + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Delete a tag + tags: + - Tags + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.tags.deleteTag(tagsApiDeleteTagRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response = fireblocks.tags().deleteTag(tagId); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.tags.delete_tag(tag_id); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.tags.deleteTag(tagsApiDeleteTagRequest);" + - lang: Java + source: CompletableFuture> response = fireblocks.tags().deleteTag(tagId); + - lang: Python + source: response = fireblocks.tags.delete_tag(tag_id); + x-accepts: + - application/json + get: + description: Retrieve an existing tag by ID. + operationId: getTag + parameters: + - description: The ID of the tag to retrieve + explode: false + in: path + name: tagId + required: true + schema: + format: uuid type: string - tag: + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/Tag" + description: A tag object + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Get a tag + tags: + - Tags + x-rate-limit-category: read + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.tags.getTag(tagsApiGetTagRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response = fireblocks.tags().getTag(tagId); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.tags.get_tag(tag_id); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.tags.getTag(tagsApiGetTagRequest);" + - lang: Java + source: CompletableFuture> response = fireblocks.tags().getTag(tagId); + - lang: Python + source: response = fireblocks.tags.get_tag(tag_id); + x-accepts: + - application/json + patch: + description: |- + 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. + operationId: updateTag + parameters: + - description: The ID of the tag to update + explode: false + in: path + name: tagId + required: true + schema: + format: uuid type: string - bip44AddressIndex: - type: integer - type: object - PaginatedAddressResponse: - example: - addresses: - - bip44AddressIndex: 0 - legacyAddress: legacyAddress - address: address - assetId: assetId - addressFormat: SEGWIT - userDefined: true - enterpriseAddress: enterpriseAddress - description: description - tag: tag - type: type - customerRefId: customerRefId - - bip44AddressIndex: 0 - legacyAddress: legacyAddress - address: address - assetId: assetId - addressFormat: SEGWIT - userDefined: true - enterpriseAddress: enterpriseAddress - description: description - tag: tag - type: type - customerRefId: customerRefId - paging: - before: before - after: after - properties: - addresses: - items: - $ref: "#/components/schemas/VaultWalletAddress" - type: array - paging: - $ref: "#/components/schemas/PaginatedAddressResponse_paging" - type: object - GetMaxSpendableAmountResponse: - example: - maxSpendableAmount: maxSpendableAmount - properties: - maxSpendableAmount: - description: The maximum amount that can be spent from the vault account + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: type: string - type: object - UpdateVaultAccountAssetAddressRequest: - example: - description: description - properties: - description: - description: The address description + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateTagRequest" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/Tag" + description: A tag object + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + summary: Update a tag + tags: + - Tags + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.tags.updateTag(tagsApiUpdateTagRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.tags().updateTag(updateTagRequest,\ + \ tagId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.tags.update_tag(update_tag_request, tag_id,\ + \ idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.tags.updateTag(tagsApiUpdateTagRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.tags().updateTag(updateTagRequest,\ + \ tagId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.tags.update_tag(update_tag_request, tag_id,\ + \ idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /tags/approval_requests/{id}: + get: + description: Get an approval request by id + operationId: getApprovalRequest + parameters: + - explode: false + in: path + name: id + required: true + schema: + example: "12345" + format: numeric type: string - type: object - SetCustomerRefIdForAddressRequest: - example: - customerRefId: customerRefId - properties: - customerRefId: - description: Customer reference ID + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/ApprovalRequest" + description: Approval request fetched successfully + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Unauthorized + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Approval request not found + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get an approval request by id + tags: + - Tags + x-rate-limit-category: read + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.tags.getApprovalRequest(tagsApiGetApprovalRequestRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response = fireblocks.tags().getApprovalRequest(id); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.tags.get_approval_request(id); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.tags.getApprovalRequest(tagsApiGetApprovalRequestRequest);" + - lang: Java + source: CompletableFuture> response = fireblocks.tags().getApprovalRequest(id); + - lang: Python + source: response = fireblocks.tags.get_approval_request(id); + x-accepts: + - application/json + /tags/approval_requests/{id}/cancel: + post: + description: Cancel an approval request by id. Can only cancel requests in PENDING + status. Returns 202 Accepted when the cancellation is processed. + operationId: cancelApprovalRequest + parameters: + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: type: string - type: object - UnspentInput: - example: - index: 0.8008281904610115 - txHash: txHash - properties: - txHash: + style: simple + - explode: false + in: path + name: id + required: true + schema: + example: "12345" + format: numeric type: string - index: - type: number - type: object - UnspentInputsResponse: - example: - input: - index: 0.8008281904610115 - txHash: txHash - amount: amount - address: address - confirmations: 6.027456183070403 - status: status - properties: - input: - $ref: "#/components/schemas/UnspentInput" - address: + style: simple + responses: + "202": + description: Approval request cancellation processed + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Unauthorized + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "404": + description: Approval request not found + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + "409": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Invalid approval request state - cannot cancel request that + is not in PENDING status + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Cancel an approval request by id + tags: + - Tags + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.tags.cancelApprovalRequest(tagsApiCancelApprovalRequestRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.tags().cancelApprovalRequest(id,\ + \ idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.tags.cancel_approval_request(id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.tags.cancelApprovalRequest(tagsApiCancelApprovalRequestRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.tags().cancelApprovalRequest(id,\ + \ idempotencyKey);" + - lang: Python + source: "response = fireblocks.tags.cancel_approval_request(id, idempotency_key);" + x-accepts: + - application/json + /cosigners: + get: + description: |- + 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. + operationId: getCosigners + parameters: + - description: ASC / DESC ordering (default DESC) + example: ASC + explode: true + in: query + name: order + required: false + schema: + default: DESC + enum: + - ASC + - DESC type: string - amount: + style: form + - description: Cursor of the required page + explode: true + in: query + name: pageCursor + required: false + schema: type: string - confirmations: + style: form + - description: Maximum number of items in the page + example: 10 + explode: true + in: query + name: pageSize + required: false + schema: + default: 10 + maximum: 100 + minimum: 1 type: number - status: - type: string - type: object - GetUnspentInputsResponse: - items: - $ref: "#/components/schemas/UnspentInputsResponse" - type: array - CreateMultipleAccountsRequest: - example: - names: - - first va - - client 65502e71-ecdf-48da-a074-c1753befc7fb - prefix: "Copied from: " - count: 1000 - baseAssetIds: - - BTC - - ETH - - SOL - vaultAccountNamesStartingIndex: 0 - properties: - count: - description: Count - example: 1000 - type: integer - baseAssetIds: - description: Array of base asset IDs - example: - - BTC - - ETH - - SOL - items: - type: string - type: array - names: - description: Names to assign to vault accounts. if vaultAccountNamesStartingIndex - or prefix is used it'll fail - example: - - first va - - client 65502e71-ecdf-48da-a074-c1753befc7fb - items: - type: string - type: array - vaultAccountNamesStartingIndex: - description: Copy vault accounts names starting from this index. If names - array is used it'll fail - example: 0 - type: integer - prefix: - description: When copying from existing vault accounts (vaultAccountNamesStartingIndex) - then adding a prefix to the names. If names array is used it'll fail - example: "Copied from: " + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/CosignersPaginatedResponse" + description: A paginated response containing Cosigner objects + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get all cosigners + tags: + - Cosigners (Beta) + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.cosignersBeta.getCosigners(cosignersBetaApiGetCosignersRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.cosignersBeta().getCosigners(order, pageCursor, pageSize);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.cosigners_beta.get_cosigners(order, page_cursor,\ + \ page_size);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.cosignersBeta.getCosigners(cosignersBetaApiGetCosignersRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.cosignersBeta().getCosigners(order, pageCursor, pageSize);" + - lang: Python + source: "response = fireblocks.cosigners_beta.get_cosigners(order, page_cursor,\ + \ page_size);" + x-accepts: + - application/json + post: + description: |- + Add a new cosigner. The cosigner will be pending pairing until the API key is manually paired +
    Endpoint Permission: Admin and Non-Signing Admin. + operationId: addCosigner + parameters: + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: type: string - required: - - baseAssetIds - - count - type: object - JobCreated: - example: - jobId: jobId - properties: - jobId: + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddCosignerRequest" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/AddCosignerResponse" + description: Pending cosigner added + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Add cosigner + tags: + - Cosigners (Beta) + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.cosignersBeta.addCosigner(cosignersBetaApiAddCosignerRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.cosignersBeta().addCosigner(addCosignerRequest,\ + \ idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.cosigners_beta.add_cosigner(add_cosigner_request,\ + \ idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.cosignersBeta.addCosigner(cosignersBetaApiAddCosignerRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.cosignersBeta().addCosigner(addCosignerRequest,\ + \ idempotencyKey);" + - lang: Python + source: "response = fireblocks.cosigners_beta.add_cosigner(add_cosigner_request,\ + \ idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /cosigners/{cosignerId}: + get: + description: |- + 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. + operationId: getCosigner + parameters: + - description: The unique identifier of the cosigner + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: cosignerId + required: true + schema: + format: uuid type: string - type: object - CreateMultipleVaultAccountsJobStatus: - example: - vaultAccounts: - "0": - BTC_TEST: bcrt1qs0zzqytuw49w2jqkmfhzgdh2lylzde2uw4zncz - ETH_TEST: 0x460395Edb2338023c6f137259C6e20B6C37dDE95 - errorMessage: Asset not supported - status: Success - properties: - status: - example: Success + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/Cosigner" + description: A cosigner object + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get cosigner + tags: + - Cosigners (Beta) + x-rate-limit-category: read + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.cosignersBeta.getCosigner(cosignersBetaApiGetCosignerRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: CompletableFuture> response = fireblocks.cosignersBeta().getCosigner(cosignerId); + name: Fireblocks SDK Java example + - language: python + code: response = fireblocks.cosigners_beta.get_cosigner(cosigner_id); + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.cosignersBeta.getCosigner(cosignersBetaApiGetCosignerRequest);" + - lang: Java + source: CompletableFuture> response = fireblocks.cosignersBeta().getCosigner(cosignerId); + - lang: Python + source: response = fireblocks.cosigners_beta.get_cosigner(cosigner_id); + x-accepts: + - application/json + patch: + description: |- + 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. + operationId: renameCosigner + parameters: + - description: The unique identifier of the cosigner + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: cosignerId + required: true + schema: + format: uuid type: string - vaultAccounts: - additionalProperties: - additionalProperties: - type: string - description: Mapping between asset (key) to address (value) - type: object - description: Mapping between VaultAccountId to a mapping of asset to address - example: - "0": - BTC_TEST: bcrt1qs0zzqytuw49w2jqkmfhzgdh2lylzde2uw4zncz - ETH_TEST: 0x460395Edb2338023c6f137259C6e20B6C37dDE95 - type: object - errorMessage: - example: Asset not supported + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/RenameCosigner" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/Cosigner" + description: A cosigner object + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Rename cosigner + tags: + - Cosigners (Beta) + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.cosignersBeta.renameCosigner(cosignersBetaApiRenameCosignerRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.cosignersBeta().renameCosigner(renameCosigner,\ + \ cosignerId);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.cosigners_beta.rename_cosigner(rename_cosigner,\ + \ cosigner_id);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.cosignersBeta.renameCosigner(cosignersBetaApiRenameCosignerRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.cosignersBeta().renameCosigner(renameCosigner,\ + \ cosignerId);" + - lang: Python + source: "response = fireblocks.cosigners_beta.rename_cosigner(rename_cosigner,\ + \ cosigner_id);" + x-content-type: application/json + x-accepts: + - application/json + /cosigners/{cosignerId}/api_keys: + get: + description: |- + 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. + operationId: getApiKeys + parameters: + - description: The unique identifier of the cosigner + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: cosignerId + required: true + schema: + format: uuid type: string - required: - - status - type: object - CreateMultipleDepositAddressesRequest: - example: - assetId: ADA - vaultAccountToCopyDescFrom: 0 - vaultAccountToCopyDescFromIndex: 1000 - count: 10 - vaultAccountId: 5 - descriptions: - - First address - - Second address - - df4c0987-30da-4976-8dcf-bc2dd41ae331 - properties: - vaultAccountId: - description: Existing Vault account ID to add deposit addresses to - example: 5 - type: integer - assetId: - description: asset ID - example: ADA + style: simple + - description: ASC / DESC ordering (default DESC) + example: ASC + explode: true + in: query + name: order + required: false + schema: + default: DESC + enum: + - ASC + - DESC type: string - count: - description: Count of deposit addresses to issue - example: 10 - type: integer - descriptions: - description: Desctiptions of the newly created addresses - example: - - First address - - Second address - - df4c0987-30da-4976-8dcf-bc2dd41ae331 - items: - type: string - type: array - vaultAccountToCopyDescFrom: - description: Existing Vault Account ID to copy deposit addresses descriptions - from in case no descriptions were provided - example: 0 - type: integer - vaultAccountToCopyDescFromIndex: - description: Existing length within the vault account to copy deposit addresses - descriptions from - example: 1000 - type: integer - required: - - assetId - - count - - vaultAccountId - type: object - VaultAccountsTagAttachmentOperationsRequest: - example: - tagIdsToAttach: - - df4c0987-30da-4976-8dcf-bc2dd41ae331 - - a1b2c3d4-e5f6-7890-abcd-ef1234567890 - tagIdsToDetach: - - df4c0987-30da-4976-8dcf-bc2dd41ae331 - - a1b2c3d4-e5f6-7890-abcd-ef1234567890 - vaultAccountIds: - - "0" - - "1" - properties: - vaultAccountIds: - description: The IDs of the vault accounts to attach tags to - example: - - "0" - - "1" - items: - format: numeric - type: string - maxItems: 100 - minItems: 1 - type: array - tagIdsToAttach: - description: The IDs of the tags to attach - example: - - df4c0987-30da-4976-8dcf-bc2dd41ae331 - - a1b2c3d4-e5f6-7890-abcd-ef1234567890 - items: - format: uuid - type: string - maxItems: 20 - minItems: 1 - type: array - tagIdsToDetach: - description: The IDs of the tags to detach - example: - - df4c0987-30da-4976-8dcf-bc2dd41ae331 - - a1b2c3d4-e5f6-7890-abcd-ef1234567890 - items: - format: uuid - type: string - maxItems: 20 - minItems: 1 - type: array - required: - - vaultAccountIds - type: object - TagAttachmentOperationAction: - enum: - - ATTACH - - DETACH - type: string - VaultAccountTagAttachmentOperation: - example: - tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 - vaultAccountId: "1" - action: ATTACH - properties: - vaultAccountId: - description: The ID of the vault account - example: "1" - format: numeric + style: form + - description: Cursor of the required page + explode: true + in: query + name: pageCursor + required: false + schema: type: string - tagId: - description: Tag ID - example: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + style: form + - description: Maximum number of items in the page + example: 10 + explode: true + in: query + name: pageSize + required: false + schema: + default: 10 + maximum: 100 + minimum: 1 + type: number + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/ApiKeysPaginatedResponse" + description: A paginated response containing ApiKey objects + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get all API keys + tags: + - Cosigners (Beta) + x-rate-limit-category: query + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.cosignersBeta.getApiKeys(cosignersBetaApiGetApiKeysRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.cosignersBeta().getApiKeys(cosignerId, order, pageCursor,\ + \ pageSize);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.cosigners_beta.get_api_keys(cosigner_id, order,\ + \ page_cursor, page_size);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.cosignersBeta.getApiKeys(cosignersBetaApiGetApiKeysRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.cosignersBeta().getApiKeys(cosignerId, order, pageCursor,\ + \ pageSize);" + - lang: Python + source: "response = fireblocks.cosigners_beta.get_api_keys(cosigner_id, order,\ + \ page_cursor, page_size);" + x-accepts: + - application/json + /cosigners/{cosignerId}/api_keys/{apiKeyId}: + delete: + description: |- + Unpair an API key from a cosigner +
    Endpoint Permission: Admin and Non-Signing Admin. + operationId: unpairApiKey + parameters: + - description: The unique identifier of the cosigner + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: cosignerId + required: true + schema: format: uuid type: string - action: - $ref: "#/components/schemas/TagAttachmentOperationAction" - required: - - action - - tagId - - vaultAccountId - type: object - VaultAccountTagAttachmentPendingOperation: - example: - approvalRequestId: "12345" - tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 - vaultAccountId: "1" - action: null - properties: - vaultAccountId: - description: The ID of the vault account - example: "1" - format: numeric + style: simple + - description: The unique identifier of the API key + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: apiKeyId + required: true + schema: type: string - tagId: - description: Tag ID - example: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + style: simple + responses: + "202": + content: + application/json: + schema: + $ref: "#/components/schemas/ApiKey" + description: The API key object to be unpaired + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + Location: + $ref: "#/components/headers/Location" + default: + $ref: "#/components/responses/Error" + summary: Unpair API key + tags: + - Cosigners (Beta) + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.cosignersBeta.unpairApiKey(cosignersBetaApiUnpairApiKeyRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.cosignersBeta().unpairApiKey(cosignerId,\ + \ apiKeyId);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.cosigners_beta.unpair_api_key(cosigner_id,\ + \ api_key_id);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.cosignersBeta.unpairApiKey(cosignersBetaApiUnpairApiKeyRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.cosignersBeta().unpairApiKey(cosignerId,\ + \ apiKeyId);" + - lang: Python + source: "response = fireblocks.cosigners_beta.unpair_api_key(cosigner_id,\ + \ api_key_id);" + x-accepts: + - application/json + get: + description: |- + 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. + operationId: getApiKey + parameters: + - description: The unique identifier of the cosigner + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: cosignerId + required: true + schema: format: uuid type: string - action: - $ref: "#/components/schemas/TagAttachmentOperationAction" - approvalRequestId: - description: Pending approval request ID - example: "12345" + style: simple + - description: The unique identifier of the API key + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: apiKeyId + required: true + schema: type: string - required: - - action - - approvalRequestId - - tagId - - vaultAccountId - type: object - VaultAccountTagAttachmentRejectedOperation: - example: - reason: CAPACITY_EXCEEDED - tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 - vaultAccountId: "1" - action: null - properties: - vaultAccountId: - description: The ID of the vault account - example: "1" - format: numeric - type: string - tagId: - description: Tag ID - example: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/ApiKey" + description: An ApiKey object + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get API key + tags: + - Cosigners (Beta) + x-rate-limit-category: read + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.cosignersBeta.getApiKey(cosignersBetaApiGetApiKeyRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.cosignersBeta().getApiKey(cosignerId,\ + \ apiKeyId);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.cosigners_beta.get_api_key(cosigner_id, api_key_id);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.cosignersBeta.getApiKey(cosignersBetaApiGetApiKeyRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.cosignersBeta().getApiKey(cosignerId,\ + \ apiKeyId);" + - lang: Python + source: "response = fireblocks.cosigners_beta.get_api_key(cosigner_id, api_key_id);" + x-accepts: + - application/json + patch: + description: |- + Update the callback handler of an API key +
    Endpoint Permission: Admin and Non-Signing Admin. + operationId: updateCallbackHandler + parameters: + - description: The unique identifier of the cosigner + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: cosignerId + required: true + schema: format: uuid type: string - action: - $ref: "#/components/schemas/TagAttachmentOperationAction" - reason: - description: Reason for rejection - enum: - - CAPACITY_EXCEEDED - - ATTACHMENT_ALREADY_EXISTS - - ATTACHMENT_DOES_NOT_EXIST - - PENDING_REQUEST_EXISTS - type: string - required: - - action - - reason - - tagId - - vaultAccountId - type: object - VaultAccountsTagAttachmentOperationsResponse: - example: - appliedOperations: - - tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 - vaultAccountId: "1" - action: ATTACH - - tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 - vaultAccountId: "1" - action: ATTACH - pendingOperations: - - approvalRequestId: "12345" - tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 - vaultAccountId: "1" - action: null - - approvalRequestId: "12345" - tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 - vaultAccountId: "1" - action: null - rejectedOperations: - - reason: CAPACITY_EXCEEDED - tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 - vaultAccountId: "1" - action: null - - reason: CAPACITY_EXCEEDED - tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 - vaultAccountId: "1" - action: null - properties: - appliedOperations: - description: The operations that were applied - items: - $ref: "#/components/schemas/VaultAccountTagAttachmentOperation" - type: array - pendingOperations: - description: The operations that are pending - items: - $ref: "#/components/schemas/VaultAccountTagAttachmentPendingOperation" - type: array - rejectedOperations: - description: The operations that were rejected - items: - $ref: "#/components/schemas/VaultAccountTagAttachmentRejectedOperation" - type: array - type: object - VaultAccountsTagAttachmentsRequest: - example: - tagIds: - - df4c0987-30da-4976-8dcf-bc2dd41ae331 - - a1b2c3d4-e5f6-7890-abcd-ef1234567890 - vaultAccountIds: - - "0" - - "1" - properties: - tagIds: - description: The IDs of the tags to attach - example: - - df4c0987-30da-4976-8dcf-bc2dd41ae331 - - a1b2c3d4-e5f6-7890-abcd-ef1234567890 - items: - format: uuid - type: string - maxItems: 200 - minItems: 1 - type: array - vaultAccountIds: - description: The IDs of the vault accounts to attach tags to - example: - - "0" - - "1" - items: - format: numeric - type: string - maxItems: 200 - minItems: 1 - type: array - required: - - tagIds - - vaultAccountIds - type: object - NewAddress: - properties: - address: - description: The address string. - example: addr_test1qp07k5kdwdfx4rpfqud8ry65acxgtgfgrxw0t35cwvl4uasjneqjdc868eqlex5p2f0nyekyyk4ze5xuanvj50ysrj3qqxqhsn - type: string - index: - description: The index of the address in the list. - example: 0 - type: integer - description: - description: A description of the address. - example: Address one - type: string - required: - - address - - description - - index - type: object - CreateMultipleDepositAddressesJobStatus: - example: - addresses: - - address: addr_test1qp07k5kdwdfx4rpfqud8ry65acxgtgfgrxw0t35cwvl4uasjneqjdc868eqlex5p2f0nyekyyk4ze5xuanvj50ysrj3qqxqhsn - index: 0 - description: Address one - errorMessage: Asset not supported - status: Success - properties: - status: - example: Success - type: string - addresses: - example: - - address: addr_test1qp07k5kdwdfx4rpfqud8ry65acxgtgfgrxw0t35cwvl4uasjneqjdc868eqlex5p2f0nyekyyk4ze5xuanvj50ysrj3qqxqhsn - index: 0 - description: Address one - items: - $ref: "#/components/schemas/NewAddress" - type: array - errorMessage: - example: Asset not supported - type: string - required: - - status - type: object - PublicKeyInformation: - example: - derivationPath: - - 44 - - 0 - - 0 - - 0 - - 0 - publicKey: 1044c36403c1802818b472398f546a43a0d91569d5583a6e807c3825b155c7bd - algorithm: MPC_ECDSA_SECP256K1 - properties: - algorithm: - description: Elliptic Curve - enum: - - MPC_ECDSA_SECP256K1 - - MPC_ECDSA_SECP256R1 - - MPC_EDDSA_ED25519 - type: string - derivationPath: - description: BIP44 derivation path - example: - - 44 - - 0 - - 0 - - 0 - - 0 - items: - type: integer - type: array - publicKey: - description: Compressed/Uncompressed public key value in hex representation - example: 1044c36403c1802818b472398f546a43a0d91569d5583a6e807c3825b155c7bd - type: string - type: object - GetVaultAssetsResponse: - items: - $ref: "#/components/schemas/VaultAsset" - type: array - CreateAssetsBulkRequest: - example: - assetId: assetId - vaultAccountIdFrom: vaultAccountIdFrom - vaultAccountIdTo: vaultAccountIdTo - properties: - assetId: - description: The ID of the new asset - type: string - vaultAccountIdFrom: - description: The smallest vault account ID in the range - type: string - vaultAccountIdTo: - description: The largest vault account ID in the range - type: string - type: object - EmbeddedWalletAssetResponse: - example: - coinType: 0 - symbol: USDT - ethNetwork: ethNetwork - blockchainDisplayName: BTH - deprecated: false - hasFee: true - baseAsset: ETH_TEST5 - ethContractAddress: ethContractAddress - blockchain: ETH_TEST5 - issuerAddress: rnDV4JiwgRNhudPY2sm65AzECpRXaasL4r - blockchainSymbol: BTH - decimals: 6 - name: Tether USD - id: id - testnet: true - networkProtocol: ETH - algorithm: MPC_ECDSA_SECP256K1 - properties: - id: - type: string - symbol: - description: The asset symbol - example: USDT - type: string - name: - description: The asset name - example: Tether USD - type: string - decimals: - description: Number of decimals - example: 6 - type: number - networkProtocol: - description: "Netowrk protocol of the blockchain (BTC, ETH)" - example: ETH - type: string - testnet: - description: Is in testnet - example: true - type: boolean - hasFee: - description: Has fee - example: true - type: boolean - baseAsset: - description: "Base asset symbol BTC_TEST, ETH_TEST5)" - example: ETH_TEST5 - type: string - ethNetwork: + style: simple + - description: The unique identifier of the API key + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: apiKeyId + required: true + schema: type: string - ethContractAddress: + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateCallbackHandlerRequest" + required: true + responses: + "202": + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateCallbackHandlerResponse" + description: The API key object with the new callback handler + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + Location: + $ref: "#/components/headers/Location" + default: + $ref: "#/components/responses/Error" + summary: Update API key callback handler + tags: + - Cosigners (Beta) + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise>\ + \ = fireblocks.cosignersBeta.updateCallbackHandler(cosignersBetaApiUpdateCallbackHandlerRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response\ + \ = fireblocks.cosignersBeta().updateCallbackHandler(updateCallbackHandlerRequest,\ + \ cosignerId, apiKeyId);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.cosigners_beta.update_callback_handler(update_callback_handler_request,\ + \ cosigner_id, api_key_id);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise>\ + \ = fireblocks.cosignersBeta.updateCallbackHandler(cosignersBetaApiUpdateCallbackHandlerRequest);" + - lang: Java + source: "CompletableFuture> response\ + \ = fireblocks.cosignersBeta().updateCallbackHandler(updateCallbackHandlerRequest,\ + \ cosignerId, apiKeyId);" + - lang: Python + source: "response = fireblocks.cosigners_beta.update_callback_handler(update_callback_handler_request,\ + \ cosigner_id, api_key_id);" + x-content-type: application/json + x-accepts: + - application/json + put: + description: |- + Pair an API key to a cosigner +
    Endpoint Permission: Admin and Non-Signing Admin. + operationId: pairApiKey + parameters: + - description: The unique identifier of the cosigner + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: cosignerId + required: true + schema: + format: uuid type: string - issuerAddress: - description: The address of the issuer of this token. Will be part of the - identifier of this token on chain. - example: rnDV4JiwgRNhudPY2sm65AzECpRXaasL4r + style: simple + - description: The unique identifier of the API key + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: apiKeyId + required: true + schema: type: string - blockchainSymbol: - description: Name of blockchain - example: BTH + style: simple + - 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: type: string - deprecated: - description: Is blockchain deprecated - example: false - type: boolean - coinType: - description: "Unique identifier of an asset (0 for BTC, 60 for ETH, etc.)" - example: 0 - type: number - blockchain: - description: The blockchain native asset id which the token is deployed - on - example: ETH_TEST5 + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/PairApiKeyRequest" + required: true + responses: + "202": + content: + application/json: + schema: + $ref: "#/components/schemas/PairApiKeyResponse" + description: The API key object to be paired + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + Location: + $ref: "#/components/headers/Location" + default: + $ref: "#/components/responses/Error" + summary: Pair API key + tags: + - Cosigners (Beta) + x-rate-limit-category: write + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> =\ + \ fireblocks.cosignersBeta.pairApiKey(cosignersBetaApiPairApiKeyRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.cosignersBeta().pairApiKey(pairApiKeyRequest,\ + \ cosignerId, apiKeyId, idempotencyKey);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.cosigners_beta.pair_api_key(pair_api_key_request,\ + \ cosigner_id, api_key_id, idempotency_key);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> =\ + \ fireblocks.cosignersBeta.pairApiKey(cosignersBetaApiPairApiKeyRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.cosignersBeta().pairApiKey(pairApiKeyRequest,\ + \ cosignerId, apiKeyId, idempotencyKey);" + - lang: Python + source: "response = fireblocks.cosigners_beta.pair_api_key(pair_api_key_request,\ + \ cosigner_id, api_key_id, idempotency_key);" + x-content-type: application/json + x-accepts: + - application/json + /cosigners/{cosignerId}/api_keys/{apiKeyId}/{requestId}: + get: + description: |- + Get the status of an asynchronous request +
    Endpoint Permission: Admin and Non-Signing Admin. + operationId: getRequestStatus + parameters: + - description: The unique identifier of the cosigner + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: cosignerId + required: true + schema: + format: uuid type: string - blockchainDisplayName: - description: Name of blockchain - example: BTH + style: simple + - description: The unique identifier of the API key + example: 44fcead0-7053-4831-a53a-df7fb90d440f + explode: false + in: path + name: apiKeyId + required: true + schema: type: string - algorithm: - enum: - - MPC_ECDSA_SECP256K1 - - MPC_EDDSA_ED25519 + style: simple + - explode: false + in: path + name: requestId + required: true + schema: type: string - required: - - baseAsset - - blockchain - - coinType - - decimals - - hasFee - - id - - name - - networkProtocol - - symbol - - testnet - - type - type: object - EmbeddedWalletPaginatedAssetsResponse: + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/Status" + description: The status of the request + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + default: + $ref: "#/components/responses/Error" + summary: Get request status + tags: + - Cosigners (Beta) + x-rate-limit-category: read + x-readme: + code-samples: + - language: typescript + code: "const response: Promise> = fireblocks.cosignersBeta.getRequestStatus(cosignersBetaApiGetRequestStatusRequest);" + name: Fireblocks SDK TypeScript example + - language: java + code: "CompletableFuture> response = fireblocks.cosignersBeta().getRequestStatus(cosignerId,\ + \ apiKeyId, requestId);" + name: Fireblocks SDK Java example + - language: python + code: "response = fireblocks.cosigners_beta.get_request_status(cosigner_id,\ + \ api_key_id, request_id);" + name: Fireblocks SDK Python example + x-codeSamples: + - lang: TypeScript + source: "const response: Promise> = fireblocks.cosignersBeta.getRequestStatus(cosignersBetaApiGetRequestStatusRequest);" + - lang: Java + source: "CompletableFuture> response = fireblocks.cosignersBeta().getRequestStatus(cosignerId,\ + \ apiKeyId, requestId);" + - lang: Python + source: "response = fireblocks.cosigners_beta.get_request_status(cosigner_id,\ + \ api_key_id, request_id);" + x-accepts: + - application/json +components: + headers: + X-Request-ID: + description: Unique ID correlated to the API request. Please provide it in any + support ticket you create or on Github issues related to Fireblocks SDKs + explode: false + schema: + type: string + style: simple + next-page: + description: URL representing a new request to this API endpoint to receive + the next page of results. + explode: false + schema: + type: string + style: simple + prev-page: + description: URL representing a new request to this API endpoint to receive + the previous page of results. + explode: false + schema: + type: string + style: simple + Location: + description: The location URL of the request status + explode: false + schema: + type: string + style: simple + parameters: + X-Idempotency-Key: + 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." + explode: false + in: header + name: Idempotency-Key + required: false + schema: + type: string + style: simple + X-End-User-Wallet-Id_required: + description: Unique ID of the End-User wallet to the API request. Required for + end-user wallet operations. + explode: false + in: header + name: X-End-User-Wallet-Id + required: true + schema: + format: uuid + type: string + style: simple + X-End-User-Wallet-Id: + description: Unique ID of the End-User wallet to the API request. Required for + end-user wallet operations. + explode: false + in: header + name: X-End-User-Wallet-Id + required: false + schema: + format: uuid + type: string + style: simple + BaseAssetId: + description: The blockchain base assetId + example: ETH_TEST3 + explode: false + in: path + name: baseAssetId + required: true + schema: + type: string + style: simple + ContractAddress: + description: The contract address + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 + explode: false + in: path + name: contractAddress + required: true + schema: + type: string + style: simple + AccessRegistryAddress: + description: The access registry address + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 + explode: false + in: path + name: accessRegistryAddress + required: true + schema: + type: string + style: simple + PageCursor: + description: Page cursor to get the next page" + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + explode: true + in: query + name: pageCursor + required: false + schema: + type: string + style: form + PageSize: + description: "Number of items per page (max 100), requesting more then 100 will\ + \ return 100 items" + example: 10 + explode: true + in: query + name: pageSize + required: false + schema: + maximum: 100 + minimum: 1 + type: integer + style: form + ListAccessRegistrySortBy: + description: Sorting field (enum). + explode: true + in: query + name: sortBy + required: false + schema: + default: dateAdded + enum: + - dateAdded + - address + type: string + style: form + Order: + description: ASC / DESC ordering (default DESC) + explode: true + in: query + name: order + required: false + schema: + default: DESC + enum: + - ASC + - DESC + type: string + style: form + StartDate: + description: Start date of the time range in ISO 8601 format + example: 2025-01-16T15:45:00Z + explode: true + in: query + name: startDate + required: false + schema: + format: date-time + type: string + style: form + EndDate: + description: End date of the time range in ISO 8601 format + example: 2025-01-16T15:45:00Z + explode: true + in: query + name: endDate + required: false + schema: + format: date-time + type: string + style: form + TransactionsSortBy: + description: Sorting field (enum). + explode: true + in: query + name: sortBy + required: false + schema: + default: blockTimestamp + enum: + - blockTimestamp + - blockNumber + - transactionHash + type: string + style: form + Interval: + description: Time interval for grouping data + example: day + explode: true + in: query + name: interval + required: false + schema: + default: day + enum: + - hour + - day + - week + - month + type: string + style: form + SortByTimestamp: + description: Sorting field (enum). Sorting only supported by 'blockTimestamp' + explode: true + in: query + name: sortBy + required: false + schema: + default: blockTimestamp + enum: + - blockTimestamp + type: string + style: form + AccountAddress: + description: The account address to get balance history for + explode: false + in: path + name: accountAddress + required: true + schema: + example: 0x1234567890abcdef1234567890abcdef12345678 + type: string + style: simple + AccountAddressQuery: + description: Optional filter to get balance for a specific account address + explode: true + in: query + name: accountAddress + required: false + schema: + example: 0x1234567890abcdef1234567890abcdef12345678 + type: string + style: form + BalancesSortBy: + description: Sorting field for balances + explode: true + in: query + name: sortBy + required: false + schema: + default: blockTimestamp + enum: + - accountAddress + - blockTimestamp + type: string + style: form + responses: + Error: + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorSchema" + description: Error Response + headers: + X-Request-ID: + $ref: "#/components/headers/X-Request-ID" + BadRequestError: + content: + application/json: + example: + error: + type: VALIDATION + message: Invalid input data or parameters + schema: + $ref: "#/components/schemas/ErrorResponse" + description: "Bad request, invalid input data or parameters" + OriginalTokenLinkNotFoundError: + content: + application/json: + example: + error: + type: NOT_FOUND + message: The specified token link was not found + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Token link not found + TokenLinkPreparationError: + content: + application/json: + example: + error: + type: UNPROCESSABLE_ENTITY + message: An error occurred during token link preparation + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Token link preparation error + OriginalTokenLinkNotFungibleError: + content: + application/json: + example: + error: + type: UNPROCESSABLE_ENTITY + message: The token link is not of fungible type + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Token link is not fungible + InternalServerError: + content: + application/json: + example: + error: + type: INTERNAL + message: An unexpected error occurred during execution. Please try again + later. + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Internal server error + TokenLinkProcessingError: + content: + application/json: + example: + error: + type: UNPROCESSABLE_ENTITY + message: An error occurred during token link processing + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Token link processing error + BridgingProtocolBlockchainMetadataNotFoundError: + content: + application/json: + example: + error: + type: NOT_FOUND + message: Bridging to the specified blockchain is not supported + schema: + $ref: "#/components/schemas/ErrorResponse" + description: Bridging protocol blockchain metadata not found + schemas: + ErrorSchema: example: - next: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 - data: - - coinType: 0 - symbol: USDT - ethNetwork: ethNetwork - blockchainDisplayName: BTH - deprecated: false - hasFee: true - baseAsset: ETH_TEST5 - ethContractAddress: ethContractAddress - blockchain: ETH_TEST5 - issuerAddress: rnDV4JiwgRNhudPY2sm65AzECpRXaasL4r - blockchainSymbol: BTH - decimals: 6 - name: Tether USD - id: id - testnet: true - networkProtocol: ETH - algorithm: MPC_ECDSA_SECP256K1 - - coinType: 0 - symbol: USDT - ethNetwork: ethNetwork - blockchainDisplayName: BTH - deprecated: false - hasFee: true - baseAsset: ETH_TEST5 - ethContractAddress: ethContractAddress - blockchain: ETH_TEST5 - issuerAddress: rnDV4JiwgRNhudPY2sm65AzECpRXaasL4r - blockchainSymbol: BTH - decimals: 6 - name: Tether USD - id: id - testnet: true - networkProtocol: ETH - algorithm: MPC_ECDSA_SECP256K1 + code: 0.8008281904610115 + message: message properties: - data: - description: The data of the current page - items: - $ref: "#/components/schemas/EmbeddedWalletAssetResponse" - type: array - next: - description: The ID of the next page - example: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 - nullable: true + message: type: string - required: - - data + code: + type: number type: object - EmbeddedWallet: + RewardsInfo: example: - walletId: 550e8400-e29b-41d4-a716-446655440000 - enabled: true + pendingRewards: pendingRewards properties: - walletId: - description: walletId - example: 550e8400-e29b-41d4-a716-446655440000 + pendingRewards: + description: Amount that is pending for rewards type: string - enabled: - description: enabled - example: true - type: boolean - required: - - enabled - - walletId type: object - EmbeddedWalletPaginatedWalletsResponse: + VaultAsset: example: - next: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 - data: - - walletId: 550e8400-e29b-41d4-a716-446655440000 - enabled: true - - walletId: 550e8400-e29b-41d4-a716-446655440000 - enabled: true + totalStakedCPU: totalStakedCPU + blockHash: blockHash + pendingRefundNetwork: pendingRefundNetwork + lockedAmount: lockedAmount + pending: pending + staked: staked + rewardsInfo: + pendingRewards: pendingRewards + available: available + frozen: frozen + selfStakedCPU: selfStakedCPU + totalStakedNetwork: totalStakedNetwork + total: total + balance: balance + blockHeight: blockHeight + selfStakedNetwork: selfStakedNetwork + pendingRefundCPU: pendingRefundCPU + id: id properties: - data: - description: The data of the current page - items: - $ref: "#/components/schemas/EmbeddedWallet" - type: array - next: - description: The ID of the next page - example: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 - nullable: true + id: type: string - required: - - data - type: object - EmbeddedWalletAddressDetails: - example: - coinType: 1.4658129805029452 - legacyAddress: legacyAddressName - address: addressName - accountName: accountName - addressType: addressType - change: 6.027456183070403 - addressFormat: addressFormatName - userDefined: true - customerRefId: customerRefIdName - paymentAddress: paymentAddressName - accountId: accountIdName - addressDescription: addressDescriptionName - addressIndex: 0.8008281904610115 - tag: tagName - state: stateName - asset: assetName - properties: - accountName: - description: accountName - example: accountName + total: + description: "The total wallet balance. In EOS this value includes the network\ + \ balance, self staking and pending refund. For all other coins it is\ + \ the balance as it appears on the blockchain." type: string - accountId: - description: accountId - example: accountIdName + balance: + deprecated: true + description: Deprecated - replaced by "total" type: string - asset: - description: asset - example: assetName + available: + description: Funds available for transfer. Equals the blockchain balance + minus any locked amounts type: string - address: - description: address - example: addressName + pending: + description: The cumulative balance of all transactions pending to be cleared type: string - addressType: - description: addressType - enum: - - PERMANENT - - CHANGE - - DEFAULT - - ADDRESS - example: addressType + frozen: + description: The cumulative frozen balance type: string - addressDescription: - description: addressDescription - example: addressDescriptionName + lockedAmount: + description: Funds in outgoing transactions that are not yet published to + the network type: string - tag: - description: tag - example: tagName + staked: + description: Staked balance type: string - addressIndex: - description: addressIndex - type: number - change: - description: change - type: number - coinType: - description: "Unique identifier of an asset (0 for BTC, 60 for ETH, etc.)" - type: number - customerRefId: - description: customerRefId - example: customerRefIdName + totalStakedCPU: + description: Deprecated type: string - addressFormat: - description: addressFormat - example: addressFormatName + totalStakedNetwork: + description: Deprecated type: string - legacyAddress: - description: legacyAddress - example: legacyAddressName + selfStakedCPU: + description: Deprecated type: string - paymentAddress: - description: paymentAddress - example: paymentAddressName + selfStakedNetwork: + description: Deprecated type: string - userDefined: - description: userDefined - example: true - type: boolean - state: - description: state - enum: - - PENDING_ACTIVATION - - ACTIVATION_FAILED - - READY - example: stateName + pendingRefundCPU: + description: Deprecated type: string - required: - - accountId - - accountName - - address - - addressDescription - - addressType - - asset - - tag - type: object - EmbeddedWalletAssetRewardInfo: - example: - pendingRewards: "5" - properties: - pendingRewards: - description: Amount that is pending for rewards - example: "5" + pendingRefundNetwork: + description: Deprecated type: string - required: - - pendingRewards + blockHeight: + type: string + blockHash: + type: string + rewardsInfo: + $ref: "#/components/schemas/RewardsInfo" type: object - EmbeddedWalletAssetBalance: + ApprovalRequest: + description: Approval request details example: - blockHash: 0000000000000000000769e73a0b8f32a6c5d55e0d64f9ec20c6c3d4e5a9a3f1 - total: "0.87500000" - lockedAmount: "0.01000000" - blockHeight: "8459341" - rewardInfo: - pendingRewards: "5" - pending: "0.01500000" - available: "0.84500000" - frozen: "0.00500000" - id: BTC-mainnet-acc-01 + id: "12345" + state: PENDING + type: TAG_UPDATE properties: id: - description: Unique identifier of the asset balance entry - example: BTC-mainnet-acc-01 - type: string - total: - description: "Total balance amount for the asset in the account (including\ - \ pending, locked, and available)" - example: "0.87500000" + description: The approval request identifier + example: "12345" + format: numeric type: string - available: - description: The balance available for use or withdrawal - example: "0.84500000" + type: + description: The approval request type + enum: + - TAG_UPDATE + - TAG_DELETE + - TAG_ATTACH_DETACH type: string - pending: - description: "Amount pending confirmation from blockchain (e.g., unconfirmed\ - \ deposits)" - example: "0.01500000" + state: + description: The approval request state + enum: + - PENDING + - APPROVED + - REJECTED + - FAILED + - CANCELLED + - EXPIRED type: string - frozen: - description: Balance that is frozen due to policy or regulatory lock - example: "0.00500000" + required: + - id + - state + - type + type: object + Tag: + example: + isProtected: false + color: "#FF5733" + description: Tag for VIP customers + id: df4c0987-30da-4976-8dcf-bc2dd41ae331 + label: VIP + pendingApprovalRequest: + id: "12345" + state: PENDING + type: TAG_UPDATE + updatedAt: 1717084800000 + properties: + id: + description: The unique identifier of the tag + example: df4c0987-30da-4976-8dcf-bc2dd41ae331 + format: uuid type: string - lockedAmount: - description: Funds locked for operations such as staking or delegation - example: "0.01000000" + label: + description: The tag label + example: VIP type: string - blockHeight: - description: Latest known blockchain height when balance was fetched - example: "8459341" + description: + description: Description for the tag + example: Tag for VIP customers type: string - blockHash: - description: Hash of the blockchain block associated with the current balance - state - example: 0000000000000000000769e73a0b8f32a6c5d55e0d64f9ec20c6c3d4e5a9a3f1 + color: + description: The tag color in hex format + example: "#FF5733" type: string - rewardInfo: - $ref: "#/components/schemas/EmbeddedWalletAssetRewardInfo" + isProtected: + default: false + description: Indication if the tag is a protected tag + type: boolean + updatedAt: + description: The date and time the tag was last updated + example: 1717084800000 + type: number + pendingApprovalRequest: + $ref: "#/components/schemas/ApprovalRequest" required: - - available - - frozen - id - - lockedAmount - - pending - - total + - isProtected + - label + - updatedAt type: object - EmbeddedWalletPaginatedAddressesResponse: + VaultAccount: example: - next: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 - data: - - coinType: 1.4658129805029452 - legacyAddress: legacyAddressName - address: addressName - accountName: accountName - addressType: addressType - change: 6.027456183070403 - addressFormat: addressFormatName - userDefined: true - customerRefId: customerRefIdName - paymentAddress: paymentAddressName - accountId: accountIdName - addressDescription: addressDescriptionName - addressIndex: 0.8008281904610115 - tag: tagName - state: stateName - asset: assetName - - coinType: 1.4658129805029452 - legacyAddress: legacyAddressName - address: addressName - accountName: accountName - addressType: addressType - change: 6.027456183070403 - addressFormat: addressFormatName - userDefined: true - customerRefId: customerRefIdName - paymentAddress: paymentAddressName - accountId: accountIdName - addressDescription: addressDescriptionName - addressIndex: 0.8008281904610115 - tag: tagName - state: stateName - asset: assetName + assets: + - totalStakedCPU: totalStakedCPU + blockHash: blockHash + pendingRefundNetwork: pendingRefundNetwork + lockedAmount: lockedAmount + pending: pending + staked: staked + rewardsInfo: + pendingRewards: pendingRewards + available: available + frozen: frozen + selfStakedCPU: selfStakedCPU + totalStakedNetwork: totalStakedNetwork + total: total + balance: balance + blockHeight: blockHeight + selfStakedNetwork: selfStakedNetwork + pendingRefundCPU: pendingRefundCPU + id: id + - totalStakedCPU: totalStakedCPU + blockHash: blockHash + pendingRefundNetwork: pendingRefundNetwork + lockedAmount: lockedAmount + pending: pending + staked: staked + rewardsInfo: + pendingRewards: pendingRewards + available: available + frozen: frozen + selfStakedCPU: selfStakedCPU + totalStakedNetwork: totalStakedNetwork + total: total + balance: balance + blockHeight: blockHeight + selfStakedNetwork: selfStakedNetwork + pendingRefundCPU: pendingRefundCPU + id: id + hiddenOnUI: true + name: name + id: id + customerRefId: customerRefId + autoFuel: true + tags: + - isProtected: false + color: "#FF5733" + description: Tag for VIP customers + id: df4c0987-30da-4976-8dcf-bc2dd41ae331 + label: VIP + pendingApprovalRequest: + id: "12345" + state: PENDING + type: TAG_UPDATE + updatedAt: 1717084800000 + - isProtected: false + color: "#FF5733" + description: Tag for VIP customers + id: df4c0987-30da-4976-8dcf-bc2dd41ae331 + label: VIP + pendingApprovalRequest: + id: "12345" + state: PENDING + type: TAG_UPDATE + updatedAt: 1717084800000 properties: - data: - description: The data of the current page + id: + type: string + name: + type: string + assets: items: - $ref: "#/components/schemas/EmbeddedWalletAddressDetails" + $ref: "#/components/schemas/VaultAsset" type: array - next: - description: The ID of the next page - example: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 - nullable: true + hiddenOnUI: + type: boolean + customerRefId: type: string - required: - - data + autoFuel: + type: boolean + tags: + description: List of tags attached to the vault account + items: + $ref: "#/components/schemas/Tag" + type: array type: object - EmbeddedWalletAccount: + GetVaultAccountsResponse: + items: + $ref: "#/components/schemas/VaultAccount" + type: array + CreateVaultAccountRequest: example: - accountId: "0" - walletId: 550e8400-e29b-41d4-a716-446655440000 + vaultType: MPC + autoAssign: false + hiddenOnUI: true + name: name + customerRefId: customerRefId + autoFuel: true properties: - accountId: - description: The ID of the account - example: "0" + name: + description: Account Name type: string - walletId: - description: Unique identifier of the Non-Custodial Wallet (UUID) - example: 550e8400-e29b-41d4-a716-446655440000 + hiddenOnUI: + description: "Optional - if true, the created account and all related transactions\ + \ will not be shown on Fireblocks console" + type: boolean + customerRefId: + description: Optional - Sets a customer reference ID type: string - required: - - accountId - - walletId + autoFuel: + description: Optional - Sets the autoFuel property of the vault account + type: boolean + vaultType: + default: MPC + description: "Type of vault account. The default type will be set to MPC.
    \ + \ If the workspace does not support the selected type, it will return\ + \ an error." + enum: + - MPC + - KEY_LINK + type: string + autoAssign: + default: false + description: "Applicable only when the vault account type is KEY_LINK. For\ + \ MPC, this parameter will be ignored.
    If set to true and there are\ + \ available keys, random keys will be assigned to the newly created vault\ + \ account.
    If set to true and there are no available keys to be assigned,\ + \ it will return an error.
    If set to false, the vault account will\ + \ be created without any keys." + type: boolean type: object - EmbeddedWalletLatestBackupKey: + VaultAccountsPagedResponse: example: - keyId: keyIdValue - publicKey: publicKeyValue - deviceId: deviceIdValue - algorithm: algorithm + previousUrl: previousUrl + paging: + before: before + after: after + accounts: + - assets: + - totalStakedCPU: totalStakedCPU + blockHash: blockHash + pendingRefundNetwork: pendingRefundNetwork + lockedAmount: lockedAmount + pending: pending + staked: staked + rewardsInfo: + pendingRewards: pendingRewards + available: available + frozen: frozen + selfStakedCPU: selfStakedCPU + totalStakedNetwork: totalStakedNetwork + total: total + balance: balance + blockHeight: blockHeight + selfStakedNetwork: selfStakedNetwork + pendingRefundCPU: pendingRefundCPU + id: id + - totalStakedCPU: totalStakedCPU + blockHash: blockHash + pendingRefundNetwork: pendingRefundNetwork + lockedAmount: lockedAmount + pending: pending + staked: staked + rewardsInfo: + pendingRewards: pendingRewards + available: available + frozen: frozen + selfStakedCPU: selfStakedCPU + totalStakedNetwork: totalStakedNetwork + total: total + balance: balance + blockHeight: blockHeight + selfStakedNetwork: selfStakedNetwork + pendingRefundCPU: pendingRefundCPU + id: id + hiddenOnUI: true + name: name + id: id + customerRefId: customerRefId + autoFuel: true + tags: + - isProtected: false + color: "#FF5733" + description: Tag for VIP customers + id: df4c0987-30da-4976-8dcf-bc2dd41ae331 + label: VIP + pendingApprovalRequest: + id: "12345" + state: PENDING + type: TAG_UPDATE + updatedAt: 1717084800000 + - isProtected: false + color: "#FF5733" + description: Tag for VIP customers + id: df4c0987-30da-4976-8dcf-bc2dd41ae331 + label: VIP + pendingApprovalRequest: + id: "12345" + state: PENDING + type: TAG_UPDATE + updatedAt: 1717084800000 + - assets: + - totalStakedCPU: totalStakedCPU + blockHash: blockHash + pendingRefundNetwork: pendingRefundNetwork + lockedAmount: lockedAmount + pending: pending + staked: staked + rewardsInfo: + pendingRewards: pendingRewards + available: available + frozen: frozen + selfStakedCPU: selfStakedCPU + totalStakedNetwork: totalStakedNetwork + total: total + balance: balance + blockHeight: blockHeight + selfStakedNetwork: selfStakedNetwork + pendingRefundCPU: pendingRefundCPU + id: id + - totalStakedCPU: totalStakedCPU + blockHash: blockHash + pendingRefundNetwork: pendingRefundNetwork + lockedAmount: lockedAmount + pending: pending + staked: staked + rewardsInfo: + pendingRewards: pendingRewards + available: available + frozen: frozen + selfStakedCPU: selfStakedCPU + totalStakedNetwork: totalStakedNetwork + total: total + balance: balance + blockHeight: blockHeight + selfStakedNetwork: selfStakedNetwork + pendingRefundCPU: pendingRefundCPU + id: id + hiddenOnUI: true + name: name + id: id + customerRefId: customerRefId + autoFuel: true + tags: + - isProtected: false + color: "#FF5733" + description: Tag for VIP customers + id: df4c0987-30da-4976-8dcf-bc2dd41ae331 + label: VIP + pendingApprovalRequest: + id: "12345" + state: PENDING + type: TAG_UPDATE + updatedAt: 1717084800000 + - isProtected: false + color: "#FF5733" + description: Tag for VIP customers + id: df4c0987-30da-4976-8dcf-bc2dd41ae331 + label: VIP + pendingApprovalRequest: + id: "12345" + state: PENDING + type: TAG_UPDATE + updatedAt: 1717084800000 + nextUrl: nextUrl properties: - deviceId: - description: deviceId - example: deviceIdValue - type: string - publicKey: - description: publicKey - example: publicKeyValue - type: string - keyId: - description: keyId - example: keyIdValue + accounts: + items: + $ref: "#/components/schemas/VaultAccount" + type: array + paging: + $ref: "#/components/schemas/VaultAccountsPagedResponse_paging" + previousUrl: type: string - algorithm: - description: algorithm - enum: - - MPC_CMP_ECDSA_SECP256K1 - - MPC_CMP_EDDSA_ED25519 - - MPC_ECDSA_SECP256K1 - example: algorithm + nextUrl: type: string - required: - - algorithm - - deviceId - - keyId - - publicKey type: object - EmbeddedWalletLatestBackupResponse: + UpdateVaultAccountRequest: example: - createdAt: 1713789296 - keys: - - keyId: keyIdValue - publicKey: publicKeyValue - deviceId: deviceIdValue - algorithm: algorithm - - keyId: keyIdValue - publicKey: publicKeyValue - deviceId: deviceIdValue - algorithm: algorithm - passphraseId: passphraseId + name: name properties: - passphraseId: - description: passphraseId - example: passphraseId + name: + description: Account Name type: string - createdAt: - description: createdAt - example: 1713789296 - type: number - keys: - description: keys - items: - $ref: "#/components/schemas/EmbeddedWalletLatestBackupKey" - type: array - required: - - createdAt - - keys - - passphraseId type: object - EmbeddedWalletDevice: + RenameVaultAccountResponse: example: - physicalDeviceId: physicalDeviceIdValue - deviceId: deviceIdValue - enabled: true + name: name + id: id properties: - deviceId: - description: deviceId - example: deviceIdValue + name: + description: The new name of the vault account type: string - enabled: - description: enabled - example: true - type: boolean - physicalDeviceId: - description: physicalDeviceId - example: physicalDeviceIdValue + id: + description: The ID of the vault account type: string - required: - - deviceId - - enabled - - physicalDeviceId type: object - EmbeddedWalletSetUpStatus: - description: embedded wallet setup status + AssetWallet: example: - status: statusValue + blockHash: blockHash + total: total + lockedAmount: lockedAmount + blockHeight: blockHeight + vaultId: vaultId + assetId: assetId + pending: pending + staked: staked + available: available + creationTimestamp: creationTimestamp + frozen: frozen properties: - status: - description: status - enum: - - COMPLETE - - INCOMPLETE - example: statusValue + vaultId: + description: "ID of the vault account. You can [get the vault account by\ + \ this ID](https://developers.fireblocks.com/reference/get_vault-accounts-vaultaccountid)\ + \ to retrieve vault properties such as its name, auto fueling, hidden\ + \ on UI or customer reference ID." type: string - required: - - status - type: object - EmbeddedWalletAlgoritm: - description: algorithm name - properties: - algorithm: - description: algorithm - enum: - - MPC_ECDSA_SECP256K1 - - MPC_EDDSA_ED25519 - example: MPC_EDDSA_ED25519 + assetId: + description: "ID of the asset. You can get more information about this asset\ + \ by using the [supported assets API](https://developers.fireblocks.com/reference/get_supported-assets)" + type: string + available: + description: "Available balance, available to use in a transaction." + type: string + total: + description: "Total balance at the asset wallet, as seen at the blockchain\ + \ explorers. This includes balance available, and any kind of unavailable\ + \ balance such as locked, frozen, or others." + type: string + pending: + description: Pending balance. + type: string + staked: + description: Staked balance. + type: string + frozen: + description: Funds frozen due to the anti-money laundering policy at this + workspace. + type: string + lockedAmount: + description: Locked balance. + type: string + blockHeight: + description: The height (number) of the block of the balance. Can by empty. + type: string + blockHash: + description: The hash of the block of the balance. Can by empty. + type: string + creationTimestamp: + description: Unix timestamp of the time the asset wallet was created. type: string - required: - - algorithm type: object - EmbeddedWalletDeviceKeySetupResponse: + PaginatedAssetWalletResponse: example: - setupStatus: - - setupStatus: setupStatusValue - confirmed: true - backedUp: true - deviceId: deviceIdValue - enabled: true - status: - status: statusValue - properties: - status: - $ref: "#/components/schemas/EmbeddedWalletSetUpStatus" - deviceId: - description: deviceId - example: deviceIdValue - type: string - enabled: - description: enabled - example: true - type: boolean - setupStatus: - description: setupStatus - example: - - setupStatus: setupStatusValue - confirmed: true - backedUp: true + assetWallets: + - blockHash: blockHash + total: total + lockedAmount: lockedAmount + blockHeight: blockHeight + vaultId: vaultId + assetId: assetId + pending: pending + staked: staked + available: available + creationTimestamp: creationTimestamp + frozen: frozen + - blockHash: blockHash + total: total + lockedAmount: lockedAmount + blockHeight: blockHeight + vaultId: vaultId + assetId: assetId + pending: pending + staked: staked + available: available + creationTimestamp: creationTimestamp + frozen: frozen + paging: + before: before + after: after + properties: + assetWallets: items: - $ref: "#/components/schemas/EmbeddedWalletDeviceKeySetupResponse_setupStatus_inner" + $ref: "#/components/schemas/AssetWallet" type: array - required: - - deviceId - - enabled - - setupStatus - - status + paging: + $ref: "#/components/schemas/PaginatedAssetWalletResponse_paging" type: object - ExchangeType: - description: Exchange account's type - enum: - - INDEPENDENT_RESERVE - - ENCLAVE_MARKETS - - BIT - - COINFLEX - - KUCOIN - - PXS - - LIQUID - - BITHUMB - - BITFINEX - - BITSO - - BITSTAMP - - KRAKEN - - KRAKENINTL - - BINANCE - - BINANCEUS - - CRYPTOCOM - - BYBIT_V2 - - COINBASEPRO - - COINBASEPRIME - - COINBASEINTERNATIONAL - - WHITEBIT - - COINBASEEXCHANGE - - KORBIT - - HITBTC - - GEMINI - - CIRCLE - - BITMEX - - HUOBI - - DERIBIT - - OKCOIN_V5 - - OKEX - - COINMETRO - - GATEIO - - SCRYPT - - COINHAKO - - LIGHTBIT - - BULLISH - - CANVAS_CONNECT - - BITGET - - LUNO - - BIT_GENERA - - TRANSFERO - type: string - ExchangeAsset: + VaultActionStatus: example: - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available + success: true + properties: + success: + type: boolean + type: object + CreateVaultAssetResponse: + example: + legacyAddress: legacyAddress + address: address + activationTxId: activationTxId + enterpriseAddress: enterpriseAddress id: id - credit: credit + tag: tag + eosAccountName: eosAccountName + status: status properties: id: type: string - balance: + address: type: string - lockedAmount: + legacyAddress: type: string - total: + enterpriseAddress: type: string - available: + tag: type: string - credit: + eosAccountName: type: string - assetId: - description: The id of the asset - example: 2306088f-97ed-4293-8d28-8ab627f272d7 + status: type: string - providerSymbol: - description: The provider symbol of the asset - example: BTC + activationTxId: type: string - assetSymbol: - description: The asset symbol of the asset - example: BTC + type: object + SetCustomerRefIdRequest: + example: + customerRefId: customerRefId + properties: + customerRefId: + description: Customer reference ID type: string - assetLegacyId: - description: The asset legacy id of the asset - example: BTC + type: object + SetAutoFuelRequest: + example: + autoFuel: true + properties: + autoFuel: + description: Auto Fuel + type: boolean + type: object + CreateAssetsRequest: + example: + eosAccountName: eosAccountName + properties: + eosAccountName: + description: "Optional - when creating an EOS wallet, the account name.\ + \ If not provided, a random name will be generated" type: string type: object - ExchangeTradingAccount: + VaultWalletAddress: example: - assets: - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - name: name + bip44AddressIndex: 0 + legacyAddress: legacyAddress + address: address + assetId: assetId + addressFormat: SEGWIT + userDefined: true + enterpriseAddress: enterpriseAddress + description: description + tag: tag type: type + customerRefId: customerRefId properties: + assetId: + type: string + x-fb-entity: asset + address: + type: string + description: + type: string + tag: + type: string type: type: string - name: + customerRefId: type: string - assets: - items: - $ref: "#/components/schemas/ExchangeAsset" - type: array + addressFormat: + enum: + - SEGWIT + - LEGACY + - BASE + - PAYMENT + type: string + legacyAddress: + type: string + enterpriseAddress: + type: string + bip44AddressIndex: + type: integer + userDefined: + type: boolean type: object - ExchangeAccount: + GetVaultAccountAssetAddressesResponse: + items: + $ref: "#/components/schemas/VaultWalletAddress" + type: array + CreateAddressRequest: example: - tradingAccounts: - - assets: - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - name: name - type: type - - assets: - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - name: name - type: type - isSubaccount: true - assets: - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - success: true - name: name - id: id - type: INDEPENDENT_RESERVE - mainAccountId: mainAccountId - status: status + description: description + customerRefId: customerRefId properties: - id: + description: + description: (Optional) Attach a description to the new address type: string - type: - $ref: "#/components/schemas/ExchangeType" - name: - description: Display name of the exchange account + customerRefId: + description: Optional - Sets a customer reference ID type: string - status: + type: object + CreateAddressResponse: + example: + bip44AddressIndex: 0 + legacyAddress: legacyAddress + address: address + enterpriseAddress: enterpriseAddress + tag: tag + properties: + address: type: string - assets: - items: - $ref: "#/components/schemas/ExchangeAsset" - type: array - success: - description: Did succeed in retrieve balance data - type: boolean - tradingAccounts: + legacyAddress: + type: string + enterpriseAddress: + type: string + tag: + type: string + bip44AddressIndex: + type: integer + type: object + PaginatedAddressResponse: + example: + addresses: + - bip44AddressIndex: 0 + legacyAddress: legacyAddress + address: address + assetId: assetId + addressFormat: SEGWIT + userDefined: true + enterpriseAddress: enterpriseAddress + description: description + tag: tag + type: type + customerRefId: customerRefId + - bip44AddressIndex: 0 + legacyAddress: legacyAddress + address: address + assetId: assetId + addressFormat: SEGWIT + userDefined: true + enterpriseAddress: enterpriseAddress + description: description + tag: tag + type: type + customerRefId: customerRefId + paging: + before: before + after: after + properties: + addresses: items: - $ref: "#/components/schemas/ExchangeTradingAccount" + $ref: "#/components/schemas/VaultWalletAddress" type: array - isSubaccount: - description: True if the account is a subaccount in an exchange - type: boolean - mainAccountId: - description: "if the account is a sub-account, the ID of the main account" - type: string + paging: + $ref: "#/components/schemas/PaginatedAddressResponse_paging" type: object - GetExchangeAccountsResponse: - items: - $ref: "#/components/schemas/ExchangeAccount" - type: array - AddExchangeAccountRequest: + GetMaxSpendableAmountResponse: example: - name: name - exchangeType: INDEPENDENT_RESERVE - creds: creds - key: key - mainAccountId: mainAccountId + maxSpendableAmount: maxSpendableAmount properties: - exchangeType: - $ref: "#/components/schemas/ExchangeType" - name: - description: Display name of the exchange account + maxSpendableAmount: + description: The maximum amount that can be spent from the vault account type: string - creds: - description: Encrypted credentials + type: object + GetMaxBipIndexUsedResponse: + example: + maxBip44ChangeAddressIndexUsed: 50 + maxBip44AddressIndexUsed: 42 + properties: + maxBip44AddressIndexUsed: + description: The maximum BIP44 address index used for the vault account + and asset + example: 42 + type: integer + maxBip44ChangeAddressIndexUsed: + description: The maximum BIP44 change address index used for the vault account + and asset + example: 50 + type: integer + type: object + UpdateVaultAccountAssetAddressRequest: + example: + description: description + properties: + description: + description: The address description type: string - key: - description: Api key of the exchange + type: object + SetCustomerRefIdForAddressRequest: + example: + customerRefId: customerRefId + properties: + customerRefId: + description: Customer reference ID type: string - mainAccountId: - description: Optional - main account id of the exchange + type: object + UnspentInput: + example: + index: 0.8008281904610115 + txHash: txHash + properties: + txHash: type: string - required: - - exchangeType - - name + index: + type: number type: object - AddExchangeAccountResponse: + UnspentInputsResponse: example: - name: name - exchangeType: INDEPENDENT_RESERVE - id: id + input: + index: 0.8008281904610115 + txHash: txHash + amount: amount + address: address + confirmations: 6.027456183070403 + status: status properties: - id: - description: Exchange account's identifier + input: + $ref: "#/components/schemas/UnspentInput" + address: type: string - name: - description: Display name of the exchange account + amount: + type: string + confirmations: + type: number + status: type: string - exchangeType: - $ref: "#/components/schemas/ExchangeType" type: object - GetPagedExchangeAccountsResponse: + GetUnspentInputsResponse: + items: + $ref: "#/components/schemas/UnspentInputsResponse" + type: array + CreateMultipleAccountsRequest: example: - prevUrl: prevUrl - exchanges: - - tradingAccounts: - - assets: - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - name: name - type: type - - assets: - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - name: name - type: type - isSubaccount: true - assets: - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - success: true - name: name - id: id - type: INDEPENDENT_RESERVE - mainAccountId: mainAccountId - status: status - - tradingAccounts: - - assets: - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - name: name - type: type - - assets: - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - name: name - type: type - isSubaccount: true - assets: - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - - providerSymbol: BTC - total: total - lockedAmount: lockedAmount - assetSymbol: BTC - balance: balance - assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 - assetLegacyId: BTC - available: available - id: id - credit: credit - success: true - name: name - id: id - type: INDEPENDENT_RESERVE - mainAccountId: mainAccountId - status: status - paging: - before: before - after: after - nextUrl: nextUrl + names: + - first va + - client 65502e71-ecdf-48da-a074-c1753befc7fb + prefix: "Copied from: " + count: 1000 + baseAssetIds: + - BTC + - ETH + - SOL + vaultAccountNamesStartingIndex: 0 properties: - exchanges: + count: + description: Count + example: 1000 + type: integer + baseAssetIds: + description: Array of base asset IDs + example: + - BTC + - ETH + - SOL items: - $ref: "#/components/schemas/ExchangeAccount" + type: string type: array - paging: - $ref: "#/components/schemas/GetPagedExchangeAccountsResponse_paging" - prevUrl: - type: string - nextUrl: + names: + description: Names to assign to vault accounts. if vaultAccountNamesStartingIndex + or prefix is used it'll fail + example: + - first va + - client 65502e71-ecdf-48da-a074-c1753befc7fb + items: + type: string + type: array + vaultAccountNamesStartingIndex: + description: Copy vault accounts names starting from this index. If names + array is used it'll fail + example: 0 + type: integer + prefix: + description: When copying from existing vault accounts (vaultAccountNamesStartingIndex) + then adding a prefix to the names. If names array is used it'll fail + example: "Copied from: " type: string required: - - exchanges + - baseAssetIds + - count type: object - TradingAccountType: - enum: - - COIN_FUTURES - - COIN_MARGINED_SWAP - - EXCHANGE - - FUNDING - - FUNDABLE - - FUTURES - - FUTURES_CROSS - - MARGIN - - MARGIN_CROSS - - OPTIONS - - SPOT - - USDT_MARGINED_SWAP_CROSS - - USDT_FUTURES - - UNIFIED - type: string - CreateInternalTransferRequest: + JobCreated: example: - amount: amount - sourceType: COIN_FUTURES - asset: asset - destType: null + jobId: jobId properties: - asset: - type: string - amount: + jobId: type: string - sourceType: - $ref: "#/components/schemas/TradingAccountType" - destType: - $ref: "#/components/schemas/TradingAccountType" - required: - - amount - - asset - - destType - - sourceType type: object - InternalTransferResponse: + CreateMultipleVaultAccountsJobStatus: example: - success: true - id: id + vaultAccounts: + "0": + BTC_TEST: bcrt1qs0zzqytuw49w2jqkmfhzgdh2lylzde2uw4zncz + ETH_TEST: 0x460395Edb2338023c6f137259C6e20B6C37dDE95 + errorMessage: Asset not supported + status: Success properties: - success: - description: Indicates whether the transfer was successful - type: boolean - id: - description: The transaction ID of the internal transfer - nullable: true + status: + example: Success + type: string + vaultAccounts: + additionalProperties: + additionalProperties: + type: string + description: Mapping between asset (key) to address (value) + type: object + description: Mapping between VaultAccountId to a mapping of asset to address + example: + "0": + BTC_TEST: bcrt1qs0zzqytuw49w2jqkmfhzgdh2lylzde2uw4zncz + ETH_TEST: 0x460395Edb2338023c6f137259C6e20B6C37dDE95 + type: object + errorMessage: + example: Asset not supported type: string required: - - success + - status type: object - ConvertAssetsRequest: + CreateMultipleDepositAddressesRequest: example: - amount: 0.8008281904610115 - destAsset: destAsset - srcAsset: srcAsset + assetId: ADA + vaultAccountToCopyDescFrom: 0 + vaultAccountToCopyDescFromIndex: 1000 + count: 10 + vaultAccountId: 5 + descriptions: + - First address + - Second address + - df4c0987-30da-4976-8dcf-bc2dd41ae331 properties: - srcAsset: - description: Name of the source asset (must be in a currency that is supported - for conversions in the selected exchange type that corresponds to your - exchange ID) - type: string - destAsset: - description: Name of the destination asset (must be in a currency that is - supported for conversions in the selected exchange type that corresponds - to your exchange ID) + vaultAccountId: + description: Existing Vault account ID to add deposit addresses to + example: 5 + type: integer + assetId: + description: asset ID + example: ADA type: string - amount: - description: The amount to transfer (in the currency of the source asset) - type: number + count: + description: Count of deposit addresses to issue + example: 10 + type: integer + descriptions: + description: Desctiptions of the newly created addresses + example: + - First address + - Second address + - df4c0987-30da-4976-8dcf-bc2dd41ae331 + items: + type: string + type: array + vaultAccountToCopyDescFrom: + description: Existing Vault Account ID to copy deposit addresses descriptions + from in case no descriptions were provided + example: 0 + type: integer + vaultAccountToCopyDescFromIndex: + description: Existing length within the vault account to copy deposit addresses + descriptions from + example: 1000 + type: integer required: - - amount - - destAsset - - srcAsset + - assetId + - count + - vaultAccountId type: object - ConvertAssetsResponse: + VaultAccountsTagAttachmentOperationsRequest: example: - success: true + tagIdsToAttach: + - df4c0987-30da-4976-8dcf-bc2dd41ae331 + - a1b2c3d4-e5f6-7890-abcd-ef1234567890 + tagIdsToDetach: + - df4c0987-30da-4976-8dcf-bc2dd41ae331 + - a1b2c3d4-e5f6-7890-abcd-ef1234567890 + vaultAccountIds: + - "0" + - "1" properties: - success: - description: Indicates whether the conversion was successful - type: boolean + vaultAccountIds: + description: The IDs of the vault accounts to attach tags to + example: + - "0" + - "1" + items: + format: numeric + type: string + maxItems: 100 + minItems: 1 + type: array + tagIdsToAttach: + description: The IDs of the tags to attach + example: + - df4c0987-30da-4976-8dcf-bc2dd41ae331 + - a1b2c3d4-e5f6-7890-abcd-ef1234567890 + items: + format: uuid + type: string + maxItems: 20 + minItems: 1 + type: array + tagIdsToDetach: + description: The IDs of the tags to detach + example: + - df4c0987-30da-4976-8dcf-bc2dd41ae331 + - a1b2c3d4-e5f6-7890-abcd-ef1234567890 + items: + format: uuid + type: string + maxItems: 20 + minItems: 1 + type: array required: - - success + - vaultAccountIds type: object - GetExchangeAccountsCredentialsPublicKeyResponse: + TagAttachmentOperationAction: + enum: + - ATTACH + - DETACH + type: string + VaultAccountTagAttachmentOperation: example: - tenantId: tenantId - publicKey: publicKey + tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + vaultAccountId: "1" + action: ATTACH properties: - publicKey: - description: Public key string + vaultAccountId: + description: The ID of the vault account + example: "1" + format: numeric type: string - tenantId: - description: Tenant identifier + tagId: + description: Tag ID + example: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + format: uuid type: string + action: + $ref: "#/components/schemas/TagAttachmentOperationAction" required: - - publicKey - - tenantId + - action + - tagId + - vaultAccountId type: object - FiatAccountType: - enum: - - BLINC - type: string - FiatAsset: + VaultAccountTagAttachmentPendingOperation: example: - balance: balance - id: id + approvalRequestId: "12345" + tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + vaultAccountId: "1" + action: null properties: - id: + vaultAccountId: + description: The ID of the vault account + example: "1" + format: numeric type: string - balance: + tagId: + description: Tag ID + example: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + format: uuid + type: string + action: + $ref: "#/components/schemas/TagAttachmentOperationAction" + approvalRequestId: + description: Pending approval request ID + example: "12345" type: string + required: + - action + - approvalRequestId + - tagId + - vaultAccountId type: object - FiatAccount: + VaultAccountTagAttachmentRejectedOperation: example: - address: address - assets: - - balance: balance - id: id - - balance: balance - id: id - name: name - id: id - type: BLINC + reason: CAPACITY_EXCEEDED + tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + vaultAccountId: "1" + action: null properties: - id: + vaultAccountId: + description: The ID of the vault account + example: "1" + format: numeric type: string - type: - $ref: "#/components/schemas/FiatAccountType" - name: - description: Display name of the fiat account + tagId: + description: Tag ID + example: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + format: uuid type: string - address: - nullable: true + action: + $ref: "#/components/schemas/TagAttachmentOperationAction" + reason: + description: Reason for rejection + enum: + - CAPACITY_EXCEEDED + - ATTACHMENT_ALREADY_EXISTS + - ATTACHMENT_DOES_NOT_EXIST + - PENDING_REQUEST_EXISTS type: string - assets: - items: - $ref: "#/components/schemas/FiatAsset" - type: array - type: object - GetFiatAccountsResponse: - items: - $ref: "#/components/schemas/FiatAccount" - type: array - Funds: - example: - amount: 0.8008281904610115 - properties: - amount: - type: number - type: object - RedeemFundsToLinkedDDAResponse: - example: - success: true - properties: - success: - description: Indicates whether the funds were successfully redeemed to the - linked DDA - type: boolean required: - - success + - action + - reason + - tagId + - vaultAccountId type: object - DepositFundsFromLinkedDDAResponse: + VaultAccountsTagAttachmentOperationsResponse: example: - success: true + appliedOperations: + - tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + vaultAccountId: "1" + action: ATTACH + - tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + vaultAccountId: "1" + action: ATTACH + pendingOperations: + - approvalRequestId: "12345" + tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + vaultAccountId: "1" + action: null + - approvalRequestId: "12345" + tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + vaultAccountId: "1" + action: null + rejectedOperations: + - reason: CAPACITY_EXCEEDED + tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + vaultAccountId: "1" + action: null + - reason: CAPACITY_EXCEEDED + tagId: f0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 + vaultAccountId: "1" + action: null properties: - success: - description: Indicates whether the funds were successfully deposited from - the linked DDA - type: boolean - required: - - success + appliedOperations: + description: The operations that were applied + items: + $ref: "#/components/schemas/VaultAccountTagAttachmentOperation" + type: array + pendingOperations: + description: The operations that are pending + items: + $ref: "#/components/schemas/VaultAccountTagAttachmentPendingOperation" + type: array + rejectedOperations: + description: The operations that were rejected + items: + $ref: "#/components/schemas/VaultAccountTagAttachmentRejectedOperation" + type: array type: object - ConnectedAccountApprovalStatus: - enum: - - WAITING_FOR_APPROVAL - - APPROVED - - REJECTED - - CANCELLED - - FAILED - type: string - ConnectedAccountTotalBalance: - example: - amount: "1201.15" - denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 - hasFullAssetCoverage: true + NewAddress: properties: - amount: - description: The denominated currency value of the account. - example: "1201.15" + address: + description: The address string. + example: addr_test1qp07k5kdwdfx4rpfqud8ry65acxgtgfgrxw0t35cwvl4uasjneqjdc868eqlex5p2f0nyekyyk4ze5xuanvj50ysrj3qqxqhsn type: string - denominatedAssetId: - description: The asset ID of the total balance. - example: ea6c3cb7-355a-4ee3-82ff-267c69970214 + index: + description: The index of the address in the list. + example: 0 + type: integer + description: + description: A description of the address. + example: Address one type: string - hasFullAssetCoverage: - default: false - description: "Indicates whether the total amount represents the complete\ - \ balance of all assets in the account. When true, all asset balances\ - \ have been successfully converted to the denominated currency. When false,\ - \ some assets could not be included in the total due to missing exchange\ - \ rates or non-convertible assets." - example: true - type: boolean required: - - amount - - denominatedAssetId - - hasFullAssetCoverage + - address + - description + - index type: object - ConnectedAccountAssetType: - enum: - - DIGITAL - - FIAT - type: string - ConnectedAccountCapability: - enum: - - WITHDRAWALS - - DEPOSITS - - TRADING - type: string - ConnectedAccountManifest: + CreateMultipleDepositAddressesJobStatus: example: - assetTypes: [] - capabilities: - - WITHDRAWALS + addresses: + - address: addr_test1qp07k5kdwdfx4rpfqud8ry65acxgtgfgrxw0t35cwvl4uasjneqjdc868eqlex5p2f0nyekyyk4ze5xuanvj50ysrj3qqxqhsn + index: 0 + description: Address one + errorMessage: Asset not supported + status: Success properties: - assetTypes: - description: Asset types supported by the connected account. - example: [] + status: + example: Success + type: string + addresses: + example: + - address: addr_test1qp07k5kdwdfx4rpfqud8ry65acxgtgfgrxw0t35cwvl4uasjneqjdc868eqlex5p2f0nyekyyk4ze5xuanvj50ysrj3qqxqhsn + index: 0 + description: Address one items: - $ref: "#/components/schemas/ConnectedAccountAssetType" + $ref: "#/components/schemas/NewAddress" type: array - capabilities: - description: | - Features supported for the connected account. Logic: - If account capabilities include ramp -> TRADING - If account capabilities include transfers -> DEPOSITS - If account capabilities include transfersBlockchain / transfersFiat / transfersPeerAccounts / transfersInternal -> WITHDRAWALS + errorMessage: + example: Asset not supported + type: string + required: + - status + type: object + PublicKeyInformation: + example: + derivationPath: + - 44 + - 0 + - 0 + - 0 + - 0 + publicKey: 1044c36403c1802818b472398f546a43a0d91569d5583a6e807c3825b155c7bd + algorithm: MPC_ECDSA_SECP256K1 + properties: + algorithm: + description: Elliptic Curve + enum: + - MPC_ECDSA_SECP256K1 + - MPC_ECDSA_SECP256R1 + - MPC_EDDSA_ED25519 + type: string + derivationPath: + description: BIP44 derivation path example: - - WITHDRAWALS + - 44 + - 0 + - 0 + - 0 + - 0 items: - $ref: "#/components/schemas/ConnectedAccountCapability" + type: integer type: array - required: - - assetTypes - - capabilities + publicKey: + description: Compressed/Uncompressed public key value in hex representation + example: 1044c36403c1802818b472398f546a43a0d91569d5583a6e807c3825b155c7bd + type: string type: object - ConnectedAccount: + GetVaultAssetsResponse: + items: + $ref: "#/components/schemas/VaultAsset" + type: array + EmbeddedWalletAssetResponse: + example: + coinType: 0 + symbol: USDT + ethNetwork: ethNetwork + blockchainDisplayName: BTH + deprecated: false + hasFee: true + baseAsset: ETH_TEST5 + ethContractAddress: ethContractAddress + blockchain: ETH_TEST5 + issuerAddress: rnDV4JiwgRNhudPY2sm65AzECpRXaasL4r + blockchainSymbol: BTH + decimals: 6 + name: Tether USD + id: id + testnet: true + networkProtocol: ETH + algorithm: MPC_ECDSA_SECP256K1 properties: id: - description: Unique identifier of the connected account. - example: acc-123456 + type: string + symbol: + description: The asset symbol + example: USDT type: string name: - description: Human-readable name of the connected account. - example: Main Venue Account + description: The asset name + example: Tether USD type: string - providerId: - description: The ID of the venue the account belongs to. - example: BRIDGE + decimals: + description: Number of decimals + example: 6 + type: number + networkProtocol: + description: "Netowrk protocol of the blockchain (BTC, ETH)" + example: ETH type: string - status: - $ref: "#/components/schemas/ConnectedAccountApprovalStatus" - totalBalance: - $ref: "#/components/schemas/ConnectedAccountTotalBalance" - manifest: - $ref: "#/components/schemas/ConnectedAccountManifest" - parentId: - description: "The ID of the parent main account, if this is a sub account." - example: acc-parent-001 + testnet: + description: Is in testnet + example: true + type: boolean + hasFee: + description: Has fee + example: true + type: boolean + baseAsset: + description: "Base asset symbol BTC_TEST, ETH_TEST5)" + example: ETH_TEST5 + type: string + ethNetwork: + type: string + ethContractAddress: + type: string + issuerAddress: + description: The address of the issuer of this token. Will be part of the + identifier of this token on chain. + example: rnDV4JiwgRNhudPY2sm65AzECpRXaasL4r + type: string + blockchainSymbol: + description: Name of blockchain + example: BTH + type: string + deprecated: + description: Is blockchain deprecated + example: false + type: boolean + coinType: + description: "Unique identifier of an asset (0 for BTC, 60 for ETH, etc.)" + example: 0 + type: number + blockchain: + description: The blockchain native asset id which the token is deployed + on + example: ETH_TEST5 + type: string + blockchainDisplayName: + description: Name of blockchain + example: BTH + type: string + algorithm: + enum: + - MPC_ECDSA_SECP256K1 + - MPC_EDDSA_ED25519 type: string required: + - baseAsset + - blockchain + - coinType + - decimals + - hasFee - id - - manifest - name - - providerId - - status - - totalBalance + - networkProtocol + - symbol + - testnet + - type type: object - ConnectedAccountsResponse: + EmbeddedWalletPaginatedAssetsResponse: example: - next: eyJwYWdlIjoyfQ== - total: 2 + next: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 data: - - id: acc-123456 - name: Main Venue Account - providerId: BRIDGE - status: APPROVED - totalBalance: - amount: "1201.15" - denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 - hasFullAssetCoverage: true - manifest: - assetTypes: [] - capabilities: - - DEPOSITS - - WITHDRAWALS - - id: acc-654321 - name: Secondary Account - providerId: BRIDGE - status: WAITING_FOR_APPROVAL - totalBalance: - amount: "0.00" - denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 - hasFullAssetCoverage: false - manifest: - assetTypes: [] - capabilities: - - WITHDRAWALS + - coinType: 0 + symbol: USDT + ethNetwork: ethNetwork + blockchainDisplayName: BTH + deprecated: false + hasFee: true + baseAsset: ETH_TEST5 + ethContractAddress: ethContractAddress + blockchain: ETH_TEST5 + issuerAddress: rnDV4JiwgRNhudPY2sm65AzECpRXaasL4r + blockchainSymbol: BTH + decimals: 6 + name: Tether USD + id: id + testnet: true + networkProtocol: ETH + algorithm: MPC_ECDSA_SECP256K1 + - coinType: 0 + symbol: USDT + ethNetwork: ethNetwork + blockchainDisplayName: BTH + deprecated: false + hasFee: true + baseAsset: ETH_TEST5 + ethContractAddress: ethContractAddress + blockchain: ETH_TEST5 + issuerAddress: rnDV4JiwgRNhudPY2sm65AzECpRXaasL4r + blockchainSymbol: BTH + decimals: 6 + name: Tether USD + id: id + testnet: true + networkProtocol: ETH + algorithm: MPC_ECDSA_SECP256K1 properties: data: - description: List of connected accounts matching the query. - example: - - id: acc-123456 - name: Main Venue Account - providerId: BRIDGE - status: APPROVED - totalBalance: - amount: "1201.15" - denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 - hasFullAssetCoverage: true - manifest: - assetTypes: [] - capabilities: - - DEPOSITS - - WITHDRAWALS - - id: acc-654321 - name: Secondary Account - providerId: BRIDGE - status: WAITING_FOR_APPROVAL - totalBalance: - amount: "0.00" - denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 - hasFullAssetCoverage: false - manifest: - assetTypes: [] - capabilities: - - WITHDRAWALS + description: The data of the current page items: - $ref: "#/components/schemas/ConnectedAccount" + $ref: "#/components/schemas/EmbeddedWalletAssetResponse" type: array - total: - description: Total number of accounts by query. - example: 2 - type: integer next: - description: "A cursor for the next page of results, if available." - example: eyJwYWdlIjoyfQ== + description: The ID of the next page + example: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 + nullable: true type: string required: - data type: object - ConnectedSingleAccount: - properties: - subAccountsIds: - description: IDs of sub-accounts associated with this connected account. - example: - - acc-sub-001 - - acc-sub-002 - items: - type: string - type: array - type: object - ConnectedSingleAccountResponse: - allOf: - - $ref: "#/components/schemas/ConnectedAccount" - - $ref: "#/components/schemas/ConnectedSingleAccount" + EmbeddedWallet: example: - totalBalance: - amount: "1201.15" - denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 - hasFullAssetCoverage: true - providerId: BRIDGE - manifest: - assetTypes: [] - capabilities: - - WITHDRAWALS - name: Main Venue Account - id: acc-123456 - parentId: acc-parent-001 - subAccountsIds: - - acc-sub-001 - - acc-sub-002 - status: WAITING_FOR_APPROVAL - ConnectedAccountBalances: + walletId: 550e8400-e29b-41d4-a716-446655440000 + enabled: true properties: - assetId: - description: "Asset identifier (e.g., BTC, ETH, USDC)." - example: BTC - type: string - availableAmount: - description: Amount available for use. - example: "100.00" - type: string - totalAmount: - description: Total amount including locked/held balances. - example: "120.00" - type: string - lockedAmount: - description: Amount currently locked/held. - example: "20.00" - type: string - creditAmount: - description: "Credit line amount, if applicable (0 when not used)." - example: "0" - type: string - balanceType: - description: "Wallet type/category (e.g., SPOT, MARGIN, FUNDING)." - example: FUNDING - type: string - balanceName: - description: Display name for the balance type (at the provider) - example: Trader1 Wallet + walletId: + description: walletId + example: 550e8400-e29b-41d4-a716-446655440000 type: string + enabled: + description: enabled + example: true + type: boolean required: - - assetId - - availableAmount - - balanceType - - totalAmount + - enabled + - walletId type: object - ConnectedAccountBalancesResponse: + EmbeddedWalletPaginatedWalletsResponse: example: - next: eyJwYWdlIjoyfQ== - total: 2 + next: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 data: - - assetId: BTC - availableAmount: "100.00" - totalAmount: "120.00" - balanceType: FUNDING - balanceName: Trader1 Wallet + - walletId: 550e8400-e29b-41d4-a716-446655440000 + enabled: true + - walletId: 550e8400-e29b-41d4-a716-446655440000 + enabled: true properties: data: - description: "Flat balance row for a single asset within an account and\ - \ wallet type. One row per (assetId, balanceType)." - example: - - assetId: BTC - availableAmount: "100.00" - totalAmount: "120.00" - balanceType: FUNDING - balanceName: Trader1 Wallet + description: The data of the current page items: - $ref: "#/components/schemas/ConnectedAccountBalances" + $ref: "#/components/schemas/EmbeddedWallet" type: array - total: - description: Total number of balance rows by query. - example: 2 - type: integer next: - description: "A cursor for the next page of results, if available." - example: eyJwYWdlIjoyfQ== + description: The ID of the next page + example: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 + nullable: true type: string required: - data type: object - ConnectedAccountRateResponse: + EnableWallet: example: - accountId: ea6c3cb7-355a-4ee3-82ff-267c69970210 - baseAssetId: BTC - rate: "1.2345" - quoteAssetId: USD + enabled: true properties: - accountId: - description: The ID of the account that generated the quote. - example: ea6c3cb7-355a-4ee3-82ff-267c69970210 - type: string - baseAssetId: - description: The source asset identifier - example: BTC - type: string - quoteAssetId: - description: The target asset identifier - example: USD - type: string - rate: - description: The exchange rate value - example: "1.2345" - type: string + enabled: + description: Whether the wallet should be enabled or disabled + example: true + type: boolean required: - - accountId - - baseAssetId - - quoteAssetId - - rate + - enabled type: object - ConnectedAccountTradingPairSupportedType: - enum: - - QUOTE - - MARKET - - LIMIT - type: string - ConnectedAccountTradingPair: - properties: - id: - description: The ID of the trading pair. - example: ea6c3cb7-355a-4ee3-82ff-267c69970210 - type: string - baseAssetId: - description: The Symbol of the base asset. - example: BTC + EmbeddedWalletAddressDetails: + example: + coinType: 1.4658129805029452 + legacyAddress: legacyAddressName + address: addressName + accountName: accountName + addressType: addressType + change: 6.027456183070403 + addressFormat: addressFormatName + userDefined: true + customerRefId: customerRefIdName + paymentAddress: paymentAddressName + accountId: accountIdName + addressDescription: addressDescriptionName + addressIndex: 0.8008281904610115 + tag: tagName + state: stateName + asset: assetName + properties: + accountName: + description: accountName + example: accountName type: string - quoteAssetId: - description: The symbol of the quote asset. - example: USD + accountId: + description: accountId + example: accountIdName + type: string + asset: + description: asset + example: assetName + type: string + address: + description: address + example: addressName + type: string + addressType: + description: addressType + enum: + - PERMANENT + - CHANGE + - DEFAULT + - ADDRESS + example: addressType + type: string + addressDescription: + description: addressDescription + example: addressDescriptionName + type: string + tag: + description: tag + example: tagName + type: string + addressIndex: + description: addressIndex + type: number + change: + description: change + type: number + coinType: + description: "Unique identifier of an asset (0 for BTC, 60 for ETH, etc.)" + type: number + customerRefId: + description: customerRefId + example: customerRefIdName + type: string + addressFormat: + description: addressFormat + example: addressFormatName + type: string + legacyAddress: + description: legacyAddress + example: legacyAddressName + type: string + paymentAddress: + description: paymentAddress + example: paymentAddressName + type: string + userDefined: + description: userDefined + example: true + type: boolean + state: + description: state + enum: + - PENDING_ACTIVATION + - ACTIVATION_FAILED + - READY + example: stateName type: string - supportedTypes: - items: - $ref: "#/components/schemas/ConnectedAccountTradingPairSupportedType" - type: array required: - - baseAssetId + - accountId + - accountName + - address + - addressDescription + - addressType + - asset + - tag + type: object + EmbeddedWalletAssetRewardInfo: + example: + pendingRewards: "5" + properties: + pendingRewards: + description: Amount that is pending for rewards + example: "5" + type: string + required: + - pendingRewards + type: object + EmbeddedWalletAssetBalance: + example: + blockHash: 0000000000000000000769e73a0b8f32a6c5d55e0d64f9ec20c6c3d4e5a9a3f1 + total: "0.87500000" + lockedAmount: "0.01000000" + blockHeight: "8459341" + rewardInfo: + pendingRewards: "5" + pending: "0.01500000" + available: "0.84500000" + frozen: "0.00500000" + id: BTC-mainnet-acc-01 + properties: + id: + description: Unique identifier of the asset balance entry + example: BTC-mainnet-acc-01 + type: string + total: + description: "Total balance amount for the asset in the account (including\ + \ pending, locked, and available)" + example: "0.87500000" + type: string + available: + description: The balance available for use or withdrawal + example: "0.84500000" + type: string + pending: + description: "Amount pending confirmation from blockchain (e.g., unconfirmed\ + \ deposits)" + example: "0.01500000" + type: string + frozen: + description: Balance that is frozen due to policy or regulatory lock + example: "0.00500000" + type: string + lockedAmount: + description: Funds locked for operations such as staking or delegation + example: "0.01000000" + type: string + blockHeight: + description: Latest known blockchain height when balance was fetched + example: "8459341" + type: string + blockHash: + description: Hash of the blockchain block associated with the current balance + state + example: 0000000000000000000769e73a0b8f32a6c5d55e0d64f9ec20c6c3d4e5a9a3f1 + type: string + rewardInfo: + $ref: "#/components/schemas/EmbeddedWalletAssetRewardInfo" + required: + - available + - frozen - id - - quoteAssetId - - supportedTypes + - lockedAmount + - pending + - total type: object - ConnectedAccountTradingPairsResponse: + EmbeddedWalletPaginatedAddressesResponse: example: - next: next - total: 2 + next: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 data: - - id: ea6c3cb7-355a-4ee3-82ff-267c69970210 - baseAssetId: BTC - quoteAssetId: USD - supportedTypes: - - MARKET - - id: ea6c3cb7-355a-4ee3-82ff-267c69970211 - baseAssetId: ETH - quoteAssetId: USDC - supportedTypes: - - QUOTE - - MARKET + - coinType: 1.4658129805029452 + legacyAddress: legacyAddressName + address: addressName + accountName: accountName + addressType: addressType + change: 6.027456183070403 + addressFormat: addressFormatName + userDefined: true + customerRefId: customerRefIdName + paymentAddress: paymentAddressName + accountId: accountIdName + addressDescription: addressDescriptionName + addressIndex: 0.8008281904610115 + tag: tagName + state: stateName + asset: assetName + - coinType: 1.4658129805029452 + legacyAddress: legacyAddressName + address: addressName + accountName: accountName + addressType: addressType + change: 6.027456183070403 + addressFormat: addressFormatName + userDefined: true + customerRefId: customerRefIdName + paymentAddress: paymentAddressName + accountId: accountIdName + addressDescription: addressDescriptionName + addressIndex: 0.8008281904610115 + tag: tagName + state: stateName + asset: assetName properties: data: - example: - - id: ea6c3cb7-355a-4ee3-82ff-267c69970210 - baseAssetId: BTC - quoteAssetId: USD - supportedTypes: - - MARKET - - id: ea6c3cb7-355a-4ee3-82ff-267c69970211 - baseAssetId: ETH - quoteAssetId: USDC - supportedTypes: - - QUOTE - - MARKET + description: The data of the current page items: - $ref: "#/components/schemas/ConnectedAccountTradingPair" + $ref: "#/components/schemas/EmbeddedWalletAddressDetails" type: array - total: - description: Total number of asset pairs matching the query. - example: 2 - type: integer next: - description: "A cursor for the next page of results, if available." + description: The ID of the next page + example: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 nullable: true type: string - example: null required: - data type: object - NetworkChannel: - deprecated: true - description: Deprecated in the only used reference - NetworkConnectionResponse + EmbeddedWalletAccount: + example: + accountId: "0" + walletId: 550e8400-e29b-41d4-a716-446655440000 properties: - networkId: + accountId: + description: The ID of the account + example: "0" type: string - name: + walletId: + description: Unique identifier of the Non-Custodial Wallet (UUID) + example: 550e8400-e29b-41d4-a716-446655440000 type: string + required: + - accountId + - walletId type: object - NetworkConnectionStatus: - enum: - - WAITING_FOR_APPROVAL - - WAITING_FOR_PEER_APPROVAL - - APPROVED - - CANCELLED - - FAILED - - REJECTED - - REJECTED_BY_PEER - - REMOVED - - REMOVED_BY_PEER - type: string - NetworkId: + EmbeddedWalletLatestBackupKey: example: - name: name - id: id + keyId: keyIdValue + publicKey: publicKeyValue + deviceId: deviceIdValue + algorithm: algorithm properties: - id: + deviceId: + description: deviceId + example: deviceIdValue type: string - name: + publicKey: + description: publicKey + example: publicKeyValue + type: string + keyId: + description: keyId + example: keyIdValue + type: string + algorithm: + description: algorithm + enum: + - MPC_CMP_ECDSA_SECP256K1 + - MPC_CMP_EDDSA_ED25519 + - MPC_ECDSA_SECP256K1 + example: algorithm type: string required: - - id - - name + - algorithm + - deviceId + - keyId + - publicKey type: object - CustomRoutingDest: + EmbeddedWalletLatestBackupResponse: example: - scheme: CUSTOM - dstId: dstId - dstType: FIAT_ACCOUNT + createdAt: 1713789296 + keys: + - keyId: keyIdValue + publicKey: publicKeyValue + deviceId: deviceIdValue + algorithm: algorithm + - keyId: keyIdValue + publicKey: publicKeyValue + deviceId: deviceIdValue + algorithm: algorithm + passphraseId: passphraseId properties: - scheme: - description: The network routing logic. - enum: - - CUSTOM + passphraseId: + description: passphraseId + example: passphraseId type: string - dstType: - description: The account the funds are being sent to. - enum: - - FIAT_ACCOUNT - - VAULT - - EXCHANGE + createdAt: + description: createdAt + example: 1713789296 + type: number + keys: + description: keys + items: + $ref: "#/components/schemas/EmbeddedWalletLatestBackupKey" + type: array + required: + - createdAt + - keys + - passphraseId + type: object + EmbeddedWalletDevice: + example: + physicalDeviceId: physicalDeviceIdValue + deviceId: deviceIdValue + enabled: true + properties: + deviceId: + description: deviceId + example: deviceIdValue type: string - dstId: - description: The ID of the account the funds are being sent to. + enabled: + description: enabled + example: true + type: boolean + physicalDeviceId: + description: physicalDeviceId + example: physicalDeviceIdValue type: string required: - - dstId - - dstType - - scheme + - deviceId + - enabled + - physicalDeviceId type: object - DefaultNetworkRoutingDest: + EmbeddedWalletSetUpStatus: + description: embedded wallet setup status + example: + status: COMPLETE properties: - scheme: - description: The network routing logic. + status: + description: status enum: - - DEFAULT + - COMPLETE + - INCOMPLETE + example: COMPLETE type: string required: - - scheme + - status type: object - NoneNetworkRoutingDest: + EmbeddedWalletAlgoritm: + description: algorithm name properties: - scheme: - description: No network routing logic. + algorithm: + description: algorithm enum: - - NONE + - MPC_ECDSA_SECP256K1 + - MPC_EDDSA_ED25519 + example: MPC_EDDSA_ED25519 type: string required: - - scheme - type: object - NetworkConnectionRoutingPolicy: - additionalProperties: - $ref: "#/components/schemas/NetworkConnectionRoutingPolicy_value" + - algorithm type: object - NetworkConnectionResponse: + EmbeddedWalletDeviceKeySetupResponse: example: - localNetworkId: - name: name - id: id - remoteNetworkId: - name: name - id: id - remoteChannel: "" - id: id - localChannel: "" - routingPolicy: - key: - scheme: CUSTOM - dstId: dstId - dstType: FIAT_ACCOUNT - status: WAITING_FOR_APPROVAL + setupStatus: + - setupStatus: setupStatusValue + confirmed: true + backedUp: true + deviceId: deviceIdValue + enabled: true + status: + status: COMPLETE properties: - id: - type: string - localChannel: - allOf: - - $ref: "#/components/schemas/NetworkChannel" - deprecated: true - description: Deprecated - Replaced by `localNetworkId` - remoteChannel: - allOf: - - $ref: "#/components/schemas/NetworkChannel" - deprecated: true - description: Deprecated - Replaced by `remoteNetworkId` status: - $ref: "#/components/schemas/NetworkConnectionStatus" - localNetworkId: - $ref: "#/components/schemas/NetworkId" - remoteNetworkId: - $ref: "#/components/schemas/NetworkId" - routingPolicy: - additionalProperties: - $ref: "#/components/schemas/NetworkConnectionRoutingPolicy_value" - type: object + $ref: "#/components/schemas/EmbeddedWalletSetUpStatus" + deviceId: + description: deviceId + example: deviceIdValue + type: string + enabled: + description: enabled + example: true + type: boolean + setupStatus: + description: setupStatus + example: + - setupStatus: setupStatusValue + confirmed: true + backedUp: true + items: + $ref: "#/components/schemas/EmbeddedWalletDeviceKeySetupResponse_setupStatus_inner" + type: array required: - - id - - localNetworkId - - remoteNetworkId - - routingPolicy + - deviceId + - enabled + - setupStatus - status type: object - GetNetworkConnectionsResponse: - items: - $ref: "#/components/schemas/NetworkConnectionResponse" - type: array - NetworkConnection: + EnableDevice: example: - localNetworkId: localNetworkId - remoteNetworkId: remoteNetworkId - routingPolicy: - key: - scheme: CUSTOM - dstId: dstId - dstType: FIAT_ACCOUNT + enabled: true properties: - localNetworkId: - description: The network ID of the profile trying to create the connection. - type: string - remoteNetworkId: - description: The network ID the profile is attempting to connect to. - type: string - routingPolicy: - additionalProperties: - $ref: "#/components/schemas/NetworkConnectionRoutingPolicy_value" - type: object + enabled: + description: Whether the device should be enabled or disabled + example: true + type: boolean required: - - localNetworkId - - remoteNetworkId + - enabled type: object - SetRoutingPolicyRequest: + EmbeddedWalletPaginatedDevicesResponse: example: - routingPolicy: - key: - scheme: CUSTOM - dstId: dstId - dstType: FIAT_ACCOUNT - properties: - routingPolicy: - additionalProperties: - $ref: "#/components/schemas/NetworkConnectionRoutingPolicy_value" - type: object - required: - - routingPolicy - type: object - SetRoutingPolicyResponse: - example: - success: true - properties: - success: - type: boolean - required: - - success - type: object - ThirdPartyRouting: - example: - isThirdPartyRouting: true - description: description - properties: - isThirdPartyRouting: - type: boolean - description: - type: string - type: object - DeleteNetworkConnectionResponse: - example: - success: true - properties: - success: - type: boolean - required: - - success - type: object - NetworkIdRoutingPolicy: - additionalProperties: - $ref: "#/components/schemas/NetworkIdRoutingPolicy_value" - type: object - NetworkIdResponse: - example: - name: name - isDiscoverable: true - routingPolicy: - key: - scheme: CUSTOM - dstId: dstId - dstType: FIAT_ACCOUNT - id: id - properties: - routingPolicy: - additionalProperties: - $ref: "#/components/schemas/NetworkIdRoutingPolicy_value" - type: object - isDiscoverable: - description: The specific network is discoverable. - type: boolean - id: - description: The specific network id - type: string - name: - description: The specific network name - type: string - type: object - GetNetworkIdsResponse: - items: - allOf: - - $ref: "#/components/schemas/NetworkIdResponse" - type: array - CreateNetworkIdRequest: - example: - name: name - routingPolicy: - key: - scheme: CUSTOM - dstId: dstId - dstType: FIAT_ACCOUNT - properties: - name: - type: string - routingPolicy: - additionalProperties: - $ref: "#/components/schemas/NetworkIdRoutingPolicy_value" - type: object - required: - - name - type: object - GetRoutingPolicyAssetGroupsResponse: - items: - type: string - type: array - SearchNetworkIdsResponse: - example: - next: next + next: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 data: - - name: name - isDiscoverable: true - routingPolicy: - key: - scheme: CUSTOM - dstId: dstId - dstType: FIAT_ACCOUNT - id: id - - name: name - isDiscoverable: true - routingPolicy: - key: - scheme: CUSTOM - dstId: dstId - dstType: FIAT_ACCOUNT - id: id + - deviceId: 9ee1bff0-6dba-4f0c-9b75-03fe90e66fa3 + enabled: true + physicalDeviceId: ee1bff0-6dba-4f0c-9b75-03fe90e66fa3 properties: data: + description: The data of the current page + example: + - deviceId: 9ee1bff0-6dba-4f0c-9b75-03fe90e66fa3 + enabled: true + physicalDeviceId: ee1bff0-6dba-4f0c-9b75-03fe90e66fa3 items: - $ref: "#/components/schemas/NetworkIdResponse" + $ref: "#/components/schemas/EmbeddedWalletDevice" type: array next: + description: The ID of the next page + example: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 + nullable: true type: string - type: object - DeleteNetworkIdResponse: - example: - success: true - properties: - success: - type: boolean - required: - - success - type: object - SetNetworkIdRoutingPolicyRequest: - example: - routingPolicy: - key: - scheme: CUSTOM - dstId: dstId - dstType: FIAT_ACCOUNT - properties: - routingPolicy: - additionalProperties: - $ref: "#/components/schemas/NetworkIdRoutingPolicy_value" - type: object - required: - - routingPolicy - type: object - SetNetworkIdResponse: - example: - success: true - properties: - success: - type: boolean - required: - - success - type: object - SetNetworkIdDiscoverabilityRequest: - example: - isDiscoverable: true - properties: - isDiscoverable: - type: boolean required: - - isDiscoverable + - data type: object - SetNetworkIdNameRequest: + EmbeddedWalletRequiredAlgorithms: + enum: + - MPC_ECDSA_SECP256K1 + - MPC_EDDSA_ED25519 + type: string + EmbeddedWalletSetupStatusResponse: example: - name: name + deviceSetupStatus: + - status: + status: COMPLETE + deviceId: 9ee1bff0-6dba-4f0c-9b75-03fe90e66fa3 + enabled: true + setupStatus: + - algorithmName: + algorithm: MPC_ECDSA_SECP256K1 + confirmed: true + backedUp: true + requiredAlgorithms: + - MPC_ECDSA_SECP256K1 + - MPC_EDDSA_ED25519 + status: + status: COMPLETE properties: - name: - type: string + status: + $ref: "#/components/schemas/EmbeddedWalletSetUpStatus" + requiredAlgorithms: + description: Required algorithms for the wallet + example: + - MPC_ECDSA_SECP256K1 + - MPC_EDDSA_ED25519 + items: + $ref: "#/components/schemas/EmbeddedWalletRequiredAlgorithms" + type: array + deviceSetupStatus: + description: Setup status for each device + example: + - status: + status: COMPLETE + deviceId: 9ee1bff0-6dba-4f0c-9b75-03fe90e66fa3 + enabled: true + setupStatus: + - algorithmName: + algorithm: MPC_ECDSA_SECP256K1 + confirmed: true + backedUp: true + items: + $ref: "#/components/schemas/EmbeddedWalletDeviceKeySetupResponse" + type: array required: - - name + - deviceSetupStatus + - requiredAlgorithms + - status type: object - ConfigChangeRequestStatus: + ExchangeType: + description: Exchange account's type enum: - - WAITING_FOR_APPROVAL - - APPROVED - - CANCELLED - - REJECTED - - FAILED + - INDEPENDENT_RESERVE + - ENCLAVE_MARKETS + - BIT + - COINFLEX + - KUCOIN + - PXS + - LIQUID + - BITHUMB + - BITFINEX + - BITSO + - BITSTAMP + - KRAKEN + - KRAKENINTL + - BINANCE + - BINANCEUS + - CRYPTOCOM + - BYBIT_V2 + - COINBASEPRO + - COINBASEPRIME + - COINBASEINTERNATIONAL + - WHITEBIT + - COINBASEEXCHANGE + - KORBIT + - HITBTC + - GEMINI + - CIRCLE + - BITMEX + - HUOBI + - DERIBIT + - OKCOIN_V5 + - OKEX + - COINMETRO + - GATEIO + - SCRYPT + - COINHAKO + - LIGHTBIT + - BULLISH + - CANVAS_CONNECT + - BITGET + - LUNO + - BIT_GENERA + - TRANSFERO type: string - WalletAsset: + ExchangeAsset: example: + providerSymbol: BTC + total: total lockedAmount: lockedAmount - address: address + assetSymbol: BTC balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available id: id - tag: tag - activationTime: activationTime - status: WAITING_FOR_APPROVAL + credit: credit properties: id: type: string @@ -27944,4593 +30846,3944 @@ components: type: string lockedAmount: type: string - status: - $ref: "#/components/schemas/ConfigChangeRequestStatus" - address: + total: type: string - tag: + available: type: string - activationTime: + credit: + type: string + assetId: + description: The id of the asset + example: 2306088f-97ed-4293-8d28-8ab627f272d7 + type: string + providerSymbol: + description: The provider symbol of the asset + example: BTC + type: string + assetSymbol: + description: The asset symbol of the asset + example: BTC + type: string + assetLegacyId: + description: The asset legacy id of the asset + example: BTC type: string type: object - UnmanagedWallet: + ExchangeTradingAccount: example: assets: - - lockedAmount: lockedAmount - address: address + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available id: id - tag: tag - activationTime: activationTime - status: WAITING_FOR_APPROVAL - - lockedAmount: lockedAmount - address: address + credit: credit + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available id: id - tag: tag - activationTime: activationTime - status: WAITING_FOR_APPROVAL + credit: credit name: name - id: id - customerRefId: customerRefId + type: type properties: - id: + type: type: string name: type: string - customerRefId: - type: string assets: items: - $ref: "#/components/schemas/WalletAsset" + $ref: "#/components/schemas/ExchangeAsset" type: array - required: - - assets - - id - - name - type: object - GetInternalWalletsResponse: - items: - $ref: "#/components/schemas/UnmanagedWallet" - type: array - CreateWalletRequest: - example: - name: name - customerRefId: customerRefId - properties: - name: - description: the wallet's display name - type: string - customerRefId: - description: Optional - Sets a customer reference ID - type: string type: object - PaginatedAssetsResponse: + ExchangeAccount: example: - next: next - total: 0.8008281904610115 - data: - assets: - - lockedAmount: lockedAmount - address: address + tradingAccounts: + - assets: + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available id: id - tag: tag - activationTime: activationTime - status: WAITING_FOR_APPROVAL - - lockedAmount: lockedAmount - address: address + credit: credit + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available id: id - tag: tag - activationTime: activationTime - status: WAITING_FOR_APPROVAL + credit: credit + name: name + type: type + - assets: + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit name: name + type: type + isSubaccount: true + assets: + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available id: id - customerRefId: customerRefId + credit: credit + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + success: true + name: name + id: id + type: INDEPENDENT_RESERVE + mainAccountId: mainAccountId + status: status properties: - total: - description: Total number of assets in the internal wallet - type: number - data: - $ref: "#/components/schemas/UnmanagedWallet" - next: - description: Cursor for the next page of results + id: + type: string + type: + $ref: "#/components/schemas/ExchangeType" + name: + description: Display name of the exchange account + type: string + status: + type: string + assets: + items: + $ref: "#/components/schemas/ExchangeAsset" + type: array + success: + description: Did succeed in retrieve balance data + type: boolean + tradingAccounts: + items: + $ref: "#/components/schemas/ExchangeTradingAccount" + type: array + isSubaccount: + description: True if the account is a subaccount in an exchange + type: boolean + mainAccountId: + description: "if the account is a sub-account, the ID of the main account" type: string - required: - - data type: object - CreateInternalWalletAssetRequest: + GetExchangeAccountsResponse: + items: + $ref: "#/components/schemas/ExchangeAccount" + type: array + AddExchangeAccountRequest: example: - address: address - tag: tag + name: name + exchangeType: INDEPENDENT_RESERVE + creds: creds + key: key + mainAccountId: mainAccountId properties: - address: - description: "The wallet's address or, for EOS wallets, the account name" + exchangeType: + $ref: "#/components/schemas/ExchangeType" + name: + description: Display name of the exchange account type: string - tag: - description: "for XRP wallets, the destination tag; for EOS, the memo; for\ - \ the fiat providers (BLINC by BCB Group), the Bank Transfer Description" + creds: + description: Encrypted credentials + type: string + key: + description: Api key of the exchange + type: string + mainAccountId: + description: Optional - main account id of the exchange type: string required: - - address + - exchangeType + - name type: object - SigningKeyDto: + AddExchangeAccountResponse: example: - createdAt: 124757537 - signingDeviceKeyId: MyKey1 - publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' - agentUserId: d18847b5-1df6-4c46-8f99-5cce47284529 - keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc - vaultAccountId: 10 - enabled: true - algorithm: ECDSA_SECP256K1 + name: name + exchangeType: INDEPENDENT_RESERVE + id: id properties: - keyId: - description: External signing key id set by Fireblocks. - example: 46a92767-5f93-4a46-9eed-f012196bb4fc - maxLength: 36 - minLength: 36 - type: string - signingDeviceKeyId: - description: "The ID, name or label of the key specified on the customer's\ - \ signing device." - example: MyKey1 - maxLength: 256 + id: + description: Exchange account's identifier type: string - publicKeyPem: - description: PEM encoded public key - example: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' + name: + description: Display name of the exchange account type: string - algorithm: - description: "Algorithm and curve used for the signature. Can be: ECDSA_SECP256K1\ - \ or EDDSA_ED25519" - example: ECDSA_SECP256K1 - type: string - enabled: - description: True if the signing key is enabled - example: true - type: boolean - vaultAccountId: - description: Id of the vault account which this key is linked to - example: 10 - nullable: true - type: number - agentUserId: - description: Id of user that represent agent servers that can sign with - the key - example: d18847b5-1df6-4c46-8f99-5cce47284529 - maxLength: 36 - minLength: 36 - type: string - createdAt: - description: Creation date (timestamp) in milliseconds. - example: 124757537 - type: number - required: - - agentUserId - - algorithm - - createdAt - - enabled - - keyId - - publicKeyPem - - signingDeviceKeyId - - vaultAccountId + exchangeType: + $ref: "#/components/schemas/ExchangeType" type: object - GetSigningKeyResponseDto: + GetPagedExchangeAccountsResponse: example: - next: next - data: - - createdAt: 124757537 - signingDeviceKeyId: MyKey1 - publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' - agentUserId: d18847b5-1df6-4c46-8f99-5cce47284529 - keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc - vaultAccountId: 10 - enabled: true - algorithm: ECDSA_SECP256K1 - - createdAt: 124757537 - signingDeviceKeyId: MyKey1 - publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' - agentUserId: d18847b5-1df6-4c46-8f99-5cce47284529 - keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc - vaultAccountId: 10 - enabled: true - algorithm: ECDSA_SECP256K1 + prevUrl: prevUrl + exchanges: + - tradingAccounts: + - assets: + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + name: name + type: type + - assets: + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + name: name + type: type + isSubaccount: true + assets: + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + success: true + name: name + id: id + type: INDEPENDENT_RESERVE + mainAccountId: mainAccountId + status: status + - tradingAccounts: + - assets: + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + name: name + type: type + - assets: + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + name: name + type: type + isSubaccount: true + assets: + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + - providerSymbol: BTC + total: total + lockedAmount: lockedAmount + assetSymbol: BTC + balance: balance + assetId: 2306088f-97ed-4293-8d28-8ab627f272d7 + assetLegacyId: BTC + available: available + id: id + credit: credit + success: true + name: name + id: id + type: INDEPENDENT_RESERVE + mainAccountId: mainAccountId + status: status + paging: + before: before + after: after + nextUrl: nextUrl properties: - data: - description: Response object for getting external signing keys. + exchanges: items: - $ref: "#/components/schemas/SigningKeyDto" + $ref: "#/components/schemas/ExchangeAccount" type: array - next: - description: The ID of the next page + paging: + $ref: "#/components/schemas/GetPagedExchangeAccountsResponse_paging" + prevUrl: + type: string + nextUrl: type: string required: - - data + - exchanges type: object - CreateSigningKeyDto: + TradingAccountType: + enum: + - COIN_FUTURES + - COIN_MARGINED_SWAP + - EXCHANGE + - FUNDING + - FUNDABLE + - FUTURES + - FUTURES_CROSS + - MARGIN + - MARGIN_CROSS + - OPTIONS + - SPOT + - USDT_MARGINED_SWAP_CROSS + - USDT_FUTURES + - UNIFIED + - INTERNAL_BALANCE_1 + - INTERNAL_BALANCE_2 + - INTERNAL_BALANCE_3 + - INTERNAL_BALANCE_4 + - INTERNAL_BALANCE_5 + - INTERNAL_BALANCE_6 + - INTERNAL_BALANCE_7 + - INTERNAL_BALANCE_8 + - INTERNAL_BALANCE_9 + - INTERNAL_BALANCE_10 + - INTERNAL_BALANCE_11 + type: string + CreateInternalTransferRequest: example: - signingDeviceKeyId: MyKey1 - agentUserId: d18847b5-1df6-4c46-8f99-5cce47284529 - proofOfOwnership: - signature: signature - message: message - signedCertPem: '-----BEGIN CERTIFICATE ... END CERTIFICATE-----' + amount: amount + sourceType: COIN_FUTURES + asset: asset + destType: null properties: - signingDeviceKeyId: - description: "The ID, name or label of the key specified on the customer's\ - \ signing device." - example: MyKey1 - maxLength: 256 - type: string - signedCertPem: - description: "The signed certificate that includes the public key PEM of\ - \ the signing key, signed by a validation key." - example: '-----BEGIN CERTIFICATE ... END CERTIFICATE-----' + asset: type: string - agentUserId: - description: Id of user to which this key belongs - example: d18847b5-1df6-4c46-8f99-5cce47284529 - maxLength: 36 - minLength: 36 + amount: type: string - proofOfOwnership: - $ref: "#/components/schemas/CreateSigningKeyDto_proofOfOwnership" + sourceType: + $ref: "#/components/schemas/TradingAccountType" + destType: + $ref: "#/components/schemas/TradingAccountType" required: - - agentUserId - - signedCertPem - - signingDeviceKeyId + - amount + - asset + - destType + - sourceType type: object - ModifySigningKeyDto: + InternalTransferResponse: example: - vaultAccountId: 123 + success: true + id: id properties: - vaultAccountId: - example: 123 - minimum: 0 - type: number + success: + description: Indicates whether the transfer was successful + type: boolean + id: + description: The transaction ID of the internal transfer + nullable: true + type: string required: - - vaultAccountId + - success type: object - ModifySigningKeyAgentIdDto: + ConvertAssetsRequest: example: - agentUserId: d18847b5-1df6-4c46-8f99-5cce47284529 + amount: 0.8008281904610115 + destAsset: destAsset + srcAsset: srcAsset properties: - agentUserId: - description: Id of user that represent agent servers which signs with the - key - example: d18847b5-1df6-4c46-8f99-5cce47284529 - maxLength: 36 - minLength: 36 + srcAsset: + description: Name of the source asset (must be in a currency that is supported + for conversions in the selected exchange type that corresponds to your + exchange ID) + type: string + destAsset: + description: Name of the destination asset (must be in a currency that is + supported for conversions in the selected exchange type that corresponds + to your exchange ID) type: string + amount: + description: The amount to transfer (in the currency of the source asset) + type: number required: - - agentUserId + - amount + - destAsset + - srcAsset type: object - ValidationKeyDto: + ConvertAssetsResponse: example: - createdAt: 12345633 - publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' - daysTillExpired: 365 - keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc - enabled: false + success: true properties: - keyId: - description: External validation key id set by Fireblocks. - example: 46a92767-5f93-4a46-9eed-f012196bb4fc - maxLength: 36 - minLength: 36 - type: string - publicKeyPem: - description: PEM encoded public key used for the validation. - example: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' - type: string - daysTillExpired: - example: 365 - minimum: 1 - type: number - enabled: - description: True if the validation key is enabled. - example: false + success: + description: Indicates whether the conversion was successful type: boolean - createdAt: - description: Creation date (timestamp) in milliseconds. - example: 12345633 - type: number required: - - createdAt - - daysTillExpired - - enabled - - keyId - - publicKeyPem + - success type: object - GetValidationKeyResponseDto: + GetExchangeAccountsCredentialsPublicKeyResponse: example: - next: next - data: - - createdAt: 12345633 - publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' - daysTillExpired: 365 - keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc - enabled: false - - createdAt: 12345633 - publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' - daysTillExpired: 365 - keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc - enabled: false + tenantId: tenantId + publicKey: publicKey properties: - data: - description: Response object for getting external validation keys. - items: - $ref: "#/components/schemas/ValidationKeyDto" - type: array - next: - description: The ID of the next page + publicKey: + description: Public key string + type: string + tenantId: + description: Tenant identifier type: string required: - - data + - publicKey + - tenantId type: object - CreateValidationKeyDto: + FiatAccountType: + enum: + - BLINC + type: string + FiatAsset: example: - publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' - daysTillExpired: 365 + balance: balance + id: id properties: - publicKeyPem: - description: The PEM encoded public key of the validation key being added - example: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' + id: + type: string + balance: type: string - daysTillExpired: - description: The number of days from the date the validation key was added - until it expires - example: 365 - minimum: 1 - type: number - required: - - daysTillExpired - - publicKeyPem type: object - CreateValidationKeyResponseDto: + FiatAccount: example: - approvalThreshold: 0 - requestId: 1234 - validationKey: "" - admins: - - admins - - admins + address: address + assets: + - balance: balance + id: id + - balance: balance + id: id + name: name + id: id + type: BLINC properties: - validationKey: - allOf: - - $ref: "#/components/schemas/ValidationKeyDto" - description: Created validation key - admins: - description: Admins who have to approve the validation key addition + id: + type: string + type: + $ref: "#/components/schemas/FiatAccountType" + name: + description: Display name of the fiat account + type: string + address: + nullable: true + type: string + assets: items: - type: string + $ref: "#/components/schemas/FiatAsset" type: array - approvalThreshold: - description: Minimal number of approvers required. 0 for all - example: 0 - minimum: 0 - type: number - requestId: - description: Approval request id. Can be cancelled - example: 1234 + type: object + GetFiatAccountsResponse: + items: + $ref: "#/components/schemas/FiatAccount" + type: array + Funds: + example: + amount: 0.8008281904610115 + properties: + amount: type: number - required: - - admins - - approvalThreshold - - requestId - - validationKey type: object - ModifyValidationKeyDto: + RedeemFundsToLinkedDDAResponse: example: - enabled: false + success: true properties: - enabled: - description: Disable validation key - example: false + success: + description: Indicates whether the funds were successfully redeemed to the + linked DDA type: boolean required: - - enabled + - success type: object - Players: + DepositFundsFromLinkedDDAResponse: example: - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 - type: MOBILE + success: true properties: - id: - description: id of the player - example: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 - maxLength: 36 - minLength: 36 - type: string - type: - description: Type of the player - enum: - - MOBILE - - CLOUD - example: MOBILE - type: string - required: - - id - - type + success: + description: Indicates whether the funds were successfully deposited from + the linked DDA + type: boolean + required: + - success type: object - MpcKey: + ConnectedAccountApprovalStatus: + enum: + - WAITING_FOR_APPROVAL + - APPROVED + - REJECTED + - CANCELLED + - FAILED + type: string + ConnectedAccountTotalBalance: example: - lastPreprocessedIndex: 6 - players: - - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 - type: MOBILE - - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 - type: MOBILE - keyId: 743f82cf-b526-4148-afb1-cd71f1dfee10 - userId: da084d02-d446-413e-b4ce-1e3256517dfd - algorithm: 201 + amount: "1201.15" + denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 + hasFullAssetCoverage: true properties: - keyId: - example: 743f82cf-b526-4148-afb1-cd71f1dfee10 - maxLength: 36 - minLength: 36 + amount: + description: The denominated currency value of the account. + example: "1201.15" type: string - userId: - description: The user id that owns the key - example: da084d02-d446-413e-b4ce-1e3256517dfd - maxLength: 36 - minLength: 36 + denominatedAssetId: + description: The asset ID of the total balance. + example: ea6c3cb7-355a-4ee3-82ff-267c69970214 type: string - algorithm: - description: The algorithm of the key - example: 201 - type: number - players: - description: The players that are associated with the key - items: - $ref: "#/components/schemas/Players" - type: array - lastPreprocessedIndex: - description: The last index used on this key - example: 6 - minimum: 0 - type: number + hasFullAssetCoverage: + default: false + description: "Indicates whether the total amount represents the complete\ + \ balance of all assets in the account. When true, all asset balances\ + \ have been successfully converted to the denominated currency. When false,\ + \ some assets could not be included in the total due to missing exchange\ + \ rates or non-convertible assets." + example: true + type: boolean required: - - algorithm - - keyId - - players - - userId + - amount + - denominatedAssetId + - hasFullAssetCoverage type: object - GetMpcKeysResponse: + ConnectedAccountAssetType: + enum: + - DIGITAL + - FIAT + type: string + ConnectedAccountCapability: + enum: + - WITHDRAWALS + - DEPOSITS + - TRADING + type: string + ConnectedAccountManifest: example: - keys: - - lastPreprocessedIndex: 6 - players: - - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 - type: MOBILE - - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 - type: MOBILE - keyId: 743f82cf-b526-4148-afb1-cd71f1dfee10 - userId: da084d02-d446-413e-b4ce-1e3256517dfd - algorithm: 201 - - lastPreprocessedIndex: 6 - players: - - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 - type: MOBILE - - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 - type: MOBILE - keyId: 743f82cf-b526-4148-afb1-cd71f1dfee10 - userId: da084d02-d446-413e-b4ce-1e3256517dfd - algorithm: 201 - tenantId: bdb57751-921d-45d5-99fd-344cffb364f6 + assetTypes: [] + capabilities: + - WITHDRAWALS properties: - tenantId: - description: The workspace id of the keys - example: bdb57751-921d-45d5-99fd-344cffb364f6 - maxLength: 36 - minLength: 36 - type: string - keys: - description: The keys that are associated with the workspace + assetTypes: + description: Asset types supported by the connected account. + example: [] items: - $ref: "#/components/schemas/MpcKey" + $ref: "#/components/schemas/ConnectedAccountAssetType" + type: array + capabilities: + description: | + Features supported for the connected account. Logic: - If account capabilities include ramp -> TRADING - If account capabilities include transfers -> DEPOSITS - If account capabilities include transfersBlockchain / transfersFiat / transfersPeerAccounts / transfersInternal -> WITHDRAWALS + example: + - WITHDRAWALS + items: + $ref: "#/components/schemas/ConnectedAccountCapability" type: array required: - - keys - - tenantId + - assetTypes + - capabilities type: object - GetExternalWalletsResponse: - items: - $ref: "#/components/schemas/UnmanagedWallet" - type: array - WalletAssetAdditionalInfo: - example: - accountHolderCity: accountHolderCity - ibanCity: ibanCity - abaRoutingNumber: abaRoutingNumber - accountHolderCountry: accountHolderCountry - accountHolderGivenName: accountHolderGivenName - speiName: speiName - accountHolderDistrict: accountHolderDistrict - abaAccountNumber: abaAccountNumber - accountHolderSurname: accountHolderSurname - accountHolderPostalCode: accountHolderPostalCode - iban: iban - ibanCountry: ibanCountry - accountHolderAddress2: accountHolderAddress2 - accountHolderAddress1: accountHolderAddress1 - speiClabe: speiClabe - abaCountry: abaCountry + ConnectedAccount: properties: - accountHolderGivenName: - type: string - accountHolderSurname: - type: string - accountHolderCity: - type: string - accountHolderCountry: - type: string - accountHolderAddress1: - type: string - accountHolderAddress2: - type: string - accountHolderDistrict: - type: string - accountHolderPostalCode: - type: string - abaRoutingNumber: - type: string - abaAccountNumber: - type: string - abaCountry: - type: string - iban: - type: string - ibanCity: + id: + description: Unique identifier of the connected account. + example: acc-123456 type: string - ibanCountry: + name: + description: Human-readable name of the connected account. + example: Main Venue Account type: string - speiClabe: + providerId: + description: The ID of the venue the account belongs to. + example: BRIDGE type: string - speiName: + status: + $ref: "#/components/schemas/ConnectedAccountApprovalStatus" + totalBalance: + $ref: "#/components/schemas/ConnectedAccountTotalBalance" + manifest: + $ref: "#/components/schemas/ConnectedAccountManifest" + parentId: + description: "The ID of the parent main account, if this is a sub account." + example: acc-parent-001 type: string + required: + - id + - manifest + - name + - providerId + - status + - totalBalance type: object - ExternalWalletAsset: + ConnectedAccountsResponse: example: - address: address - lockedAmount: 6.027456183070403 - balance: 0.8008281904610115 - additionalInfo: - - accountHolderCity: accountHolderCity - ibanCity: ibanCity - abaRoutingNumber: abaRoutingNumber - accountHolderCountry: accountHolderCountry - accountHolderGivenName: accountHolderGivenName - speiName: speiName - accountHolderDistrict: accountHolderDistrict - abaAccountNumber: abaAccountNumber - accountHolderSurname: accountHolderSurname - accountHolderPostalCode: accountHolderPostalCode - iban: iban - ibanCountry: ibanCountry - accountHolderAddress2: accountHolderAddress2 - accountHolderAddress1: accountHolderAddress1 - speiClabe: speiClabe - abaCountry: abaCountry - - accountHolderCity: accountHolderCity - ibanCity: ibanCity - abaRoutingNumber: abaRoutingNumber - accountHolderCountry: accountHolderCountry - accountHolderGivenName: accountHolderGivenName - speiName: speiName - accountHolderDistrict: accountHolderDistrict - abaAccountNumber: abaAccountNumber - accountHolderSurname: accountHolderSurname - accountHolderPostalCode: accountHolderPostalCode - iban: iban - ibanCountry: ibanCountry - accountHolderAddress2: accountHolderAddress2 - accountHolderAddress1: accountHolderAddress1 - speiClabe: speiClabe - abaCountry: abaCountry - id: id - tag: tag - activationTime: activationTime - status: WAITING_FOR_APPROVAL + next: eyJwYWdlIjoyfQ== + total: 2 + data: + - id: acc-123456 + name: Main Venue Account + providerId: BRIDGE + status: APPROVED + totalBalance: + amount: "1201.15" + denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 + hasFullAssetCoverage: true + manifest: + assetTypes: [] + capabilities: + - DEPOSITS + - WITHDRAWALS + - id: acc-654321 + name: Secondary Account + providerId: BRIDGE + status: WAITING_FOR_APPROVAL + totalBalance: + amount: "0.00" + denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 + hasFullAssetCoverage: false + manifest: + assetTypes: [] + capabilities: + - WITHDRAWALS properties: - id: - type: string - status: - $ref: "#/components/schemas/ConfigChangeRequestStatus" - address: - type: string - balance: - type: number - lockedAmount: - type: number - tag: - type: string - activationTime: + data: + description: List of connected accounts matching the query. + example: + - id: acc-123456 + name: Main Venue Account + providerId: BRIDGE + status: APPROVED + totalBalance: + amount: "1201.15" + denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 + hasFullAssetCoverage: true + manifest: + assetTypes: [] + capabilities: + - DEPOSITS + - WITHDRAWALS + - id: acc-654321 + name: Secondary Account + providerId: BRIDGE + status: WAITING_FOR_APPROVAL + totalBalance: + amount: "0.00" + denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 + hasFullAssetCoverage: false + manifest: + assetTypes: [] + capabilities: + - WITHDRAWALS + items: + $ref: "#/components/schemas/ConnectedAccount" + type: array + total: + description: Total number of accounts by query. + example: 2 + type: integer + next: + description: "A cursor for the next page of results, if available." + example: eyJwYWdlIjoyfQ== type: string - additionalInfo: + required: + - data + type: object + ConnectedSingleAccount: + properties: + subAccountsIds: + description: IDs of sub-accounts associated with this connected account. + example: + - acc-sub-001 + - acc-sub-002 items: - $ref: "#/components/schemas/WalletAssetAdditionalInfo" + type: string type: array type: object - BasicAddressRequest: - description: Basic external wallet request with address information + ConnectedSingleAccountResponse: + allOf: + - $ref: "#/components/schemas/ConnectedAccount" + - $ref: "#/components/schemas/ConnectedSingleAccount" example: - address: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - tag: "12345" + totalBalance: + amount: "1201.15" + denominatedAssetId: ea6c3cb7-355a-4ee3-82ff-267c69970214 + hasFullAssetCoverage: true + providerId: BRIDGE + manifest: + assetTypes: [] + capabilities: + - WITHDRAWALS + name: Main Venue Account + id: acc-123456 + parentId: acc-parent-001 + subAccountsIds: + - acc-sub-001 + - acc-sub-002 + status: WAITING_FOR_APPROVAL + RenameConnectedAccountRequest: + example: + accountName: My Trading Account properties: - address: - description: The wallet's address (or xpub) of the external wallet - example: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - type: string - tag: - description: "For XRP wallets, the destination tag; for EOS/XLM, the memo;\ - \ for the fiat providers (BLINC by BCB Group), the Bank Transfer Description" - example: "12345" + accountName: + description: The new name for the connected account + example: My Trading Account type: string required: - - address + - accountName type: object - IbanPaymentInfo: - description: IBAN payment information for European bank transfers + RenameConnectedAccountResponse: + description: Status of the rename operation + enum: + - SUCCESS + - UNAUTHORISED__USER + - UNAUTHORISED__DEVICE + - INVALID_UNMANAGED_WALLET + - INVALID_EXCHANGE_ACCOUNT + - NO_ACTIVE_ADMINS + - TIMEOUT + - INVALID_PARAMETERS + - INTERNAL_ERROR + - INVALID_CREDENTIALS + - INVALID_OTP + - INVALID_OTP_METHOD + - INVALID_NETWORK_CONNECTION + - NETWORK_CONNECTION_EXISTS + - INVALID_CREDENTIALS__UNSUPPORTED_PROVIDER + - UNSUPPORTED_ALGORITHM + - INVALID_CREDENTIALS__IP_WHITELISTING + - INVALID_CREDENTIALS__OTP_FAILED + - UNSUPPORTED_ASSET + - ASSET_ALREADY_EXISTS + - ENV_UNSUPPORTED_ASSET + - NO_CONFIG_CHANGE_NEEDED + - SIMILAR_REQUEST_ALREADY_PENDING + - CLOUD_COSIGNER_ALREADY_EXISTS + - ILLEGAL_OPERATION + - OVERRIDING_PENDING_REQUEST + - OWNER_NOT_IN_GROUP + - INVALID_THIRD_PARTY_ACCOUNT_HIERARCHY + - EXTERNAL_KEY_VALIDATION_FAILED + - NO_AVAILABLE_EXTERNAL_KEYS + - INVALID_PROOF_OF_OWNERSHIP_SIGNATURE + - USER_HAS_EXTERNAL_KEYS + - SCHEMA_ALREADY_EXISTS + - SCHEMA_ID_OUT_OF_RANGE + - FORBIDDEN_SSO_IDP_DOMAIN + - UNKNOWN_ERROR + example: SUCCESS + type: string + ConnectedAccountErrorResponse: + example: + errorMessage: Insufficient permissions to rename connected account + errorCode: INSUFFICIENT_PERMISSIONS properties: - accountHolderGivenName: - description: The given name (first name) of the account holder - example: John - type: string - accountHolderSurname: - description: The surname (last name) of the account holder - example: Doe + errorMessage: + description: Error message describing what went wrong + example: Insufficient permissions to rename connected account type: string - accountHolderCity: - description: The city where the account holder resides - example: London + errorCode: + description: Error code identifying the type of error + example: INSUFFICIENT_PERMISSIONS type: string - accountHolderCountry: - description: The country where the account holder resides (ISO 3166-1 alpha-2 - code) - example: GB + required: + - errorCode + - errorMessage + type: object + ConnectedAccountBalances: + properties: + assetId: + description: "Asset identifier (e.g., BTC, ETH, USDC)." + example: BTC type: string - accountHolderAddress1: - description: The primary address line of the account holder - example: 123 Main Street + availableAmount: + description: Amount available for use. + example: "100.00" type: string - accountHolderAddress2: - description: The secondary address line of the account holder (optional) - example: Apartment 4B + totalAmount: + description: Total amount including locked/held balances. + example: "120.00" type: string - accountHolderDistrict: - description: The district or region where the account holder resides - example: Westminster + lockedAmount: + description: Amount currently locked/held. + example: "20.00" type: string - accountHolderPostalCode: - description: The postal code of the account holder's address - example: SW1A 1AA + creditAmount: + description: "Credit line amount, if applicable (0 when not used)." + example: "0" type: string - iban: - description: The International Bank Account Number (IBAN) - example: GB82WEST12345698765432 + balanceType: + description: "Wallet type/category (e.g., SPOT, MARGIN, FUNDING)." + example: FUNDING type: string - ibanCity: - description: The city associated with the IBAN - example: London + balanceName: + description: Display name for the balance type (at the provider) + example: Trader1 Wallet type: string - ibanCountry: - description: The country associated with the IBAN (ISO 3166-1 alpha-2 code) - example: GB + required: + - assetId + - availableAmount + - balanceType + - totalAmount + type: object + ConnectedAccountBalancesResponse: + example: + next: eyJwYWdlIjoyfQ== + total: 2 + data: + - assetId: BTC + availableAmount: "100.00" + totalAmount: "120.00" + balanceType: FUNDING + balanceName: Trader1 Wallet + properties: + data: + description: "Flat balance row for a single asset within an account and\ + \ wallet type. One row per (assetId, balanceType)." + example: + - assetId: BTC + availableAmount: "100.00" + totalAmount: "120.00" + balanceType: FUNDING + balanceName: Trader1 Wallet + items: + $ref: "#/components/schemas/ConnectedAccountBalances" + type: array + total: + description: Total number of balance rows by query. + example: 2 + type: integer + next: + description: "A cursor for the next page of results, if available." + example: eyJwYWdlIjoyfQ== type: string required: - - accountHolderAddress1 - - accountHolderCity - - accountHolderCountry - - accountHolderGivenName - - accountHolderPostalCode - - iban - - ibanCity - - ibanCountry + - data type: object - AbaPaymentInfo: - description: ABA payment information for US bank transfers + ConnectedAccountRateResponse: + example: + accountId: ea6c3cb7-355a-4ee3-82ff-267c69970210 + baseAssetId: BTC + rate: "1.2345" + quoteAssetId: USD properties: - accountHolderGivenName: - description: The given name (first name) of the account holder - example: John + accountId: + description: The ID of the account that generated the quote. + example: ea6c3cb7-355a-4ee3-82ff-267c69970210 type: string - accountHolderSurname: - description: The surname (last name) of the account holder - example: Doe - type: string - accountHolderCity: - description: The city where the account holder resides - example: New York - type: string - accountHolderCountry: - description: The country where the account holder resides (ISO 3166-1 alpha-2 - code) - example: US - type: string - accountHolderAddress1: - description: The primary address line of the account holder - example: 123 Wall Street - type: string - accountHolderAddress2: - description: The secondary address line of the account holder (optional) - example: Suite 100 + baseAssetId: + description: The source asset identifier + example: BTC type: string - accountHolderDistrict: - description: The district or region where the account holder resides - example: Manhattan + quoteAssetId: + description: The target asset identifier + example: USD type: string - accountHolderPostalCode: - description: The postal code of the account holder's address - example: "10005" + rate: + description: The exchange rate value + example: "1.2345" type: string - abaRoutingNumber: - description: The ABA routing number for the bank - example: "021000021" + required: + - accountId + - baseAssetId + - quoteAssetId + - rate + type: object + ConnectedAccountTradingPairSupportedType: + enum: + - QUOTE + - MARKET + - LIMIT + type: string + ConnectedAccountTradingPair: + properties: + id: + description: The ID of the trading pair. + example: ea6c3cb7-355a-4ee3-82ff-267c69970210 type: string - abaAccountNumber: - description: The account number at the bank - example: "1234567890" + baseAssetId: + description: The Symbol of the base asset. + example: BTC type: string - abaCountry: - description: The country for the ABA transfer (ISO 3166-1 alpha-2 code) - example: US + quoteAssetId: + description: The symbol of the quote asset. + example: USD type: string + supportedTypes: + items: + $ref: "#/components/schemas/ConnectedAccountTradingPairSupportedType" + type: array required: - - abaAccountNumber - - abaCountry - - abaRoutingNumber - - accountHolderAddress1 - - accountHolderCity - - accountHolderCountry - - accountHolderGivenName - - accountHolderPostalCode + - baseAssetId + - id + - quoteAssetId + - supportedTypes type: object - SpeiBasicPaymentInfo: - description: Basic SPEI payment information for Mexican bank transfers + ConnectedAccountTradingPairsResponse: + example: + next: next + total: 2 + data: + - id: ea6c3cb7-355a-4ee3-82ff-267c69970210 + baseAssetId: BTC + quoteAssetId: USD + supportedTypes: + - MARKET + - id: ea6c3cb7-355a-4ee3-82ff-267c69970211 + baseAssetId: ETH + quoteAssetId: USDC + supportedTypes: + - QUOTE + - MARKET properties: - speiClabe: - description: The CLABE (Clave Bancaria Estandarizada) number for SPEI transfers - example: "012180001234567890" - type: string - speiName: - description: The name associated with the SPEI account - example: Juan Pérez + data: + example: + - id: ea6c3cb7-355a-4ee3-82ff-267c69970210 + baseAssetId: BTC + quoteAssetId: USD + supportedTypes: + - MARKET + - id: ea6c3cb7-355a-4ee3-82ff-267c69970211 + baseAssetId: ETH + quoteAssetId: USDC + supportedTypes: + - QUOTE + - MARKET + items: + $ref: "#/components/schemas/ConnectedAccountTradingPair" + type: array + total: + description: Total number of asset pairs matching the query. + example: 2 + type: integer + next: + description: "A cursor for the next page of results, if available." + nullable: true type: string + example: null required: - - speiClabe + - data type: object - SpeiAdvancedPaymentInfo: - description: Advanced SPEI payment information for Mexican bank transfers with - full details + NetworkChannel: + deprecated: true + description: Deprecated in the only used reference - NetworkConnectionResponse properties: - rail: - description: The payment rail type for SPEI transfers - enum: - - SPEI - example: SPEI - type: string - addressingSystem: - description: The addressing system used for SPEI transfers - enum: - - CLABE - example: CLABE - type: string - accountHolderGivenName: - description: The given name (first name) of the account holder - example: Juan - type: string - accountHolderSurname: - description: The surname (last name) of the account holder - example: Pérez - type: string - country: - description: The country for the transfer (ISO 3166-1 alpha-2 code) - example: MX - type: string - bankName: - description: The name of the bank - example: Banco Nacional de México + networkId: type: string - beneficiaryRfc: - description: The RFC (Registro Federal de Contribuyentes) of the beneficiary - example: PERJ800101ABC + name: type: string - senderDocumentId: - description: The document ID of the sender - example: CURP123456789 + type: object + NetworkConnectionStatus: + enum: + - WAITING_FOR_APPROVAL + - WAITING_FOR_PEER_APPROVAL + - APPROVED + - CANCELLED + - FAILED + - REJECTED + - REJECTED_BY_PEER + - REMOVED + - REMOVED_BY_PEER + type: string + NetworkId: + example: + name: name + id: id + properties: + id: type: string - clabe: - description: The CLABE (Clave Bancaria Estandarizada) number - example: "012180001234567890" + name: type: string required: - - accountHolderGivenName - - accountHolderSurname - - addressingSystem - - clabe - - country - - rail + - id + - name type: object - PixPaymentInfo: - description: PIX payment information for Brazilian instant payments + CustomRoutingDest: + example: + scheme: CUSTOM + dstId: dstId + dstType: FIAT_ACCOUNT properties: - rail: - description: The payment rail type for PIX transfers + scheme: + description: The network routing logic. enum: - - PIX - example: PIX + - CUSTOM type: string - addressingSystem: - description: The addressing system used for PIX transfers + dstType: + description: The account the funds are being sent to. enum: - - PIX - example: PIX - type: string - accountHolderGivenName: - description: The given name (first name) of the account holder - example: João - type: string - accountHolderSurname: - description: The surname (last name) of the account holder - example: Silva - type: string - country: - description: The country for the transfer (ISO 3166-1 alpha-2 code) - example: BR - type: string - pixKey: - description: The PIX key used for the transfer - example: joao.silva@email.com - type: string - bankName: - description: The name of the bank - example: Banco do Brasil - type: string - bankCode: - description: The bank code (ISPB - Identificador do Sistema de Pagamentos - Brasileiros) - example: "00000000" + - FIAT_ACCOUNT + - VAULT + - EXCHANGE type: string - keyType: - description: The type of PIX key being used - enum: - - CPF - - CNPJ - - EMAIL - - PHONE - - RANDOM - example: EMAIL + dstId: + description: The ID of the account the funds are being sent to. type: string required: - - accountHolderGivenName - - accountHolderSurname - - addressingSystem - - country - - keyType - - pixKey - - rail + - dstId + - dstType + - scheme type: object - SepaPaymentInfo: - description: SEPA payment information for European Single Euro Payments Area - transfers + DefaultNetworkRoutingDest: properties: - rail: - description: The payment rail type for SEPA transfers - enum: - - SEPA - example: SEPA - type: string - addressingSystem: - description: The addressing system used for SEPA transfers + scheme: + description: The network routing logic. enum: - - IBAN - example: IBAN - type: string - accountHolderGivenName: - description: The given name (first name) of the account holder - example: Marie - type: string - accountHolderSurname: - description: The surname (last name) of the account holder - example: Dupont - type: string - accountHolderCountry: - description: The country where the account holder resides (ISO 3166-1 alpha-2 - code) - example: FR - type: string - accountHolderAddress: - description: The address of the account holder - example: 123 Rue de la Paix - type: string - iban: - description: The International Bank Account Number (IBAN) - example: FR1420041010050500013M02606 - type: string - country: - description: The country for the transfer (ISO 3166-1 alpha-2 code) - example: FR - type: string - bic: - description: The Bank Identifier Code (BIC/SWIFT code) - example: BNPAFRPP - type: string - bankName: - description: The name of the bank - example: BNP Paribas - type: string - bankBranch: - description: The bank branch information - example: Paris Central - type: string - bankAddress: - description: The address of the bank - example: "16 Boulevard des Italiens, 75009 Paris" - type: string - purposeCode: - description: The purpose code for the transfer - example: SALA - type: string - taxId: - description: The tax identification number - example: "1234567890123" + - DEFAULT type: string required: - - accountHolderGivenName - - accountHolderSurname - - addressingSystem - - country - - iban - - rail + - scheme type: object - AchPaymentInfo: - description: ACH payment information for US Automated Clearing House transfers + NoneNetworkRoutingDest: properties: - rail: - description: The payment rail type for ACH transfers - enum: - - ACH - example: ACH - type: string - addressingSystem: - description: The addressing system used for ACH transfers + scheme: + description: No network routing logic. enum: - - ACH - example: ACH - type: string - accountHolderGivenName: - description: The given name (first name) of the account holder - example: John - type: string - accountHolderSurname: - description: The surname (last name) of the account holder - example: Smith - type: string - country: - description: The country for the transfer (ISO 3166-1 alpha-2 code) - example: US + - NONE type: string - accountNumber: - description: The bank account number - example: "1234567890" + required: + - scheme + type: object + NetworkConnectionRoutingPolicy: + additionalProperties: + $ref: "#/components/schemas/NetworkConnectionRoutingPolicy_value" + type: object + NetworkConnectionResponse: + example: + localNetworkId: + name: name + id: id + remoteNetworkId: + name: name + id: id + remoteChannel: "" + id: id + localChannel: "" + routingPolicy: + key: + scheme: CUSTOM + dstId: dstId + dstType: FIAT_ACCOUNT + status: WAITING_FOR_APPROVAL + properties: + id: type: string - routingNumber: - description: The bank routing number (ABA routing number) - example: "021000021" + localChannel: + allOf: + - $ref: "#/components/schemas/NetworkChannel" + deprecated: true + description: Deprecated - Replaced by `localNetworkId` + remoteChannel: + allOf: + - $ref: "#/components/schemas/NetworkChannel" + deprecated: true + description: Deprecated - Replaced by `remoteNetworkId` + status: + $ref: "#/components/schemas/NetworkConnectionStatus" + localNetworkId: + $ref: "#/components/schemas/NetworkId" + remoteNetworkId: + $ref: "#/components/schemas/NetworkId" + routingPolicy: + additionalProperties: + $ref: "#/components/schemas/NetworkConnectionRoutingPolicy_value" + type: object + required: + - id + - localNetworkId + - remoteNetworkId + - routingPolicy + - status + type: object + GetNetworkConnectionsResponse: + items: + $ref: "#/components/schemas/NetworkConnectionResponse" + type: array + NetworkConnection: + example: + localNetworkId: localNetworkId + remoteNetworkId: remoteNetworkId + routingPolicy: + key: + scheme: CUSTOM + dstId: dstId + dstType: FIAT_ACCOUNT + properties: + localNetworkId: + description: The network ID of the profile trying to create the connection. type: string - accountType: - description: The type of bank account - enum: - - CHECKING - - SAVINGS - example: CHECKING + remoteNetworkId: + description: The network ID the profile is attempting to connect to. type: string + routingPolicy: + additionalProperties: + $ref: "#/components/schemas/NetworkConnectionRoutingPolicy_value" + type: object required: - - accountHolderGivenName - - accountHolderSurname - - accountNumber - - accountType - - addressingSystem - - country - - rail - - routingNumber + - localNetworkId + - remoteNetworkId type: object - UsWirePaymentInfo: - description: US Wire payment information for US domestic wire transfers + SetRoutingPolicyRequest: + example: + routingPolicy: + key: + scheme: CUSTOM + dstId: dstId + dstType: FIAT_ACCOUNT properties: - rail: - description: The payment rail type for US wire transfers - enum: - - US_WIRE - example: US_WIRE - type: string - addressingSystem: - description: The addressing system used for US wire transfers - enum: - - ABA - example: ABA - type: string - accountHolderGivenName: - description: The given name (first name) of the account holder - example: John - type: string - accountHolderSurname: - description: The surname (last name) of the account holder - example: Smith - type: string - country: - description: The country for the transfer (ISO 3166-1 alpha-2 code) - example: US - type: string - accountNumber: - description: The bank account number - example: "1234567890" - type: string - routingNumber: - description: The bank routing number (ABA routing number) - example: "021000021" - type: string - swiftCode: - description: The SWIFT/BIC code of the bank - example: CHASUS33 - type: string - bankName: - description: The name of the bank - example: JPMorgan Chase Bank - type: string - bankAddressLine: - description: The street address of the bank - example: 270 Park Avenue - type: string - bankAddressCity: - description: The city where the bank is located - example: New York - type: string - bankAddressState: - description: The state where the bank is located - example: NY - type: string - bankAddressCountry: - description: The country where the bank is located (ISO 3166-1 alpha-2 code) - example: US - type: string - bankAddressPostalCode: - description: The postal code of the bank's address - example: "10017" - type: string - branchNumber: - description: The branch number of the bank - example: "001" + routingPolicy: + additionalProperties: + $ref: "#/components/schemas/NetworkConnectionRoutingPolicy_value" + type: object + required: + - routingPolicy + type: object + SetRoutingPolicyResponse: + example: + success: true + properties: + success: + type: boolean + required: + - success + type: object + ThirdPartyRouting: + example: + isThirdPartyRouting: true + description: description + properties: + isThirdPartyRouting: + type: boolean + description: type: string + type: object + DeleteNetworkConnectionResponse: + example: + success: true + properties: + success: + type: boolean required: - - accountHolderGivenName - - accountHolderSurname - - accountNumber - - addressingSystem - - bankAddressCity - - bankAddressCountry - - bankAddressLine - - bankAddressPostalCode - - bankName - - country - - rail - - routingNumber - - swiftCode + - success type: object - MomoPaymentInfo: - description: Mobile Money (MOMO) payment information for African mobile payment - services + NetworkIdRoutingPolicy: + additionalProperties: + $ref: "#/components/schemas/NetworkIdRoutingPolicy_value" + type: object + NetworkIdResponse: + example: + name: name + isDiscoverable: true + routingPolicy: + key: + scheme: CUSTOM + dstId: dstId + dstType: FIAT_ACCOUNT + id: id properties: - rail: - description: The payment rail type for mobile money transfers - enum: - - MOMO - example: MOMO - type: string - addressingSystem: - description: The addressing system used for mobile money transfers - enum: - - MOMO - example: MOMO - type: string - accountHolderGivenName: - description: The given name (first name) of the account holder - example: Kwame - type: string - accountHolderSurname: - description: The surname (last name) of the account holder - example: Asante - type: string - country: - description: The country for the transfer (ISO 3166-1 alpha-2 code) - example: GH - type: string - mobilePhoneNumber: - description: The mobile phone number associated with the mobile money account - example: "+233241234567" - type: string - provider: - description: The mobile money service provider - enum: - - M_PESA - - AIRTEL - - MTN - - TIGO - example: MTN + routingPolicy: + additionalProperties: + $ref: "#/components/schemas/NetworkIdRoutingPolicy_value" + type: object + isDiscoverable: + description: The specific network is discoverable. + type: boolean + id: + description: The specific network id type: string - beneficiaryDocumentId: - description: The document ID of the beneficiary - example: GHA-123456789-0 + name: + description: The specific network name type: string - beneficiaryRelationship: - description: The relationship between sender and beneficiary - example: Family + type: object + GetNetworkIdsResponse: + items: + allOf: + - $ref: "#/components/schemas/NetworkIdResponse" + type: array + CreateNetworkIdRequest: + example: + name: name + routingPolicy: + key: + scheme: CUSTOM + dstId: dstId + dstType: FIAT_ACCOUNT + properties: + name: type: string + routingPolicy: + additionalProperties: + $ref: "#/components/schemas/NetworkIdRoutingPolicy_value" + type: object required: - - accountHolderGivenName - - accountHolderSurname - - addressingSystem - - country - - mobilePhoneNumber - - provider - - rail + - name type: object - LbtPaymentInfo: - description: LBT (Lebanese Bank Transfer) payment information for Lebanese bank - transfers + GetRoutingPolicyAssetGroupsResponse: + items: + type: string + type: array + SearchNetworkIdsResponse: + example: + next: next + data: + - name: name + isDiscoverable: true + routingPolicy: + key: + scheme: CUSTOM + dstId: dstId + dstType: FIAT_ACCOUNT + id: id + - name: name + isDiscoverable: true + routingPolicy: + key: + scheme: CUSTOM + dstId: dstId + dstType: FIAT_ACCOUNT + id: id properties: - rail: - description: The payment rail type for Lebanese bank transfers - enum: - - LBT - example: LBT - type: string - addressingSystem: - description: The addressing system used for Lebanese bank transfers (Bank - Account Number) - enum: - - BAN - example: BAN - type: string - accountHolderGivenName: - description: The given name (first name) of the account holder - example: Ahmad - type: string - accountHolderSurname: - description: The surname (last name) of the account holder - example: Khalil - type: string - country: - description: The country for the transfer (ISO 3166-1 alpha-2 code) - example: LB - type: string - accountNumber: - description: The bank account number - example: "123456789012" - type: string - bankName: - description: The name of the bank - example: Bank of Beirut - type: string - bankCode: - description: The bank code or identifier - example: "001" + data: + items: + $ref: "#/components/schemas/NetworkIdResponse" + type: array + next: type: string + type: object + DeleteNetworkIdResponse: + example: + success: true + properties: + success: + type: boolean required: - - accountHolderGivenName - - accountHolderSurname - - accountNumber - - addressingSystem - - bankCode - - bankName - - country - - rail + - success type: object - AdditionalInfoRequest: - description: External wallet request with additional payment information for - various payment rails + SetNetworkIdRoutingPolicyRequest: + example: + routingPolicy: + key: + scheme: CUSTOM + dstId: dstId + dstType: FIAT_ACCOUNT properties: - additionalInfo: - $ref: "#/components/schemas/AdditionalInfoRequest_additionalInfo" + routingPolicy: + additionalProperties: + $ref: "#/components/schemas/NetworkIdRoutingPolicy_value" + type: object required: - - additionalInfo + - routingPolicy type: object - AddAssetToExternalWalletRequest: - description: Request schema for adding an asset to an external wallet - oneOf: - - $ref: "#/components/schemas/BasicAddressRequest" - - $ref: "#/components/schemas/AdditionalInfoRequest" - GetContractsResponse: - items: - $ref: "#/components/schemas/UnmanagedWallet" - type: array - CreateContractRequest: + SetNetworkIdResponse: + example: + success: true + properties: + success: + type: boolean + required: + - success + type: object + SetNetworkIdDiscoverabilityRequest: + example: + isDiscoverable: true + properties: + isDiscoverable: + type: boolean + required: + - isDiscoverable + type: object + SetNetworkIdNameRequest: example: name: name properties: name: - description: the contract's display name type: string + required: + - name type: object - AddContractAssetRequest: + ConfigChangeRequestStatus: + enum: + - WAITING_FOR_APPROVAL + - APPROVED + - CANCELLED + - REJECTED + - FAILED + type: string + WalletAsset: example: + lockedAmount: lockedAmount address: address + balance: balance + id: id tag: tag + activationTime: activationTime + status: WAITING_FOR_APPROVAL properties: + id: + type: string + balance: + type: string + lockedAmount: + type: string + status: + $ref: "#/components/schemas/ConfigChangeRequestStatus" address: - description: The contract's address (or xpub) of the wallet type: string tag: - description: "The destination tag, for XRP wallets" type: string - required: - - address + activationTime: + type: string type: object - AssetTypeResponse: + UnmanagedWallet: example: - nativeAsset: nativeAsset - decimals: 0.8008281904610115 + assets: + - lockedAmount: lockedAmount + address: address + balance: balance + id: id + tag: tag + activationTime: activationTime + status: WAITING_FOR_APPROVAL + - lockedAmount: lockedAmount + address: address + balance: balance + id: id + tag: tag + activationTime: activationTime + status: WAITING_FOR_APPROVAL name: name - contractAddress: contractAddress id: id - type: type + customerRefId: customerRefId properties: id: type: string name: type: string - type: - type: string - contractAddress: - type: string - nativeAsset: + customerRefId: type: string - decimals: - type: number + assets: + items: + $ref: "#/components/schemas/WalletAsset" + type: array required: + - assets - id - name - - type type: object - GetSupportedAssetsResponse: + GetInternalWalletsResponse: items: - $ref: "#/components/schemas/AssetTypeResponse" + $ref: "#/components/schemas/UnmanagedWallet" type: array - AssetClass: - enum: - - NATIVE - - FT - - FIAT - - NFT - - SFT - example: FT - type: string - AssetScope: - description: The scope of the asset - enum: - - GLOBAL - - LOCAL - example: GLOBAL - type: string - AssetDetailsOnchain: + CreateWalletRequest: example: - standards: - - ERC20 - symbol: USDT - address: 0xdAC17F958D2ee523a2206206994597C13D831ec7 - decimals: 6 - name: Tether USD + name: name + customerRefId: customerRefId properties: - symbol: - description: The asset symbol - example: USDT - type: string name: - description: The asset name - example: Tether USD + description: the wallet's display name type: string - address: - description: The asset address - example: 0xdAC17F958D2ee523a2206206994597C13D831ec7 + customerRefId: + description: Optional - Sets a customer reference ID type: string - decimals: - description: Number of decimals - example: 6 + type: object + PaginatedAssetsResponse: + example: + next: next + total: 0.8008281904610115 + data: + assets: + - lockedAmount: lockedAmount + address: address + balance: balance + id: id + tag: tag + activationTime: activationTime + status: WAITING_FOR_APPROVAL + - lockedAmount: lockedAmount + address: address + balance: balance + id: id + tag: tag + activationTime: activationTime + status: WAITING_FOR_APPROVAL + name: name + id: id + customerRefId: customerRefId + properties: + total: + description: Total number of assets in the internal wallet type: number - standards: - description: Supported standards - example: - - ERC20 - items: - type: string - type: array + data: + $ref: "#/components/schemas/UnmanagedWallet" + next: + description: Cursor for the next page of results + type: string required: - - decimals - - name - - symbol + - data type: object - AssetMedia: + CreateInternalWalletAssetRequest: example: - attributes: - monochrome: true - type: image/svg+xml - url: https://example.com/image.png + address: address + tag: tag properties: - url: - description: Media URL - example: https://example.com/image.png + address: + description: "The wallet's address or, for EOS wallets, the account name" type: string - type: - description: Media type - enum: - - image/svg+xml - - image/png - example: image/svg+xml + tag: + description: "for XRP wallets, the destination tag; for EOS, the memo; for\ + \ the fiat providers (BLINC by BCB Group), the Bank Transfer Description" type: string - attributes: - $ref: "#/components/schemas/AssetMedia_attributes" required: - - type - - url + - address type: object - AssetNote: + SigningKeyDto: example: - text: Pay attention to gas fees - userName: Test test - userId: 056776ab-9efa-4219-9820-9ece0cc4d90d - updatedAt: 2025-06-08T19:42:49Z + createdAt: 124757537 + signingDeviceKeyId: MyKey1 + publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' + agentUserId: d18847b5-1df6-4c46-8f99-5cce47284529 + keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc + vaultAccountId: 10 + enabled: true + algorithm: ECDSA_SECP256K1 properties: - text: - description: Note content - example: Pay attention to gas fees + keyId: + description: External signing key id set by Fireblocks. + example: 46a92767-5f93-4a46-9eed-f012196bb4fc + maxLength: 36 + minLength: 36 type: string - userId: - description: Who updated the note (uuid) - example: 056776ab-9efa-4219-9820-9ece0cc4d90d - format: uuid + signingDeviceKeyId: + description: "The ID, name or label of the key specified on the customer's\ + \ signing device." + example: MyKey1 + maxLength: 256 type: string - userName: - description: User name - example: Test test + publicKeyPem: + description: PEM encoded public key + example: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' type: string - updatedAt: - description: ISO Timestamp when last updated - example: 2025-06-08T19:42:49Z - format: date-time + algorithm: + description: "Algorithm and curve used for the signature. Can be: ECDSA_SECP256K1\ + \ or EDDSA_ED25519" + example: ECDSA_SECP256K1 type: string - required: - - text - - updatedAt - - userId - - userName - type: object - AssetFeature: - description: Asset feature - enum: - - STABLECOIN - example: STABLECOIN - type: string - AssetDetailsMetadata: - example: - note: - text: Pay attention to gas fees - userName: Test test - userId: 056776ab-9efa-4219-9820-9ece0cc4d90d - updatedAt: 2025-06-08T19:42:49Z - features: - - STABLECOIN - - STABLECOIN - website: https://example.org - scope: GLOBAL - deprecated: false - verified: false - deprecationReferralId: 056776ab-9efa-4219-9820-9ece0cc4d90d - media: - - attributes: - monochrome: true - type: image/svg+xml - url: https://example.com/image.png - - attributes: - monochrome: true - type: image/svg+xml - url: https://example.com/image.png - properties: - scope: - $ref: "#/components/schemas/AssetScope" - verified: - description: Is asset verified by Fireblocks - example: false - type: boolean - deprecated: - description: Is asset deprecated - example: false + enabled: + description: True if the signing key is enabled + example: true type: boolean - deprecationReferralId: - description: New asset ID replacement - example: 056776ab-9efa-4219-9820-9ece0cc4d90d - type: string - website: - description: Vendor’s website - example: https://example.org - type: string - media: - description: Asset’s media - items: - $ref: "#/components/schemas/AssetMedia" - type: array - note: - $ref: "#/components/schemas/AssetNote" - features: - description: Asset features - items: - $ref: "#/components/schemas/AssetFeature" - type: array - required: - - deprecated - - scope - - verified - type: object - Asset: - example: - displaySymbol: USDT - metadata: - note: - text: Pay attention to gas fees - userName: Test test - userId: 056776ab-9efa-4219-9820-9ece0cc4d90d - updatedAt: 2025-06-08T19:42:49Z - features: - - STABLECOIN - - STABLECOIN - website: https://example.org - scope: GLOBAL - deprecated: false - verified: false - deprecationReferralId: 056776ab-9efa-4219-9820-9ece0cc4d90d - media: - - attributes: - monochrome: true - type: image/svg+xml - url: https://example.com/image.png - - attributes: - monochrome: true - type: image/svg+xml - url: https://example.com/image.png - displayName: Tether USD - legacyId: USDT_ERC20 - id: 9f9f7062-df90-4fc0-8697-96685184358d - assetClass: FT - blockchainId: e85208ff-3b15-44e9-af14-0ed0280b2a15 - onchain: - standards: - - ERC20 - symbol: USDT - address: 0xdAC17F958D2ee523a2206206994597C13D831ec7 - decimals: 6 - name: Tether USD - properties: - id: - description: The ID of the asset - example: 9f9f7062-df90-4fc0-8697-96685184358d - type: string - legacyId: - description: The Legacy ID of the asset - example: USDT_ERC20 - type: string - blockchainId: - description: The ID of the asset's blockchain - example: e85208ff-3b15-44e9-af14-0ed0280b2a15 - type: string - displayName: - description: Asset's display name - example: Tether USD - type: string - displaySymbol: - description: Asset's display symbol - example: USDT + vaultAccountId: + description: Id of the vault account which this key is linked to + example: 10 + nullable: true + type: number + agentUserId: + description: Id of user that represent agent servers that can sign with + the key + example: d18847b5-1df6-4c46-8f99-5cce47284529 + maxLength: 36 + minLength: 36 type: string - assetClass: - $ref: "#/components/schemas/AssetClass" - onchain: - $ref: "#/components/schemas/AssetDetailsOnchain" - metadata: - $ref: "#/components/schemas/AssetDetailsMetadata" + createdAt: + description: Creation date (timestamp) in milliseconds. + example: 124757537 + type: number required: - - assetClass - - displayName - - displaySymbol - - id - - legacyId - - metadata + - agentUserId + - algorithm + - createdAt + - enabled + - keyId + - publicKeyPem + - signingDeviceKeyId + - vaultAccountId type: object - ListAssetsResponse: + GetSigningKeyResponseDto: example: - next: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 + next: next data: - - displaySymbol: USDT - metadata: - note: - text: Pay attention to gas fees - userName: Test test - userId: 056776ab-9efa-4219-9820-9ece0cc4d90d - updatedAt: 2025-06-08T19:42:49Z - features: - - STABLECOIN - - STABLECOIN - website: https://example.org - scope: GLOBAL - deprecated: false - verified: false - deprecationReferralId: 056776ab-9efa-4219-9820-9ece0cc4d90d - media: - - attributes: - monochrome: true - type: image/svg+xml - url: https://example.com/image.png - - attributes: - monochrome: true - type: image/svg+xml - url: https://example.com/image.png - displayName: Tether USD - legacyId: USDT_ERC20 - id: 9f9f7062-df90-4fc0-8697-96685184358d - assetClass: FT - blockchainId: e85208ff-3b15-44e9-af14-0ed0280b2a15 - onchain: - standards: - - ERC20 - symbol: USDT - address: 0xdAC17F958D2ee523a2206206994597C13D831ec7 - decimals: 6 - name: Tether USD - - displaySymbol: USDT - metadata: - note: - text: Pay attention to gas fees - userName: Test test - userId: 056776ab-9efa-4219-9820-9ece0cc4d90d - updatedAt: 2025-06-08T19:42:49Z - features: - - STABLECOIN - - STABLECOIN - website: https://example.org - scope: GLOBAL - deprecated: false - verified: false - deprecationReferralId: 056776ab-9efa-4219-9820-9ece0cc4d90d - media: - - attributes: - monochrome: true - type: image/svg+xml - url: https://example.com/image.png - - attributes: - monochrome: true - type: image/svg+xml - url: https://example.com/image.png - displayName: Tether USD - legacyId: USDT_ERC20 - id: 9f9f7062-df90-4fc0-8697-96685184358d - assetClass: FT - blockchainId: e85208ff-3b15-44e9-af14-0ed0280b2a15 - onchain: - standards: - - ERC20 - symbol: USDT - address: 0xdAC17F958D2ee523a2206206994597C13D831ec7 - decimals: 6 - name: Tether USD + - createdAt: 124757537 + signingDeviceKeyId: MyKey1 + publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' + agentUserId: d18847b5-1df6-4c46-8f99-5cce47284529 + keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc + vaultAccountId: 10 + enabled: true + algorithm: ECDSA_SECP256K1 + - createdAt: 124757537 + signingDeviceKeyId: MyKey1 + publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' + agentUserId: d18847b5-1df6-4c46-8f99-5cce47284529 + keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc + vaultAccountId: 10 + enabled: true + algorithm: ECDSA_SECP256K1 properties: data: - description: The data of the current page + description: Response object for getting external signing keys. items: - $ref: "#/components/schemas/Asset" + $ref: "#/components/schemas/SigningKeyDto" type: array next: - description: Cursor to the next page - example: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 - nullable: true + description: The ID of the next page type: string required: - data - - next - type: object - AssetInternalServerErrorResponse: - example: - code: 3005 - message: Internal server error - properties: - message: - description: Internal server error code - example: Internal server error - type: string - code: - description: Error code - example: 3005 - type: number - required: - - code - - message type: object - RegisterNewAssetRequest: + CreateSigningKeyDto: example: - symbol: TST3 - address: 0xe7A9as1oa38bc4da0248s179E30aa94CcF453991 - blockchainId: "(ETH, ETH_TEST5, MATIC_POLYGON)" + signingDeviceKeyId: MyKey1 + agentUserId: d18847b5-1df6-4c46-8f99-5cce47284529 + proofOfOwnership: + signature: signature + message: message + signedCertPem: '-----BEGIN CERTIFICATE ... END CERTIFICATE-----' properties: - blockchainId: - description: Native asset ID of the blockchain - example: "(ETH, ETH_TEST5, MATIC_POLYGON)" + signingDeviceKeyId: + description: "The ID, name or label of the key specified on the customer's\ + \ signing device." + example: MyKey1 + maxLength: 256 type: string - address: - 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 - example: 0xe7A9as1oa38bc4da0248s179E30aa94CcF453991 + signedCertPem: + description: "The signed certificate that includes the public key PEM of\ + \ the signing key, signed by a validation key." + example: '-----BEGIN CERTIFICATE ... END CERTIFICATE-----' type: string - symbol: - description: "Required for Stellar only, asset code is expected." - example: TST3 + agentUserId: + description: Id of user to which this key belongs + example: d18847b5-1df6-4c46-8f99-5cce47284529 + maxLength: 36 + minLength: 36 type: string + proofOfOwnership: + $ref: "#/components/schemas/CreateSigningKeyDto_proofOfOwnership" required: - - address - - blockchainId + - agentUserId + - signedCertPem + - signingDeviceKeyId type: object - AssetOnchain: + ModifySigningKeyDto: example: - standard: ERC20 - symbol: TST3 - address: 0xe7A9as1oa38bc4da0248s179E30aa94CcF453991 - decimals: 18 - name: Test 3 + vaultAccountId: 123 properties: - symbol: - description: The asset symbol - example: TST3 - type: string - name: - description: The asset name - example: Test 3 - type: string - address: - description: The asset address - example: 0xe7A9as1oa38bc4da0248s179E30aa94CcF453991 - type: string - decimals: - description: Number of decimals - example: 18 + vaultAccountId: + example: 123 + minimum: 0 type: number - standard: - description: The asset standard - example: ERC20 - type: string required: - - decimals - - name - - symbol + - vaultAccountId type: object - AssetMetadata: + ModifySigningKeyAgentIdDto: example: - scope: Global - deprecated: false + agentUserId: d18847b5-1df6-4c46-8f99-5cce47284529 properties: - scope: - description: The scope of the asset - enum: - - Global - - Local - example: Global + agentUserId: + description: Id of user that represent agent servers which signs with the + key + example: d18847b5-1df6-4c46-8f99-5cce47284529 + maxLength: 36 + minLength: 36 type: string - deprecated: - description: Is asset deprecated - example: false - type: boolean required: - - deprecated - - scope + - agentUserId type: object - AssetResponse: + ValidationKeyDto: example: - metadata: - scope: Global - deprecated: false - legacyId: TST3_ETH - assetClass: FT - onchain: - standard: ERC20 - symbol: TST3 - address: 0xe7A9as1oa38bc4da0248s179E30aa94CcF453991 - decimals: 18 - name: Test 3 + createdAt: 12345633 + publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' + daysTillExpired: 365 + keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc + enabled: false properties: - legacyId: - example: TST3_ETH + keyId: + description: External validation key id set by Fireblocks. + example: 46a92767-5f93-4a46-9eed-f012196bb4fc + maxLength: 36 + minLength: 36 type: string - assetClass: - enum: - - NATIVE - - FT - - NFT - - SFT - example: FT + publicKeyPem: + description: PEM encoded public key used for the validation. + example: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' type: string - onchain: - $ref: "#/components/schemas/AssetOnchain" - metadata: - $ref: "#/components/schemas/AssetMetadata" + daysTillExpired: + example: 365 + minimum: 1 + type: number + enabled: + description: True if the validation key is enabled. + example: false + type: boolean + createdAt: + description: Creation date (timestamp) in milliseconds. + example: 12345633 + type: number required: - - assetClass - - legacyId - - metadata - - onchain + - createdAt + - daysTillExpired + - enabled + - keyId + - publicKeyPem type: object - AssetBadRequestErrorResponse: + GetValidationKeyResponseDto: example: - code: 3001 - message: Listing an asset on the requested blockchain is not supported + next: next + data: + - createdAt: 12345633 + publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' + daysTillExpired: 365 + keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc + enabled: false + - createdAt: 12345633 + publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' + daysTillExpired: 365 + keyId: 46a92767-5f93-4a46-9eed-f012196bb4fc + enabled: false properties: - message: - description: Bad request error code - example: Listing an asset on the requested blockchain is not supported + data: + description: Response object for getting external validation keys. + items: + $ref: "#/components/schemas/ValidationKeyDto" + type: array + next: + description: The ID of the next page type: string - code: - description: Error code - example: 3001 - type: number required: - - code - - message + - data type: object - AssetForbiddenErrorResponse: + CreateValidationKeyDto: example: - code: 3006 - message: Asset creation quota reached + publicKeyPem: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' + daysTillExpired: 365 properties: - message: - description: Forbidden error code - example: Asset creation quota reached + publicKeyPem: + description: The PEM encoded public key of the validation key being added + example: '-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----' type: string - code: - description: Error code - example: 3006 + daysTillExpired: + description: The number of days from the date the validation key was added + until it expires + example: 365 + minimum: 1 type: number required: - - code - - message + - daysTillExpired + - publicKeyPem type: object - TokenInfoNotFoundErrorResponse: + CreateValidationKeyResponseDto: example: - code: 3009 - message: "Invalid address, could not get asset information" + approvalThreshold: 0 + requestId: 1234 + validationKey: "" + admins: + - admins + - admins properties: - message: - description: Not found error code - example: "Invalid address, could not get asset information" - type: string - code: - description: Error code - example: 3009 + validationKey: + allOf: + - $ref: "#/components/schemas/ValidationKeyDto" + description: Created validation key + admins: + description: Admins who have to approve the validation key addition + items: + type: string + type: array + approvalThreshold: + description: Minimal number of approvers required. 0 for all + example: 0 + minimum: 0 type: number - required: - - code - - message - type: object - AssetConflictErrorResponse: - example: - code: 3002 - message: Asset already listed - properties: - message: - description: Conflict error code - example: Asset already listed - type: string - code: - description: Error code - example: 3002 + requestId: + description: Approval request id. Can be cancelled + example: 1234 type: number required: - - code - - message + - admins + - approvalThreshold + - requestId + - validationKey type: object - AssetNotFoundErrorResponse: + ModifyValidationKeyDto: example: - code: 1504 - message: Asset with specified ID not found + enabled: false properties: - message: - description: Not found error code - example: Asset with specified ID not found - type: string - code: - description: Error code - example: 1504 - type: number + enabled: + description: Disable validation key + example: false + type: boolean required: - - code - - message + - enabled type: object - AssetNoteRequest: + Players: example: - text: Pay attention to ETH gas fees + id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 + type: MOBILE properties: - text: - description: Asset user note - example: Pay attention to ETH gas fees + id: + description: id of the player + example: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 + maxLength: 36 + minLength: 36 type: string - type: object - AssetMetadataRequest: - example: - note: - text: Pay attention to ETH gas fees - properties: - note: - $ref: "#/components/schemas/AssetNoteRequest" - type: object - UpdateAssetUserMetadataRequest: - example: - metadata: - note: - text: Pay attention to ETH gas fees - properties: - metadata: - $ref: "#/components/schemas/AssetMetadataRequest" - type: object - SetAssetPriceRequest: - example: - price: 3100 - currency: USD - properties: - currency: - description: Currency (according to ISO 4217 currency codes) - example: USD + type: + description: Type of the player + enum: + - MOBILE + - CLOUD + example: MOBILE type: string - price: - description: Price in currency - example: 3100 - type: number required: - - currency - - price + - id + - type type: object - AssetPriceResponse: + MpcKey: example: - price: 3500 - legacyId: ETH - currency: USD - lastUpdateAt: 1716898542 - source: PRIVATE + lastPreprocessedIndex: 6 + players: + - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 + type: MOBILE + - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 + type: MOBILE + keyId: 743f82cf-b526-4148-afb1-cd71f1dfee10 + userId: da084d02-d446-413e-b4ce-1e3256517dfd + algorithm: 201 properties: - legacyId: - description: The ID of the asset - example: ETH + keyId: + example: 743f82cf-b526-4148-afb1-cd71f1dfee10 + maxLength: 36 + minLength: 36 type: string - lastUpdateAt: - description: Time of last price update - example: 1716898542 - type: number - currency: - description: Currency (according to ISO 4217 currency codes) - example: USD + userId: + description: The user id that owns the key + example: da084d02-d446-413e-b4ce-1e3256517dfd + maxLength: 36 + minLength: 36 type: string - price: - description: Price in currency - example: 3500 + algorithm: + description: The algorithm of the key + example: 201 type: number - source: - description: Source of the price data - enum: - - PUBLIC - - PRIVATE - example: PRIVATE - type: string - required: - - currency - - lastUpdateAt - - legacyId - - price - - source - type: object - AssetPriceForbiddenErrorResponse: - example: - code: 3002 - message: Tenant is not allowed to update asset - properties: - message: - description: Forbidden error message - example: Tenant is not allowed to update asset - type: string - code: - description: Error code - example: 3002 + players: + description: The players that are associated with the key + items: + $ref: "#/components/schemas/Players" + type: array + lastPreprocessedIndex: + description: The last index used on this key + example: 6 + minimum: 0 type: number required: - - code - - message + - algorithm + - keyId + - players + - userId type: object - AssetPriceNotFoundErrorResponse: + GetMpcKeysResponse: example: - code: 3001 - message: Currency not found + keys: + - lastPreprocessedIndex: 6 + players: + - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 + type: MOBILE + - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 + type: MOBILE + keyId: 743f82cf-b526-4148-afb1-cd71f1dfee10 + userId: da084d02-d446-413e-b4ce-1e3256517dfd + algorithm: 201 + - lastPreprocessedIndex: 6 + players: + - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 + type: MOBILE + - id: 47d3383e-37a3-43d5-90a4-de0ca8c5e258 + type: MOBILE + keyId: 743f82cf-b526-4148-afb1-cd71f1dfee10 + userId: da084d02-d446-413e-b4ce-1e3256517dfd + algorithm: 201 + tenantId: bdb57751-921d-45d5-99fd-344cffb364f6 properties: - message: - description: Not found error message - example: Currency not found + tenantId: + description: The workspace id of the keys + example: bdb57751-921d-45d5-99fd-344cffb364f6 + maxLength: 36 + minLength: 36 type: string - code: - description: Error code - example: 3001 - type: number + keys: + description: The keys that are associated with the workspace + items: + $ref: "#/components/schemas/MpcKey" + type: array required: - - code - - message + - keys + - tenantId type: object - BlockchainOnchain: + GetExternalWalletsResponse: + items: + $ref: "#/components/schemas/UnmanagedWallet" + type: array + WalletAssetAdditionalInfo: example: - protocol: EVM - test: false - chainId: "1" - signingAlgo: ECDSA_SECP256K1 + accountHolderCity: accountHolderCity + ibanCity: ibanCity + abaRoutingNumber: abaRoutingNumber + accountHolderCountry: accountHolderCountry + accountHolderGivenName: accountHolderGivenName + speiName: speiName + accountHolderDistrict: accountHolderDistrict + abaAccountNumber: abaAccountNumber + accountHolderSurname: accountHolderSurname + accountHolderPostalCode: accountHolderPostalCode + iban: iban + ibanCountry: ibanCountry + accountHolderAddress2: accountHolderAddress2 + accountHolderAddress1: accountHolderAddress1 + speiClabe: speiClabe + abaCountry: abaCountry properties: - protocol: - description: The protocol of the blockchain - example: EVM + accountHolderGivenName: type: string - chainId: - description: Network/chain ID - example: "1" + accountHolderSurname: type: string - test: - description: Is test blockchain - example: false - type: boolean - signingAlgo: - description: Signing alghorithm - enum: - - ECDSA_SECP256K1 - - EDDSA_ED25519 - example: ECDSA_SECP256K1 + accountHolderCity: type: string - required: - - protocol - - signingAlgo - - test - type: object - BlockchainMedia: - example: - type: image/svg+xml - url: https://example.com/image.png - properties: - url: - description: Media URL - example: https://example.com/image.png + accountHolderCountry: type: string - type: - description: Media type - enum: - - image/svg+xml - - image/png - example: image/svg+xml + accountHolderAddress1: + type: string + accountHolderAddress2: + type: string + accountHolderDistrict: + type: string + accountHolderPostalCode: + type: string + abaRoutingNumber: + type: string + abaAccountNumber: + type: string + abaCountry: + type: string + iban: + type: string + ibanCity: + type: string + ibanCountry: + type: string + speiClabe: + type: string + speiName: type: string - required: - - type - - url type: object - BlockchainExplorer: + ExternalWalletAsset: example: - address: "https://example.com/address/{address}" - tx: "https://example.com/tx/{tx}" - base: https://example.com - token: "https://example.com/nft/{contract}/{tokenId}" + address: address + lockedAmount: 6.027456183070403 + balance: 0.8008281904610115 + additionalInfo: + - accountHolderCity: accountHolderCity + ibanCity: ibanCity + abaRoutingNumber: abaRoutingNumber + accountHolderCountry: accountHolderCountry + accountHolderGivenName: accountHolderGivenName + speiName: speiName + accountHolderDistrict: accountHolderDistrict + abaAccountNumber: abaAccountNumber + accountHolderSurname: accountHolderSurname + accountHolderPostalCode: accountHolderPostalCode + iban: iban + ibanCountry: ibanCountry + accountHolderAddress2: accountHolderAddress2 + accountHolderAddress1: accountHolderAddress1 + speiClabe: speiClabe + abaCountry: abaCountry + - accountHolderCity: accountHolderCity + ibanCity: ibanCity + abaRoutingNumber: abaRoutingNumber + accountHolderCountry: accountHolderCountry + accountHolderGivenName: accountHolderGivenName + speiName: speiName + accountHolderDistrict: accountHolderDistrict + abaAccountNumber: abaAccountNumber + accountHolderSurname: accountHolderSurname + accountHolderPostalCode: accountHolderPostalCode + iban: iban + ibanCountry: ibanCountry + accountHolderAddress2: accountHolderAddress2 + accountHolderAddress1: accountHolderAddress1 + speiClabe: speiClabe + abaCountry: abaCountry + id: id + tag: tag + activationTime: activationTime + status: WAITING_FOR_APPROVAL properties: - base: - description: Explorer base url - example: https://example.com + id: type: string + status: + $ref: "#/components/schemas/ConfigChangeRequestStatus" address: - description: Explorer address url - example: "https://example.com/address/{address}" type: string - tx: - description: Explorer transaction url - example: "https://example.com/tx/{tx}" + balance: + type: number + lockedAmount: + type: number + tag: type: string - token: - description: Explorer token url - example: "https://example.com/nft/{contract}/{tokenId}" + activationTime: type: string - required: - - base - type: object - BlockchainMetadata: - example: - scope: GLOBAL - deprecated: false - explorer: - address: "https://example.com/address/{address}" - tx: "https://example.com/tx/{tx}" - base: https://example.com - token: "https://example.com/nft/{contract}/{tokenId}" - media: - - type: image/svg+xml - url: https://example.com/image.png - - type: image/svg+xml - url: https://example.com/image.png - properties: - scope: - $ref: "#/components/schemas/AssetScope" - deprecated: - description: Is blockchain deprecated - example: false - type: boolean - media: - description: Blockchain’s media + additionalInfo: items: - $ref: "#/components/schemas/BlockchainMedia" + $ref: "#/components/schemas/WalletAssetAdditionalInfo" type: array - explorer: - $ref: "#/components/schemas/BlockchainExplorer" - required: - - deprecated - - scope type: object - BlockchainResponse: + BasicAddressRequest: + description: Basic external wallet request with address information example: - nativeAssetId: 9f9f7062-df90-4fc0-8697-96685184356a - metadata: - scope: GLOBAL - deprecated: false - explorer: - address: "https://example.com/address/{address}" - tx: "https://example.com/tx/{tx}" - base: https://example.com - token: "https://example.com/nft/{contract}/{tokenId}" - media: - - type: image/svg+xml - url: https://example.com/image.png - - type: image/svg+xml - url: https://example.com/image.png - displayName: Ethereum - legacyId: ETH - id: 9f9f7062-df90-4fc0-8697-96685184357b - onchain: - protocol: EVM - test: false - chainId: "1" - signingAlgo: ECDSA_SECP256K1 + address: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + tag: "12345" properties: - id: - description: The ID of the blockchain - example: 9f9f7062-df90-4fc0-8697-96685184357b - type: string - legacyId: - description: The old blockchain ID representation of the blockchain - example: ETH + address: + description: The wallet's address (or xpub) of the external wallet + example: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa type: string - displayName: - description: The name of the blockchain - example: Ethereum + tag: + description: "For XRP wallets, the destination tag; for EOS/XLM, the memo;\ + \ for the fiat providers (BLINC by BCB Group), the Bank Transfer Description" + example: "12345" type: string - nativeAssetId: - description: Native asset ID of this blockchain - example: 9f9f7062-df90-4fc0-8697-96685184356a - type: string - onchain: - $ref: "#/components/schemas/BlockchainOnchain" - metadata: - $ref: "#/components/schemas/BlockchainMetadata" required: - - displayName - - id - - legacyId - - metadata - - nativeAssetId - - onchain + - address type: object - ListBlockchainsResponse: - example: - next: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 - data: - - nativeAssetId: 9f9f7062-df90-4fc0-8697-96685184356a - metadata: - scope: GLOBAL - deprecated: false - explorer: - address: "https://example.com/address/{address}" - tx: "https://example.com/tx/{tx}" - base: https://example.com - token: "https://example.com/nft/{contract}/{tokenId}" - media: - - type: image/svg+xml - url: https://example.com/image.png - - type: image/svg+xml - url: https://example.com/image.png - displayName: Ethereum - legacyId: ETH - id: 9f9f7062-df90-4fc0-8697-96685184357b - onchain: - protocol: EVM - test: false - chainId: "1" - signingAlgo: ECDSA_SECP256K1 - - nativeAssetId: 9f9f7062-df90-4fc0-8697-96685184356a - metadata: - scope: GLOBAL - deprecated: false - explorer: - address: "https://example.com/address/{address}" - tx: "https://example.com/tx/{tx}" - base: https://example.com - token: "https://example.com/nft/{contract}/{tokenId}" - media: - - type: image/svg+xml - url: https://example.com/image.png - - type: image/svg+xml - url: https://example.com/image.png - displayName: Ethereum - legacyId: ETH - id: 9f9f7062-df90-4fc0-8697-96685184357b - onchain: - protocol: EVM - test: false - chainId: "1" - signingAlgo: ECDSA_SECP256K1 + IbanPaymentInfo: + description: IBAN payment information for European bank transfers properties: - data: - description: The data of the current page - items: - $ref: "#/components/schemas/BlockchainResponse" - type: array - next: - description: Cursor to the next page - example: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 - nullable: true + accountHolderGivenName: + description: The given name (first name) of the account holder + example: John type: string - required: - - data - - next - type: object - BlockchainNotFoundErrorResponse: - example: - code: 1505 - message: Blockchain with specified ID not found - properties: - message: - description: Not found error code - example: Blockchain with specified ID not found + accountHolderSurname: + description: The surname (last name) of the account holder + example: Doe type: string - code: - description: Error code - example: 1505 - type: number - required: - - code - - message - type: object - GetTransactionOperation: - description: | - * `TRANSFER` - 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. - * `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) - * `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. - * `STAKE` - Assign assets to a staking pool managed by a staking validator. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. - * `UNSTAKE` - Remove assets from a staking pool managed by a staking validator. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. - * `WITHDRAW` - Transfer assets from a dedicated staking vault account to another address. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. - - **Note:** Fireblocks will rename this type from `WITHDRAW` to a different type name soon. There will be a 7-day notice regarding the new type name. - - * `SUPPLY_TO_COMPOUND` - Deprecated since April 1st, 2023. Older transactions may have this as their operation, in case users in the workspace have used the direct integration between Fireblocks and the Compound DeFI protocol. - * `REDEEM_FROM_COMPOUND` - Deprecated since April 1st, 2023. Older transactions may have this as their operation, in case users in the workspace have used the direct integration between Fireblocks and the Compound DeFI protocol. - * `PROGRAM_CALL` - In Solana refers to invoking on-chain programs (smart contracts) to execute transactions and interact with the blockchain. - * `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). - enum: - - TRANSFER - - BURN - - CONTRACT_CALL - - MINT - - RAW - - TYPED_MESSAGE - - ENABLE_ASSET - - STAKE - - UNSTAKE - - WITHDRAW - - REDEEM_FROM_COMPOUND - - SUPPLY_TO_COMPOUND - - PROGRAM_CALL - - APPROVE - type: string - TransferPeerPathType: - enum: - - VAULT_ACCOUNT - - EXCHANGE_ACCOUNT - - INTERNAL_WALLET - - EXTERNAL_WALLET - - CONTRACT - - NETWORK_CONNECTION - - FIAT_ACCOUNT - - COMPOUND - - GAS_STATION - - ONE_TIME_ADDRESS - - UNKNOWN - - END_USER_WALLET - - PROGRAM_CALL - - MULTI_DESTINATION - - OEC_PARTNER - type: string - SourceTransferPeerPathResponse: - description: Source of the transaction. - example: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: VAULT_ACCOUNT - properties: - type: - $ref: "#/components/schemas/TransferPeerPathType" - subType: - description: "In case the type is set to `EXCHANGE_ACCOUNT` or `FIAT_ACCOUNT`,\ - \ the specific exchange vendor name or fiat vendor name. In case the type\ - \ is set to `INTERNAL_WALLET` or `EXTERNAL_WALLET`, the subType is set\ - \ to `Internal` or `External`." + accountHolderCity: + description: The city where the account holder resides + example: London type: string - id: - description: "The ID of the peer. You can retrieve the ID of each venue\ - \ object using the endpoints for [listing vault accounts](https://developers.fireblocks.com/reference/getpagedvaultaccounts),\ - \ [listing exchange account](https://developers.fireblocks.com/reference/getexchangeaccounts),\ - \ [listing fiat accounts](https://developers.fireblocks.com/reference/getfiataccounts),\ - \ [listing internal wallets](https://developers.fireblocks.com/reference/getinternalwallets),\ - \ [listing external wallets](https://developers.fireblocks.com/reference/getexternalwallets),\ - \ [listing network connections](https://developers.fireblocks.com/reference/getnetworkconnections).\ - \ For the other types, this parameter is not needed." - nullable: true + accountHolderCountry: + description: The country where the account holder resides (ISO 3166-1 alpha-2 + code) + example: GB type: string - name: - description: The name of the peer. + accountHolderAddress1: + description: The primary address line of the account holder + example: 123 Main Street type: string - walletId: - format: uuid + accountHolderAddress2: + description: The secondary address line of the account holder (optional) + example: Apartment 4B type: string - tradingAccount: - description: "If this transaction is an exchange internal transfer, this\ - \ field will be populated with the type of that trading account." - nullable: true + accountHolderDistrict: + description: The district or region where the account holder resides + example: Westminster + type: string + accountHolderPostalCode: + description: The postal code of the account holder's address + example: SW1A 1AA + type: string + iban: + description: The International Bank Account Number (IBAN) + example: GB82WEST12345698765432 + type: string + ibanCity: + description: The city associated with the IBAN + example: London + type: string + ibanCountry: + description: The country associated with the IBAN (ISO 3166-1 alpha-2 code) + example: GB type: string required: - - type + - accountHolderAddress1 + - accountHolderCity + - accountHolderCountry + - accountHolderGivenName + - accountHolderPostalCode + - iban + - ibanCity + - ibanCountry type: object - DestinationTransferPeerPathResponse: - description: |- - Destination of the transaction. - - **Note:** In case the transaction is sent to multiple destinations, the `destinations` parameter is be used instead of this. - example: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: null + AbaPaymentInfo: + description: ABA payment information for US bank transfers properties: - type: - $ref: "#/components/schemas/TransferPeerPathType" - subType: - description: "In case the type is set to `EXCHANGE_ACCOUNT` or `FIAT_ACCOUNT`,\ - \ the specific exchange vendor name or fiat vendor name.In case the type\ - \ is set to `INTERNAL_WALLET` or `EXTERNAL_WALLET`, the subType is set\ - \ to `Internal` or `External`." + accountHolderGivenName: + description: The given name (first name) of the account holder + example: John type: string - id: - description: "The ID of the peer. You can retrieve the ID of each venue\ - \ object using the endpoints for [listing vault accounts](https://developers.fireblocks.com/reference/getpagedvaultaccounts),\ - \ [listing exchange account](https://developers.fireblocks.com/reference/getexchangeaccounts),\ - \ [listing fiat accounts](https://developers.fireblocks.com/reference/getfiataccounts),\ - \ [listing internal wallets](https://developers.fireblocks.com/reference/getinternalwallets),\ - \ [listing external wallets](https://developers.fireblocks.com/reference/getexternalwallets),\ - \ [listing network connections](https://developers.fireblocks.com/reference/getnetworkconnections).\ - \ For the other types, this parameter is not needed." - nullable: true + accountHolderSurname: + description: The surname (last name) of the account holder + example: Doe type: string - name: - description: The name of the peer. + accountHolderCity: + description: The city where the account holder resides + example: New York type: string - walletId: - format: uuid + accountHolderCountry: + description: The country where the account holder resides (ISO 3166-1 alpha-2 + code) + example: US type: string - tradingAccount: - description: "If this transaction is an exchange internal transfer, this\ - \ field will be populated with the type of that trading account." - nullable: true + accountHolderAddress1: + description: The primary address line of the account holder + example: 123 Wall Street + type: string + accountHolderAddress2: + description: The secondary address line of the account holder (optional) + example: Suite 100 + type: string + accountHolderDistrict: + description: The district or region where the account holder resides + example: Manhattan + type: string + accountHolderPostalCode: + description: The postal code of the account holder's address + example: "10005" + type: string + abaRoutingNumber: + description: The ABA routing number for the bank + example: "021000021" + type: string + abaAccountNumber: + description: The account number at the bank + example: "1234567890" + type: string + abaCountry: + description: The country for the ABA transfer (ISO 3166-1 alpha-2 code) + example: US type: string required: - - type + - abaAccountNumber + - abaCountry + - abaRoutingNumber + - accountHolderAddress1 + - accountHolderCity + - accountHolderCountry + - accountHolderGivenName + - accountHolderPostalCode type: object - AmlScreeningResult: - description: The result of the AML screening. - example: - provider: provider - payload: "{}" + SpeiBasicPaymentInfo: + description: Basic SPEI payment information for Mexican bank transfers properties: - provider: + speiClabe: + description: The CLABE (Clave Bancaria Estandarizada) number for SPEI transfers + example: "012180001234567890" type: string - payload: - type: object - type: object - AuthorizationGroups: - example: - th: 0.8008281904610115 - users: - key: PENDING_AUTHORIZATION - properties: - th: - type: number - users: - additionalProperties: - enum: - - PENDING_AUTHORIZATION - - APPROVED - - REJECTED - - NA - type: string - type: object + speiName: + description: The name associated with the SPEI account + example: Juan Pérez + type: string + required: + - speiClabe type: object - AuthorizationInfo: - description: "The information about your [Transaction Authorization Policy (TAP).](https://developers.fireblocks.com/docs/capabilities#transaction-authorization-policy-tap)" - example: - allowOperatorAsAuthorizer: true - groups: - - th: 0.8008281904610115 - users: - key: PENDING_AUTHORIZATION - - th: 0.8008281904610115 - users: - key: PENDING_AUTHORIZATION - logic: AND + SpeiAdvancedPaymentInfo: + description: Advanced SPEI payment information for Mexican bank transfers with + full details properties: - allowOperatorAsAuthorizer: - type: boolean - logic: + rail: + description: The payment rail type for SPEI transfers enum: - - AND - - OR + - SPEI + example: SPEI type: string - groups: - items: - $ref: "#/components/schemas/AuthorizationGroups" - type: array - type: object - TransactionResponseDestination: - example: - amount: amount - amountUSD: amountUSD - authorizationInfo: - allowOperatorAsAuthorizer: true - groups: - - th: 0.8008281904610115 - users: - key: PENDING_AUTHORIZATION - - th: 0.8008281904610115 - users: - key: PENDING_AUTHORIZATION - logic: AND - amlScreeningResult: - provider: provider - payload: "{}" - destination: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: null - properties: - amount: - description: The amount to be sent to this destination. + addressingSystem: + description: The addressing system used for SPEI transfers + enum: + - CLABE + example: CLABE type: string - amountUSD: - description: The USD value of the requested amount. + accountHolderGivenName: + description: The given name (first name) of the account holder + example: Juan type: string - amlScreeningResult: - $ref: "#/components/schemas/AmlScreeningResult" - destination: - $ref: "#/components/schemas/DestinationTransferPeerPathResponse" - authorizationInfo: - $ref: "#/components/schemas/AuthorizationInfo" - type: object - AmountInfo: - description: The details of the requested amount to transfer. - example: - amount: amount - amountUSD: amountUSD - netAmount: netAmount - requestedAmount: requestedAmount - properties: - amount: - description: "If the transfer is a withdrawal from an exchange, the actual\ - \ amount that was requested to be transferred. Otherwise, the requested\ - \ amount." + accountHolderSurname: + description: The surname (last name) of the account holder + example: Pérez type: string - requestedAmount: - description: The amount requested by the user. + country: + description: The country for the transfer (ISO 3166-1 alpha-2 code) + example: MX type: string - netAmount: - description: "The net amount of the transaction, after fee deduction." + bankName: + description: The name of the bank + example: Banco Nacional de México type: string - amountUSD: - description: The USD value of the requested amount. + beneficiaryRfc: + description: The RFC (Registro Federal de Contribuyentes) of the beneficiary + example: PERJ800101ABC + type: string + senderDocumentId: + description: The document ID of the sender + example: CURP123456789 + type: string + clabe: + description: The CLABE (Clave Bancaria Estandarizada) number + example: "012180001234567890" type: string + required: + - accountHolderGivenName + - accountHolderSurname + - addressingSystem + - clabe + - country + - rail type: object - FeeInfo: - description: Details of the transaction's fee. - example: - serviceFee: serviceFee - relayType: LOCAL - relayId: "1" - networkFee: networkFee - L2networkFee: "0.0005" - relayName: Tenant Name - L1networkFee: "0.003955" - feeUSD: "0.0013" - gasPrice: gasPrice - paidByRelay: true + PixPaymentInfo: + description: PIX payment information for Brazilian instant payments properties: - networkFee: - description: The fee paid to the network + rail: + description: The payment rail type for PIX transfers + enum: + - PIX + example: PIX type: string - serviceFee: - description: The total fee deducted by the exchange from the actual requested - amount (serviceFee = amount - netAmount) + addressingSystem: + description: The addressing system used for PIX transfers + enum: + - PIX + example: PIX type: string - gasPrice: + accountHolderGivenName: + description: The given name (first name) of the account holder + example: João type: string - L1networkFee: - description: Layer 1 network fee for Layer 2 blockchain transactions - example: "0.003955" + accountHolderSurname: + description: The surname (last name) of the account holder + example: Silva type: string - L2networkFee: - description: Layer 2 network fee (gas price component for Layer 2 transactions) - example: "0.0005" + country: + description: The country for the transfer (ISO 3166-1 alpha-2 code) + example: BR type: string - paidByRelay: - description: Wether the fee was paid by the relay or not - example: true - type: boolean - relayType: - description: Wether the relay is the same tenant (LOCAL) or another tenant - (THIRD_PARTY) - enum: - - LOCAL - - THIRD_PARTY - example: LOCAL + pixKey: + description: The PIX key used for the transfer + example: joao.silva@email.com type: string - relayId: - description: The vault account ID of the relay - example: "1" + bankName: + description: The name of the bank + example: Banco do Brasil type: string - relayName: - description: "The name of the tenant, only for THIRD_PARTY relays" - example: Tenant Name + bankCode: + description: The bank code (ISPB - Identificador do Sistema de Pagamentos + Brasileiros) + example: "00000000" type: string - feeUSD: - description: The USD value of the fee - example: "0.0013" + keyType: + description: The type of PIX key being used + enum: + - CPF + - CNPJ + - EMAIL + - PHONE + - RANDOM + example: EMAIL type: string + required: + - accountHolderGivenName + - accountHolderSurname + - addressingSystem + - country + - keyType + - pixKey + - rail type: object - RewardInfo: - description: "This field is relevant only for Algorand transactions. Both `srcRewards`\ - \ and `destRewards` will appear only for Vault to Vault transactions, otherwise\ - \ you will receive only the Fireblocks’ side of the transaction." - example: - destRewards: destRewards - srcRewards: srcRewards + SepaPaymentInfo: + description: SEPA payment information for European Single Euro Payments Area + transfers properties: - srcRewards: + rail: + description: The payment rail type for SEPA transfers + enum: + - SEPA + example: SEPA type: string - destRewards: + addressingSystem: + description: The addressing system used for SEPA transfers + enum: + - IBAN + example: IBAN + type: string + accountHolderGivenName: + description: The given name (first name) of the account holder + example: Marie + type: string + accountHolderSurname: + description: The surname (last name) of the account holder + example: Dupont + type: string + accountHolderCountry: + description: The country where the account holder resides (ISO 3166-1 alpha-2 + code) + example: FR + type: string + accountHolderAddress: + description: The address of the account holder + example: 123 Rue de la Paix + type: string + iban: + description: The International Bank Account Number (IBAN) + example: FR1420041010050500013M02606 + type: string + country: + description: The country for the transfer (ISO 3166-1 alpha-2 code) + example: FR + type: string + bic: + description: The Bank Identifier Code (BIC/SWIFT code) + example: BNPAFRPP + type: string + bankName: + description: The name of the bank + example: BNP Paribas + type: string + bankBranch: + description: The bank branch information + example: Paris Central + type: string + bankAddress: + description: The address of the bank + example: "16 Boulevard des Italiens, 75009 Paris" + type: string + purposeCode: + description: The purpose code for the transfer + example: SALA + type: string + taxId: + description: The tax identification number + example: "1234567890123" type: string + required: + - accountHolderGivenName + - accountHolderSurname + - addressingSystem + - country + - iban + - rail type: object - NetworkRecord: - example: - amountUSD: amountUSD - destinationAddress: destinationAddress - netAmount: netAmount - rewardInfo: - destRewards: destRewards - srcRewards: srcRewards - networkFee: networkFee - assetId: assetId - destination: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: null - source: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: VAULT_ACCOUNT - type: type - txHash: txHash - isDropped: true + AchPaymentInfo: + description: ACH payment information for US Automated Clearing House transfers properties: - source: - $ref: "#/components/schemas/SourceTransferPeerPathResponse" - destination: - $ref: "#/components/schemas/DestinationTransferPeerPathResponse" - txHash: + rail: + description: The payment rail type for ACH transfers + enum: + - ACH + example: ACH type: string - networkFee: + addressingSystem: + description: The addressing system used for ACH transfers + enum: + - ACH + example: ACH type: string - assetId: + accountHolderGivenName: + description: The given name (first name) of the account holder + example: John type: string - x-fb-entity: asset - netAmount: - description: "The net amount of the transaction, after fee deduction" + accountHolderSurname: + description: The surname (last name) of the account holder + example: Smith type: string - isDropped: - type: boolean - type: + country: + description: The country for the transfer (ISO 3166-1 alpha-2 code) + example: US type: string - destinationAddress: + accountNumber: + description: The bank account number + example: "1234567890" type: string - amountUSD: + routingNumber: + description: The bank routing number (ABA routing number) + example: "021000021" type: string - rewardInfo: - $ref: "#/components/schemas/RewardInfo" + accountType: + description: The type of bank account + enum: + - CHECKING + - SAVINGS + example: CHECKING + type: string + required: + - accountHolderGivenName + - accountHolderSurname + - accountNumber + - accountType + - addressingSystem + - country + - rail + - routingNumber type: object - AmlStatusEnum: - description: AML screening status - enum: - - COMPLETED - - PENDING - - BYPASSED - - FAILED - - FROZEN - example: COMPLETED - type: string - ScreeningVerdictEnum: - description: | - The final verdict of the screening (unified for AML, Travel Rule, and TRLink). - Different providers may return different verdict values: - - AML: PASS, FAIL, ALERT - - Travel Rule: PASS, FAIL, TRAVEL_RULE_REQUIRED - - TRLink: PASS, REJECT, WARN - enum: - - PASS - - FAIL - - ALERT - - REJECT - - WARN - - TRAVEL_RULE_REQUIRED - - ACCEPT - - REVIEW - example: PASS - type: string - ScreeningRiskLevelEnum: - description: | - Risk level assessment for screening results. - Possible values vary by provider and context. - enum: - - VERY_HIGH - - SEVERE - - HIGH - - MEDIUM - - LOW - - UNKNOWN - example: LOW - type: string - AlertLevelEnum: - description: Alert level severity - enum: - - SEVERE - - HIGH - - MEDIUM - - LOW - example: HIGH - type: string - AlertExposureTypeEnum: - description: Alert exposure type (AlertExposureType enum) - enum: - - DIRECT - - INDIRECT - example: DIRECT - type: string - AmlAlert: - description: AML alert information - example: - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 + UsWirePaymentInfo: + description: US Wire payment information for US domestic wire transfers properties: - alertLevel: - $ref: "#/components/schemas/AlertLevelEnum" - alertName: - description: Name or type of the alert - example: Sanctions Match + rail: + description: The payment rail type for US wire transfers + enum: + - US_WIRE + example: US_WIRE type: string - category: - description: Alert category - example: SANCTIONED_ENTITY + addressingSystem: + description: The addressing system used for US wire transfers + enum: + - ABA + example: ABA type: string - service: - description: Service that generated the alert - example: CHAINALYSIS + accountHolderGivenName: + description: The given name (first name) of the account holder + example: John type: string - externalId: - description: External identifier for the alert - example: alert_12345 + accountHolderSurname: + description: The surname (last name) of the account holder + example: Smith type: string - alertAmount: - description: Amount associated with the alert - example: 1000.5 - type: number - exposureType: - $ref: "#/components/schemas/AlertExposureTypeEnum" - policyAction: - description: Recommended action based on policy - example: BLOCK + country: + description: The country for the transfer (ISO 3166-1 alpha-2 code) + example: US + type: string + accountNumber: + description: The bank account number + example: "1234567890" + type: string + routingNumber: + description: The bank routing number (ABA routing number) + example: "021000021" + type: string + swiftCode: + description: The SWIFT/BIC code of the bank + example: CHASUS33 + type: string + bankName: + description: The name of the bank + example: JPMorgan Chase Bank + type: string + bankAddressLine: + description: The street address of the bank + example: 270 Park Avenue + type: string + bankAddressCity: + description: The city where the bank is located + example: New York + type: string + bankAddressState: + description: The state where the bank is located + example: NY + type: string + bankAddressCountry: + description: The country where the bank is located (ISO 3166-1 alpha-2 code) + example: US + type: string + bankAddressPostalCode: + description: The postal code of the bank's address + example: "10017" + type: string + branchNumber: + description: The branch number of the bank + example: "001" type: string - categoryId: - description: Category identifier - example: 101 - type: number required: - - alertAmount - - alertLevel - - exposureType - - externalId + - accountHolderGivenName + - accountHolderSurname + - accountNumber + - addressingSystem + - bankAddressCity + - bankAddressCountry + - bankAddressLine + - bankAddressPostalCode + - bankName + - country + - rail + - routingNumber + - swiftCode type: object - PolicyVerdictActionEnum: - description: Policy verdict action - enum: - - ALLOW - - BLOCK - - 2-TIER - - SCREEN - - ACCEPT - - REJECT - - ALERT - - WAIT - - FREEZE - - CANCEL - example: ALLOW - type: string - AmlMatchedRule: - description: AML matched rule information - example: - ruleName: High Risk Sanctions Check - action: ALLOW - ruleId: rule_001 + MomoPaymentInfo: + description: Mobile Money (MOMO) payment information for African mobile payment + services properties: - ruleId: - description: Identifier of the matched rule - example: rule_001 + rail: + description: The payment rail type for mobile money transfers + enum: + - MOMO + example: MOMO type: string - ruleName: - description: Name of the matched rule - example: High Risk Sanctions Check + addressingSystem: + description: The addressing system used for mobile money transfers + enum: + - MOMO + example: MOMO type: string - action: - $ref: "#/components/schemas/PolicyVerdictActionEnum" + accountHolderGivenName: + description: The given name (first name) of the account holder + example: Kwame + type: string + accountHolderSurname: + description: The surname (last name) of the account holder + example: Asante + type: string + country: + description: The country for the transfer (ISO 3166-1 alpha-2 code) + example: GH + type: string + mobilePhoneNumber: + description: The mobile phone number associated with the mobile money account + example: "+233241234567" + type: string + provider: + description: The mobile money service provider + enum: + - M_PESA + - AIRTEL + - MTN + - TIGO + example: MTN + type: string + beneficiaryDocumentId: + description: The document ID of the beneficiary + example: GHA-123456789-0 + type: string + beneficiaryRelationship: + description: The relationship between sender and beneficiary + example: Family + type: string + required: + - accountHolderGivenName + - accountHolderSurname + - addressingSystem + - country + - mobilePhoneNumber + - provider + - rail type: object - AmlResult: - description: | - Detailed AML screening result information. - Contains alerts, risk scores, and other AML-specific data from provider-specific responses. - example: - alerts: - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - matchedRule: - ruleName: High Risk Sanctions Check - action: ALLOW - ruleId: rule_001 - matchedAlert: - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - providerResponse: - key: "" + LbtPaymentInfo: + description: LBT (Lebanese Bank Transfer) payment information for Lebanese bank + transfers properties: - alerts: - description: List of AML alerts triggered during screening - items: - $ref: "#/components/schemas/AmlAlert" - type: array - providerResponse: - additionalProperties: true - description: | - Complete response from the AML provider. This is a dynamic object that varies - significantly between different AML providers (Chainalysis, Elliptic, etc.). - Each provider has their own proprietary response format and schema. - - Examples of provider-specific structures: - - Chainalysis: Contains cluster info, risk scores, sanctions data - - Elliptic: Includes risk assessment, entity types, compliance flags - - The structure is provider-dependent and cannot be standardized as each - vendor implements their own proprietary data models and response formats. - type: object - matchedRule: - $ref: "#/components/schemas/AmlMatchedRule" - matchedAlert: - $ref: "#/components/schemas/AmlAlert" + rail: + description: The payment rail type for Lebanese bank transfers + enum: + - LBT + example: LBT + type: string + addressingSystem: + description: The addressing system used for Lebanese bank transfers (Bank + Account Number) + enum: + - BAN + example: BAN + type: string + accountHolderGivenName: + description: The given name (first name) of the account holder + example: Ahmad + type: string + accountHolderSurname: + description: The surname (last name) of the account holder + example: Khalil + type: string + country: + description: The country for the transfer (ISO 3166-1 alpha-2 code) + example: LB + type: string + accountNumber: + description: The bank account number + example: "123456789012" + type: string + bankName: + description: The name of the bank + example: Bank of Beirut + type: string + bankCode: + description: The bank code or identifier + example: "001" + type: string + required: + - accountHolderGivenName + - accountHolderSurname + - accountNumber + - addressingSystem + - bankCode + - bankName + - country + - rail type: object - TravelRuleDirectionEnum: - description: Travel rule direction - enum: - - INBOUND - - OUTBOUND - example: OUTBOUND - type: string - TravelRuleVerdictEnum: - description: The final verdict of the travel rule screening - enum: - - ACCEPT - - REJECT - - ALERT - - REVIEW - example: ACCEPT - type: string - TravelRuleStatusEnum: - description: Travel rule status - enum: - - COMPLETED - - PENDING - - BYPASSED - - FAILED - - FROZEN - example: COMPLETED - type: string - TravelRuleMatchedRule: - description: The travel rule configuration that was matched + AdditionalInfoRequest: + description: External wallet request with additional payment information for + various payment rails + properties: + additionalInfo: + $ref: "#/components/schemas/AdditionalInfoRequest_additionalInfo" + required: + - additionalInfo + type: object + AddAssetToExternalWalletRequest: + description: Request schema for adding an asset to an external wallet + oneOf: + - $ref: "#/components/schemas/BasicAddressRequest" + - $ref: "#/components/schemas/AdditionalInfoRequest" + GetContractsResponse: + items: + $ref: "#/components/schemas/UnmanagedWallet" + type: array + CreateContractRequest: example: - amountUSD: 1000.5 - amount: 0.025 - action: ACCEPT - asset: BTC - direction: OUTBOUND - status: COMPLETED + name: name properties: - direction: - $ref: "#/components/schemas/TravelRuleDirectionEnum" - status: - $ref: "#/components/schemas/TravelRuleStatusEnum" - amountUSD: - description: Amount in USD - example: 1000.5 - type: number - amount: - description: Amount in base currency - example: 0.025 - type: number - asset: - description: Asset identifier - example: BTC + name: + description: the contract's display name type: string - action: - $ref: "#/components/schemas/TravelRuleVerdictEnum" type: object - TravelRuleResult: - description: | - Detailed Travel Rule screening result containing provider-specific data. - Contains Travel Rule specific information like verified status, rule type, and actions. + AddContractAssetRequest: example: - matchedRule: - amountUSD: 1000.5 - amount: 0.025 - action: ACCEPT - asset: BTC - direction: OUTBOUND - status: COMPLETED - isVerified: true - action: ACCEPT - providerResponse: - key: "" - direction: OUTBOUND + address: address + tag: tag properties: - direction: - $ref: "#/components/schemas/TravelRuleDirectionEnum" - isVerified: - description: Whether the travel rule information was verified - example: true - type: boolean - action: - $ref: "#/components/schemas/TravelRuleVerdictEnum" - providerResponse: - additionalProperties: true - description: | - Complete response from the travel rule provider. This is a dynamic object that varies - significantly between different travel rule providers (NOTABENE etc.). - Each provider has their own proprietary response format and schema. - - Examples of provider-specific structures: - - NOTABENE: Contains VASP information, PII data, protocol-specific fields - - The structure is provider-dependent and cannot be standardized as each - vendor implements their own proprietary data models and response formats. - type: object - matchedRule: - $ref: "#/components/schemas/TravelRuleMatchedRule" + address: + description: The contract's address (or xpub) of the wallet + type: string + tag: + description: "The destination tag, for XRP wallets" + type: string + required: + - address type: object - TransferPeerTypeEnum: - description: Transfer peer type (source or destination) - enum: - - VAULT_ACCOUNT - - EXCHANGE_ACCOUNT - - INTERNAL_WALLET - - EXTERNAL_WALLET - - CONTRACT - - NETWORK_CONNECTION - - FIAT_ACCOUNT - - COMPOUND - - GAS_STATION - - ONE_TIME_ADDRESS - - UNKNOWN - - END_USER_WALLET - - PROGRAM_CALL - - MULTI_DESTINATION - example: VAULT_ACCOUNT - type: string - TransferPeerSubTypeEnum: - description: Transfer peer sub-type for prescreening rules - enum: - - EXTERNAL - - INTERNAL - - CONTRACT - - EXCHANGETEST - example: INTERNAL - type: string - TransactionOperationEnum: - description: Transaction operation type + AssetTypeResponse: + example: + nativeAsset: nativeAsset + decimals: 0.8008281904610115 + name: name + contractAddress: contractAddress + id: id + type: type + properties: + id: + type: string + name: + type: string + type: + type: string + contractAddress: + type: string + nativeAsset: + type: string + decimals: + type: number + required: + - id + - name + - type + type: object + GetSupportedAssetsResponse: + items: + $ref: "#/components/schemas/AssetTypeResponse" + type: array + AssetClass: enum: - - TRANSFER - - BURN - - CONTRACT_CALL - - MINT - - RAW - - TYPED_MESSAGE - - ENABLE_ASSET - - STAKE - - UNSTAKE - - WITHDRAW - - REDEEM_FROM_COMPOUND - - SUPPLY_TO_COMPOUND - - PROGRAM_CALL - - APPROVE - example: TRANSFER + - NATIVE + - FT + - FIAT + - NFT + - SFT + - VIRTUAL + example: FT type: string - TravelRuleActionEnum: - description: Travel rule action + AssetScope: + description: The scope of the asset enum: - - SCREEN - - BYPASS - - BLOCK - example: SCREEN + - GLOBAL + - LOCAL + example: GLOBAL type: string - TravelRulePrescreeningRule: - description: | - Matched prescreening rule details. - Prescreening rules are evaluated before the main screening to determine - if screening is necessary or should be bypassed. + AssetDetailsOnchain: example: - sourceId: "0" - amount: 0.5 - amountUSD: 1000 - bypassReason: MANUAL - baseAsset: ETH - destType: VAULT_ACCOUNT - transferPeerSubType: INTERNAL - destId: ext_address_001 - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - transferPeerType: VAULT_ACCOUNT - action: SCREEN - sourceSubType: INTERNAL - asset: ETH - operation: TRANSFER - networkProtocol: ETH + standards: + - ERC20 + symbol: USDT + address: 0xdAC17F958D2ee523a2206206994597C13D831ec7 + decimals: 6 + name: Tether USD properties: - bypassReason: - description: Reason for bypass if prescreening rule triggered a bypass - example: MANUAL + symbol: + description: The asset symbol + example: USDT type: string - sourceType: - $ref: "#/components/schemas/TransferPeerTypeEnum" - sourceSubType: - $ref: "#/components/schemas/TransferPeerSubTypeEnum" - destType: - $ref: "#/components/schemas/TransferPeerTypeEnum" - destSubType: - $ref: "#/components/schemas/TransferPeerSubTypeEnum" - transferPeerType: - $ref: "#/components/schemas/TransferPeerTypeEnum" - transferPeerSubType: - $ref: "#/components/schemas/TransferPeerSubTypeEnum" - destAddress: - description: Destination address - example: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + name: + description: The asset name + example: Tether USD type: string - sourceId: - description: Source ID - example: "0" + address: + description: The asset address + example: 0xdAC17F958D2ee523a2206206994597C13D831ec7 type: string - destId: - description: Destination ID - example: ext_address_001 + decimals: + description: Number of decimals + example: 6 + type: number + standards: + description: Supported standards + example: + - ERC20 + items: + type: string + type: array + required: + - decimals + - name + - symbol + type: object + AssetMedia: + example: + attributes: + monochrome: true + type: image/svg+xml + url: https://example.com/image.png + properties: + url: + description: Media URL + example: https://example.com/image.png type: string - asset: - description: Asset identifier - example: ETH + type: + description: Media type + enum: + - image/svg+xml + - image/png + example: image/svg+xml type: string - baseAsset: - description: Base asset - example: ETH + attributes: + $ref: "#/components/schemas/AssetMedia_attributes" + required: + - type + - url + type: object + AssetNote: + example: + text: Pay attention to gas fees + userName: Test test + userId: 056776ab-9efa-4219-9820-9ece0cc4d90d + updatedAt: 2025-06-08T19:42:49Z + properties: + text: + description: Note content + example: Pay attention to gas fees type: string - amount: - description: Amount - example: 0.5 - type: number - amountUSD: - description: Amount in USD - example: 1000 - type: number - networkProtocol: - description: Network protocol - example: ETH + userId: + description: Who updated the note (uuid) + example: 056776ab-9efa-4219-9820-9ece0cc4d90d + format: uuid type: string - operation: - $ref: "#/components/schemas/TransactionOperationEnum" - action: - $ref: "#/components/schemas/TravelRuleActionEnum" + userName: + description: User name + example: Test test + type: string + updatedAt: + description: ISO Timestamp when last updated + example: 2025-06-08T19:42:49Z + format: date-time + type: string + required: + - text + - updatedAt + - userId + - userName type: object - ComplianceScreeningResult: - description: | - The result of the AML/Travel Rule screening. - This unified schema contains all fields that may be returned for both AML and Travel Rule screening results. - Not all fields will be present in every response - the actual fields depend on the screening type and provider. + AssetFeature: + description: Asset feature + enum: + - STABLECOIN + example: STABLECOIN + type: string + AssetDetailsMetadata: example: - prevBypassReason: BELOW_THRESHOLD - prevStatus: COMPLETED - destTag: memo_12345 - addressResolutionSignature: 0x1234567890abcdef - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - amountUSD: 1000.5 - amount: 0.025 - action: ACCEPT - asset: BTC - direction: OUTBOUND - status: COMPLETED - isVerified: true - action: ACCEPT - providerResponse: - key: "" - direction: OUTBOUND - matchedRule: "{}" - provider: NOTABENE - payload: "{}" - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - destRecordId: record_001 - amlResult: - alerts: - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - matchedRule: - ruleName: High Risk Sanctions Check - action: ALLOW - ruleId: rule_001 - matchedAlert: - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - providerResponse: - key: "" - matchedAlert: "{}" - timestamp: 1753459111824 - matchedPrescreeningRule: - sourceId: "0" - amount: 0.5 - amountUSD: 1000 - bypassReason: MANUAL - baseAsset: ETH - destType: VAULT_ACCOUNT - transferPeerSubType: INTERNAL - destId: ext_address_001 - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - transferPeerType: VAULT_ACCOUNT - action: SCREEN - sourceSubType: INTERNAL - asset: ETH - operation: TRANSFER - networkProtocol: ETH - detailsMessage: Travel rule screening completed successfully - externalId: aml_screening_12345 - bypassReason: BELOW_THRESHOLD - extendedRisk: LOW - customerRefId: customer_ref_789 - customerShortName: ACME Corp - verdict: PASS - risk: LOW - refId: ref_12345 - category: EXCHANGE - screeningStatus: COMPLETED - matchedNoTrmScreeningRule: "{}" - categoryId: 5 - status: COMPLETED + note: + text: Pay attention to gas fees + userName: Test test + userId: 056776ab-9efa-4219-9820-9ece0cc4d90d + updatedAt: 2025-06-08T19:42:49Z + features: + - STABLECOIN + - STABLECOIN + website: https://example.org + scope: GLOBAL + deprecated: false + verified: false + deprecationReferralId: 056776ab-9efa-4219-9820-9ece0cc4d90d + media: + - attributes: + monochrome: true + type: image/svg+xml + url: https://example.com/image.png + - attributes: + monochrome: true + type: image/svg+xml + url: https://example.com/image.png properties: - provider: - description: | - The AML/Travel Rule provider name. - For AML: ELLIPTIC, CHAINALYSIS, SCORECHAIN, MERKLE_SCIENCE, etc. - For Travel Rule: NOTABENE, SYGNA, or any TRLink provider name - example: NOTABENE - type: string - payload: - description: | - The raw payload of the screening result from the provider. - The payload is a JSON object that contains the screening result. - The payload structure is different for each screening provider. - This field contains the complete, unmodified response from the screening service. - type: object - timestamp: - description: Unix timestamp in milliseconds when the screening result was - generated - example: 1753459111824 - format: date-time - type: number - screeningStatus: - description: Current status of the screening process - enum: - - COMPLETED - - PENDING - - BYPASSED - - FAILED - - FROZEN - example: COMPLETED - type: string - bypassReason: - description: | - Reason for bypassing the screening, if applicable. - For AML: SANCTIONS_SCREENING_BYPASS, SANCTIONS_RECIPIENT_BYPASS, etc. - For Travel Rule: BELOW_THRESHOLD, NO_TRM_AVAILABLE, etc. - example: BELOW_THRESHOLD - type: string - status: - $ref: "#/components/schemas/AmlStatusEnum" - prevStatus: - $ref: "#/components/schemas/AmlStatusEnum" - prevBypassReason: - description: Previous bypass reason before the current bypass reason change - example: BELOW_THRESHOLD - type: string - verdict: - $ref: "#/components/schemas/ScreeningVerdictEnum" - risk: - $ref: "#/components/schemas/ScreeningRiskLevelEnum" - extendedRisk: - $ref: "#/components/schemas/ScreeningRiskLevelEnum" - externalId: - description: External identifier for the screening (provider-specific) - example: aml_screening_12345 - type: string - customerRefId: - description: Customer-provided reference identifier for tracking - example: customer_ref_789 - type: string - refId: - description: Internal reference identifier - example: ref_12345 - type: string - category: - description: | - Risk category classification. - Examples: EXCHANGE, GAMBLING, MIXER, DARKNET_SERVICE, SANCTIONED_ENTITY - example: EXCHANGE + scope: + $ref: "#/components/schemas/AssetScope" + verified: + description: Is asset verified by Fireblocks + example: false + type: boolean + deprecated: + description: Is asset deprecated + example: false + type: boolean + deprecationReferralId: + description: New asset ID replacement + example: 056776ab-9efa-4219-9820-9ece0cc4d90d type: string - categoryId: - description: Numeric identifier for the risk category - example: 5 - type: number - destAddress: - description: The destination blockchain address associated with the screening - example: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + website: + description: Vendor’s website + example: https://example.org type: string - destTag: - description: "Destination tag or memo (for chains that support it like XRP,\ - \ XLM)" - example: memo_12345 + media: + description: Asset’s media + items: + $ref: "#/components/schemas/AssetMedia" + type: array + note: + $ref: "#/components/schemas/AssetNote" + features: + description: Asset features + items: + $ref: "#/components/schemas/AssetFeature" + type: array + required: + - deprecated + - scope + - verified + type: object + Asset: + example: + displaySymbol: USDT + peggedAssetId: 6ef19b84-2144-4d38-8056-d423199bce5e + metadata: + note: + text: Pay attention to gas fees + userName: Test test + userId: 056776ab-9efa-4219-9820-9ece0cc4d90d + updatedAt: 2025-06-08T19:42:49Z + features: + - STABLECOIN + - STABLECOIN + website: https://example.org + scope: GLOBAL + deprecated: false + verified: false + deprecationReferralId: 056776ab-9efa-4219-9820-9ece0cc4d90d + media: + - attributes: + monochrome: true + type: image/svg+xml + url: https://example.com/image.png + - attributes: + monochrome: true + type: image/svg+xml + url: https://example.com/image.png + assets: + - 6ef19b84-2144-4d38-8056-d423199bce5e + - 6ef19b84-2144-4d38-8056-d423199bce5e + displayName: Tether USD + providerId: SOME_PROVIDER_ID + decimals: 2 + legacyId: USDT_ERC20 + id: 9f9f7062-df90-4fc0-8697-96685184358d + assetClass: FT + blockchainId: e85208ff-3b15-44e9-af14-0ed0280b2a15 + onchain: + standards: + - ERC20 + symbol: USDT + address: 0xdAC17F958D2ee523a2206206994597C13D831ec7 + decimals: 6 + name: Tether USD + properties: + id: + description: The ID of the asset + example: 9f9f7062-df90-4fc0-8697-96685184358d type: string - destRecordId: - description: The destination record identifier used by the screening provider - example: record_001 + legacyId: + description: The Legacy ID of the asset + example: USDT_ERC20 type: string - addressResolutionSignature: - description: Cryptographic signature for address resolution verification - example: 0x1234567890abcdef + blockchainId: + description: The ID of the asset's blockchain + example: e85208ff-3b15-44e9-af14-0ed0280b2a15 type: string - amlResult: - $ref: "#/components/schemas/AmlResult" - result: - $ref: "#/components/schemas/TravelRuleResult" - detailsMessage: - description: Additional human-readable details or message about the screening - result - example: Travel rule screening completed successfully + displayName: + description: Asset's display name + example: Tether USD type: string - matchedAlert: - description: | - Information about the AML alert that was matched, if any. - Contains details about the specific alert that triggered during screening. - type: object - matchedRule: - description: | - The matched rule information for this screening result. - Contains details about which screening rule was applied and matched. - type: object - matchedPrescreeningRule: - $ref: "#/components/schemas/TravelRulePrescreeningRule" - matchedNoTrmScreeningRule: - description: | - Matched no-TRM (Travel Rule Message) screening rule details. - Used when TRLink screening detects a missing TRM scenario. - type: object - customerIntegrationId: - description: Customer integration identifier used by Travel Rule providers - example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + displaySymbol: + description: Asset's display symbol + example: USDT type: string - customerShortName: - description: Customer short name registered with Travel Rule providers - example: ACME Corp + providerId: + description: The ID of the asset provider + example: SOME_PROVIDER_ID type: string - travelRuleMessageId: - description: Travel rule message identifier for linking and tracking across - providers - example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + peggedAssetId: + description: The ID of the pegged asset + example: 6ef19b84-2144-4d38-8056-d423199bce5e type: string + assets: + description: List of asset IDs for virtual assets + items: + description: The ID of the asset + example: 6ef19b84-2144-4d38-8056-d423199bce5e + type: string + type: array + assetClass: + $ref: "#/components/schemas/AssetClass" + decimals: + description: Number of decimals for FIAT assets + example: 2 + type: number + onchain: + $ref: "#/components/schemas/AssetDetailsOnchain" + metadata: + $ref: "#/components/schemas/AssetDetailsMetadata" + required: + - assetClass + - displayName + - displaySymbol + - id + - legacyId + - metadata type: object - ComplianceResultStatusesEnum: - description: Status of compliance result screening - enum: - - Unknown - - Stalled - - Started - - NetworkConnectionAddressResolve - - ScreeningPrepare - - AMLStarted - - AMLCompleted - - AMLFailed - - AMLInBackground - - TRPreconditionChecks - - TRStarted - - TRLinkStarted - - TRLinkDestinationStarted - - TRLinkDestinationPrescreenPolicy - - TRLinkDestinationNoTRMPolicy - - TRLinkDestinationScreen - - TRLinkDestinationPostscreenPolicy - - TRLinkDestinationCompleted - - TRLinkCompleted - - TRCompleted - - TRFailed - - Completed - - RegistrationStarted - - RegistrationWaitForFirstConfirmation - - AMLRegistrationStarted - - AMLRegistrationCompleted - - TRUpdateStarted - - TRUpdateCompleted - - UpdateCompleted - - IncomingStarted - - IncomingByorkSL - - IncomingScreeningPrepare - - IncomingWaitForFirstConfirmation - - AMLIncomingStarted - - AMLIncomingCompleted - - AMLIncomingFailed - - AMLIncomingInBackground - - TRIncomingStarted - - TRIncomingCompleted - - TRIncomingFailed - - IncomingCompleted - - AddressAmlInitiated - - AddressAmlAddressResolve - - AddressAmlPrepare - - AddressAmlProcessing - - AddressAmlSucceeded - - AddressAmlFailed - - AddressAmlCompleted - example: Completed - type: string - AmlRegistrationResult: + ListAssetsResponse: example: - provider: provider - success: true - timestamp: 5.962133916683182 + next: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 + data: + - displaySymbol: USDT + peggedAssetId: 6ef19b84-2144-4d38-8056-d423199bce5e + metadata: + note: + text: Pay attention to gas fees + userName: Test test + userId: 056776ab-9efa-4219-9820-9ece0cc4d90d + updatedAt: 2025-06-08T19:42:49Z + features: + - STABLECOIN + - STABLECOIN + website: https://example.org + scope: GLOBAL + deprecated: false + verified: false + deprecationReferralId: 056776ab-9efa-4219-9820-9ece0cc4d90d + media: + - attributes: + monochrome: true + type: image/svg+xml + url: https://example.com/image.png + - attributes: + monochrome: true + type: image/svg+xml + url: https://example.com/image.png + assets: + - 6ef19b84-2144-4d38-8056-d423199bce5e + - 6ef19b84-2144-4d38-8056-d423199bce5e + displayName: Tether USD + providerId: SOME_PROVIDER_ID + decimals: 2 + legacyId: USDT_ERC20 + id: 9f9f7062-df90-4fc0-8697-96685184358d + assetClass: FT + blockchainId: e85208ff-3b15-44e9-af14-0ed0280b2a15 + onchain: + standards: + - ERC20 + symbol: USDT + address: 0xdAC17F958D2ee523a2206206994597C13D831ec7 + decimals: 6 + name: Tether USD + - displaySymbol: USDT + peggedAssetId: 6ef19b84-2144-4d38-8056-d423199bce5e + metadata: + note: + text: Pay attention to gas fees + userName: Test test + userId: 056776ab-9efa-4219-9820-9ece0cc4d90d + updatedAt: 2025-06-08T19:42:49Z + features: + - STABLECOIN + - STABLECOIN + website: https://example.org + scope: GLOBAL + deprecated: false + verified: false + deprecationReferralId: 056776ab-9efa-4219-9820-9ece0cc4d90d + media: + - attributes: + monochrome: true + type: image/svg+xml + url: https://example.com/image.png + - attributes: + monochrome: true + type: image/svg+xml + url: https://example.com/image.png + assets: + - 6ef19b84-2144-4d38-8056-d423199bce5e + - 6ef19b84-2144-4d38-8056-d423199bce5e + displayName: Tether USD + providerId: SOME_PROVIDER_ID + decimals: 2 + legacyId: USDT_ERC20 + id: 9f9f7062-df90-4fc0-8697-96685184358d + assetClass: FT + blockchainId: e85208ff-3b15-44e9-af14-0ed0280b2a15 + onchain: + standards: + - ERC20 + symbol: USDT + address: 0xdAC17F958D2ee523a2206206994597C13D831ec7 + decimals: 6 + name: Tether USD properties: - provider: + data: + description: The data of the current page + items: + $ref: "#/components/schemas/Asset" + type: array + next: + description: Cursor to the next page + example: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 + nullable: true type: string - success: - type: boolean - timestamp: - type: number + required: + - data + - next type: object - TRLinkRegistrationStatus: - description: TRLink registration status - enum: - - STARTING - - PRESCREENED - - COMPLETED - - FAILED - - VOID - example: COMPLETED - type: string - TRLinkProviderResult: - description: Provider-specific response data wrapper + AssetInternalServerErrorResponse: example: - providerResponse: "{}" + code: 3005 + message: Internal server error properties: - providerResponse: - description: Raw provider response - type: object + message: + description: Internal server error code + example: Internal server error + type: string + code: + description: Error code + example: 3005 + type: number + required: + - code + - message type: object - TransactionDirection: - description: Transaction direction - enum: - - INBOUND - - OUTBOUND - example: OUTBOUND - type: string - AmountRangeMinMax: - description: Amount range with minimum and maximum values + RegisterNewAssetRequest: example: - min: "100" - max: "10000" + symbol: TST3 + address: 0xe7A9as1oa38bc4da0248s179E30aa94CcF453991 + blockchainId: "(ETH, ETH_TEST5, MATIC_POLYGON)" properties: - min: - description: Minimum amount - example: "100" + blockchainId: + description: Native asset ID of the blockchain + example: "(ETH, ETH_TEST5, MATIC_POLYGON)" type: string - max: - description: Maximum amount - example: "10000" + address: + 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 + example: 0xe7A9as1oa38bc4da0248s179E30aa94CcF453991 + type: string + symbol: + description: "Required for Stellar only, asset code is expected." + example: TST3 type: string + required: + - address + - blockchainId type: object - TRLinkAmount: - description: "TRLink amount definition with range and currency, compatible with\ - \ TAP format from Policy Engine V2" + AssetOnchain: example: - range: - min: "100" - max: "10000" - currency: USD + standard: ERC20 + symbol: TST3 + address: 0xe7A9as1oa38bc4da0248s179E30aa94CcF453991 + decimals: 18 + name: Test 3 properties: - range: - $ref: "#/components/schemas/AmountRangeMinMax" - currency: - description: Currency type + symbol: + description: The asset symbol + example: TST3 + type: string + name: + description: The asset name + example: Test 3 + type: string + address: + description: The asset address + example: 0xe7A9as1oa38bc4da0248s179E30aa94CcF453991 + type: string + decimals: + description: Number of decimals + example: 18 + type: number + standard: + description: The asset standard + example: ERC20 + type: string + required: + - decimals + - name + - symbol + type: object + AssetMetadata: + example: + scope: Global + deprecated: false + properties: + scope: + description: The scope of the asset + enum: + - Global + - Local + example: Global + type: string + deprecated: + description: Is asset deprecated + example: false + type: boolean + required: + - deprecated + - scope + type: object + AssetResponse: + example: + metadata: + scope: Global + deprecated: false + legacyId: TST3_ETH + assetClass: FT + onchain: + standard: ERC20 + symbol: TST3 + address: 0xe7A9as1oa38bc4da0248s179E30aa94CcF453991 + decimals: 18 + name: Test 3 + properties: + legacyId: + example: TST3_ETH + type: string + assetClass: enum: - - USD - NATIVE - example: USD + - FT + - NFT + - SFT + example: FT type: string + onchain: + $ref: "#/components/schemas/AssetOnchain" + metadata: + $ref: "#/components/schemas/AssetMetadata" + required: + - assetClass + - legacyId + - metadata + - onchain type: object - TRLinkRuleBase: - description: Base interface for TRLink policy rules + AssetBadRequestErrorResponse: + example: + code: 3001 + message: Listing an asset on the requested blockchain is not supported properties: - customerId: - description: Reference to TrlinkCustomer.id - example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + message: + description: Bad request error code + example: Listing an asset on the requested blockchain is not supported type: string - direction: - $ref: "#/components/schemas/TransactionDirection" - sourceType: - $ref: "#/components/schemas/TransferPeerTypeEnum" - sourceSubType: - $ref: "#/components/schemas/TransferPeerSubTypeEnum" - sourceAddress: - description: Source address - example: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + code: + description: Error code + example: 3001 + type: number + required: + - code + - message + type: object + AssetForbiddenErrorResponse: + example: + code: 3006 + message: Asset creation quota reached + properties: + message: + description: Forbidden error code + example: Asset creation quota reached type: string - destType: - $ref: "#/components/schemas/TransferPeerTypeEnum" - destSubType: - $ref: "#/components/schemas/TransferPeerSubTypeEnum" - destAddress: - description: Destination address - example: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + code: + description: Error code + example: 3006 + type: number + required: + - code + - message + type: object + TokenInfoNotFoundErrorResponse: + example: + code: 3009 + message: "Invalid address, could not get asset information" + properties: + message: + description: Not found error code + example: "Invalid address, could not get asset information" type: string - sourceId: - description: Source ID - example: "1" + code: + description: Error code + example: 3009 + type: number + required: + - code + - message + type: object + AssetConflictErrorResponse: + example: + code: 3002 + message: Asset already listed + properties: + message: + description: Conflict error code + example: Asset already listed type: string - destId: - description: Destination ID - example: "1" + code: + description: Error code + example: 3002 + type: number + required: + - code + - message + type: object + AssetNotFoundErrorResponse: + example: + code: 1504 + message: Asset with specified ID not found + properties: + message: + description: Not found error code + example: Asset with specified ID not found type: string - asset: - description: Asset symbol - example: BTC + code: + description: Error code + example: 1504 + type: number + required: + - code + - message + type: object + AssetNoteRequest: + example: + text: Pay attention to ETH gas fees + properties: + text: + description: Asset user note + example: Pay attention to ETH gas fees type: string - baseAsset: - description: Base asset symbol + type: object + AssetMetadataRequest: + example: + note: + text: Pay attention to ETH gas fees + properties: + note: + $ref: "#/components/schemas/AssetNoteRequest" + type: object + UpdateAssetUserMetadataRequest: + example: + metadata: + note: + text: Pay attention to ETH gas fees + properties: + metadata: + $ref: "#/components/schemas/AssetMetadataRequest" + type: object + SetAssetPriceRequest: + example: + price: 3100 + currency: USD + properties: + currency: + description: Currency (according to ISO 4217 currency codes) example: USD type: string - amount: - $ref: "#/components/schemas/TRLinkAmount" - networkProtocol: - description: Network protocol - example: BITCOIN + price: + description: Price in currency + example: 3100 + type: number + required: + - currency + - price + type: object + AssetPriceResponse: + example: + price: 3500 + legacyId: ETH + currency: USD + lastUpdateAt: 1716898542 + source: PRIVATE + properties: + legacyId: + description: The ID of the asset + example: ETH type: string - operation: - $ref: "#/components/schemas/TransactionOperationEnum" - description: - description: Rule description + lastUpdateAt: + description: Time of last price update + example: 1716898542 + type: number + currency: + description: Currency (according to ISO 4217 currency codes) + example: USD type: string - isDefault: - default: false - description: Whether this is a default rule - type: boolean + price: + description: Price in currency + example: 3500 + type: number + source: + description: Source of the price data + enum: + - PUBLIC + - PRIVATE + example: PRIVATE + type: string + required: + - currency + - lastUpdateAt + - legacyId + - price + - source type: object - TRLinkPreScreeningAction: - description: TRLink pre-screening action - enum: - - SCREEN - - PASS - example: SCREEN - type: string - TRLinkPreScreeningRule: - allOf: - - $ref: "#/components/schemas/TRLinkRuleBase" - - properties: - action: - $ref: "#/components/schemas/TRLinkPreScreeningAction" - required: - - action - type: object - description: TRLink pre-screening rule definition + AssetPriceForbiddenErrorResponse: example: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: SCREEN - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - networkProtocol: BITCOIN - direction: OUTBOUND + code: 3002 + message: Tenant is not allowed to update asset + properties: + message: + description: Forbidden error message + example: Tenant is not allowed to update asset + type: string + code: + description: Error code + example: 3002 + type: number + required: + - code + - message type: object - TRLinkRegistrationResult: - description: TRLink registration result containing status and metadata + AssetPriceNotFoundErrorResponse: example: - result: - providerResponse: "{}" - matchedPrescreeningRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: SCREEN - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - networkProtocol: BITCOIN - direction: OUTBOUND - customerShortName: ACME Corp - provider: SUMSUB - success: true - destRecordId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: COMPLETED - timestamp: 1640995200000 + code: 3001 + message: Currency not found properties: - status: - $ref: "#/components/schemas/TRLinkRegistrationStatus" - provider: - description: The TRLink provider name - example: SUMSUB + message: + description: Not found error message + example: Currency not found type: string - success: - description: Whether the registration was successful - example: true - type: boolean - timestamp: - description: Unix timestamp of the registration - example: 1640995200000 + code: + description: Error code + example: 3001 type: number - destRecordId: - description: Destination record identifier - example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + required: + - code + - message + type: object + BlockchainOnchain: + example: + protocol: EVM + test: false + chainId: "1" + signingAlgo: ECDSA_SECP256K1 + properties: + protocol: + description: The protocol of the blockchain + example: EVM type: string - travelRuleMessageId: - description: Travel rule message identifier for linking - example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + chainId: + description: Network/chain ID + example: "1" type: string - customerIntegrationId: - description: Customer integration identifier - example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + test: + description: Is test blockchain + example: false + type: boolean + signingAlgo: + description: Signing alghorithm + enum: + - ECDSA_SECP256K1 + - EDDSA_ED25519 + example: ECDSA_SECP256K1 type: string - customerShortName: - description: Customer short name - example: ACME Corp + required: + - protocol + - signingAlgo + - test + type: object + BlockchainMedia: + example: + type: image/svg+xml + url: https://example.com/image.png + properties: + url: + description: Media URL + example: https://example.com/image.png + type: string + type: + description: Media type + enum: + - image/svg+xml + - image/png + example: image/svg+xml type: string - result: - $ref: "#/components/schemas/TRLinkProviderResult" - matchedPrescreeningRule: - $ref: "#/components/schemas/TRLinkPreScreeningRule" required: - - status - - timestamp + - type + - url type: object - TRLinkVerdict: - description: TRLink verdict after screening - enum: - - ACCEPT - - ALERT - - REJECT - - WAIT - example: ACCEPT - type: string - TRLinkTrmScreeningStatus: - description: TRLink TRM screening status - enum: - - PENDING - - ACCEPTED - - REJECTED - - FAILED - example: ACCEPTED - type: string - TRLinkPostScreeningRule: - allOf: - - $ref: "#/components/schemas/TRLinkRuleBase" - - properties: - providerIdent: - description: Provider identifier - example: sumsub - type: string - trmStatus: - $ref: "#/components/schemas/TRLinkTrmScreeningStatus" - validBefore: - description: Unix timestamp when rule expires - example: 1672531200000 - type: number - validAfter: - description: Unix timestamp when rule becomes valid - example: 1640995200000 - type: number - action: - $ref: "#/components/schemas/TRLinkVerdict" - required: - - action - type: object - description: TRLink post-screening rule definition + BlockchainExplorer: example: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - trmStatus: ACCEPTED - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - providerIdent: sumsub - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: ACCEPT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - type: object - TRLinkProviderResultWithRule: - description: Provider response and matched rule wrapper for TRLink screening - results - example: - matchedRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - trmStatus: ACCEPTED - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - providerIdent: sumsub - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: ACCEPT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - providerResponse: "{}" + address: "https://example.com/address/{address}" + tx: "https://example.com/tx/{tx}" + base: https://example.com + token: "https://example.com/nft/{contract}/{tokenId}" properties: - providerResponse: - description: Raw provider response - type: object - matchedRule: - $ref: "#/components/schemas/TRLinkPostScreeningRule" - type: object - TRLinkMissingTrmAction: - description: TRLink missing TRM action - enum: - - WAIT - - REJECT - - ACCEPT - - INITIATE_TRM - example: WAIT - type: string - TRLinkMissingTrmRule: - allOf: - - $ref: "#/components/schemas/TRLinkRuleBase" - - properties: - validBefore: - description: Unix timestamp when rule expires - example: 1672531200000 - type: number - validAfter: - description: Unix timestamp when rule becomes valid - example: 1640995200000 - type: number - action: - $ref: "#/components/schemas/TRLinkMissingTrmAction" - required: - - action - type: object - description: TRLink missing TRM rule definition + base: + description: Explorer base url + example: https://example.com + type: string + address: + description: Explorer address url + example: "https://example.com/address/{address}" + type: string + tx: + description: Explorer transaction url + example: "https://example.com/tx/{tx}" + type: string + token: + description: Explorer token url + example: "https://example.com/nft/{contract}/{tokenId}" + type: string + required: + - base type: object - TRLinkMissingTrmDecision: - allOf: - - $ref: "#/components/schemas/TRLinkMissingTrmRule" - - properties: - source: - description: TRLink missing TRM source - example: policy - type: string - timestamp: - description: Timestamp of the decision - format: date-time - type: string - reason: - description: Reason for the decision - example: Missing travel rule message - type: string - required: - - source - type: object - description: Interface for reporting missing TRM screening decisions in ITRLinkResult + BlockchainMetadata: example: - sourceId: "1" - reason: Missing travel rule message - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - source: policy - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: WAIT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - timestamp: 2000-01-23T04:56:07.000+00:00 + scope: GLOBAL + deprecated: false + explorer: + address: "https://example.com/address/{address}" + tx: "https://example.com/tx/{tx}" + base: https://example.com + token: "https://example.com/nft/{contract}/{tokenId}" + media: + - type: image/svg+xml + url: https://example.com/image.png + - type: image/svg+xml + url: https://example.com/image.png + properties: + scope: + $ref: "#/components/schemas/AssetScope" + deprecated: + description: Is blockchain deprecated + example: false + type: boolean + media: + description: Blockchain’s media + items: + $ref: "#/components/schemas/BlockchainMedia" + type: array + explorer: + $ref: "#/components/schemas/BlockchainExplorer" + required: + - deprecated + - scope type: object - TRLinkResult: - description: TRLink screening result + BlockchainResponse: example: - matchedPrescreeningRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: SCREEN - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - networkProtocol: BITCOIN - direction: OUTBOUND - detailsMessage: Screening completed successfully - destTag: memo_12345 - bypassReason: MANUAL - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - trmStatus: ACCEPTED - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - providerIdent: sumsub - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: ACCEPT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - providerResponse: "{}" - customerShortName: ACME Corp - provider: SUMSUB - verdict: ACCEPT - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - matchedNoTrmScreeningRule: - sourceId: "1" - reason: Missing travel rule message - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - source: policy - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: WAIT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - timestamp: 2000-01-23T04:56:07.000+00:00 - timestamp: 1640995200000 - status: COMPLETED + nativeAssetId: 9f9f7062-df90-4fc0-8697-96685184356a + metadata: + scope: GLOBAL + deprecated: false + explorer: + address: "https://example.com/address/{address}" + tx: "https://example.com/tx/{tx}" + base: https://example.com + token: "https://example.com/nft/{contract}/{tokenId}" + media: + - type: image/svg+xml + url: https://example.com/image.png + - type: image/svg+xml + url: https://example.com/image.png + displayName: Ethereum + legacyId: ETH + id: 9f9f7062-df90-4fc0-8697-96685184357b + onchain: + protocol: EVM + test: false + chainId: "1" + signingAlgo: ECDSA_SECP256K1 properties: - provider: - description: The TRLink provider name - example: SUMSUB - type: string - timestamp: - description: Unix timestamp of the screening result - example: 1640995200000 - type: number - status: - description: Status of the TRLink screening - enum: - - COMPLETED - - PENDING - - BYPASSED - - FAILED - - FROZEN - type: string - verdict: - $ref: "#/components/schemas/TRLinkVerdict" - destAddress: - description: The destination address associated with the TRLink screening - example: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - type: string - destTag: - description: Destination tag for the screening - example: memo_12345 + id: + description: The ID of the blockchain + example: 9f9f7062-df90-4fc0-8697-96685184357b type: string - bypassReason: - description: Reason for bypassing the TRLink screening - example: MANUAL + legacyId: + description: The old blockchain ID representation of the blockchain + example: ETH type: string - detailsMessage: - description: Additional details message about the screening result - example: Screening completed successfully + displayName: + description: The name of the blockchain + example: Ethereum type: string - customerIntegrationId: - description: Customer integration identifier - example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + nativeAssetId: + description: Native asset ID of this blockchain + example: 9f9f7062-df90-4fc0-8697-96685184356a type: string - customerShortName: - description: Customer short name - example: ACME Corp + onchain: + $ref: "#/components/schemas/BlockchainOnchain" + metadata: + $ref: "#/components/schemas/BlockchainMetadata" + required: + - displayName + - id + - legacyId + - metadata + - nativeAssetId + - onchain + type: object + ListBlockchainsResponse: + example: + next: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 + data: + - nativeAssetId: 9f9f7062-df90-4fc0-8697-96685184356a + metadata: + scope: GLOBAL + deprecated: false + explorer: + address: "https://example.com/address/{address}" + tx: "https://example.com/tx/{tx}" + base: https://example.com + token: "https://example.com/nft/{contract}/{tokenId}" + media: + - type: image/svg+xml + url: https://example.com/image.png + - type: image/svg+xml + url: https://example.com/image.png + displayName: Ethereum + legacyId: ETH + id: 9f9f7062-df90-4fc0-8697-96685184357b + onchain: + protocol: EVM + test: false + chainId: "1" + signingAlgo: ECDSA_SECP256K1 + - nativeAssetId: 9f9f7062-df90-4fc0-8697-96685184356a + metadata: + scope: GLOBAL + deprecated: false + explorer: + address: "https://example.com/address/{address}" + tx: "https://example.com/tx/{tx}" + base: https://example.com + token: "https://example.com/nft/{contract}/{tokenId}" + media: + - type: image/svg+xml + url: https://example.com/image.png + - type: image/svg+xml + url: https://example.com/image.png + displayName: Ethereum + legacyId: ETH + id: 9f9f7062-df90-4fc0-8697-96685184357b + onchain: + protocol: EVM + test: false + chainId: "1" + signingAlgo: ECDSA_SECP256K1 + properties: + data: + description: The data of the current page + items: + $ref: "#/components/schemas/BlockchainResponse" + type: array + next: + description: Cursor to the next page + example: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9 + nullable: true type: string - travelRuleMessageId: - description: Travel rule message identifier for linking - example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + required: + - data + - next + type: object + BlockchainNotFoundErrorResponse: + example: + code: 1505 + message: Blockchain with specified ID not found + properties: + message: + description: Not found error code + example: Blockchain with specified ID not found type: string - result: - $ref: "#/components/schemas/TRLinkProviderResultWithRule" - matchedPrescreeningRule: - $ref: "#/components/schemas/TRLinkPreScreeningRule" - matchedNoTrmScreeningRule: - $ref: "#/components/schemas/TRLinkMissingTrmDecision" + code: + description: Error code + example: 1505 + type: number required: - - provider - - status - - timestamp + - code + - message type: object - ComplianceResults: - description: The result of the Compliance AML/Travel Rule screening. + GetTransactionOperation: + description: | + * `TRANSFER` - 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. + * `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) + * `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. + * `STAKE` - Assign assets to a staking pool managed by a staking validator. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. + * `UNSTAKE` - Remove assets from a staking pool managed by a staking validator. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. + * `WITHDRAW` - Transfer assets from a dedicated staking vault account to another address. Supported for Stellar and EVM-based blockchains. This transaction is automatically created when performing staking operations. + + **Note:** Fireblocks will rename this type from `WITHDRAW` to a different type name soon. There will be a 7-day notice regarding the new type name. + + * `SUPPLY_TO_COMPOUND` - Deprecated since April 1st, 2023. Older transactions may have this as their operation, in case users in the workspace have used the direct integration between Fireblocks and the Compound DeFI protocol. + * `REDEEM_FROM_COMPOUND` - Deprecated since April 1st, 2023. Older transactions may have this as their operation, in case users in the workspace have used the direct integration between Fireblocks and the Compound DeFI protocol. + * `PROGRAM_CALL` - In Solana refers to invoking on-chain programs (smart contracts) to execute transactions and interact with the blockchain. + * `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). + enum: + - TRANSFER + - BURN + - CONTRACT_CALL + - MINT + - RAW + - TYPED_MESSAGE + - ENABLE_ASSET + - STAKE + - UNSTAKE + - WITHDRAW + - REDEEM_FROM_COMPOUND + - SUPPLY_TO_COMPOUND + - PROGRAM_CALL + - APPROVE + type: string + TransferPeerPathType: + enum: + - VAULT_ACCOUNT + - EXCHANGE_ACCOUNT + - INTERNAL_WALLET + - EXTERNAL_WALLET + - CONTRACT + - NETWORK_CONNECTION + - FIAT_ACCOUNT + - COMPOUND + - GAS_STATION + - ONE_TIME_ADDRESS + - UNKNOWN + - END_USER_WALLET + - PROGRAM_CALL + - MULTI_DESTINATION + - OEC_PARTNER + type: string + SourceTransferPeerPathResponse: + description: Source of the transaction. example: - aml: - prevBypassReason: BELOW_THRESHOLD - prevStatus: COMPLETED - destTag: memo_12345 - addressResolutionSignature: 0x1234567890abcdef - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - amountUSD: 1000.5 - amount: 0.025 - action: ACCEPT - asset: BTC - direction: OUTBOUND - status: COMPLETED - isVerified: true - action: ACCEPT - providerResponse: - key: "" - direction: OUTBOUND - matchedRule: "{}" - provider: NOTABENE - payload: "{}" - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - destRecordId: record_001 - amlResult: - alerts: - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - matchedRule: - ruleName: High Risk Sanctions Check - action: ALLOW - ruleId: rule_001 - matchedAlert: - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - providerResponse: - key: "" - matchedAlert: "{}" - timestamp: 1753459111824 - matchedPrescreeningRule: - sourceId: "0" - amount: 0.5 - amountUSD: 1000 - bypassReason: MANUAL - baseAsset: ETH - destType: VAULT_ACCOUNT - transferPeerSubType: INTERNAL - destId: ext_address_001 - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - transferPeerType: VAULT_ACCOUNT - action: SCREEN - sourceSubType: INTERNAL - asset: ETH - operation: TRANSFER - networkProtocol: ETH - detailsMessage: Travel rule screening completed successfully - externalId: aml_screening_12345 - bypassReason: BELOW_THRESHOLD - extendedRisk: LOW - customerRefId: customer_ref_789 - customerShortName: ACME Corp - verdict: PASS - risk: LOW - refId: ref_12345 - category: EXCHANGE - screeningStatus: COMPLETED - matchedNoTrmScreeningRule: "{}" - categoryId: 5 - status: COMPLETED - amlRegistration: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: VAULT_ACCOUNT + properties: + type: + $ref: "#/components/schemas/TransferPeerPathType" + subType: + description: "In case the type is set to `EXCHANGE_ACCOUNT` or `FIAT_ACCOUNT`,\ + \ the specific exchange vendor name or fiat vendor name. In case the type\ + \ is set to `INTERNAL_WALLET` or `EXTERNAL_WALLET`, the subType is set\ + \ to `Internal` or `External`." + type: string + id: + description: "The ID of the peer. You can retrieve the ID of each venue\ + \ object using the endpoints for [listing vault accounts](https://developers.fireblocks.com/reference/getpagedvaultaccounts),\ + \ [listing exchange account](https://developers.fireblocks.com/reference/getexchangeaccounts),\ + \ [listing fiat accounts](https://developers.fireblocks.com/reference/getfiataccounts),\ + \ [listing internal wallets](https://developers.fireblocks.com/reference/getinternalwallets),\ + \ [listing external wallets](https://developers.fireblocks.com/reference/getexternalwallets),\ + \ [listing network connections](https://developers.fireblocks.com/reference/getnetworkconnections).\ + \ For the other types, this parameter is not needed." + nullable: true + type: string + name: + description: The name of the peer. + type: string + walletId: + format: uuid + type: string + tradingAccount: + description: "If this transaction is an exchange internal transfer, this\ + \ field will be populated with the type of that trading account." + nullable: true + type: string + required: + - type + type: object + DestinationTransferPeerPathResponse: + description: |- + Destination of the transaction. + + **Note:** In case the transaction is sent to multiple destinations, the `destinations` parameter is be used instead of this. + example: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: null + properties: + type: + $ref: "#/components/schemas/TransferPeerPathType" + subType: + description: "In case the type is set to `EXCHANGE_ACCOUNT` or `FIAT_ACCOUNT`,\ + \ the specific exchange vendor name or fiat vendor name.In case the type\ + \ is set to `INTERNAL_WALLET` or `EXTERNAL_WALLET`, the subType is set\ + \ to `Internal` or `External`." + type: string + id: + description: "The ID of the peer. You can retrieve the ID of each venue\ + \ object using the endpoints for [listing vault accounts](https://developers.fireblocks.com/reference/getpagedvaultaccounts),\ + \ [listing exchange account](https://developers.fireblocks.com/reference/getexchangeaccounts),\ + \ [listing fiat accounts](https://developers.fireblocks.com/reference/getfiataccounts),\ + \ [listing internal wallets](https://developers.fireblocks.com/reference/getinternalwallets),\ + \ [listing external wallets](https://developers.fireblocks.com/reference/getexternalwallets),\ + \ [listing network connections](https://developers.fireblocks.com/reference/getnetworkconnections).\ + \ For the other types, this parameter is not needed." + nullable: true + type: string + name: + description: The name of the peer. + type: string + walletId: + format: uuid + type: string + tradingAccount: + description: "If this transaction is an exchange internal transfer, this\ + \ field will be populated with the type of that trading account." + nullable: true + type: string + required: + - type + type: object + AmlScreeningResult: + description: The result of the AML screening. + example: + provider: provider + payload: "{}" + properties: + provider: + type: string + payload: + type: object + type: object + AuthorizationGroups: + example: + th: 0.8008281904610115 + users: + key: PENDING_AUTHORIZATION + properties: + th: + type: number + users: + additionalProperties: + enum: + - PENDING_AUTHORIZATION + - APPROVED + - REJECTED + - NA + type: string + type: object + type: object + AuthorizationInfo: + description: "The information about your [Transaction Authorization Policy (TAP).](https://developers.fireblocks.com/docs/capabilities#transaction-authorization-policy-tap)" + example: + allowOperatorAsAuthorizer: true + groups: + - th: 0.8008281904610115 + users: + key: PENDING_AUTHORIZATION + - th: 0.8008281904610115 + users: + key: PENDING_AUTHORIZATION + logic: AND + properties: + allowOperatorAsAuthorizer: + type: boolean + logic: + enum: + - AND + - OR + type: string + groups: + items: + $ref: "#/components/schemas/AuthorizationGroups" + type: array + type: object + TransactionResponseDestination: + example: + amount: amount + amountUSD: amountUSD + authorizationInfo: + allowOperatorAsAuthorizer: true + groups: + - th: 0.8008281904610115 + users: + key: PENDING_AUTHORIZATION + - th: 0.8008281904610115 + users: + key: PENDING_AUTHORIZATION + logic: AND + amlScreeningResult: provider: provider - success: true - timestamp: 5.962133916683182 - trlinkRegistration: - result: - providerResponse: "{}" - matchedPrescreeningRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: SCREEN - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - networkProtocol: BITCOIN - direction: OUTBOUND - customerShortName: ACME Corp - provider: SUMSUB - success: true - destRecordId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: COMPLETED - timestamp: 1640995200000 - trlinkDestinations: - - matchedPrescreeningRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: SCREEN - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - networkProtocol: BITCOIN - direction: OUTBOUND - detailsMessage: Screening completed successfully - destTag: memo_12345 - bypassReason: MANUAL - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - trmStatus: ACCEPTED - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - providerIdent: sumsub - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: ACCEPT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - providerResponse: "{}" - customerShortName: ACME Corp - provider: SUMSUB - verdict: ACCEPT - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - matchedNoTrmScreeningRule: - sourceId: "1" - reason: Missing travel rule message - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - source: policy - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: WAIT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - timestamp: 2000-01-23T04:56:07.000+00:00 - timestamp: 1640995200000 - status: COMPLETED - - matchedPrescreeningRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: SCREEN - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - networkProtocol: BITCOIN - direction: OUTBOUND - detailsMessage: Screening completed successfully - destTag: memo_12345 - bypassReason: MANUAL - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - trmStatus: ACCEPTED - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - providerIdent: sumsub - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: ACCEPT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - providerResponse: "{}" - customerShortName: ACME Corp - provider: SUMSUB - verdict: ACCEPT - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - matchedNoTrmScreeningRule: - sourceId: "1" - reason: Missing travel rule message - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - source: policy - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: WAIT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - timestamp: 2000-01-23T04:56:07.000+00:00 - timestamp: 1640995200000 - status: COMPLETED - amlList: - - prevBypassReason: BELOW_THRESHOLD - prevStatus: COMPLETED - destTag: memo_12345 - addressResolutionSignature: 0x1234567890abcdef - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - amountUSD: 1000.5 - amount: 0.025 - action: ACCEPT - asset: BTC - direction: OUTBOUND - status: COMPLETED - isVerified: true - action: ACCEPT - providerResponse: - key: "" - direction: OUTBOUND - matchedRule: "{}" - provider: NOTABENE payload: "{}" - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - destRecordId: record_001 - amlResult: - alerts: - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - matchedRule: - ruleName: High Risk Sanctions Check - action: ALLOW - ruleId: rule_001 - matchedAlert: - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - providerResponse: - key: "" - matchedAlert: "{}" - timestamp: 1753459111824 - matchedPrescreeningRule: - sourceId: "0" - amount: 0.5 - amountUSD: 1000 - bypassReason: MANUAL - baseAsset: ETH - destType: VAULT_ACCOUNT - transferPeerSubType: INTERNAL - destId: ext_address_001 - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - transferPeerType: VAULT_ACCOUNT - action: SCREEN - sourceSubType: INTERNAL - asset: ETH - operation: TRANSFER - networkProtocol: ETH - detailsMessage: Travel rule screening completed successfully - externalId: aml_screening_12345 - bypassReason: BELOW_THRESHOLD - extendedRisk: LOW - customerRefId: customer_ref_789 - customerShortName: ACME Corp - verdict: PASS - risk: LOW - refId: ref_12345 - category: EXCHANGE - screeningStatus: COMPLETED - matchedNoTrmScreeningRule: "{}" - categoryId: 5 - status: COMPLETED - - prevBypassReason: BELOW_THRESHOLD - prevStatus: COMPLETED - destTag: memo_12345 - addressResolutionSignature: 0x1234567890abcdef - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - amountUSD: 1000.5 - amount: 0.025 - action: ACCEPT - asset: BTC - direction: OUTBOUND - status: COMPLETED - isVerified: true - action: ACCEPT - providerResponse: - key: "" - direction: OUTBOUND - matchedRule: "{}" - provider: NOTABENE - payload: "{}" - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - destRecordId: record_001 - amlResult: - alerts: - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - matchedRule: - ruleName: High Risk Sanctions Check - action: ALLOW - ruleId: rule_001 - matchedAlert: - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - providerResponse: - key: "" - matchedAlert: "{}" - timestamp: 1753459111824 - matchedPrescreeningRule: - sourceId: "0" - amount: 0.5 - amountUSD: 1000 - bypassReason: MANUAL - baseAsset: ETH - destType: VAULT_ACCOUNT - transferPeerSubType: INTERNAL - destId: ext_address_001 - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - transferPeerType: VAULT_ACCOUNT - action: SCREEN - sourceSubType: INTERNAL - asset: ETH - operation: TRANSFER - networkProtocol: ETH - detailsMessage: Travel rule screening completed successfully - externalId: aml_screening_12345 - bypassReason: BELOW_THRESHOLD - extendedRisk: LOW - customerRefId: customer_ref_789 - customerShortName: ACME Corp - verdict: PASS - risk: LOW - refId: ref_12345 - category: EXCHANGE - screeningStatus: COMPLETED - matchedNoTrmScreeningRule: "{}" - categoryId: 5 - status: COMPLETED - tr: - prevBypassReason: BELOW_THRESHOLD - prevStatus: COMPLETED - destTag: memo_12345 - addressResolutionSignature: 0x1234567890abcdef - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - amountUSD: 1000.5 - amount: 0.025 - action: ACCEPT - asset: BTC - direction: OUTBOUND - status: COMPLETED - isVerified: true - action: ACCEPT - providerResponse: - key: "" - direction: OUTBOUND - matchedRule: "{}" - provider: NOTABENE - payload: "{}" - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - destRecordId: record_001 - amlResult: - alerts: - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - matchedRule: - ruleName: High Risk Sanctions Check - action: ALLOW - ruleId: rule_001 - matchedAlert: - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - providerResponse: - key: "" - matchedAlert: "{}" - timestamp: 1753459111824 - matchedPrescreeningRule: - sourceId: "0" - amount: 0.5 - amountUSD: 1000 - bypassReason: MANUAL - baseAsset: ETH - destType: VAULT_ACCOUNT - transferPeerSubType: INTERNAL - destId: ext_address_001 - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - transferPeerType: VAULT_ACCOUNT - action: SCREEN - sourceSubType: INTERNAL - asset: ETH - operation: TRANSFER - networkProtocol: ETH - detailsMessage: Travel rule screening completed successfully - externalId: aml_screening_12345 - bypassReason: BELOW_THRESHOLD - extendedRisk: LOW - customerRefId: customer_ref_789 - customerShortName: ACME Corp - verdict: PASS - risk: LOW - refId: ref_12345 - category: EXCHANGE - screeningStatus: COMPLETED - matchedNoTrmScreeningRule: "{}" - categoryId: 5 - status: COMPLETED - status: Completed - properties: - aml: - $ref: "#/components/schemas/ComplianceScreeningResult" - tr: - $ref: "#/components/schemas/ComplianceScreeningResult" - amlList: - description: The list of all results of the AML screening. - items: - $ref: "#/components/schemas/ComplianceScreeningResult" - type: array - status: - $ref: "#/components/schemas/ComplianceResultStatusesEnum" - amlRegistration: - $ref: "#/components/schemas/AmlRegistrationResult" - trlinkRegistration: - $ref: "#/components/schemas/TRLinkRegistrationResult" - trlinkDestinations: - description: The list of TRLink destination screening results. - items: - $ref: "#/components/schemas/TRLinkResult" - type: array - type: object - ExtraParameters: - description: | - Additional protocol / operation specific key-value parameters: - - For UTXO-based blockchain input selection, add the key `inputsSelection` with the value set the [input selection structure.](https://developers.fireblocks.com/reference/transaction-objects#inputsselection) The inputs can be retrieved from the [Retrieve Unspent Inputs endpoint.](https://developers.fireblocks.com/reference/get_vault-accounts-vaultaccountid-assetid-unspent-inputs) - - For `RAW` operations, add the key `rawMessageData` with the value set to the [raw message data structure.](https://developers.fireblocks.com/reference/raw-signing-objects#rawmessagedata) - - For `CONTRACT_CALL` operations, add the key `contractCallData` with the value set to the Ethereum smart contract Application Binary Interface (ABI) payload. The Fireblocks [development libraries](https://developers.fireblocks.com/docs/ethereum-development#convenience-libraries) are recommended for building contract call transactions. - For **exchange compliance (e.g., Binance) and Travel Rule purposes**, include the key `piiData` containing a **custom JSON structure** with Personally Identifiable Information (PII) relevant to the transaction. This data must be fully **encrypted by the sender** before being submitted to the Fireblocks API. The recommended encryption method is **hybrid encryption** using AES-256-GCM for the payload and RSA-OAEP for key exchange, with the recipient exchange’s public key. [development libraries](https://developers.fireblocks.com/docs/a-developers-guide-to-constructing-encrypted-pii-messages-for-binance-via-fireblocks) - properties: {} - type: object - SignedMessage: - description: A list of signed messages returned for raw signing. - example: - derivationPath: - - 5.637376656633329 - - 5.637376656633329 - signature: - r: r - s: s - fullSig: fullSig - v: 2.3021358869347655 - publicKey: publicKey - content: content - algorithm: MPC_ECDSA_SECP256K1 + destination: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: null + travelRuleMessageId: trm_12345678-1234-1234-1234-123456789012 properties: - content: + amount: + description: The amount to be sent to this destination. type: string - algorithm: - enum: - - MPC_ECDSA_SECP256K1 - - MPC_EDDSA_ED25519 + amountUSD: + description: The USD value of the requested amount. type: string - derivationPath: - items: - type: number - type: array - signature: - $ref: "#/components/schemas/SignedMessage_signature" - publicKey: + travelRuleMessageId: + 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. + example: trm_12345678-1234-1234-1234-123456789012 type: string + amlScreeningResult: + $ref: "#/components/schemas/AmlScreeningResult" + destination: + $ref: "#/components/schemas/DestinationTransferPeerPathResponse" + authorizationInfo: + $ref: "#/components/schemas/AuthorizationInfo" type: object - SignedMessages: - items: - $ref: "#/components/schemas/SignedMessage" - type: array - BlockInfo: - description: |- - The block hash and height of the block that this transaction was mined in. - **Note**: If an outgoing transaction uses the destinations object with more than one value in the array, blockHash is set to null. + AmountInfo: + description: The details of the requested amount to transfer. example: - blockHash: blockHash - blockHeight: blockHeight + amount: amount + amountUSD: amountUSD + netAmount: netAmount + requestedAmount: requestedAmount properties: - blockHeight: + amount: + description: "If the transfer is a withdrawal from an exchange, the actual\ + \ amount that was requested to be transferred. Otherwise, the requested\ + \ amount." type: string - blockHash: - nullable: true + requestedAmount: + description: The amount requested by the user. + type: string + netAmount: + description: "The net amount of the transaction, after fee deduction." + type: string + amountUSD: + description: The USD value of the requested amount. type: string type: object - FeePayerInfo: + FeeInfo: + description: Details of the transaction's fee. example: - feePayerAccountId: "123" + serviceFee: serviceFee + relayType: LOCAL + relayId: "1" + networkFee: networkFee + L2networkFee: "0.0005" + relayName: Tenant Name + L1networkFee: "0.003955" + feeUSD: "0.0013" + gasPrice: gasPrice + paidByRelay: true properties: - feePayerAccountId: - description: The account ID of the fee payer - example: "123" + networkFee: + description: The fee paid to the network + type: string + serviceFee: + description: The total fee deducted by the exchange from the actual requested + amount (serviceFee = amount - netAmount) + type: string + gasPrice: + type: string + L1networkFee: + description: Layer 1 network fee for Layer 2 blockchain transactions + example: "0.003955" + type: string + L2networkFee: + description: Layer 2 network fee (gas price component for Layer 2 transactions) + example: "0.0005" + type: string + paidByRelay: + description: Wether the fee was paid by the relay or not + example: true + type: boolean + relayType: + description: Wether the relay is the same tenant (LOCAL) or another tenant + (THIRD_PARTY) + enum: + - LOCAL + - THIRD_PARTY + example: LOCAL + type: string + relayId: + description: The vault account ID of the relay + example: "1" + type: string + relayName: + description: "The name of the tenant, only for THIRD_PARTY relays" + example: Tenant Name + type: string + feeUSD: + description: The USD value of the fee + example: "0.0013" type: string type: object - SystemMessageInfo: + RewardInfo: + description: "This field is relevant only for Algorand transactions. Both `srcRewards`\ + \ and `destRewards` will appear only for Vault to Vault transactions, otherwise\ + \ you will receive only the Fireblocks’ side of the transaction." example: - type: WARN - message: Slow transaction processing. Outgoing transactions might be stuck. + destRewards: destRewards + srcRewards: srcRewards properties: - type: - enum: - - WARN - - BLOCK + srcRewards: type: string - message: - description: "A response from Fireblocks that communicates a message about\ - \ the health of the process being performed. If this object is returned\ - \ with data, you should expect potential delays or incomplete transaction\ - \ statuses." - example: Slow transaction processing. Outgoing transactions might be stuck. + destRewards: type: string type: object - TransactionResponse: + NetworkRecord: example: - authorizationInfo: - allowOperatorAsAuthorizer: true - groups: - - th: 0.8008281904610115 - users: - key: PENDING_AUTHORIZATION - - th: 0.8008281904610115 - users: - key: PENDING_AUTHORIZATION - logic: AND - amountUSD: 7.386281948385884 + amountUSD: amountUSD destinationAddress: destinationAddress - signedBy: - - signedBy - - signedBy - networkFee: 1.4894159098541704 - fee: 1.0246457001441578 - feeCurrency: feeCurrency + netAmount: netAmount + rewardInfo: + destRewards: destRewards + srcRewards: srcRewards + networkFee: networkFee + assetId: assetId + destination: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: null source: walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 tradingAccount: tradingAccount @@ -32538,2524 +34791,4612 @@ components: subType: subType id: id type: VAULT_ACCOUNT - createdAt: 6.027456183070403 - lastUpdated: 1.4658129805029452 - gasLimit: "21000" - feeInfo: - serviceFee: serviceFee - relayType: LOCAL - relayId: "1" - networkFee: networkFee - L2networkFee: "0.0005" - relayName: Tenant Name - L1networkFee: "0.003955" - feeUSD: "0.0013" - gasPrice: gasPrice - paidByRelay: true - id: id - tag: tag + type: type txHash: txHash - notBroadcastByFireblocks: false - blockInfo: - blockHash: blockHash - blockHeight: blockHeight - serviceFee: 1.2315135367772556 - dappUrl: https://app.uniswap.org - addressType: "" - destinations: - - amount: amount - amountUSD: amountUSD - authorizationInfo: - allowOperatorAsAuthorizer: true - groups: - - th: 0.8008281904610115 - users: - key: PENDING_AUTHORIZATION - - th: 0.8008281904610115 - users: - key: PENDING_AUTHORIZATION - logic: AND - amlScreeningResult: - provider: provider - payload: "{}" - destination: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: null - - amount: amount - amountUSD: amountUSD - authorizationInfo: - allowOperatorAsAuthorizer: true - groups: - - th: 0.8008281904610115 - users: - key: PENDING_AUTHORIZATION - - th: 0.8008281904610115 - users: - key: PENDING_AUTHORIZATION - logic: AND - amlScreeningResult: - provider: provider - payload: "{}" - destination: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: null - signedMessages: - - derivationPath: - - 5.637376656633329 - - 5.637376656633329 - signature: - r: r - s: s - fullSig: fullSig - v: 2.3021358869347655 - publicKey: publicKey - content: content - algorithm: MPC_ECDSA_SECP256K1 - - derivationPath: - - 5.637376656633329 - - 5.637376656633329 - signature: - r: r - s: s - fullSig: fullSig - v: 2.3021358869347655 - publicKey: publicKey - content: content - algorithm: MPC_ECDSA_SECP256K1 - index: 9.301444243932576 - amountInfo: - amount: amount - amountUSD: amountUSD - netAmount: netAmount - requestedAmount: requestedAmount - customerRefId: customerRefId - nonce: "11228" - subStatus: subStatus - assetType: ERC20 - treatAsGrossAmount: true - paidRent: "0.00203928" - rejectedBy: rejectedBy - numOfConfirmations: 7.061401241503109 - exchangeTxId: exchangeTxId - rewardInfo: - destRewards: destRewards - srcRewards: srcRewards - amlScreeningResult: - provider: provider - payload: "{}" - requestedAmount: 3.616076749251911 - status: status - note: note - blockchainInfo: - evmTransferType: NATIVE - contractCallDecodedData: - functionCalls: - - "{}" - - "{}" - contractName: contractName - errorDescription: errorDescription - destinationTag: destinationTag + isDropped: true + properties: + source: + $ref: "#/components/schemas/SourceTransferPeerPathResponse" destination: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: null - extraParameters: "{}" - replacedTxHash: replacedTxHash - externalTxId: externalTxId - networkRecords: - - amountUSD: amountUSD - destinationAddress: destinationAddress - netAmount: netAmount - rewardInfo: - destRewards: destRewards - srcRewards: srcRewards - networkFee: networkFee - assetId: assetId - destination: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: null - source: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: VAULT_ACCOUNT - type: type - txHash: txHash - isDropped: true - - amountUSD: amountUSD - destinationAddress: destinationAddress - netAmount: netAmount - rewardInfo: - destRewards: destRewards - srcRewards: srcRewards - networkFee: networkFee - assetId: assetId - destination: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: null - source: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - tradingAccount: tradingAccount - name: name - subType: subType - id: id - type: VAULT_ACCOUNT - type: type - txHash: txHash - isDropped: true - blockchainIndex: 1.1.1 - assetId: assetId - amount: 2.027123023002322 - sourceAddress: sourceAddress - netAmount: 4.145608029883936 - systemMessages: - type: WARN - message: Slow transaction processing. Outgoing transactions might be stuck. - complianceResults: - aml: - prevBypassReason: BELOW_THRESHOLD - prevStatus: COMPLETED - destTag: memo_12345 - addressResolutionSignature: 0x1234567890abcdef - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - amountUSD: 1000.5 - amount: 0.025 - action: ACCEPT - asset: BTC - direction: OUTBOUND - status: COMPLETED - isVerified: true - action: ACCEPT - providerResponse: - key: "" - direction: OUTBOUND - matchedRule: "{}" - provider: NOTABENE - payload: "{}" - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - destRecordId: record_001 - amlResult: - alerts: - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - matchedRule: - ruleName: High Risk Sanctions Check - action: ALLOW - ruleId: rule_001 - matchedAlert: - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - providerResponse: - key: "" - matchedAlert: "{}" - timestamp: 1753459111824 - matchedPrescreeningRule: - sourceId: "0" - amount: 0.5 - amountUSD: 1000 - bypassReason: MANUAL - baseAsset: ETH - destType: VAULT_ACCOUNT - transferPeerSubType: INTERNAL - destId: ext_address_001 - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - transferPeerType: VAULT_ACCOUNT - action: SCREEN - sourceSubType: INTERNAL - asset: ETH - operation: TRANSFER - networkProtocol: ETH - detailsMessage: Travel rule screening completed successfully - externalId: aml_screening_12345 - bypassReason: BELOW_THRESHOLD - extendedRisk: LOW - customerRefId: customer_ref_789 - customerShortName: ACME Corp - verdict: PASS - risk: LOW - refId: ref_12345 - category: EXCHANGE - screeningStatus: COMPLETED - matchedNoTrmScreeningRule: "{}" - categoryId: 5 - status: COMPLETED - amlRegistration: - provider: provider - success: true - timestamp: 5.962133916683182 - trlinkRegistration: - result: - providerResponse: "{}" - matchedPrescreeningRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: SCREEN - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - networkProtocol: BITCOIN - direction: OUTBOUND - customerShortName: ACME Corp - provider: SUMSUB - success: true - destRecordId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - status: COMPLETED - timestamp: 1640995200000 - trlinkDestinations: - - matchedPrescreeningRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: SCREEN - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - networkProtocol: BITCOIN - direction: OUTBOUND - detailsMessage: Screening completed successfully - destTag: memo_12345 - bypassReason: MANUAL - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - trmStatus: ACCEPTED - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - providerIdent: sumsub - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: ACCEPT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - providerResponse: "{}" - customerShortName: ACME Corp - provider: SUMSUB - verdict: ACCEPT - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - matchedNoTrmScreeningRule: - sourceId: "1" - reason: Missing travel rule message - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - source: policy - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: WAIT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - timestamp: 2000-01-23T04:56:07.000+00:00 - timestamp: 1640995200000 - status: COMPLETED - - matchedPrescreeningRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: SCREEN - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - networkProtocol: BITCOIN - direction: OUTBOUND - detailsMessage: Screening completed successfully - destTag: memo_12345 - bypassReason: MANUAL - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - sourceId: "1" - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - trmStatus: ACCEPTED - description: description - baseAsset: USD - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - providerIdent: sumsub - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: ACCEPT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - providerResponse: "{}" - customerShortName: ACME Corp - provider: SUMSUB - verdict: ACCEPT - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - matchedNoTrmScreeningRule: - sourceId: "1" - reason: Missing travel rule message - amount: - range: - min: "100" - max: "10000" - currency: USD - sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - description: description - baseAsset: USD - source: policy - destType: VAULT_ACCOUNT - isDefault: false - destId: "1" - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa - customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - action: WAIT - sourceSubType: INTERNAL - asset: BTC - operation: TRANSFER - validBefore: 1672531200000 - networkProtocol: BITCOIN - validAfter: 1640995200000 - direction: OUTBOUND - timestamp: 2000-01-23T04:56:07.000+00:00 - timestamp: 1640995200000 - status: COMPLETED - amlList: - - prevBypassReason: BELOW_THRESHOLD - prevStatus: COMPLETED - destTag: memo_12345 - addressResolutionSignature: 0x1234567890abcdef - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - amountUSD: 1000.5 - amount: 0.025 - action: ACCEPT - asset: BTC - direction: OUTBOUND - status: COMPLETED - isVerified: true - action: ACCEPT - providerResponse: - key: "" - direction: OUTBOUND - matchedRule: "{}" - provider: NOTABENE - payload: "{}" - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - destRecordId: record_001 - amlResult: - alerts: - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - matchedRule: - ruleName: High Risk Sanctions Check - action: ALLOW - ruleId: rule_001 - matchedAlert: - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - providerResponse: - key: "" - matchedAlert: "{}" - timestamp: 1753459111824 - matchedPrescreeningRule: - sourceId: "0" - amount: 0.5 - amountUSD: 1000 - bypassReason: MANUAL - baseAsset: ETH - destType: VAULT_ACCOUNT - transferPeerSubType: INTERNAL - destId: ext_address_001 - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - transferPeerType: VAULT_ACCOUNT - action: SCREEN - sourceSubType: INTERNAL - asset: ETH - operation: TRANSFER - networkProtocol: ETH - detailsMessage: Travel rule screening completed successfully - externalId: aml_screening_12345 - bypassReason: BELOW_THRESHOLD - extendedRisk: LOW - customerRefId: customer_ref_789 - customerShortName: ACME Corp - verdict: PASS - risk: LOW - refId: ref_12345 - category: EXCHANGE - screeningStatus: COMPLETED - matchedNoTrmScreeningRule: "{}" - categoryId: 5 - status: COMPLETED - - prevBypassReason: BELOW_THRESHOLD - prevStatus: COMPLETED - destTag: memo_12345 - addressResolutionSignature: 0x1234567890abcdef - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - amountUSD: 1000.5 - amount: 0.025 - action: ACCEPT - asset: BTC - direction: OUTBOUND - status: COMPLETED - isVerified: true - action: ACCEPT - providerResponse: - key: "" - direction: OUTBOUND - matchedRule: "{}" - provider: NOTABENE - payload: "{}" - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - destRecordId: record_001 - amlResult: - alerts: - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - matchedRule: - ruleName: High Risk Sanctions Check - action: ALLOW - ruleId: rule_001 - matchedAlert: - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - providerResponse: - key: "" - matchedAlert: "{}" - timestamp: 1753459111824 - matchedPrescreeningRule: - sourceId: "0" - amount: 0.5 - amountUSD: 1000 - bypassReason: MANUAL - baseAsset: ETH - destType: VAULT_ACCOUNT - transferPeerSubType: INTERNAL - destId: ext_address_001 - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - transferPeerType: VAULT_ACCOUNT - action: SCREEN - sourceSubType: INTERNAL - asset: ETH - operation: TRANSFER - networkProtocol: ETH - detailsMessage: Travel rule screening completed successfully - externalId: aml_screening_12345 - bypassReason: BELOW_THRESHOLD - extendedRisk: LOW - customerRefId: customer_ref_789 - customerShortName: ACME Corp - verdict: PASS - risk: LOW - refId: ref_12345 - category: EXCHANGE - screeningStatus: COMPLETED - matchedNoTrmScreeningRule: "{}" - categoryId: 5 - status: COMPLETED - tr: - prevBypassReason: BELOW_THRESHOLD - prevStatus: COMPLETED - destTag: memo_12345 - addressResolutionSignature: 0x1234567890abcdef - travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 - result: - matchedRule: - amountUSD: 1000.5 - amount: 0.025 - action: ACCEPT - asset: BTC - direction: OUTBOUND - status: COMPLETED - isVerified: true - action: ACCEPT - providerResponse: - key: "" - direction: OUTBOUND - matchedRule: "{}" - provider: NOTABENE - payload: "{}" - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - destRecordId: record_001 - amlResult: - alerts: - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - matchedRule: - ruleName: High Risk Sanctions Check - action: ALLOW - ruleId: rule_001 - matchedAlert: - policyAction: BLOCK - alertName: Sanctions Match - service: CHAINALYSIS - exposureType: DIRECT - alertLevel: HIGH - externalId: alert_12345 - category: SANCTIONED_ENTITY - categoryId: 101 - alertAmount: 1000.5 - providerResponse: - key: "" - matchedAlert: "{}" - timestamp: 1753459111824 - matchedPrescreeningRule: - sourceId: "0" - amount: 0.5 - amountUSD: 1000 - bypassReason: MANUAL - baseAsset: ETH - destType: VAULT_ACCOUNT - transferPeerSubType: INTERNAL - destId: ext_address_001 - sourceType: VAULT_ACCOUNT - destSubType: INTERNAL - destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 - transferPeerType: VAULT_ACCOUNT - action: SCREEN - sourceSubType: INTERNAL - asset: ETH - operation: TRANSFER - networkProtocol: ETH - detailsMessage: Travel rule screening completed successfully - externalId: aml_screening_12345 - bypassReason: BELOW_THRESHOLD - extendedRisk: LOW - customerRefId: customer_ref_789 - customerShortName: ACME Corp - verdict: PASS - risk: LOW - refId: ref_12345 - category: EXCHANGE - screeningStatus: COMPLETED - matchedNoTrmScreeningRule: "{}" - categoryId: 5 - status: COMPLETED - status: Completed - createdBy: createdBy - feePayerInfo: - feePayerAccountId: "123" - destinationAddressDescription: destinationAddressDescription - operation: TRANSFER - properties: - id: - description: ID of the transaction. - type: string - externalTxId: - description: "Unique transaction ID provided by the user. Fireblocks highly\ - \ recommends setting an `externalTxId` for every transaction created,\ - \ to avoid submitting the same transaction twice." - type: string - status: - description: "The primary status of the transaction. For details, see [Primary\ - \ transaction statuses](https://developers.fireblocks.com/reference/primary-transaction-statuses)." - type: string - subStatus: - description: "See [Transaction substatuses](https://developers.fireblocks.com/reference/transaction-substatuses)\ - \ for the list of transaction sub statuses." - type: string + $ref: "#/components/schemas/DestinationTransferPeerPathResponse" txHash: - description: |- - The hash of the transaction on the blockchain. - * This parameter exists if at least one of the following conditions is met: - - 1. The transaction’s source type is `UNKNOWN`, `WHITELISTED_ADDRESS`, `NETWORK_CONNECTION`, `ONE_TIME_ADDRESS`, `FIAT_ACCOUNT` or `GAS_STATION`. - - 2. The transaction’s source type is `VAULT` and the status is either: `CONFIRMING`, `COMPLETED`, or was in any of these statuses prior to changing to `FAILED` or `REJECTED`. In some instances, transactions in status `BROADCASTING` will include the txHash as well. - - 3. The transaction’s source type is `EXCHANGE_ACCOUNT` and the transaction’s destination type is `VAULT`, and the status is either: `CONFIRMING`, `COMPLETED`, or was in any of these status prior to changing to `FAILED`. - - - * In addition, the following conditions must be met: - - 1. The asset is a crypto asset (not fiat). - - 2. The transaction operation is not RAW or `TYPED_MESSAGE`. type: string - operation: - $ref: "#/components/schemas/GetTransactionOperation" - note: - description: "Custom note, not sent to the blockchain, that describes the\ - \ transaction at your Fireblocks workspace." + networkFee: type: string assetId: - description: "The ID of the asset to transfer, for `TRANSFER`, `MINT`, `BURN`,\ - \ `ENABLE_ASSET`,`STAKE` ,`UNSTAKE` or `WITHDRAW` operations. [See the\ - \ list of supported assets and their IDs on Fireblocks.](https://developers.fireblocks.com/reference/get_supported-assets)" type: string x-fb-entity: asset - assetType: - description: Type classification of the asset - example: ERC20 - type: string - source: - $ref: "#/components/schemas/SourceTransferPeerPathResponse" - sourceAddress: - description: |- - For account based assets only, the source address of the transaction. - **Note:** If the status is `CONFIRMING`, `COMPLETED`, or has been `CONFIRMING`; then moved forward to `FAILED` or `REJECTED`, then this parameter will contain the source address. In any other case, this parameter will be empty. + netAmount: + description: "The net amount of the transaction, after fee deduction" type: string - tag: - description: "Source address tag for XRP, used as memo for EOS/XLM, or Bank\ - \ Transfer Description for the fiat provider BLINC (by BCB Group)." + isDropped: + type: boolean + type: type: string - destination: - $ref: "#/components/schemas/DestinationTransferPeerPathResponse" - destinations: - description: |- - The transaction’s destinations. - **Note:** In case the transaction is sent to a single destination, the `destination` parameter is used instead of this. - items: - $ref: "#/components/schemas/TransactionResponseDestination" - type: array destinationAddress: - description: |- - Address where the asset were transferred. - Notes: - - For [Multi destination transactions](https://support.fireblocks.io/hc/en-us/articles/360018447980-Multi-destination-transactions), this parameter will be empty. In this case, you should refer to the destinations field. - - If the status is `CONFIRMING`, `COMPLETED`, or has been `CONFIRMING`; then moved forward to `FAILED` or `REJECTED`, then this parameter will contain the destination address. In any other case, this parameter will be empty. type: string - destinationAddressDescription: - description: Description of the address. + amountUSD: type: string - destinationTag: - description: "Destination address tag for XRP, used as memo for EOS/XLM,\ - \ or Bank Transfer Description for the fiat provider BLINC (by BCB Group)." + rewardInfo: + $ref: "#/components/schemas/RewardInfo" + type: object + AmlStatusEnum: + description: AML screening status + enum: + - COMPLETED + - PENDING + - BYPASSED + - FAILED + - FROZEN + example: COMPLETED + type: string + ScreeningVerdictEnum: + description: | + The final verdict of the screening (unified for AML, Travel Rule, and TRLink). + Different providers may return different verdict values: + - AML: PASS, FAIL, ALERT + - Travel Rule: PASS, FAIL, TRAVEL_RULE_REQUIRED + - TRLink: PASS, REJECT, WARN + enum: + - PASS + - FAIL + - ALERT + - REJECT + - WARN + - TRAVEL_RULE_REQUIRED + - ACCEPT + - REVIEW + example: PASS + type: string + ScreeningRiskLevelEnum: + description: | + Risk level assessment for screening results. + Possible values vary by provider and context. + enum: + - VERY_HIGH + - SEVERE + - HIGH + - MEDIUM + - LOW + - UNKNOWN + example: LOW + type: string + AlertLevelEnum: + description: Alert level severity + enum: + - SEVERE + - HIGH + - MEDIUM + - LOW + example: HIGH + type: string + AlertExposureTypeEnum: + description: Alert exposure type (AlertExposureType enum) + enum: + - DIRECT + - INDIRECT + example: DIRECT + type: string + AmlAlert: + description: AML alert information + example: + policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + properties: + alertLevel: + $ref: "#/components/schemas/AlertLevelEnum" + alertName: + description: Name or type of the alert + example: Sanctions Match type: string - contractCallDecodedData: - $ref: "#/components/schemas/TransactionResponse_contractCallDecodedData" - amountInfo: - $ref: "#/components/schemas/AmountInfo" - treatAsGrossAmount: - description: |- - For transactions initiated via this Fireblocks workspace, when set to `true`, the fee is 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. - type: boolean - feeInfo: - $ref: "#/components/schemas/FeeInfo" - feeCurrency: - description: "The asset which was withdrawn to pay the transaction fee,\ - \ for example ETH for EVM-based blockchains, BTC for Tether Omni." + category: + description: Alert category + example: SANCTIONED_ENTITY type: string - networkRecords: - description: "In case a single transaction resulted with multiple transfers,\ - \ for example a result of a contract call, then this parameter specifies\ - \ each transfer that took place on the blockchain. In case of a single\ - \ transfer transaction, this parameter is empty." - items: - $ref: "#/components/schemas/NetworkRecord" - type: array - createdAt: - description: "The transaction’s creation date and time, in unix timestamp." - type: number - lastUpdated: - description: "The transaction’s last update date and time, in unix timestamp." - type: number - createdBy: - description: User ID of the initiator of the transaction. + service: + description: Service that generated the alert + example: CHAINALYSIS type: string - signedBy: - description: User ID’s of the signers of the transaction. - items: - type: string - type: array - rejectedBy: - description: User ID of the user that rejected the transaction (in case - it was rejected). + externalId: + description: External identifier for the alert + example: alert_12345 type: string - authorizationInfo: - $ref: "#/components/schemas/AuthorizationInfo" - exchangeTxId: - description: "If the transaction originated from an exchange, this is the\ - \ ID of this transaction at the exchange." + alertAmount: + description: Amount associated with the alert + example: 1000.5 + type: number + exposureType: + $ref: "#/components/schemas/AlertExposureTypeEnum" + policyAction: + description: Recommended action based on policy + example: BLOCK type: string - customerRefId: - description: The ID for AML providers to associate the owner of funds with - transactions. + categoryId: + description: Category identifier + example: 101 + type: number + required: + - alertAmount + - alertLevel + - exposureType + - externalId + type: object + PolicyVerdictActionEnum: + description: Policy verdict action + enum: + - ALLOW + - BLOCK + - 2-TIER + - SCREEN + - ACCEPT + - REJECT + - ALERT + - WAIT + - FREEZE + - CANCEL + example: ALLOW + type: string + AmlMatchedRule: + description: AML matched rule information + example: + ruleName: High Risk Sanctions Check + action: ALLOW + ruleId: rule_001 + properties: + ruleId: + description: Identifier of the matched rule + example: rule_001 type: string - amlScreeningResult: - $ref: "#/components/schemas/AmlScreeningResult" - complianceResults: - $ref: "#/components/schemas/ComplianceResults" - notBroadcastByFireblocks: - description: Indicates the transaction was not broadcast by Fireblocks - example: false - type: boolean - dappUrl: - description: DApp URL for Web3 transactions - example: https://app.uniswap.org - type: string - gasLimit: - description: Gas limit for EVM-based blockchain transactions - example: "21000" - type: string - blockchainIndex: - description: Blockchain-specific index or identifier for the transaction - example: 1.1.1 - type: string - paidRent: - description: Solana rent payment amount - example: "0.00203928" + ruleName: + description: Name of the matched rule + example: High Risk Sanctions Check type: string - extraParameters: + action: + $ref: "#/components/schemas/PolicyVerdictActionEnum" + type: object + AmlResult: + description: | + Detailed AML screening result information. + Contains alerts, risk scores, and other AML-specific data from provider-specific responses. + example: + alerts: + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + matchedRule: + ruleName: High Risk Sanctions Check + action: ALLOW + ruleId: rule_001 + matchedAlert: + policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + providerResponse: + key: "" + properties: + alerts: + description: List of AML alerts triggered during screening + items: + $ref: "#/components/schemas/AmlAlert" + type: array + providerResponse: + additionalProperties: true description: | - Additional protocol / operation specific key-value parameters: - - For UTXO-based blockchain input selection, add the key `inputsSelection` with the value set the [input selection structure.](https://developers.fireblocks.com/reference/transaction-objects#inputsselection) The inputs can be retrieved from the [Retrieve Unspent Inputs endpoint.](https://developers.fireblocks.com/reference/get_vault-accounts-vaultaccountid-assetid-unspent-inputs) + Complete response from the AML provider. This is a dynamic object that varies + significantly between different AML providers (Chainalysis, Elliptic, etc.). + Each provider has their own proprietary response format and schema. - For `RAW` operations, add the key `rawMessageData` with the value set to the [raw message data structure.](https://developers.fireblocks.com/reference/raw-signing-objects#rawmessagedata) + Examples of provider-specific structures: + - Chainalysis: Contains cluster info, risk scores, sanctions data + - Elliptic: Includes risk assessment, entity types, compliance flags - For `CONTRACT_CALL` operations, add the key `contractCallData` with the value set to the Ethereum smart contract Application Binary Interface (ABI) payload. The Fireblocks [development libraries](https://developers.fireblocks.com/docs/ethereum-development#convenience-libraries) are recommended for building contract call transactions. - For **exchange compliance (e.g., Binance) and Travel Rule purposes**, include the key `piiData` containing a **custom JSON structure** with Personally Identifiable Information (PII) relevant to the transaction. This data must be fully **encrypted by the sender** before being submitted to the Fireblocks API. The recommended encryption method is **hybrid encryption** using AES-256-GCM for the payload and RSA-OAEP for key exchange, with the recipient exchange’s public key. [development libraries](https://developers.fireblocks.com/docs/a-developers-guide-to-constructing-encrypted-pii-messages-for-binance-via-fireblocks) - properties: {} + The structure is provider-dependent and cannot be standardized as each + vendor implements their own proprietary data models and response formats. type: object - signedMessages: - items: - $ref: "#/components/schemas/SignedMessage" - type: array - numOfConfirmations: - description: The number of confirmations of the transaction. The number - will increase until the transaction will be considered completed according - to the confirmation policy. - type: number - blockInfo: - $ref: "#/components/schemas/BlockInfo" - index: - 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. - type: number - rewardInfo: - $ref: "#/components/schemas/RewardInfo" - feePayerInfo: - $ref: "#/components/schemas/FeePayerInfo" - systemMessages: - $ref: "#/components/schemas/SystemMessageInfo" - addressType: - enum: - - "" - - WHITELISTED - - ONE_TIME - type: string - requestedAmount: - deprecated: true - description: The amount requested by the user. Deprecated - please use the - `amountInfo` field for accuracy. - type: number - amount: - deprecated: true - 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." - type: number - netAmount: - deprecated: true - description: "The net amount of the transaction, after fee deduction. Deprecated\ - \ - please use the `amountInfo` field for accuracy." - type: number + matchedRule: + $ref: "#/components/schemas/AmlMatchedRule" + matchedAlert: + $ref: "#/components/schemas/AmlAlert" + type: object + TravelRuleDirectionEnum: + description: Travel rule direction + enum: + - INBOUND + - OUTBOUND + example: OUTBOUND + type: string + TravelRuleVerdictEnum: + description: The final verdict of the travel rule screening + enum: + - ACCEPT + - REJECT + - ALERT + - REVIEW + example: ACCEPT + type: string + TravelRuleStatusEnum: + description: Travel rule status + enum: + - COMPLETED + - PENDING + - BYPASSED + - FAILED + - FROZEN + example: COMPLETED + type: string + TravelRuleMatchedRule: + description: The travel rule configuration that was matched + example: + amountUSD: 1000.5 + amount: 0.025 + action: ACCEPT + asset: BTC + direction: OUTBOUND + status: COMPLETED + properties: + direction: + $ref: "#/components/schemas/TravelRuleDirectionEnum" + status: + $ref: "#/components/schemas/TravelRuleStatusEnum" amountUSD: - deprecated: true - description: The USD value of the requested amount. Deprecated - please - use the `amountInfo` field for accuracy. - nullable: true - type: number - serviceFee: - deprecated: true - description: The total fee deducted by the exchange from the actual requested - amount (`serviceFee` = `amount` - `netAmount`). Deprecated - please use - the `feeInfo` field for accuracy. - type: number - fee: - deprecated: true - description: Deprecated - please use the `feeInfo` field for accuracy. + description: Amount in USD + example: 1000.5 type: number - networkFee: - deprecated: true - description: The fee paid to the network. Deprecated - please use the `feeInfo` - field for accuracy. + amount: + description: Amount in base currency + example: 0.025 type: number - errorDescription: - description: The transaction's revert reason. This field will be returned - when `subStatus` = 'SMART_CONTRACT_EXECUTION_FAILED'. - type: string - replacedTxHash: - description: "if the transaction is a replace by fee (RBF) transaction,\ - \ this is the hash of the transsaction that was replaced" - type: string - nonce: - description: blockchain nonce for the transaction - example: "11228" + asset: + description: Asset identifier + example: BTC type: string - blockchainInfo: - description: A JSON used to store additional data that is blockchain-specific. - example: - evmTransferType: NATIVE - type: object + action: + $ref: "#/components/schemas/TravelRuleVerdictEnum" type: object - GetTransactionsResponse: - items: - $ref: "#/components/schemas/TransactionResponse" - type: array - TransactionOperation: - default: TRANSFER + TravelRuleResult: description: | - * `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. + Detailed Travel Rule screening result containing provider-specific data. + Contains Travel Rule specific information like verified status, rule type, and actions. + example: + matchedRule: + amountUSD: 1000.5 + amount: 0.025 + action: ACCEPT + asset: BTC + direction: OUTBOUND + status: COMPLETED + isVerified: true + action: ACCEPT + providerResponse: + key: "" + direction: OUTBOUND + properties: + direction: + $ref: "#/components/schemas/TravelRuleDirectionEnum" + isVerified: + description: Whether the travel rule information was verified + example: true + type: boolean + action: + $ref: "#/components/schemas/TravelRuleVerdictEnum" + providerResponse: + additionalProperties: true + description: | + Complete response from the travel rule provider. This is a dynamic object that varies + significantly between different travel rule providers (NOTABENE etc.). + Each provider has their own proprietary response format and schema. + + Examples of provider-specific structures: + - NOTABENE: Contains VASP information, PII data, protocol-specific fields + + The structure is provider-dependent and cannot be standardized as each + vendor implements their own proprietary data models and response formats. + type: object + matchedRule: + $ref: "#/components/schemas/TravelRuleMatchedRule" + type: object + TransferPeerTypeEnum: + description: Transfer peer type (source or destination) + enum: + - VAULT_ACCOUNT + - EXCHANGE_ACCOUNT + - INTERNAL_WALLET + - EXTERNAL_WALLET + - CONTRACT + - NETWORK_CONNECTION + - FIAT_ACCOUNT + - COMPOUND + - GAS_STATION + - ONE_TIME_ADDRESS + - UNKNOWN + - END_USER_WALLET + - PROGRAM_CALL + - MULTI_DESTINATION + example: VAULT_ACCOUNT + type: string + TransferPeerSubTypeEnum: + description: Transfer peer sub-type for prescreening rules + enum: + - EXTERNAL + - INTERNAL + - CONTRACT + - EXCHANGETEST + example: INTERNAL + type: string + TransactionOperationEnum: + description: Transaction operation type enum: - TRANSFER - BURN - CONTRACT_CALL - - PROGRAM_CALL - MINT - RAW - TYPED_MESSAGE - - APPROVE - ENABLE_ASSET + - STAKE + - UNSTAKE + - WITHDRAW + - REDEEM_FROM_COMPOUND + - SUPPLY_TO_COMPOUND + - PROGRAM_CALL + - APPROVE + example: TRANSFER type: string - TransferPeerPathSubType: + TravelRuleActionEnum: + description: Travel rule action enum: - - BINANCE - - BINANCEUS - - BITFINEX - - BITHUMB - - BITMEX - - BITSO - - BITSTAMP - - BITTREX - - BLINC - - BYBIT - - CIRCLE - - COINBASEEXCHANGE - - COINBASEPRO - - COINMETRO - - COINSPRO - - CRYPTOCOM - - DERIBIT - - GEMINI - - HITBTC - - HUOBI - - INDEPENDENTRESERVE - - KORBIT - - KRAKEN - - KRAKENINTL - - KUCOIN - - LIQUID - - OKCOIN - - OKEX - - PAXOS - - POLONIEX - - External - - Internal + - SCREEN + - BYPASS + - BLOCK + example: SCREEN type: string - SourceTransferPeerPath: - description: The source of the transaction. + TravelRulePrescreeningRule: + description: | + Matched prescreening rule details. + Prescreening rules are evaluated before the main screening to determine + if screening is necessary or should be bypassed. example: - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - isCollateral: true - name: name - subType: BINANCE - id: id - type: VAULT_ACCOUNT + sourceId: "0" + amount: 0.5 + amountUSD: 1000 + bypassReason: MANUAL + baseAsset: ETH + destType: VAULT_ACCOUNT + transferPeerSubType: INTERNAL + destId: ext_address_001 + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + transferPeerType: VAULT_ACCOUNT + action: SCREEN + sourceSubType: INTERNAL + asset: ETH + operation: TRANSFER + networkProtocol: ETH properties: - type: - $ref: "#/components/schemas/TransferPeerPathType" - subType: - $ref: "#/components/schemas/TransferPeerPathSubType" - id: - type: string - name: - type: string - walletId: - format: uuid + bypassReason: + description: Reason for bypass if prescreening rule triggered a bypass + example: MANUAL type: string - isCollateral: - description: indicate if the source is collateral account - example: true - type: boolean - required: - - type - type: object - OneTimeAddress: - example: - address: address - tag: tag - properties: - address: + sourceType: + $ref: "#/components/schemas/TransferPeerTypeEnum" + sourceSubType: + $ref: "#/components/schemas/TransferPeerSubTypeEnum" + destType: + $ref: "#/components/schemas/TransferPeerTypeEnum" + destSubType: + $ref: "#/components/schemas/TransferPeerSubTypeEnum" + transferPeerType: + $ref: "#/components/schemas/TransferPeerTypeEnum" + transferPeerSubType: + $ref: "#/components/schemas/TransferPeerSubTypeEnum" + destAddress: + description: Destination address + example: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 type: string - tag: + sourceId: + description: Source ID + example: "0" type: string - required: - - address - type: object - DestinationTransferPeerPath: - description: The destination of the transaction. - example: - oneTimeAddress: - address: address - tag: tag - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - isCollateral: true - name: name - subType: null - id: id - type: null - properties: - type: - $ref: "#/components/schemas/TransferPeerPathType" - subType: - $ref: "#/components/schemas/TransferPeerPathSubType" - id: + destId: + description: Destination ID + example: ext_address_001 type: string - name: + asset: + description: Asset identifier + example: ETH type: string - walletId: - format: uuid + baseAsset: + description: Base asset + example: ETH type: string - oneTimeAddress: - $ref: "#/components/schemas/OneTimeAddress" - isCollateral: - description: indicate if the destination is collateral account - example: true - type: boolean - required: - - type - type: object - TransactionRequestDestination: - example: - amount: amount - destination: - oneTimeAddress: - address: address - tag: tag - walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - isCollateral: true - name: name - subType: null - id: id - type: null - customerRefId: abcdef - travelRuleMessageId: trm_12345678-1234-1234-1234-123456789012 - properties: amount: + description: Amount + example: 0.5 + type: number + amountUSD: + description: Amount in USD + example: 1000 + type: number + networkProtocol: + description: Network protocol + example: ETH type: string - destination: - $ref: "#/components/schemas/DestinationTransferPeerPath" - travelRuleMessageId: - 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. - example: trm_12345678-1234-1234-1234-123456789012 - type: string - customerRefId: - description: The ID for AML providers to associate the owner of funds with - transactions. - example: abcdef - type: string + operation: + $ref: "#/components/schemas/TransactionOperationEnum" + action: + $ref: "#/components/schemas/TravelRuleActionEnum" type: object - TravelRuleTransactionBlockchainInfo: - description: Information about the blockchain transaction. - example: - origin: 8.41132469470587E+47 - destination: 8.41132469470587E+47 - txHash: 6.685730843558756E+76 - properties: - txHash: - description: The hash of the transaction - example: 6.685730843558756E+76 - type: string - origin: - description: The origin address of the transaction - example: 8.41132469470587E+47 - type: string - destination: - description: The destination address of the transaction - example: 8.41132469470587E+47 - type: string - type: object - TravelRuleNaturalNameIdentifier: + ComplianceScreeningResult: + description: | + The result of the AML/Travel Rule screening. + This unified schema contains all fields that may be returned for both AML and Travel Rule screening results. + Not all fields will be present in every response - the actual fields depend on the screening type and provider. example: - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + prevBypassReason: BELOW_THRESHOLD + prevStatus: COMPLETED + destTag: memo_12345 + addressResolutionSignature: 0x1234567890abcdef + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + amountUSD: 1000.5 + amount: 0.025 + action: ACCEPT + asset: BTC + direction: OUTBOUND + status: COMPLETED + isVerified: true + action: ACCEPT + providerResponse: + key: "" + direction: OUTBOUND + matchedRule: "{}" + provider: NOTABENE + payload: "{}" + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + destRecordId: record_001 + amlResult: + alerts: + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + matchedRule: + ruleName: High Risk Sanctions Check + action: ALLOW + ruleId: rule_001 + matchedAlert: + policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + providerResponse: + key: "" + matchedAlert: "{}" + timestamp: 1753459111824 + matchedPrescreeningRule: + sourceId: "0" + amount: 0.5 + amountUSD: 1000 + bypassReason: MANUAL + baseAsset: ETH + destType: VAULT_ACCOUNT + transferPeerSubType: INTERNAL + destId: ext_address_001 + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + transferPeerType: VAULT_ACCOUNT + action: SCREEN + sourceSubType: INTERNAL + asset: ETH + operation: TRANSFER + networkProtocol: ETH + detailsMessage: Travel rule screening completed successfully + externalId: aml_screening_12345 + bypassReason: BELOW_THRESHOLD + extendedRisk: LOW + customerRefId: customer_ref_789 + customerShortName: ACME Corp + verdict: PASS + risk: LOW + refId: ref_12345 + category: EXCHANGE + screeningStatus: COMPLETED + matchedNoTrmScreeningRule: "{}" + categoryId: 5 + status: COMPLETED properties: - primaryIdentifier: - description: The primary identifier of the name. The value must be encrypted. - example: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - type: string - secondaryIdentifier: - description: The secondary identifier of the name. The value must be encrypted. - example: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - type: string - nameIdentifierType: - description: "The type of the name identifier. The value must be encrypted.\ - \ The value must be one of the following: [LEGL, DBA, TRAD, NICK, ALIA,\ - \ MAID, FORM, PREV, BORN, OTHR]." - example: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + provider: + description: | + The AML/Travel Rule provider name. + For AML: ELLIPTIC, CHAINALYSIS, SCORECHAIN, MERKLE_SCIENCE, etc. + For Travel Rule: NOTABENE, SYGNA, or any TRLink provider name + example: NOTABENE type: string - type: object - TravelRuleNaturalPersonNameIdentifier: - example: - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - properties: - nameIdentifier: - items: - $ref: "#/components/schemas/TravelRuleNaturalNameIdentifier" - type: array - localNameIdentifier: - items: - $ref: "#/components/schemas/TravelRuleNaturalNameIdentifier" - type: array - phoneticNameIdentifier: - items: - $ref: "#/components/schemas/TravelRuleNaturalNameIdentifier" - type: array - type: object - TravelRuleGeographicAddress: - example: - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - properties: - streetName: - description: Name of a street or thoroughfare. The value must be encrypted. - example: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + payload: + description: | + The raw payload of the screening result from the provider. + The payload is a JSON object that contains the screening result. + The payload structure is different for each screening provider. + This field contains the complete, unmodified response from the screening service. + type: object + timestamp: + description: Unix timestamp in milliseconds when the screening result was + generated + example: 1753459111824 + format: date-time + type: number + screeningStatus: + description: Current status of the screening process + enum: + - COMPLETED + - PENDING + - BYPASSED + - FAILED + - FROZEN + example: COMPLETED type: string - townName: - description: "Name of a built-up area, with defined boundaries, and a local\ - \ government. The value must be encrypted." - example: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + bypassReason: + description: | + Reason for bypassing the screening, if applicable. + For AML: SANCTIONS_SCREENING_BYPASS, SANCTIONS_RECIPIENT_BYPASS, etc. + For Travel Rule: BELOW_THRESHOLD, NO_TRM_AVAILABLE, etc. + example: BELOW_THRESHOLD type: string - country: - description: Nation with its own government (ISO-3166 Alpha-2 country code). - The value must be encrypted. - example: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + status: + $ref: "#/components/schemas/AmlStatusEnum" + prevStatus: + $ref: "#/components/schemas/AmlStatusEnum" + prevBypassReason: + description: Previous bypass reason before the current bypass reason change + example: BELOW_THRESHOLD type: string - buildingNumber: - description: Number that identifies the position of a building on a street. - The value must be encrypted. - example: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + verdict: + $ref: "#/components/schemas/ScreeningVerdictEnum" + risk: + $ref: "#/components/schemas/ScreeningRiskLevelEnum" + extendedRisk: + $ref: "#/components/schemas/ScreeningRiskLevelEnum" + externalId: + description: External identifier for the screening (provider-specific) + example: aml_screening_12345 type: string - postCode: - description: Identifier consisting of a group of letters and/or numbers - added to a postal address to assist the sorting of mail. The value must - be encrypted. - example: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerRefId: + description: Customer-provided reference identifier for tracking + example: customer_ref_789 type: string - addressType: - description: "Specifies the type of address. Acceptable values are: - 'HOME':\ - \ Residential, the home address - 'BIZZ': Business, the business address\ - \ - 'GEOG': Geographic, an unspecified physical (geographical) address\ - \ The value must be encrypted." - example: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + refId: + description: Internal reference identifier + example: ref_12345 type: string - department: - description: Identification of a division of a large organisation or building. - The value must be encrypted. - example: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + category: + description: | + Risk category classification. + Examples: EXCHANGE, GAMBLING, MIXER, DARKNET_SERVICE, SANCTIONED_ENTITY + example: EXCHANGE type: string - subDepartment: - description: Identification of a sub-division of a large organisation or - building. The value must be encrypted. - example: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + categoryId: + description: Numeric identifier for the risk category + example: 5 + type: number + destAddress: + description: The destination blockchain address associated with the screening + example: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 type: string - buildingName: - description: Name of the building or house. The value must be encrypted. - example: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + destTag: + description: "Destination tag or memo (for chains that support it like XRP,\ + \ XLM)" + example: memo_12345 type: string - floor: - description: Floor or storey within a building. The value must be encrypted. - example: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + destRecordId: + description: The destination record identifier used by the screening provider + example: record_001 type: string - postBox: - description: Numbered box in a post office. The value must be encrypted. - example: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressResolutionSignature: + description: Cryptographic signature for address resolution verification + example: 0x1234567890abcdef type: string - room: - description: Building room number. The value must be encrypted. - example: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + amlResult: + $ref: "#/components/schemas/AmlResult" + result: + $ref: "#/components/schemas/TravelRuleResult" + detailsMessage: + description: Additional human-readable details or message about the screening + result + example: Travel rule screening completed successfully type: string - townLocationName: - description: Specific location name within the town. The value must be encrypted. - example: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + matchedAlert: + description: | + Information about the AML alert that was matched, if any. + Contains details about the specific alert that triggered during screening. + type: object + matchedRule: + description: | + The matched rule information for this screening result. + Contains details about which screening rule was applied and matched. + type: object + matchedPrescreeningRule: + $ref: "#/components/schemas/TravelRulePrescreeningRule" + matchedNoTrmScreeningRule: + description: | + Matched no-TRM (Travel Rule Message) screening rule details. + Used when TRLink screening detects a missing TRM scenario. + type: object + customerIntegrationId: + description: Customer integration identifier used by Travel Rule providers + example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 type: string - districtName: - description: Identifies a subdivision within a country subdivision. The - value must be encrypted. - example: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + customerShortName: + description: Customer short name registered with Travel Rule providers + example: ACME Corp type: string - countrySubDivision: - description: "Identifies a subdivision of a country such as state, region,\ - \ or province. The value must be encrypted." - example: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + travelRuleMessageId: + description: Travel rule message identifier for linking and tracking across + providers + example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 type: string - addressLine: - description: "Information that locates and identifies a specific address,\ - \ presented in free format text. Each item must be encrypted." - example: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - items: - type: string - type: array type: object - TravelRuleNationalIdentification: - description: Represents a national identifier for a person or entity + ComplianceResultStatusesEnum: + description: Status of compliance result screening + enum: + - Unknown + - Stalled + - Started + - NetworkConnectionAddressResolve + - ScreeningPrepare + - AMLStarted + - AMLCompleted + - AMLFailed + - AMLInBackground + - TRPreconditionChecks + - TRStarted + - TRLinkStarted + - TRLinkDestinationStarted + - TRLinkDestinationPrescreenPolicy + - TRLinkDestinationNoTRMPolicy + - TRLinkDestinationScreen + - TRLinkDestinationPostscreenPolicy + - TRLinkDestinationCompleted + - TRLinkCompleted + - TRCompleted + - TRFailed + - Completed + - RegistrationStarted + - RegistrationWaitForFirstConfirmation + - AMLRegistrationStarted + - AMLRegistrationCompleted + - TRUpdateStarted + - TRUpdateCompleted + - UpdateCompleted + - IncomingStarted + - IncomingByorkSL + - IncomingScreeningPrepare + - IncomingWaitForFirstConfirmation + - AMLIncomingStarted + - AMLIncomingCompleted + - AMLIncomingFailed + - AMLIncomingInBackground + - TRIncomingStarted + - TRIncomingCompleted + - TRIncomingFailed + - IncomingCompleted + - AddressAmlInitiated + - AddressAmlAddressResolve + - AddressAmlPrepare + - AddressAmlProcessing + - AddressAmlSucceeded + - AddressAmlFailed + - AddressAmlCompleted + example: Completed + type: string + AmlRegistrationResult: example: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + provider: provider + success: true + timestamp: 5.962133916683182 properties: - countryOfIssue: - description: Country that issued the national identifier (ISO-3166 Alpha-2 - country code). The value must be encrypted. - example: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - type: string - nationalIdentifier: - description: National identifier (max 35 characters). The value must be - encrypted. - example: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - type: string - nationalIdentifierType: - description: "Type of national identifier. Acceptable values include: -\ - \ 'PASSPORT': Passport number - 'NATIONAL_ID': National identification\ - \ number - 'TAX_ID': Tax identification number - 'SOCIAL_SECURITY': Social\ - \ security number The value must be encrypted." - example: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - type: string - registrationAuthority: - description: Registration authority (format -> RA followed by 6 digits). - The value must be encrypted. - example: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + provider: type: string + success: + type: boolean + timestamp: + type: number type: object - TravelRuleDateAndPlaceOfBirth: - description: Represents the date and place of birth for a natural person + TRLinkRegistrationStatus: + description: TRLink registration status + enum: + - STARTING + - PRESCREENED + - COMPLETED + - FAILED + - VOID + example: COMPLETED + type: string + TRLinkProviderResult: + description: Provider-specific response data wrapper example: - placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + providerResponse: "{}" properties: - dateOfBirth: - description: Date of birth. The value must be encrypted. - example: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + providerResponse: + description: Raw provider response + type: object + type: object + TransactionDirection: + description: Transaction direction + enum: + - INBOUND + - OUTBOUND + example: OUTBOUND + type: string + AmountRangeMinMax: + description: Amount range with minimum and maximum values + example: + min: "100" + max: "10000" + properties: + min: + description: Minimum amount + example: "100" type: string - placeOfBirth: - description: Place of birth. The value must be encrypted. - example: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + max: + description: Maximum amount + example: "10000" type: string type: object - TravelRuleNaturalPerson: + TRLinkAmount: + description: "TRLink amount definition with range and currency, compatible with\ + \ TAP format from Policy Engine V2" example: - dateAndPlaceOfBirth: - placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - name: - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + range: + min: "100" + max: "10000" + currency: USD properties: - name: - description: "An array of structured name identifiers for the natural person,\ - \ referencing the TravelRuleNaturalPersonNameIdentifier schema." - items: - $ref: "#/components/schemas/TravelRuleNaturalPersonNameIdentifier" - type: array - geographicAddress: - description: "An array of geographic addresses associated with the natural\ - \ person, referencing the TravelRuleGeographicAddress schema." - items: - $ref: "#/components/schemas/TravelRuleGeographicAddress" - type: array - nationalIdentification: - $ref: "#/components/schemas/TravelRuleNationalIdentification" - dateAndPlaceOfBirth: - $ref: "#/components/schemas/TravelRuleDateAndPlaceOfBirth" - customerIdentification: - description: A unique identifier for the customer within the organization's - context. The value must be encrypted. - example: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - type: string - countryOfResidence: - description: The ISO-3166 Alpha-2 country code of the natural person's residence. - The value must be encrypted. - example: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - type: string - customerNumber: - description: A distinct identifier that uniquely identifies the customer - within the organization. The value must be encrypted. - example: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + range: + $ref: "#/components/schemas/AmountRangeMinMax" + currency: + description: Currency type + enum: + - USD + - NATIVE + example: USD type: string type: object - TravelRuleLegalPersonNameIdentifier: - example: - legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e - legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q + TRLinkRuleBase: + description: Base interface for TRLink policy rules properties: - legalPersonName: - description: Name by which the legal person is known. The value must be - encrypted. - example: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q + customerId: + description: Reference to TrlinkCustomer.id + example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 type: string - legalPersonNameIdentifierType: - description: "Specifies the type of name for a legal person. Acceptable\ - \ values are: - 'REGISTERED': The official registered name. - 'TRADE':\ - \ A trading name or DBA (Doing Business As) name. - 'OTHER': Any other\ - \ type of name. The value must be encrypted." - example: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e + direction: + $ref: "#/components/schemas/TransactionDirection" + sourceType: + $ref: "#/components/schemas/TransferPeerTypeEnum" + sourceSubType: + $ref: "#/components/schemas/TransferPeerSubTypeEnum" + sourceAddress: + description: Source address + example: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + type: string + destType: + $ref: "#/components/schemas/TransferPeerTypeEnum" + destSubType: + $ref: "#/components/schemas/TransferPeerSubTypeEnum" + destAddress: + description: Destination address + example: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + type: string + sourceId: + description: Source ID + example: "1" + type: string + destId: + description: Destination ID + example: "1" + type: string + asset: + description: Asset symbol + example: BTC + type: string + baseAsset: + description: Base asset symbol + example: USD + type: string + amount: + $ref: "#/components/schemas/TRLinkAmount" + networkProtocol: + description: Network protocol + example: BITCOIN type: string + operation: + $ref: "#/components/schemas/TransactionOperationEnum" + description: + description: Rule description + type: string + isDefault: + default: false + description: Whether this is a default rule + type: boolean type: object - TravelRuleLegalPerson: + TRLinkPreScreeningAction: + description: TRLink pre-screening action + enum: + - SCREEN + - PASS + example: SCREEN + type: string + TRLinkPreScreeningRule: + allOf: + - $ref: "#/components/schemas/TRLinkRuleBase" + - properties: + action: + $ref: "#/components/schemas/TRLinkPreScreeningAction" + required: + - action + type: object + description: TRLink pre-screening rule definition example: - name: - legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e - legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 - customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy - countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: SCREEN + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + type: object + TRLinkRegistrationResult: + description: TRLink registration result containing status and metadata + example: + result: + providerResponse: "{}" + matchedPrescreeningRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: SCREEN + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + customerShortName: ACME Corp + provider: SUMSUB + success: true + destRecordId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + status: COMPLETED + timestamp: 1640995200000 properties: - name: - $ref: "#/components/schemas/TravelRuleLegalPersonNameIdentifier" - geographicAddress: - description: The array of geographic addresses associated with the legal - person. - items: - $ref: "#/components/schemas/TravelRuleGeographicAddress" - type: array - nationalIdentification: - $ref: "#/components/schemas/TravelRuleNationalIdentification" - customerIdentification: - description: A unique identifier that identifies the customer in the organization's - context. The value must be encrypted. - example: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy + status: + $ref: "#/components/schemas/TRLinkRegistrationStatus" + provider: + description: The TRLink provider name + example: SUMSUB type: string - customerNumber: - description: A distinct identifier that uniquely identifies the customer - within the organization. The value must be encrypted. - example: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 + success: + description: Whether the registration was successful + example: true + type: boolean + timestamp: + description: Unix timestamp of the registration + example: 1640995200000 + type: number + destRecordId: + description: Destination record identifier + example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 type: string - countryOfRegistration: - description: The ISO-3166 Alpha-2 country code where the legal person is - registered. The value must be encrypted. - example: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr + travelRuleMessageId: + description: Travel rule message identifier for linking + example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + type: string + customerIntegrationId: + description: Customer integration identifier + example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + type: string + customerShortName: + description: Customer short name + example: ACME Corp type: string + result: + $ref: "#/components/schemas/TRLinkProviderResult" + matchedPrescreeningRule: + $ref: "#/components/schemas/TRLinkPreScreeningRule" + required: + - status + - timestamp type: object - TravelRulePerson: + TRLinkVerdict: + description: TRLink verdict after screening + enum: + - ACCEPT + - ALERT + - REJECT + - WAIT + example: ACCEPT + type: string + TRLinkTrmScreeningStatus: + description: TRLink TRM screening status + enum: + - PENDING + - ACCEPTED + - REJECTED + - FAILED + example: ACCEPTED + type: string + TRLinkPostScreeningRule: + allOf: + - $ref: "#/components/schemas/TRLinkRuleBase" + - properties: + providerIdent: + description: Provider identifier + example: sumsub + type: string + trmStatus: + $ref: "#/components/schemas/TRLinkTrmScreeningStatus" + validBefore: + description: Unix timestamp when rule expires + example: 1672531200000 + type: number + validAfter: + description: Unix timestamp when rule becomes valid + example: 1640995200000 + type: number + action: + $ref: "#/components/schemas/TRLinkVerdict" + required: + - action + type: object + description: TRLink post-screening rule definition example: - legalPerson: - name: - legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e - legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 - customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy - countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr - naturalPerson: - dateAndPlaceOfBirth: - placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - name: - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + trmStatus: ACCEPTED + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + providerIdent: sumsub + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: ACCEPT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + type: object + TRLinkProviderResultWithRule: + description: Provider response and matched rule wrapper for TRLink screening + results + example: + matchedRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + trmStatus: ACCEPTED + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + providerIdent: sumsub + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: ACCEPT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + providerResponse: "{}" properties: - naturalPerson: - $ref: "#/components/schemas/TravelRuleNaturalPerson" - legalPerson: - $ref: "#/components/schemas/TravelRuleLegalPerson" + providerResponse: + description: Raw provider response + type: object + matchedRule: + $ref: "#/components/schemas/TRLinkPostScreeningRule" type: object - TravelRulePiiIVMS: - description: Personal identifiable information related to the transaction + TRLinkMissingTrmAction: + description: TRLink missing TRM action + enum: + - WAIT + - REJECT + - ACCEPT + - INITIATE_TRM + example: WAIT + type: string + TRLinkMissingTrmRule: + allOf: + - $ref: "#/components/schemas/TRLinkRuleBase" + - properties: + validBefore: + description: Unix timestamp when rule expires + example: 1672531200000 + type: number + validAfter: + description: Unix timestamp when rule becomes valid + example: 1640995200000 + type: number + action: + $ref: "#/components/schemas/TRLinkMissingTrmAction" + required: + - action + type: object + description: TRLink missing TRM rule definition + type: object + TRLinkMissingTrmDecision: + allOf: + - $ref: "#/components/schemas/TRLinkMissingTrmRule" + - properties: + source: + description: TRLink missing TRM source + example: policy + type: string + timestamp: + description: Timestamp of the decision + format: date-time + type: string + reason: + description: Reason for the decision + example: Missing travel rule message + type: string + required: + - source + type: object + description: Interface for reporting missing TRM screening decisions in ITRLinkResult example: - originatorPersons: - - legalPerson: - name: - legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e - legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 - customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy - countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr - naturalPerson: - dateAndPlaceOfBirth: - placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - name: - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - - legalPerson: - name: - legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e - legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 - customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy - countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr - naturalPerson: - dateAndPlaceOfBirth: - placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - name: - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - beneficiaryPersons: - - legalPerson: - name: - legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e - legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 - customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy - countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr - naturalPerson: - dateAndPlaceOfBirth: - placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - name: - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - - legalPerson: - name: - legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e - legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 - customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy - countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr - naturalPerson: - dateAndPlaceOfBirth: - placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - name: - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - accountNumber: - - QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - - QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - properties: - originatorPersons: - description: Information about the originator of the transaction - items: - $ref: "#/components/schemas/TravelRulePerson" - type: array - beneficiaryPersons: - description: Information about the beneficiary of the transaction - items: - $ref: "#/components/schemas/TravelRulePerson" - type: array - accountNumber: - description: Beneficiary account number. The value must be encrypted. - items: - example: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - type: string - type: array + sourceId: "1" + reason: Missing travel rule message + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + source: policy + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: WAIT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + timestamp: 2000-01-23T04:56:07.000+00:00 type: object - TravelRuleOwnershipProof: - description: Ownership proof related to the originator of the transaction. + TRLinkResult: + description: TRLink screening result example: - attestation: I certify that ETH account 0x896B...0b9b belongs to me. - address: 0x896B...0b9b - proof: 0x3dd4a17a...ce4a2bcd1b - type: eip-191 - wallet_provider: Metamask - confirmed: true - url: https://example.com/uploaded_image.png + matchedPrescreeningRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: SCREEN + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + detailsMessage: Screening completed successfully + destTag: memo_12345 + bypassReason: MANUAL + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + trmStatus: ACCEPTED + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + providerIdent: sumsub + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: ACCEPT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + providerResponse: "{}" + customerShortName: ACME Corp + provider: SUMSUB + verdict: ACCEPT + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + matchedNoTrmScreeningRule: + sourceId: "1" + reason: Missing travel rule message + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + source: policy + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: WAIT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + timestamp: 2000-01-23T04:56:07.000+00:00 + timestamp: 1640995200000 + status: COMPLETED properties: - type: - description: "The type of ownership proof. Example values: - `eip-191`:\ - \ Ethereum signature proof - `eip-712`: Ethereum typed data signature\ - \ proof - `bip-137`: Bitcoin signature proof - `microtransfer`: Microtransaction\ - \ (Satoshi test) - `screenshot`: Uploaded screenshot of the wallet - `self-declaration`:\ - \ Checkbox attestation of ownership" - example: eip-191 + provider: + description: The TRLink provider name + example: SUMSUB type: string - proof: - description: "The cryptographic signature, transaction hash, or other proof\ - \ depending on the type. Examples: - For `eip-191`: `0x3dd4a17a...ce4a2bcd1b`\ - \ - For `microtransfer`: The transaction hash `H3V8GXBy39Dz...tr3TSTkY=`" - example: 0x3dd4a17a...ce4a2bcd1b + timestamp: + description: Unix timestamp of the screening result + example: 1640995200000 + type: number + status: + description: Status of the TRLink screening + enum: + - COMPLETED + - PENDING + - BYPASSED + - FAILED + - FROZEN type: string - attestation: - description: "A human-readable statement of wallet ownership. Required for\ - \ signature proofs and self-declarations. Examples: - `I certify that\ - \ ETH account 0x896B...0b9b belongs to me.` - `I hereby declare that the\ - \ blockchain address 0xa437bEed902AF9338B7DEB23848e195d85019510 is under\ - \ my control.`" - example: I certify that ETH account 0x896B...0b9b belongs to me. + verdict: + $ref: "#/components/schemas/TRLinkVerdict" + destAddress: + description: The destination address associated with the TRLink screening + example: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 type: string - address: - description: "The wallet address being verified. Examples: - For Ethereum:\ - \ `0x896B...0b9b` - For Bitcoin: `1442...dxhsQ`" - example: 0x896B...0b9b + destTag: + description: Destination tag for the screening + example: memo_12345 type: string - wallet_provider: - description: "The wallet provider or method used for verification. Examples:\ - \ - For Metamask: `Metamask` - For manual signature: `manual`" - example: Metamask + bypassReason: + description: Reason for bypassing the TRLink screening + example: MANUAL type: string - url: - description: "The URL for the uploaded screenshot (for `screenshot` proof\ - \ types only). Example: `https://example.com/uploaded_image.png`" - example: https://example.com/uploaded_image.png + detailsMessage: + description: Additional details message about the screening result + example: Screening completed successfully type: string - confirmed: - description: "Whether the user confirmed ownership of the wallet (for `self-declaration`\ - \ proofs). Example: `true`" - example: true - type: boolean + customerIntegrationId: + description: Customer integration identifier + example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + type: string + customerShortName: + description: Customer short name + example: ACME Corp + type: string + travelRuleMessageId: + description: Travel rule message identifier for linking + example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + type: string + result: + $ref: "#/components/schemas/TRLinkProviderResultWithRule" + matchedPrescreeningRule: + $ref: "#/components/schemas/TRLinkPreScreeningRule" + matchedNoTrmScreeningRule: + $ref: "#/components/schemas/TRLinkMissingTrmDecision" + required: + - provider + - status + - timestamp type: object - TravelRuleCreateTransactionRequest: + ComplianceResults: + description: The result of the Compliance AML/Travel Rule screening. example: - originatorRef: ORG123456 - travelRuleBehaviorRef: TRB987654 - originatorProof: - attestation: I certify that ETH account 0x896B...0b9b belongs to me. - address: 0x896B...0b9b - proof: 0x3dd4a17a...ce4a2bcd1b - type: eip-191 - wallet_provider: Metamask - confirmed: true - url: https://example.com/uploaded_image.png - isNonCustodial: true - beneficiaryRef: BEN654321 - originator: - originatorPersons: - - legalPerson: - name: - legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e - legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q - nationalIdentification: - nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi - countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk - nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z - geographicAddress: - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm - townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm - districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy - countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C - postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ - addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H - subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s - addressLine: - - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT - room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ - buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 - streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 - buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP - postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj - department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 - floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 - customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 - customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy - countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr - naturalPerson: - dateAndPlaceOfBirth: - placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt - name: - - localNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - phoneticNameIdentifier: - - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + aml: + prevBypassReason: BELOW_THRESHOLD + prevStatus: COMPLETED + destTag: memo_12345 + addressResolutionSignature: 0x1234567890abcdef + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + amountUSD: 1000.5 + amount: 0.025 + action: ACCEPT + asset: BTC + direction: OUTBOUND + status: COMPLETED + isVerified: true + action: ACCEPT + providerResponse: + key: "" + direction: OUTBOUND + matchedRule: "{}" + provider: NOTABENE + payload: "{}" + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + destRecordId: record_001 + amlResult: + alerts: + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + matchedRule: + ruleName: High Risk Sanctions Check + action: ALLOW + ruleId: rule_001 + matchedAlert: + policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + providerResponse: + key: "" + matchedAlert: "{}" + timestamp: 1753459111824 + matchedPrescreeningRule: + sourceId: "0" + amount: 0.5 + amountUSD: 1000 + bypassReason: MANUAL + baseAsset: ETH + destType: VAULT_ACCOUNT + transferPeerSubType: INTERNAL + destId: ext_address_001 + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + transferPeerType: VAULT_ACCOUNT + action: SCREEN + sourceSubType: INTERNAL + asset: ETH + operation: TRANSFER + networkProtocol: ETH + detailsMessage: Travel rule screening completed successfully + externalId: aml_screening_12345 + bypassReason: BELOW_THRESHOLD + extendedRisk: LOW + customerRefId: customer_ref_789 + customerShortName: ACME Corp + verdict: PASS + risk: LOW + refId: ref_12345 + category: EXCHANGE + screeningStatus: COMPLETED + matchedNoTrmScreeningRule: "{}" + categoryId: 5 + status: COMPLETED + amlRegistration: + provider: provider + success: true + timestamp: 5.962133916683182 + trlinkRegistration: + result: + providerResponse: "{}" + matchedPrescreeningRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: SCREEN + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + customerShortName: ACME Corp + provider: SUMSUB + success: true + destRecordId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + status: COMPLETED + timestamp: 1640995200000 + trlinkDestinations: + - matchedPrescreeningRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: SCREEN + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + detailsMessage: Screening completed successfully + destTag: memo_12345 + bypassReason: MANUAL + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + trmStatus: ACCEPTED + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + providerIdent: sumsub + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: ACCEPT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + providerResponse: "{}" + customerShortName: ACME Corp + provider: SUMSUB + verdict: ACCEPT + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + matchedNoTrmScreeningRule: + sourceId: "1" + reason: Missing travel rule message + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + source: policy + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: WAIT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + timestamp: 2000-01-23T04:56:07.000+00:00 + timestamp: 1640995200000 + status: COMPLETED + - matchedPrescreeningRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: SCREEN + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + detailsMessage: Screening completed successfully + destTag: memo_12345 + bypassReason: MANUAL + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + trmStatus: ACCEPTED + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + providerIdent: sumsub + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: ACCEPT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + providerResponse: "{}" + customerShortName: ACME Corp + provider: SUMSUB + verdict: ACCEPT + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + matchedNoTrmScreeningRule: + sourceId: "1" + reason: Missing travel rule message + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + source: policy + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: WAIT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + timestamp: 2000-01-23T04:56:07.000+00:00 + timestamp: 1640995200000 + status: COMPLETED + amlList: + - prevBypassReason: BELOW_THRESHOLD + prevStatus: COMPLETED + destTag: memo_12345 + addressResolutionSignature: 0x1234567890abcdef + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + amountUSD: 1000.5 + amount: 0.025 + action: ACCEPT + asset: BTC + direction: OUTBOUND + status: COMPLETED + isVerified: true + action: ACCEPT + providerResponse: + key: "" + direction: OUTBOUND + matchedRule: "{}" + provider: NOTABENE + payload: "{}" + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + destRecordId: record_001 + amlResult: + alerts: + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + matchedRule: + ruleName: High Risk Sanctions Check + action: ALLOW + ruleId: rule_001 + matchedAlert: + policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + providerResponse: + key: "" + matchedAlert: "{}" + timestamp: 1753459111824 + matchedPrescreeningRule: + sourceId: "0" + amount: 0.5 + amountUSD: 1000 + bypassReason: MANUAL + baseAsset: ETH + destType: VAULT_ACCOUNT + transferPeerSubType: INTERNAL + destId: ext_address_001 + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + transferPeerType: VAULT_ACCOUNT + action: SCREEN + sourceSubType: INTERNAL + asset: ETH + operation: TRANSFER + networkProtocol: ETH + detailsMessage: Travel rule screening completed successfully + externalId: aml_screening_12345 + bypassReason: BELOW_THRESHOLD + extendedRisk: LOW + customerRefId: customer_ref_789 + customerShortName: ACME Corp + verdict: PASS + risk: LOW + refId: ref_12345 + category: EXCHANGE + screeningStatus: COMPLETED + matchedNoTrmScreeningRule: "{}" + categoryId: 5 + status: COMPLETED + - prevBypassReason: BELOW_THRESHOLD + prevStatus: COMPLETED + destTag: memo_12345 + addressResolutionSignature: 0x1234567890abcdef + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + amountUSD: 1000.5 + amount: 0.025 + action: ACCEPT + asset: BTC + direction: OUTBOUND + status: COMPLETED + isVerified: true + action: ACCEPT + providerResponse: + key: "" + direction: OUTBOUND + matchedRule: "{}" + provider: NOTABENE + payload: "{}" + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + destRecordId: record_001 + amlResult: + alerts: + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + matchedRule: + ruleName: High Risk Sanctions Check + action: ALLOW + ruleId: rule_001 + matchedAlert: + policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + providerResponse: + key: "" + matchedAlert: "{}" + timestamp: 1753459111824 + matchedPrescreeningRule: + sourceId: "0" + amount: 0.5 + amountUSD: 1000 + bypassReason: MANUAL + baseAsset: ETH + destType: VAULT_ACCOUNT + transferPeerSubType: INTERNAL + destId: ext_address_001 + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + transferPeerType: VAULT_ACCOUNT + action: SCREEN + sourceSubType: INTERNAL + asset: ETH + operation: TRANSFER + networkProtocol: ETH + detailsMessage: Travel rule screening completed successfully + externalId: aml_screening_12345 + bypassReason: BELOW_THRESHOLD + extendedRisk: LOW + customerRefId: customer_ref_789 + customerShortName: ACME Corp + verdict: PASS + risk: LOW + refId: ref_12345 + category: EXCHANGE + screeningStatus: COMPLETED + matchedNoTrmScreeningRule: "{}" + categoryId: 5 + status: COMPLETED + tr: + prevBypassReason: BELOW_THRESHOLD + prevStatus: COMPLETED + destTag: memo_12345 + addressResolutionSignature: 0x1234567890abcdef + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + amountUSD: 1000.5 + amount: 0.025 + action: ACCEPT + asset: BTC + direction: OUTBOUND + status: COMPLETED + isVerified: true + action: ACCEPT + providerResponse: + key: "" + direction: OUTBOUND + matchedRule: "{}" + provider: NOTABENE + payload: "{}" + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + destRecordId: record_001 + amlResult: + alerts: + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + matchedRule: + ruleName: High Risk Sanctions Check + action: ALLOW + ruleId: rule_001 + matchedAlert: + policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + providerResponse: + key: "" + matchedAlert: "{}" + timestamp: 1753459111824 + matchedPrescreeningRule: + sourceId: "0" + amount: 0.5 + amountUSD: 1000 + bypassReason: MANUAL + baseAsset: ETH + destType: VAULT_ACCOUNT + transferPeerSubType: INTERNAL + destId: ext_address_001 + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + transferPeerType: VAULT_ACCOUNT + action: SCREEN + sourceSubType: INTERNAL + asset: ETH + operation: TRANSFER + networkProtocol: ETH + detailsMessage: Travel rule screening completed successfully + externalId: aml_screening_12345 + bypassReason: BELOW_THRESHOLD + extendedRisk: LOW + customerRefId: customer_ref_789 + customerShortName: ACME Corp + verdict: PASS + risk: LOW + refId: ref_12345 + category: EXCHANGE + screeningStatus: COMPLETED + matchedNoTrmScreeningRule: "{}" + categoryId: 5 + status: COMPLETED + status: Completed + properties: + aml: + $ref: "#/components/schemas/ComplianceScreeningResult" + tr: + $ref: "#/components/schemas/ComplianceScreeningResult" + amlList: + description: The list of all results of the AML screening. + items: + $ref: "#/components/schemas/ComplianceScreeningResult" + type: array + status: + $ref: "#/components/schemas/ComplianceResultStatusesEnum" + amlRegistration: + $ref: "#/components/schemas/AmlRegistrationResult" + trlinkRegistration: + $ref: "#/components/schemas/TRLinkRegistrationResult" + trlinkDestinations: + description: The list of TRLink destination screening results. + items: + $ref: "#/components/schemas/TRLinkResult" + type: array + type: object + ExtraParameters: + description: | + Additional protocol / operation specific key-value parameters: + + For UTXO-based blockchain input selection, add the key `inputsSelection` with the value set the [input selection structure.](https://developers.fireblocks.com/reference/transaction-objects#inputsselection) The inputs can be retrieved from the [Retrieve Unspent Inputs endpoint.](https://developers.fireblocks.com/reference/get_vault-accounts-vaultaccountid-assetid-unspent-inputs) + + For `RAW` operations, add the key `rawMessageData` with the value set to the [raw message data structure.](https://developers.fireblocks.com/reference/raw-signing-objects#rawmessagedata) + + For `CONTRACT_CALL` operations, add the key `contractCallData` with the value set to the Ethereum smart contract Application Binary Interface (ABI) payload. The Fireblocks [development libraries](https://developers.fireblocks.com/docs/ethereum-development#convenience-libraries) are recommended for building contract call transactions. + For **exchange compliance (e.g., Binance) and Travel Rule purposes**, include the key `piiData` containing a **custom JSON structure** with Personally Identifiable Information (PII) relevant to the transaction. This data must be fully **encrypted by the sender** before being submitted to the Fireblocks API. The recommended encryption method is **hybrid encryption** using AES-256-GCM for the payload and RSA-OAEP for key exchange, with the recipient exchange’s public key. [development libraries](https://developers.fireblocks.com/docs/a-developers-guide-to-constructing-encrypted-pii-messages-for-binance-via-fireblocks) + properties: {} + type: object + SignedMessage: + description: A list of signed messages returned for raw signing. + example: + derivationPath: + - 5.637376656633329 + - 5.637376656633329 + signature: + r: r + s: s + fullSig: fullSig + v: 2.3021358869347655 + publicKey: publicKey + content: content + algorithm: MPC_ECDSA_SECP256K1 + properties: + content: + type: string + algorithm: + enum: + - MPC_ECDSA_SECP256K1 + - MPC_EDDSA_ED25519 + type: string + derivationPath: + items: + type: number + type: array + signature: + $ref: "#/components/schemas/SignedMessage_signature" + publicKey: + type: string + type: object + SignedMessages: + items: + $ref: "#/components/schemas/SignedMessage" + type: array + BlockInfo: + description: |- + The block hash and height of the block that this transaction was mined in. + **Note**: If an outgoing transaction uses the destinations object with more than one value in the array, blockHash is set to null. + example: + blockHash: blockHash + blockHeight: blockHeight + properties: + blockHeight: + type: string + blockHash: + nullable: true + type: string + type: object + FeePayerInfo: + example: + feePayerAccountId: "123" + properties: + feePayerAccountId: + description: The account ID of the fee payer + example: "123" + type: string + type: object + SystemMessageInfo: + example: + type: WARN + message: Slow transaction processing. Outgoing transactions might be stuck. + properties: + type: + enum: + - WARN + - BLOCK + type: string + message: + description: "A response from Fireblocks that communicates a message about\ + \ the health of the process being performed. If this object is returned\ + \ with data, you should expect potential delays or incomplete transaction\ + \ statuses." + example: Slow transaction processing. Outgoing transactions might be stuck. + type: string + type: object + TransactionResponse: + example: + authorizationInfo: + allowOperatorAsAuthorizer: true + groups: + - th: 0.8008281904610115 + users: + key: PENDING_AUTHORIZATION + - th: 0.8008281904610115 + users: + key: PENDING_AUTHORIZATION + logic: AND + amountUSD: 7.386281948385884 + destinationAddress: destinationAddress + signedBy: + - signedBy + - signedBy + networkFee: 1.4894159098541704 + fee: 1.0246457001441578 + feeCurrency: feeCurrency + source: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: VAULT_ACCOUNT + createdAt: 6.027456183070403 + lastUpdated: 1.4658129805029452 + gasLimit: "21000" + feeInfo: + serviceFee: serviceFee + relayType: LOCAL + relayId: "1" + networkFee: networkFee + L2networkFee: "0.0005" + relayName: Tenant Name + L1networkFee: "0.003955" + feeUSD: "0.0013" + gasPrice: gasPrice + paidByRelay: true + id: id + tag: tag + txHash: txHash + notBroadcastByFireblocks: false + blockInfo: + blockHash: blockHash + blockHeight: blockHeight + serviceFee: 1.2315135367772556 + dappUrl: https://app.uniswap.org + addressType: "" + destinations: + - amount: amount + amountUSD: amountUSD + authorizationInfo: + allowOperatorAsAuthorizer: true + groups: + - th: 0.8008281904610115 + users: + key: PENDING_AUTHORIZATION + - th: 0.8008281904610115 + users: + key: PENDING_AUTHORIZATION + logic: AND + amlScreeningResult: + provider: provider + payload: "{}" + destination: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: null + travelRuleMessageId: trm_12345678-1234-1234-1234-123456789012 + - amount: amount + amountUSD: amountUSD + authorizationInfo: + allowOperatorAsAuthorizer: true + groups: + - th: 0.8008281904610115 + users: + key: PENDING_AUTHORIZATION + - th: 0.8008281904610115 + users: + key: PENDING_AUTHORIZATION + logic: AND + amlScreeningResult: + provider: provider + payload: "{}" + destination: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: null + travelRuleMessageId: trm_12345678-1234-1234-1234-123456789012 + signedMessages: + - derivationPath: + - 5.637376656633329 + - 5.637376656633329 + signature: + r: r + s: s + fullSig: fullSig + v: 2.3021358869347655 + publicKey: publicKey + content: content + algorithm: MPC_ECDSA_SECP256K1 + - derivationPath: + - 5.637376656633329 + - 5.637376656633329 + signature: + r: r + s: s + fullSig: fullSig + v: 2.3021358869347655 + publicKey: publicKey + content: content + algorithm: MPC_ECDSA_SECP256K1 + index: 9.301444243932576 + amountInfo: + amount: amount + amountUSD: amountUSD + netAmount: netAmount + requestedAmount: requestedAmount + customerRefId: customerRefId + nonce: "11228" + subStatus: subStatus + assetType: ERC20 + treatAsGrossAmount: true + paidRent: "0.00203928" + rejectedBy: rejectedBy + numOfConfirmations: 7.061401241503109 + exchangeTxId: exchangeTxId + rewardInfo: + destRewards: destRewards + srcRewards: srcRewards + amlScreeningResult: + provider: provider + payload: "{}" + requestedAmount: 3.616076749251911 + status: status + note: note + blockchainInfo: + evmTransferType: NATIVE + contractCallDecodedData: + functionCalls: + - "{}" + - "{}" + contractName: contractName + errorDescription: errorDescription + destinationTag: destinationTag + destination: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: null + extraParameters: "{}" + replacedTxHash: replacedTxHash + travelRuleMessageId: trm_12345678-1234-1234-1234-123456789012 + externalTxId: externalTxId + networkRecords: + - amountUSD: amountUSD + destinationAddress: destinationAddress + netAmount: netAmount + rewardInfo: + destRewards: destRewards + srcRewards: srcRewards + networkFee: networkFee + assetId: assetId + destination: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: null + source: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: VAULT_ACCOUNT + type: type + txHash: txHash + isDropped: true + - amountUSD: amountUSD + destinationAddress: destinationAddress + netAmount: netAmount + rewardInfo: + destRewards: destRewards + srcRewards: srcRewards + networkFee: networkFee + assetId: assetId + destination: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: null + source: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + tradingAccount: tradingAccount + name: name + subType: subType + id: id + type: VAULT_ACCOUNT + type: type + txHash: txHash + isDropped: true + blockchainIndex: 1.1.1 + assetId: assetId + amount: 2.027123023002322 + sourceAddress: sourceAddress + netAmount: 4.145608029883936 + systemMessages: + - type: WARN + message: Slow transaction processing. Outgoing transactions might be stuck. + - type: WARN + message: Slow transaction processing. Outgoing transactions might be stuck. + complianceResults: + aml: + prevBypassReason: BELOW_THRESHOLD + prevStatus: COMPLETED + destTag: memo_12345 + addressResolutionSignature: 0x1234567890abcdef + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + amountUSD: 1000.5 + amount: 0.025 + action: ACCEPT + asset: BTC + direction: OUTBOUND + status: COMPLETED + isVerified: true + action: ACCEPT + providerResponse: + key: "" + direction: OUTBOUND + matchedRule: "{}" + provider: NOTABENE + payload: "{}" + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + destRecordId: record_001 + amlResult: + alerts: + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + matchedRule: + ruleName: High Risk Sanctions Check + action: ALLOW + ruleId: rule_001 + matchedAlert: + policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + providerResponse: + key: "" + matchedAlert: "{}" + timestamp: 1753459111824 + matchedPrescreeningRule: + sourceId: "0" + amount: 0.5 + amountUSD: 1000 + bypassReason: MANUAL + baseAsset: ETH + destType: VAULT_ACCOUNT + transferPeerSubType: INTERNAL + destId: ext_address_001 + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + transferPeerType: VAULT_ACCOUNT + action: SCREEN + sourceSubType: INTERNAL + asset: ETH + operation: TRANSFER + networkProtocol: ETH + detailsMessage: Travel rule screening completed successfully + externalId: aml_screening_12345 + bypassReason: BELOW_THRESHOLD + extendedRisk: LOW + customerRefId: customer_ref_789 + customerShortName: ACME Corp + verdict: PASS + risk: LOW + refId: ref_12345 + category: EXCHANGE + screeningStatus: COMPLETED + matchedNoTrmScreeningRule: "{}" + categoryId: 5 + status: COMPLETED + amlRegistration: + provider: provider + success: true + timestamp: 5.962133916683182 + trlinkRegistration: + result: + providerResponse: "{}" + matchedPrescreeningRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: SCREEN + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + customerShortName: ACME Corp + provider: SUMSUB + success: true + destRecordId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + status: COMPLETED + timestamp: 1640995200000 + trlinkDestinations: + - matchedPrescreeningRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: SCREEN + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + detailsMessage: Screening completed successfully + destTag: memo_12345 + bypassReason: MANUAL + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + trmStatus: ACCEPTED + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + providerIdent: sumsub + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: ACCEPT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + providerResponse: "{}" + customerShortName: ACME Corp + provider: SUMSUB + verdict: ACCEPT + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + matchedNoTrmScreeningRule: + sourceId: "1" + reason: Missing travel rule message + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + source: policy + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: WAIT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + timestamp: 2000-01-23T04:56:07.000+00:00 + timestamp: 1640995200000 + status: COMPLETED + - matchedPrescreeningRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: SCREEN + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + detailsMessage: Screening completed successfully + destTag: memo_12345 + bypassReason: MANUAL + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + sourceId: "1" + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + trmStatus: ACCEPTED + description: description + baseAsset: USD + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + providerIdent: sumsub + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: ACCEPT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + providerResponse: "{}" + customerShortName: ACME Corp + provider: SUMSUB + verdict: ACCEPT + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + matchedNoTrmScreeningRule: + sourceId: "1" + reason: Missing travel rule message + amount: + range: + min: "100" + max: "10000" + currency: USD + sourceAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + description: description + baseAsset: USD + source: policy + destType: VAULT_ACCOUNT + isDefault: false + destId: "1" + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa + customerId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + action: WAIT + sourceSubType: INTERNAL + asset: BTC + operation: TRANSFER + validBefore: 1672531200000 + networkProtocol: BITCOIN + validAfter: 1640995200000 + direction: OUTBOUND + timestamp: 2000-01-23T04:56:07.000+00:00 + timestamp: 1640995200000 + status: COMPLETED + amlList: + - prevBypassReason: BELOW_THRESHOLD + prevStatus: COMPLETED + destTag: memo_12345 + addressResolutionSignature: 0x1234567890abcdef + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + amountUSD: 1000.5 + amount: 0.025 + action: ACCEPT + asset: BTC + direction: OUTBOUND + status: COMPLETED + isVerified: true + action: ACCEPT + providerResponse: + key: "" + direction: OUTBOUND + matchedRule: "{}" + provider: NOTABENE + payload: "{}" + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + destRecordId: record_001 + amlResult: + alerts: + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + matchedRule: + ruleName: High Risk Sanctions Check + action: ALLOW + ruleId: rule_001 + matchedAlert: + policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + providerResponse: + key: "" + matchedAlert: "{}" + timestamp: 1753459111824 + matchedPrescreeningRule: + sourceId: "0" + amount: 0.5 + amountUSD: 1000 + bypassReason: MANUAL + baseAsset: ETH + destType: VAULT_ACCOUNT + transferPeerSubType: INTERNAL + destId: ext_address_001 + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + transferPeerType: VAULT_ACCOUNT + action: SCREEN + sourceSubType: INTERNAL + asset: ETH + operation: TRANSFER + networkProtocol: ETH + detailsMessage: Travel rule screening completed successfully + externalId: aml_screening_12345 + bypassReason: BELOW_THRESHOLD + extendedRisk: LOW + customerRefId: customer_ref_789 + customerShortName: ACME Corp + verdict: PASS + risk: LOW + refId: ref_12345 + category: EXCHANGE + screeningStatus: COMPLETED + matchedNoTrmScreeningRule: "{}" + categoryId: 5 + status: COMPLETED + - prevBypassReason: BELOW_THRESHOLD + prevStatus: COMPLETED + destTag: memo_12345 + addressResolutionSignature: 0x1234567890abcdef + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + amountUSD: 1000.5 + amount: 0.025 + action: ACCEPT + asset: BTC + direction: OUTBOUND + status: COMPLETED + isVerified: true + action: ACCEPT + providerResponse: + key: "" + direction: OUTBOUND + matchedRule: "{}" + provider: NOTABENE + payload: "{}" + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + destRecordId: record_001 + amlResult: + alerts: + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + matchedRule: + ruleName: High Risk Sanctions Check + action: ALLOW + ruleId: rule_001 + matchedAlert: + policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + providerResponse: + key: "" + matchedAlert: "{}" + timestamp: 1753459111824 + matchedPrescreeningRule: + sourceId: "0" + amount: 0.5 + amountUSD: 1000 + bypassReason: MANUAL + baseAsset: ETH + destType: VAULT_ACCOUNT + transferPeerSubType: INTERNAL + destId: ext_address_001 + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + transferPeerType: VAULT_ACCOUNT + action: SCREEN + sourceSubType: INTERNAL + asset: ETH + operation: TRANSFER + networkProtocol: ETH + detailsMessage: Travel rule screening completed successfully + externalId: aml_screening_12345 + bypassReason: BELOW_THRESHOLD + extendedRisk: LOW + customerRefId: customer_ref_789 + customerShortName: ACME Corp + verdict: PASS + risk: LOW + refId: ref_12345 + category: EXCHANGE + screeningStatus: COMPLETED + matchedNoTrmScreeningRule: "{}" + categoryId: 5 + status: COMPLETED + tr: + prevBypassReason: BELOW_THRESHOLD + prevStatus: COMPLETED + destTag: memo_12345 + addressResolutionSignature: 0x1234567890abcdef + travelRuleMessageId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + customerIntegrationId: 3fa85f64-5717-4562-b3fc-2c963f66afa6 + result: + matchedRule: + amountUSD: 1000.5 + amount: 0.025 + action: ACCEPT + asset: BTC + direction: OUTBOUND + status: COMPLETED + isVerified: true + action: ACCEPT + providerResponse: + key: "" + direction: OUTBOUND + matchedRule: "{}" + provider: NOTABENE + payload: "{}" + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + destRecordId: record_001 + amlResult: + alerts: + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + - policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + matchedRule: + ruleName: High Risk Sanctions Check + action: ALLOW + ruleId: rule_001 + matchedAlert: + policyAction: BLOCK + alertName: Sanctions Match + service: CHAINALYSIS + exposureType: DIRECT + alertLevel: HIGH + externalId: alert_12345 + category: SANCTIONED_ENTITY + categoryId: 101 + alertAmount: 1000.5 + providerResponse: + key: "" + matchedAlert: "{}" + timestamp: 1753459111824 + matchedPrescreeningRule: + sourceId: "0" + amount: 0.5 + amountUSD: 1000 + bypassReason: MANUAL + baseAsset: ETH + destType: VAULT_ACCOUNT + transferPeerSubType: INTERNAL + destId: ext_address_001 + sourceType: VAULT_ACCOUNT + destSubType: INTERNAL + destAddress: 0xA2dC2490ED1DcA2D21613508fdb0c82daEAb0715 + transferPeerType: VAULT_ACCOUNT + action: SCREEN + sourceSubType: INTERNAL + asset: ETH + operation: TRANSFER + networkProtocol: ETH + detailsMessage: Travel rule screening completed successfully + externalId: aml_screening_12345 + bypassReason: BELOW_THRESHOLD + extendedRisk: LOW + customerRefId: customer_ref_789 + customerShortName: ACME Corp + verdict: PASS + risk: LOW + refId: ref_12345 + category: EXCHANGE + screeningStatus: COMPLETED + matchedNoTrmScreeningRule: "{}" + categoryId: 5 + status: COMPLETED + status: Completed + createdBy: createdBy + feePayerInfo: + feePayerAccountId: "123" + destinationAddressDescription: destinationAddressDescription + operation: TRANSFER + properties: + id: + description: ID of the transaction. + type: string + externalTxId: + description: "Unique transaction ID provided by the user. Fireblocks highly\ + \ recommends setting an `externalTxId` for every transaction created,\ + \ to avoid submitting the same transaction twice." + type: string + status: + description: "The primary status of the transaction. For details, see [Primary\ + \ transaction statuses](https://developers.fireblocks.com/reference/primary-transaction-statuses)." + type: string + subStatus: + description: "See [Transaction substatuses](https://developers.fireblocks.com/reference/transaction-substatuses)\ + \ for the list of transaction sub statuses." + type: string + txHash: + description: |- + The hash of the transaction on the blockchain. + * This parameter exists if at least one of the following conditions is met: + + 1. The transaction’s source type is `UNKNOWN`, `WHITELISTED_ADDRESS`, `NETWORK_CONNECTION`, `ONE_TIME_ADDRESS`, `FIAT_ACCOUNT` or `GAS_STATION`. + + 2. The transaction’s source type is `VAULT` and the status is either: `CONFIRMING`, `COMPLETED`, or was in any of these statuses prior to changing to `FAILED` or `REJECTED`. In some instances, transactions in status `BROADCASTING` will include the txHash as well. + + 3. The transaction’s source type is `EXCHANGE_ACCOUNT` and the transaction’s destination type is `VAULT`, and the status is either: `CONFIRMING`, `COMPLETED`, or was in any of these status prior to changing to `FAILED`. + + + * In addition, the following conditions must be met: + + 1. The asset is a crypto asset (not fiat). + + 2. The transaction operation is not RAW or `TYPED_MESSAGE`. + type: string + operation: + $ref: "#/components/schemas/GetTransactionOperation" + note: + description: "Custom note, not sent to the blockchain, that describes the\ + \ transaction at your Fireblocks workspace." + type: string + assetId: + description: "The ID of the asset to transfer, for `TRANSFER`, `MINT`, `BURN`,\ + \ `ENABLE_ASSET`,`STAKE` ,`UNSTAKE` or `WITHDRAW` operations. [See the\ + \ list of supported assets and their IDs on Fireblocks.](https://developers.fireblocks.com/reference/get_supported-assets)" + type: string + x-fb-entity: asset + assetType: + description: Type classification of the asset + example: ERC20 + type: string + source: + $ref: "#/components/schemas/SourceTransferPeerPathResponse" + sourceAddress: + description: |- + For account based assets only, the source address of the transaction. + **Note:** If the status is `CONFIRMING`, `COMPLETED`, or has been `CONFIRMING`; then moved forward to `FAILED` or `REJECTED`, then this parameter will contain the source address. In any other case, this parameter will be empty. + type: string + tag: + description: "Source address tag for XRP, used as memo for EOS/XLM, or Bank\ + \ Transfer Description for the fiat provider BLINC (by BCB Group)." + type: string + destination: + $ref: "#/components/schemas/DestinationTransferPeerPathResponse" + destinations: + description: |- + The transaction’s destinations. + **Note:** In case the transaction is sent to a single destination, the `destination` parameter is used instead of this. + items: + $ref: "#/components/schemas/TransactionResponseDestination" + type: array + destinationAddress: + description: |- + Address where the asset were transferred. + Notes: + - For [Multi destination transactions](https://support.fireblocks.io/hc/en-us/articles/360018447980-Multi-destination-transactions), this parameter will be empty. In this case, you should refer to the destinations field. + - If the status is `CONFIRMING`, `COMPLETED`, or has been `CONFIRMING`; then moved forward to `FAILED` or `REJECTED`, then this parameter will contain the destination address. In any other case, this parameter will be empty. + type: string + destinationAddressDescription: + description: Description of the address. + type: string + destinationTag: + description: "Destination address tag for XRP, used as memo for EOS/XLM,\ + \ or Bank Transfer Description for the fiat provider BLINC (by BCB Group)." + type: string + contractCallDecodedData: + $ref: "#/components/schemas/TransactionResponse_contractCallDecodedData" + amountInfo: + $ref: "#/components/schemas/AmountInfo" + treatAsGrossAmount: + description: |- + For transactions initiated via this Fireblocks workspace, when set to `true`, the fee is 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. + type: boolean + feeInfo: + $ref: "#/components/schemas/FeeInfo" + feeCurrency: + description: "The asset which was withdrawn to pay the transaction fee,\ + \ for example ETH for EVM-based blockchains, BTC for Tether Omni." + type: string + networkRecords: + description: "In case a single transaction resulted with multiple transfers,\ + \ for example a result of a contract call, then this parameter specifies\ + \ each transfer that took place on the blockchain. In case of a single\ + \ transfer transaction, this parameter is empty." + items: + $ref: "#/components/schemas/NetworkRecord" + type: array + createdAt: + description: "The transaction’s creation date and time, in unix timestamp." + type: number + lastUpdated: + description: "The transaction’s last update date and time, in unix timestamp." + type: number + createdBy: + description: User ID of the initiator of the transaction. + type: string + signedBy: + description: User ID’s of the signers of the transaction. + items: + type: string + type: array + rejectedBy: + description: User ID of the user that rejected the transaction (in case + it was rejected). + type: string + authorizationInfo: + $ref: "#/components/schemas/AuthorizationInfo" + exchangeTxId: + description: "If the transaction originated from an exchange, this is the\ + \ ID of this transaction at the exchange." + type: string + customerRefId: + description: The ID for AML providers to associate the owner of funds with + transactions. + type: string + travelRuleMessageId: + 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. + example: trm_12345678-1234-1234-1234-123456789012 + type: string + amlScreeningResult: + $ref: "#/components/schemas/AmlScreeningResult" + complianceResults: + $ref: "#/components/schemas/ComplianceResults" + notBroadcastByFireblocks: + description: Indicates the transaction was not broadcast by Fireblocks + example: false + type: boolean + dappUrl: + description: DApp URL for Web3 transactions + example: https://app.uniswap.org + type: string + gasLimit: + description: Gas limit for EVM-based blockchain transactions + example: "21000" + type: string + blockchainIndex: + description: Blockchain-specific index or identifier for the transaction + example: 1.1.1 + type: string + paidRent: + description: Solana rent payment amount + example: "0.00203928" + type: string + extraParameters: + description: | + Additional protocol / operation specific key-value parameters: + + For UTXO-based blockchain input selection, add the key `inputsSelection` with the value set the [input selection structure.](https://developers.fireblocks.com/reference/transaction-objects#inputsselection) The inputs can be retrieved from the [Retrieve Unspent Inputs endpoint.](https://developers.fireblocks.com/reference/get_vault-accounts-vaultaccountid-assetid-unspent-inputs) + + For `RAW` operations, add the key `rawMessageData` with the value set to the [raw message data structure.](https://developers.fireblocks.com/reference/raw-signing-objects#rawmessagedata) + + For `CONTRACT_CALL` operations, add the key `contractCallData` with the value set to the Ethereum smart contract Application Binary Interface (ABI) payload. The Fireblocks [development libraries](https://developers.fireblocks.com/docs/ethereum-development#convenience-libraries) are recommended for building contract call transactions. + For **exchange compliance (e.g., Binance) and Travel Rule purposes**, include the key `piiData` containing a **custom JSON structure** with Personally Identifiable Information (PII) relevant to the transaction. This data must be fully **encrypted by the sender** before being submitted to the Fireblocks API. The recommended encryption method is **hybrid encryption** using AES-256-GCM for the payload and RSA-OAEP for key exchange, with the recipient exchange’s public key. [development libraries](https://developers.fireblocks.com/docs/a-developers-guide-to-constructing-encrypted-pii-messages-for-binance-via-fireblocks) + properties: {} + type: object + signedMessages: + items: + $ref: "#/components/schemas/SignedMessage" + type: array + numOfConfirmations: + description: The number of confirmations of the transaction. The number + will increase until the transaction will be considered completed according + to the confirmation policy. + type: number + blockInfo: + $ref: "#/components/schemas/BlockInfo" + index: + 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. + type: number + rewardInfo: + $ref: "#/components/schemas/RewardInfo" + feePayerInfo: + $ref: "#/components/schemas/FeePayerInfo" + systemMessages: + items: + $ref: "#/components/schemas/SystemMessageInfo" + type: array + addressType: + enum: + - "" + - WHITELISTED + - ONE_TIME + type: string + requestedAmount: + deprecated: true + description: The amount requested by the user. Deprecated - please use the + `amountInfo` field for accuracy. + type: number + amount: + deprecated: true + 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." + type: number + netAmount: + deprecated: true + description: "The net amount of the transaction, after fee deduction. Deprecated\ + \ - please use the `amountInfo` field for accuracy." + type: number + amountUSD: + deprecated: true + description: The USD value of the requested amount. Deprecated - please + use the `amountInfo` field for accuracy. + nullable: true + type: number + serviceFee: + deprecated: true + description: The total fee deducted by the exchange from the actual requested + amount (`serviceFee` = `amount` - `netAmount`). Deprecated - please use + the `feeInfo` field for accuracy. + type: number + fee: + deprecated: true + description: Deprecated - please use the `feeInfo` field for accuracy. + type: number + networkFee: + deprecated: true + description: The fee paid to the network. Deprecated - please use the `feeInfo` + field for accuracy. + type: number + errorDescription: + description: The transaction's revert reason. This field will be returned + when `subStatus` = 'SMART_CONTRACT_EXECUTION_FAILED'. + type: string + replacedTxHash: + description: "if the transaction is a replace by fee (RBF) transaction,\ + \ this is the hash of the transsaction that was replaced" + type: string + nonce: + description: blockchain nonce for the transaction + example: "11228" + type: string + blockchainInfo: + description: A JSON used to store additional data that is blockchain-specific. + example: + evmTransferType: NATIVE + type: object + type: object + GetTransactionsResponse: + items: + $ref: "#/components/schemas/TransactionResponse" + type: array + TransactionOperation: + default: TRANSFER + description: | + * `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: + - TRANSFER + - BURN + - CONTRACT_CALL + - PROGRAM_CALL + - MINT + - RAW + - TYPED_MESSAGE + - APPROVE + - ENABLE_ASSET + type: string + TransferPeerPathSubType: + enum: + - BINANCE + - BINANCEUS + - BITFINEX + - BITHUMB + - BITMEX + - BITSO + - BITSTAMP + - BITTREX + - BLINC + - BYBIT + - CIRCLE + - COINBASEEXCHANGE + - COINBASEPRO + - COINMETRO + - COINSPRO + - CRYPTOCOM + - DERIBIT + - GEMINI + - HITBTC + - HUOBI + - INDEPENDENTRESERVE + - KORBIT + - KRAKEN + - KRAKENINTL + - KUCOIN + - LIQUID + - OKCOIN + - OKEX + - PAXOS + - POLONIEX + - External + - Internal + type: string + SourceTransferPeerPath: + description: The source of the transaction. + example: + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + isCollateral: true + name: name + subType: BINANCE + id: id + type: VAULT_ACCOUNT + properties: + type: + $ref: "#/components/schemas/TransferPeerPathType" + subType: + $ref: "#/components/schemas/TransferPeerPathSubType" + id: + type: string + name: + type: string + walletId: + format: uuid + type: string + isCollateral: + description: indicate if the source is collateral account + example: true + type: boolean + required: + - type + type: object + OneTimeAddress: + example: + address: address + tag: tag + properties: + address: + type: string + tag: + type: string + required: + - address + type: object + DestinationTransferPeerPath: + description: The destination of the transaction. + example: + oneTimeAddress: + address: address + tag: tag + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + isCollateral: true + name: name + subType: null + id: id + type: null + properties: + type: + $ref: "#/components/schemas/TransferPeerPathType" + subType: + $ref: "#/components/schemas/TransferPeerPathSubType" + id: + type: string + name: + type: string + walletId: + format: uuid + type: string + oneTimeAddress: + $ref: "#/components/schemas/OneTimeAddress" + isCollateral: + description: indicate if the destination is collateral account + example: true + type: boolean + required: + - type + type: object + TransactionRequestDestination: + example: + amount: amount + destination: + oneTimeAddress: + address: address + tag: tag + walletId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + isCollateral: true + name: name + subType: null + id: id + type: null + customerRefId: abcdef + travelRuleMessageId: trm_12345678-1234-1234-1234-123456789012 + properties: + amount: + type: string + destination: + $ref: "#/components/schemas/DestinationTransferPeerPath" + travelRuleMessageId: + 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. + example: trm_12345678-1234-1234-1234-123456789012 + type: string + customerRefId: + description: The ID for AML providers to associate the owner of funds with + transactions. + example: abcdef + type: string + type: object + TravelRuleTransactionBlockchainInfo: + description: Information about the blockchain transaction. + example: + origin: 8.41132469470587E+47 + destination: 8.41132469470587E+47 + txHash: 6.685730843558756E+76 + properties: + txHash: + description: The hash of the transaction + example: 6.685730843558756E+76 + type: string + origin: + description: The origin address of the transaction + example: 8.41132469470587E+47 + type: string + destination: + description: The destination address of the transaction + example: 8.41132469470587E+47 + type: string + type: object + TravelRuleNaturalNameIdentifier: + example: + nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + properties: + primaryIdentifier: + description: The primary identifier of the name. The value must be encrypted. + example: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + type: string + secondaryIdentifier: + description: The secondary identifier of the name. The value must be encrypted. + example: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + type: string + nameIdentifierType: + description: "The type of the name identifier. The value must be encrypted.\ + \ The value must be one of the following: [LEGL, DBA, TRAD, NICK, ALIA,\ + \ MAID, FORM, PREV, BORN, OTHR]." + example: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + type: string + type: object + TravelRuleNaturalPersonNameIdentifier: + example: + localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + properties: + nameIdentifier: + items: + $ref: "#/components/schemas/TravelRuleNaturalNameIdentifier" + type: array + localNameIdentifier: + items: + $ref: "#/components/schemas/TravelRuleNaturalNameIdentifier" + type: array + phoneticNameIdentifier: + items: + $ref: "#/components/schemas/TravelRuleNaturalNameIdentifier" + type: array + type: object + TravelRuleGeographicAddress: + example: + country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + properties: + streetName: + description: Name of a street or thoroughfare. The value must be encrypted. + example: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + type: string + townName: + description: "Name of a built-up area, with defined boundaries, and a local\ + \ government. The value must be encrypted." + example: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + type: string + country: + description: Nation with its own government (ISO-3166 Alpha-2 country code). + The value must be encrypted. + example: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + type: string + buildingNumber: + description: Number that identifies the position of a building on a street. + The value must be encrypted. + example: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + type: string + postCode: + description: Identifier consisting of a group of letters and/or numbers + added to a postal address to assist the sorting of mail. The value must + be encrypted. + example: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + type: string + addressType: + description: "Specifies the type of address. Acceptable values are: - 'HOME':\ + \ Residential, the home address - 'BIZZ': Business, the business address\ + \ - 'GEOG': Geographic, an unspecified physical (geographical) address\ + \ The value must be encrypted." + example: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + type: string + department: + description: Identification of a division of a large organisation or building. + The value must be encrypted. + example: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + type: string + subDepartment: + description: Identification of a sub-division of a large organisation or + building. The value must be encrypted. + example: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + type: string + buildingName: + description: Name of the building or house. The value must be encrypted. + example: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + type: string + floor: + description: Floor or storey within a building. The value must be encrypted. + example: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + type: string + postBox: + description: Numbered box in a post office. The value must be encrypted. + example: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + type: string + room: + description: Building room number. The value must be encrypted. + example: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + type: string + townLocationName: + description: Specific location name within the town. The value must be encrypted. + example: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + type: string + districtName: + description: Identifies a subdivision within a country subdivision. The + value must be encrypted. + example: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + type: string + countrySubDivision: + description: "Identifies a subdivision of a country such as state, region,\ + \ or province. The value must be encrypted." + example: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + type: string + addressLine: + description: "Information that locates and identifies a specific address,\ + \ presented in free format text. Each item must be encrypted." + example: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + items: + type: string + type: array + type: object + TravelRuleNationalIdentification: + description: Represents a national identifier for a person or entity + example: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + properties: + countryOfIssue: + description: Country that issued the national identifier (ISO-3166 Alpha-2 + country code). The value must be encrypted. + example: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + type: string + nationalIdentifier: + description: National identifier (max 35 characters). The value must be + encrypted. + example: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + type: string + nationalIdentifierType: + description: "Type of national identifier. Acceptable values include: -\ + \ 'PASSPORT': Passport number - 'NATIONAL_ID': National identification\ + \ number - 'TAX_ID': Tax identification number - 'SOCIAL_SECURITY': Social\ + \ security number The value must be encrypted." + example: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + type: string + registrationAuthority: + description: Registration authority (format -> RA followed by 6 digits). + The value must be encrypted. + example: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + type: string + type: object + TravelRuleDateAndPlaceOfBirth: + description: Represents the date and place of birth for a natural person + example: + placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + properties: + dateOfBirth: + description: Date of birth. The value must be encrypted. + example: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + type: string + placeOfBirth: + description: Place of birth. The value must be encrypted. + example: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + type: string + type: object + TravelRuleNaturalPerson: + example: + dateAndPlaceOfBirth: + placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + name: + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + properties: + name: + description: "An array of structured name identifiers for the natural person,\ + \ referencing the TravelRuleNaturalPersonNameIdentifier schema." + items: + $ref: "#/components/schemas/TravelRuleNaturalPersonNameIdentifier" + type: array + geographicAddress: + description: "An array of geographic addresses associated with the natural\ + \ person, referencing the TravelRuleGeographicAddress schema." + items: + $ref: "#/components/schemas/TravelRuleGeographicAddress" + type: array + nationalIdentification: + $ref: "#/components/schemas/TravelRuleNationalIdentification" + dateAndPlaceOfBirth: + $ref: "#/components/schemas/TravelRuleDateAndPlaceOfBirth" + customerIdentification: + description: A unique identifier for the customer within the organization's + context. The value must be encrypted. + example: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + type: string + countryOfResidence: + description: The ISO-3166 Alpha-2 country code of the natural person's residence. + The value must be encrypted. + example: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + type: string + customerNumber: + description: A distinct identifier that uniquely identifies the customer + within the organization. The value must be encrypted. + example: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + type: string + type: object + TravelRuleLegalPersonNameIdentifier: + example: + legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e + legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q + properties: + legalPersonName: + description: Name by which the legal person is known. The value must be + encrypted. + example: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q + type: string + legalPersonNameIdentifierType: + description: "Specifies the type of name for a legal person. Acceptable\ + \ values are: - 'REGISTERED': The official registered name. - 'TRADE':\ + \ A trading name or DBA (Doing Business As) name. - 'OTHER': Any other\ + \ type of name. The value must be encrypted." + example: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e + type: string + type: object + TravelRuleLegalPerson: + example: + name: + legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e + legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 + customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy + countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr + properties: + name: + $ref: "#/components/schemas/TravelRuleLegalPersonNameIdentifier" + geographicAddress: + description: The array of geographic addresses associated with the legal + person. + items: + $ref: "#/components/schemas/TravelRuleGeographicAddress" + type: array + nationalIdentification: + $ref: "#/components/schemas/TravelRuleNationalIdentification" + customerIdentification: + description: A unique identifier that identifies the customer in the organization's + context. The value must be encrypted. + example: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy + type: string + customerNumber: + description: A distinct identifier that uniquely identifies the customer + within the organization. The value must be encrypted. + example: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 + type: string + countryOfRegistration: + description: The ISO-3166 Alpha-2 country code where the legal person is + registered. The value must be encrypted. + example: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr + type: string + type: object + TravelRulePerson: + example: + legalPerson: + name: + legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e + legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 + customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy + countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr + naturalPerson: + dateAndPlaceOfBirth: + placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + name: + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + properties: + naturalPerson: + $ref: "#/components/schemas/TravelRuleNaturalPerson" + legalPerson: + $ref: "#/components/schemas/TravelRuleLegalPerson" + type: object + TravelRulePiiIVMS: + description: Personal identifiable information related to the transaction + example: + originatorPersons: + - legalPerson: + name: + legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e + legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 + customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy + countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr + naturalPerson: + dateAndPlaceOfBirth: + placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + name: + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + - legalPerson: + name: + legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e + legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 + customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy + countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr + naturalPerson: + dateAndPlaceOfBirth: + placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + name: + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + beneficiaryPersons: + - legalPerson: + name: + legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e + legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 + customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy + countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr + naturalPerson: + dateAndPlaceOfBirth: + placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + name: + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + - legalPerson: + name: + legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e + legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 + customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy + countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr + naturalPerson: + dateAndPlaceOfBirth: + placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + name: + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + countryOfResidence: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerNumber: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + customerIdentification: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + accountNumber: + - QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + - QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + properties: + originatorPersons: + description: Information about the originator of the transaction + items: + $ref: "#/components/schemas/TravelRulePerson" + type: array + beneficiaryPersons: + description: Information about the beneficiary of the transaction + items: + $ref: "#/components/schemas/TravelRulePerson" + type: array + accountNumber: + description: Beneficiary account number. The value must be encrypted. + items: + example: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + type: string + type: array + type: object + TravelRuleOwnershipProof: + description: Ownership proof related to the originator of the transaction. + example: + attestation: I certify that ETH account 0x896B...0b9b belongs to me. + address: 0x896B...0b9b + proof: 0x3dd4a17a...ce4a2bcd1b + type: eip-191 + wallet_provider: Metamask + confirmed: true + url: https://example.com/uploaded_image.png + properties: + type: + description: "The type of ownership proof. Example values: - `eip-191`:\ + \ Ethereum signature proof - `eip-712`: Ethereum typed data signature\ + \ proof - `bip-137`: Bitcoin signature proof - `microtransfer`: Microtransaction\ + \ (Satoshi test) - `screenshot`: Uploaded screenshot of the wallet - `self-declaration`:\ + \ Checkbox attestation of ownership" + example: eip-191 + type: string + proof: + description: "The cryptographic signature, transaction hash, or other proof\ + \ depending on the type. Examples: - For `eip-191`: `0x3dd4a17a...ce4a2bcd1b`\ + \ - For `microtransfer`: The transaction hash `H3V8GXBy39Dz...tr3TSTkY=`" + example: 0x3dd4a17a...ce4a2bcd1b + type: string + attestation: + description: "A human-readable statement of wallet ownership. Required for\ + \ signature proofs and self-declarations. Examples: - `I certify that\ + \ ETH account 0x896B...0b9b belongs to me.` - `I hereby declare that the\ + \ blockchain address 0xa437bEed902AF9338B7DEB23848e195d85019510 is under\ + \ my control.`" + example: I certify that ETH account 0x896B...0b9b belongs to me. + type: string + address: + description: "The wallet address being verified. Examples: - For Ethereum:\ + \ `0x896B...0b9b` - For Bitcoin: `1442...dxhsQ`" + example: 0x896B...0b9b + type: string + wallet_provider: + description: "The wallet provider or method used for verification. Examples:\ + \ - For Metamask: `Metamask` - For manual signature: `manual`" + example: Metamask + type: string + url: + description: "The URL for the uploaded screenshot (for `screenshot` proof\ + \ types only). Example: `https://example.com/uploaded_image.png`" + example: https://example.com/uploaded_image.png + type: string + confirmed: + description: "Whether the user confirmed ownership of the wallet (for `self-declaration`\ + \ proofs). Example: `true`" + example: true + type: boolean + type: object + TravelRuleCreateTransactionRequest: + example: + originatorRef: ORG123456 + travelRuleBehaviorRef: TRB987654 + originatorProof: + attestation: I certify that ETH account 0x896B...0b9b belongs to me. + address: 0x896B...0b9b + proof: 0x3dd4a17a...ce4a2bcd1b + type: eip-191 + wallet_provider: Metamask + confirmed: true + url: https://example.com/uploaded_image.png + isNonCustodial: true + beneficiaryRef: BEN654321 + originator: + originatorPersons: + - legalPerson: + name: + legalPersonNameIdentifierType: QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e + legalPersonName: QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q + nationalIdentification: + nationalIdentifierType: QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi + countryOfIssue: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + registrationAuthority: QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk + nationalIdentifier: QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z + geographicAddress: + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + - country: QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm + townName: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + townLocationName: QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm + districtName: QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy + countrySubDivision: QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C + postBox: QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ + addressType: Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H + subDepartment: QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s + addressLine: + - QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT + room: QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ + buildingName: QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9 + streetName: QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9 + buildingNumber: QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP + postCode: QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj + department: QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8 + floor: QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1 + customerNumber: QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8 + customerIdentification: QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy + countryOfRegistration: QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr + naturalPerson: + dateAndPlaceOfBirth: + placeOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + dateOfBirth: QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt + name: + - localNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + phoneticNameIdentifier: + - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv + primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv - nameIdentifierType: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv secondaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv primaryIdentifier: QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv @@ -37450,7 +41791,6 @@ components: type: string externalTxId: 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. example: 00000000-0000-0000-0000-000000000000 @@ -37458,7 +41798,7 @@ components: assetId: 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)" + \ Fireblocks.](https://developers.fireblocks.com/reference/gettrlinksupportedasset#/)" example: ETH type: string x-fb-entity: asset @@ -37489,9 +41829,9 @@ components: example: false type: boolean feeLevel: - 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." + 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." enum: - LOW - MEDIUM @@ -37572,7 +41912,9 @@ components: CreateTransactionResponse: example: systemMessages: - type: WARN + - type: WARN + message: Slow transaction processing. Outgoing transactions might be stuck. + - type: WARN message: Slow transaction processing. Outgoing transactions might be stuck. id: id status: status @@ -37585,7 +41927,9 @@ components: \ transaction statuses.] (https://developers.fireblocks.com/reference/primary-transaction-statuses)" type: string systemMessages: - $ref: "#/components/schemas/SystemMessageInfo" + items: + $ref: "#/components/schemas/SystemMessageInfo" + type: array type: object TransactionFee: example: @@ -37773,49 +42117,6 @@ components: requiresTag: type: boolean type: object - RescanTransaction: - example: - assetId: BTC - txHash: 0x2446f1fd773fbb9f080e674b60c6a033c7ed7427b8b9413cf28a2a4a6da9b56c - properties: - txHash: - description: Blockchain TX hash - example: 0x2446f1fd773fbb9f080e674b60c6a033c7ed7427b8b9413cf28a2a4a6da9b56c - type: string - assetId: - description: "Asset symbol BTC,ETH)" - example: BTC - type: string - x-fb-entity: asset - type: object - RescanTransactionRequest: - items: - $ref: "#/components/schemas/RescanTransaction" - type: array - ValidatedTransactionsForRescan: - example: - baseAsset: baseAsset - txHashes: "['0x7b8b9413cf28a2a4a6da9b56c']" - networkProtocol: networkProtocol - properties: - baseAsset: - description: "Base asset symbol BTC_TEST, ETH_TEST5)" - type: string - x-fb-entity: asset - networkProtocol: - description: "Netowrk protocol of the blockchain (BTC, ETH)" - type: string - txHashes: - description: Blockchain TX hashes - example: "['0x7b8b9413cf28a2a4a6da9b56c']" - items: - type: string - type: array - type: object - ValidatedTransactionsForRescanResponse: - items: - $ref: "#/components/schemas/ValidatedTransactionsForRescan" - type: array NetworkFee: example: feePerByte: feePerByte @@ -43357,6 +47658,60 @@ components: required: - txId type: object + SupportedBlockchain: + example: + nativeAssetId: 9f9f7062-df90-4fc0-8697-96685184356a + displayName: Ethereum + legacyId: ETH + id: 9f9f7062-df90-4fc0-8697-96685184357b + properties: + id: + description: The ID of the blockchain + example: 9f9f7062-df90-4fc0-8697-96685184357b + type: string + legacyId: + description: The old blockchain ID representation of the blockchain + example: ETH + type: string + displayName: + description: The name of the blockchain + example: Ethereum + type: string + nativeAssetId: + description: Native asset ID of this blockchain + example: 9f9f7062-df90-4fc0-8697-96685184356a + type: string + required: + - displayName + - id + - legacyId + - nativeAssetId + type: object + SupportedBlockChainsResponse: + example: + supportedBlockchains: + - nativeAssetId: 9f9f7062-df90-4fc0-8697-96685184356a + displayName: Ethereum + legacyId: ETH + id: 9f9f7062-df90-4fc0-8697-96685184357b + - nativeAssetId: 9f9f7062-df90-4fc0-8697-96685184356a + displayName: Ethereum + legacyId: ETH + id: 9f9f7062-df90-4fc0-8697-96685184357b + supportsAllBlockchains: true + properties: + supportsAllBlockchains: + description: Boolean representing if all blockchains are supported + example: true + type: boolean + supportedBlockchains: + description: List of supported blockchains + items: + $ref: "#/components/schemas/SupportedBlockchain" + type: array + required: + - supportsAllBlockchains + type: object LeanDeployedContractResponseDto: example: contractTemplateId: b70701f4-d7b1-4795-a8ee-b09cdb5b850d @@ -44210,6 +48565,17 @@ components: example: Conflict type: string type: object + LinkedTokensCount: + example: + count: 42 + properties: + count: + description: The total count of linked tokens + example: 42 + type: number + required: + - count + type: object TokenLinkRequestDto: example: baseAssetId: ETH_TEST3 @@ -46362,14 +50728,540 @@ components: - code - message type: object + ContractAddressResponse: + example: + contractAddress: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 + properties: + contractAddress: + description: The contract's onchain address + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 + type: string + required: + - contractAddress + type: object + RoleGrantee: + properties: + accountAddress: + description: The address of the account that has been granted the role + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 + type: string + dateOfGrant: + description: The date when the role was granted to this account + example: 2024-07-01T00:00:00Z + format: date-time + type: string + required: + - accountAddress + - dateOfGrant + type: object + RoleDetails: + properties: + roleHash: + description: The role hash identifier + example: 0x0000000000000000000000000000000000000000000000000000000000000000 + type: string + description: + description: Human-readable description of the role + example: DEFAULT_ADMIN_ROLE + type: string + accounts: + description: List of accounts that have been granted this role + items: + $ref: "#/components/schemas/RoleGrantee" + type: array + required: + - accounts + - description + - roleHash + type: object + ActiveRolesResponse: + additionalProperties: + $ref: "#/components/schemas/RoleDetails" + description: A map of role names to their details + type: object + AccessRegistryAddressItem: + example: + address: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 + dateAdded: 2024-07-01T00:00:00Z + properties: + address: + description: The address that was added to the access registry + example: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 + type: string + dateAdded: + description: The date when the address was added to the access registry + example: 2024-07-01T00:00:00Z + format: date-time + type: string + required: + - address + - dateAdded + type: object + AccessRegistryCurrentStateResponse: + example: + next: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + total: 150 + data: + - address: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 + dateAdded: 2024-07-01T00:00:00Z + - address: 0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66 + dateAdded: 2024-07-01T00:00:00Z + prev: dGhpcyBpcyBhIHByZXZpb3VzIGN1bcnNvcg== + properties: + data: + description: Array of active addresses in the access registry + items: + $ref: "#/components/schemas/AccessRegistryAddressItem" + type: array + next: + description: Cursor for next page + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + type: string + prev: + description: Cursor for previous page + example: dGhpcyBpcyBhIHByZXZpb3VzIGN1bcnNvcg== + type: string + total: + description: Total count of active addresses in the access registry + example: 150 + type: number + required: + - data + type: object + AccessRegistrySummaryResponse: + example: + totalActiveAddresses: 42 + properties: + totalActiveAddresses: + description: The total number of active addresses in the access registry + example: 42 + type: number + required: + - totalActiveAddresses + type: object + DecodedLog: + description: Decoded event log from a blockchain transaction. Note - Additional + dynamic properties may be present beyond the required ones. + example: + blockHash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + address: 0x1234567890123456789012345678901234567890 + logIndex: "0" + blockNumber: "12345678" + transactionHash: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890 + properties: + address: + description: Contract address that emitted the log + example: 0x1234567890123456789012345678901234567890 + type: string + blockHash: + description: Hash of the block containing this log + example: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + type: string + blockNumber: + description: Block number containing this log + example: "12345678" + type: string + transactionHash: + description: Hash of the transaction that generated this log + example: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890 + type: string + logIndex: + description: Index of the log in the transaction + example: "0" + type: string + required: + - address + - blockHash + - blockNumber + - logIndex + - transactionHash + type: object + OnchainTransaction: + example: + blockHash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + contractAddress: 0x1234567890123456789012345678901234567890 + transactionIndex: "0" + type: "2" + toAddress: 0x1234567890123456789012345678901234567890 + transactionHash: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890 + baseAssetId: ETH_TEST3 + gasUsed: "21000" + decodedLogs: + blockHash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + address: 0x1234567890123456789012345678901234567890 + logIndex: "0" + blockNumber: "12345678" + transactionHash: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890 + chainId: 1 + blockNumber: 12345678 + cumulativeGasUsed: "21000" + blockTimestamp: 2025-01-16T15:45:00Z + fromAddress: 0xabcdef1234567890abcdef1234567890abcdef12 + id: 550e8400-e29b-41d4-a716-446655440000 + effectiveGasPrice: "20000000000" + status: "1" + properties: + id: + description: Unique identifier for the transaction + example: 550e8400-e29b-41d4-a716-446655440000 + format: uuid + type: string + baseAssetId: + description: The blockchain base asset identifier + example: ETH_TEST3 + type: string + blockHash: + description: Hash of the block containing this transaction + example: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + type: string + blockNumber: + description: Block number containing this transaction + example: 12345678 + type: integer + blockTimestamp: + description: Timestamp when the block was mined + example: 2025-01-16T15:45:00Z + format: date-time + type: string + chainId: + description: Chain ID of the blockchain + example: 1 + type: integer + contractAddress: + description: Contract address if this is a contract transaction + example: 0x1234567890123456789012345678901234567890 + nullable: true + type: string + cumulativeGasUsed: + description: Cumulative gas used in the block up to this transaction + example: "21000" + type: string + decodedLogs: + $ref: "#/components/schemas/DecodedLog" + effectiveGasPrice: + description: Effective gas price paid for the transaction + example: "20000000000" + type: string + fromAddress: + description: Address that initiated the transaction + example: 0xabcdef1234567890abcdef1234567890abcdef12 + type: string + gasUsed: + description: Amount of gas used by this transaction + example: "21000" + type: string + status: + description: Transaction status + example: "1" + type: string + toAddress: + description: Address that received the transaction + example: 0x1234567890123456789012345678901234567890 + nullable: true + type: string + transactionHash: + description: Hash of the transaction + example: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890 + type: string + transactionIndex: + description: Index of the transaction in the block + example: "0" + type: string + type: + description: Transaction type + example: "2" + type: string + required: + - baseAssetId + - blockHash + - blockNumber + - blockTimestamp + - chainId + - cumulativeGasUsed + - effectiveGasPrice + - fromAddress + - gasUsed + - id + - status + - transactionHash + - transactionIndex + - type + type: object + OnchainTransactionsPagedResponse: + example: + next: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + total: 150 + data: + - blockHash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + contractAddress: 0x1234567890123456789012345678901234567890 + transactionIndex: "0" + type: "2" + toAddress: 0x1234567890123456789012345678901234567890 + transactionHash: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890 + baseAssetId: ETH_TEST3 + gasUsed: "21000" + decodedLogs: + blockHash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + address: 0x1234567890123456789012345678901234567890 + logIndex: "0" + blockNumber: "12345678" + transactionHash: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890 + chainId: 1 + blockNumber: 12345678 + cumulativeGasUsed: "21000" + blockTimestamp: 2025-01-16T15:45:00Z + fromAddress: 0xabcdef1234567890abcdef1234567890abcdef12 + id: 550e8400-e29b-41d4-a716-446655440000 + effectiveGasPrice: "20000000000" + status: "1" + - blockHash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + contractAddress: 0x1234567890123456789012345678901234567890 + transactionIndex: "0" + type: "2" + toAddress: 0x1234567890123456789012345678901234567890 + transactionHash: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890 + baseAssetId: ETH_TEST3 + gasUsed: "21000" + decodedLogs: + blockHash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + address: 0x1234567890123456789012345678901234567890 + logIndex: "0" + blockNumber: "12345678" + transactionHash: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890 + chainId: 1 + blockNumber: 12345678 + cumulativeGasUsed: "21000" + blockTimestamp: 2025-01-16T15:45:00Z + fromAddress: 0xabcdef1234567890abcdef1234567890abcdef12 + id: 550e8400-e29b-41d4-a716-446655440000 + effectiveGasPrice: "20000000000" + status: "1" + prev: dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg== + properties: + data: + description: Array of onchain transactions + items: + $ref: "#/components/schemas/OnchainTransaction" + type: array + next: + description: Cursor for next page + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + type: string + prev: + description: Cursor for previous page + example: dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg== + type: string + total: + description: Total count of items + example: 150 + type: number + required: + - data + type: object + TotalSupplyItemDto: + example: + totalSupply: "1000000000000000000000" + timestamp: 2024-01-01T23:59:59.999Z + properties: + timestamp: + description: Timestamp of the data point + example: 2024-01-01T23:59:59.999Z + format: date-time + type: string + totalSupply: + description: Total supply at the given timestamp + example: "1000000000000000000000" + type: string + required: + - timestamp + - totalSupply + type: object + TotalSupplyPagedResponse: + example: + next: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + total: 150 + data: + - totalSupply: "1000000000000000000000" + timestamp: 2024-01-01T23:59:59.999Z + - totalSupply: "1000000000000000000000" + timestamp: 2024-01-01T23:59:59.999Z + prev: dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg== + properties: + data: + description: Array of total supply data points + items: + $ref: "#/components/schemas/TotalSupplyItemDto" + type: array + next: + description: Cursor for next page + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + type: string + prev: + description: Cursor for previous page + example: dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg== + type: string + total: + description: Total count of items + example: 150 + type: number + required: + - data + type: object + BalanceHistoryItemDto: + example: + balance: "1000000000000000000000" + timestamp: 2024-01-01T23:59:59.999Z + properties: + timestamp: + description: Timestamp of the data point + example: 2024-01-01T23:59:59.999Z + format: date-time + type: string + balance: + description: Balance at the given timestamp + example: "1000000000000000000000" + type: string + required: + - balance + - timestamp + type: object + BalanceHistoryPagedResponse: + example: + next: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + total: 150 + data: + - balance: "1000000000000000000000" + timestamp: 2024-01-01T23:59:59.999Z + - balance: "1000000000000000000000" + timestamp: 2024-01-01T23:59:59.999Z + prev: dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg== + properties: + data: + description: Array of balance history data points + items: + $ref: "#/components/schemas/BalanceHistoryItemDto" + type: array + next: + description: Cursor for next page + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + type: string + prev: + description: Cursor for previous page + example: dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg== + type: string + total: + description: Total count of items + example: 150 + type: number + required: + - data + type: object + TokenContractSummaryResponse: + example: + baseAssetId: ETH + totalSupply: "1000000000000000000000" + contractAddress: 0x1234567890123456789012345678901234567890 + totalAddresses: 150 + properties: + baseAssetId: + description: The base asset ID + example: ETH + type: string + contractAddress: + description: The contract address + example: 0x1234567890123456789012345678901234567890 + type: string + totalAddresses: + description: Total number of addresses with balances + example: 150 + type: number + totalSupply: + description: The total supply of the token + example: "1000000000000000000000" + type: string + required: + - baseAssetId + - contractAddress + - totalAddresses + - totalSupply + type: object + AddressBalanceItemDto: + example: + lastUpdated: 2023-12-01T12:00:00Z + balance: "1000000000000000000" + accountAddress: 0x1234567890123456789012345678901234567890 + properties: + accountAddress: + description: The account address + example: 0x1234567890123456789012345678901234567890 + type: string + balance: + description: The current balance of the account + example: "1000000000000000000" + type: string + lastUpdated: + description: The timestamp when this balance was last updated + example: 2023-12-01T12:00:00Z + format: date-time + type: string + required: + - accountAddress + - balance + - lastUpdated + type: object + AddressBalancePagedResponse: + example: + next: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + total: 150 + data: + - lastUpdated: 2023-12-01T12:00:00Z + balance: "1000000000000000000" + accountAddress: 0x1234567890123456789012345678901234567890 + - lastUpdated: 2023-12-01T12:00:00Z + balance: "1000000000000000000" + accountAddress: 0x1234567890123456789012345678901234567890 + prev: dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg== + properties: + data: + description: Array of address balance data + items: + $ref: "#/components/schemas/AddressBalanceItemDto" + type: array + next: + description: Cursor for next page + example: MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA== + type: string + prev: + description: Cursor for previous page (reserved for future support) + example: dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg== + type: string + total: + description: Total count of items + example: 150 + type: number + required: + - data + type: object ChainDescriptor: + description: Protocol identifier for the staking operation. enum: + - ATOM_COS + - AXL + - AXL_TEST + - CELESTIA + - DYDX_DYDX - ETH - - SOL - - MATIC - - ETH_TEST_HOODI - ETH_TEST6 + - ETH_TEST_HOODI + - INJ_INJ + - MANTRA + - MATIC + - OSMO + - SOL - SOL_TEST + - STETH_ETH + - STETH_ETH_TEST6_DZFA + - STETH_ETH_TEST_HOODI type: string StakingGetChainsResponse: example: @@ -46391,6 +51283,7 @@ components: lockupPeriod: 172800000 properties: estimatedAnnualReward: + deprecated: true description: "The estimated annual reward rate for the blockchain, represented\ \ as a decimal percentage value." example: 6.48 @@ -46414,6 +51307,7 @@ components: example: chainDescriptor: SOL epochElapsed: 0.31 + lastUpdated: 1706602061938 epochDuration: 172800000 additionalInfo: activationPeriod: 172800000 @@ -46440,12 +51334,17 @@ components: type: number additionalInfo: $ref: "#/components/schemas/AdditionalInfo" + lastUpdated: + description: timestamp (in milliseconds) of last update time + example: 1706602061938 + type: number required: - additionalInfo - chainDescriptor - currentEpoch - epochDuration - epochElapsed + - lastUpdated type: object StakingProvider: description: The unique identifier of the staking provider @@ -46454,6 +51353,10 @@ components: - figment - lido - p2p + - blockdaemon + - galaxy + - pierTwo + - kraken example: kiln type: string FeeLevel: @@ -46467,35 +51370,59 @@ components: type: string StakeRequest: example: + id: b70701f4-d7b1-4795-a8ee-b09cdb5b850d vaultAccountId: "22" providerId: kiln - stakeAmount: "100" - txNote: stake request id CcaHc2L43ZWjwCHART3oZoJvHLAe9hzT2DJNUpBzoTN1 of 100 - SOL created on 02.04.23 + stakeAmount: "32" + chainDescriptor: ETH + txNote: stake request of 32ETH created on 02.04.23 feeLevel: MEDIUM properties: vaultAccountId: - description: The source vault account to stake from + description: The Fireblocks vault account ID that will source the funds + for staking. example: "22" type: string providerId: $ref: "#/components/schemas/StakingProvider" stakeAmount: - description: Amount of tokens to stake + description: The amount of tokens to stake. The amount may be truncated + to match the chain's decimal precision requirements. example: "32" type: string txNote: - description: The note to associate with the stake transactions. - example: stake request id CcaHc2L43ZWjwCHART3oZoJvHLAe9hzT2DJNUpBzoTN1 of - 32ETH created on 02.04.23 + 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. + example: stake request of 32ETH created on 02.04.23 type: string fee: - description: "Represents the fee for a transaction, which can be specified\ - \ as a percentage value. Only one of fee/feeLevel is required." + 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." example: "7" type: string feeLevel: $ref: "#/components/schemas/FeeLevel" + chainDescriptor: + description: Protocol identifier for the staking operation + example: ETH + type: string + id: + 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." + example: b70701f4-d7b1-4795-a8ee-b09cdb5b850d + type: string + isCompoundingValidator: + 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." + example: true + type: boolean required: - providerId - stakeAmount @@ -46517,10 +51444,11 @@ components: id: b70701f4-d7b1-4795-a8ee-b09cdb5b850d txNote: "unstake request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d #SOL" feeLevel: MEDIUM + amount: "7" properties: id: description: id of position to unstake - example: b70701f4-d7b1-4795-a8ee-b09cdb5b850e + example: b70701f4-d7b1-4795-a8ee-b09cdb5b850d type: string fee: description: "Represents the fee for a transaction, which can be specified\ @@ -46531,13 +51459,14 @@ components: $ref: "#/components/schemas/FeeLevel" txNote: description: The note to associate with the transactions. - example: "unstake request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d #ETH" + example: "unstake request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d #SOL" type: string amount: - 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." - example: "75" + 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." + example: "7" type: string required: - id @@ -46545,12 +51474,13 @@ components: WithdrawRequest: example: id: b70701f4-d7b1-4795-a8ee-b09cdb5b850d - txNote: "withdraw request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d #SOL" + txNote: "withdraw request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d #ETH" feeLevel: MEDIUM + amount: "7" properties: id: description: id of position to withdraw - example: b70701f4-d7b1-4795-a8ee-b09cdb5b850f + example: b70701f4-d7b1-4795-a8ee-b09cdb5b850d type: string fee: description: "Represents the fee for a transaction, which can be specified\ @@ -46563,6 +51493,13 @@ components: description: The note to associate with the transactions. example: "withdraw request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d #ETH" type: string + amount: + 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." + example: "7" + type: string required: - id type: object @@ -46574,7 +51511,7 @@ components: properties: id: description: id of position to withdraw rewards from - example: b70701f4-d7b1-4795-a8ee-b09cdb5b850f + example: b70701f4-d7b1-4795-a8ee-b09cdb5b850d type: string fee: description: "Represents the fee for a transaction, which can be specified\ @@ -46585,8 +51522,7 @@ components: $ref: "#/components/schemas/FeeLevel" txNote: description: The note to associate with the transactions. - example: "claim rewards request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d\ - \ #MATIC" + example: claim rewards request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d type: string required: - id @@ -46600,7 +51536,7 @@ components: properties: id: description: id of position to split - example: b70701f4-d7b1-4795-a8ee-b09cdb5b850f + example: b70701f4-d7b1-4795-a8ee-b09cdb5b850d type: string amount: description: Amount of tokens to be transferred to the new stake account. @@ -46614,7 +51550,7 @@ components: feeLevel: $ref: "#/components/schemas/FeeLevel" txNote: - description: The note to associate with the transactions. + description: The note to associate with the split transactions. example: "split 20 SOL out of 100 SOL, created on 02.04.23" type: string required: @@ -46634,15 +51570,14 @@ components: type: object MergeStakeAccountsRequest: example: - sourceId: b70701f4-d7b1-4795-a8ee-b09cdb5b850f - txNote: "split 20 SOL out of 100 SOL, created on 02.04.23" - fee: "7" + sourceId: b70701f4-d7b1-4795-a8ee-b09cdb5b850d + destinationId: f3432f4-34d1-43495-a8ee-jfdjnfj34i3 + txNote: Merging stake for optimization feeLevel: MEDIUM - destinationId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: sourceId: description: Id of the source position to merge from - example: b70701f4-d7b1-4795-a8ee-b09cdb5b850f + example: b70701f4-d7b1-4795-a8ee-b09cdb5b850d format: uuid type: string destinationId: @@ -46657,8 +51592,8 @@ components: feeLevel: $ref: "#/components/schemas/FeeLevel" txNote: - description: The note to associate with the transactions. - example: "split 20 SOL out of 100 SOL, created on 02.04.23" + description: The note to associate with the merge transaction. + example: Merging stake for optimization type: string required: - destinationId @@ -46666,12 +51601,12 @@ components: type: object MergeStakeAccountsResponse: example: - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + id: b70701f4-d7b1-4795-a8ee-b09cdb5b850d properties: id: description: The unique identifier of the merge position (the id of the destination position) - format: uuid + example: b70701f4-d7b1-4795-a8ee-b09cdb5b850d type: string required: - id @@ -46703,14 +51638,42 @@ components: example: 3Ru67FyzMTcdENmmRL4Eve4dtPd6AdpuypR21q5EQCdq type: string stakeAccountDerivationChangeValue: - description: The value of the change level in the BIP44 path which was used - to derive the stake account address + description: The value of the change level in the BIP32 path which was used + to derive the stake account address. example: 7 type: number required: - stakeAccountAddress - stakeAccountDerivationChangeValue type: object + EthereumBlockchainData: + description: Additional fields per blockchain for Ethereum (ETH) - can be empty + or missing if not initialized or no specific data is available. + properties: + isCompoundingValidator: + description: Is the validator compounding (i.e it was created with compounding + validator type). + example: true + type: boolean + required: + - isCompoundingValidator + type: object + StEthBlockchainData: + description: Additional fields per blockchain for Staked Ethereum (STETH_ETH) + - can be empty or missing if not initialized or no additional info exists. + properties: + totalWithdrawableAmount: + description: The total amount available for withdrawal. + example: "1.5" + type: string + totalInactiveAmount: + description: The total inactive amount. + example: "2.0" + type: string + required: + - totalInactiveAmount + - totalWithdrawableAmount + type: object RelatedRequest: properties: status: @@ -46725,7 +51688,7 @@ components: example: false type: boolean amount: - description: Amount of tokens to Unstake + description: Amount of tokens example: "0.05" type: string txId: @@ -46736,6 +51699,7 @@ components: - amount - inProgress - status + - txId type: object Delegation: example: @@ -46789,7 +51753,10 @@ components: example: SOL type: string amount: - description: "Amount of tokens to stake, measured in the staked asset unit." + 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." example: "0.05" type: string rewardsAmount: @@ -46838,24 +51805,18 @@ components: type: string type: array inProgress: - description: "Indicates whether there is an ongoing action for this position\ - \ (true if ongoing, false if not)." + description: Indicates whether there is an ongoing action for this position + related to this request example: true type: boolean inProgressTxId: - description: The transaction ID of the ongoing request + description: The transaction ID of the initial stake position request only. + Only present when there is an active initial stake transaction. example: c80601f4-d7b1-4795-a8ee-b09cdb5b450c type: string blockchainPositionInfo: - $ref: "#/components/schemas/SolanaBlockchainData" + $ref: "#/components/schemas/Delegation_blockchainPositionInfo" relatedRequests: - 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." example: - status: deactivating inProgress: false @@ -47069,6 +52030,11 @@ components: - id - name type: object + AssetTypeEnum: + enum: + - DIGITAL + - FIAT + type: string Capability: enum: - WITHDRAWALS @@ -47087,10 +52053,7 @@ components: properties: assetTypes: items: - enum: - - DIGITAL - - FIAT - type: string + $ref: "#/components/schemas/AssetTypeEnum" type: array capabilities: items: @@ -47225,31 +52188,23 @@ components: - data - total type: object - ErrorCodes: - enum: - - INVALID_TOKEN - - MISSING_PARAMETER - - INVALID_PARAMETER - - RESOURCE_NOT_FOUND - - INVALID_TIME_RANGE - - UNAUTHORIZED - - ACCOUNT_NOT_ACTIVE - - UNMANAGED_WALLET_NOT_APPROVED - example: INVALID_PARAMETER - type: string - TradingErrorResponse: + TradingErrorSchema: example: - error: - type: VALIDATION - message: "Invalid base amount: must be greater than 0" - errorCode: INVALID_AMOUNT + code: 900 + message: "Invalid base amount: must be greater than 0" properties: - error: - $ref: "#/components/schemas/TradingErrorResponse_error" + message: + type: string + code: + type: number + descriptor: + type: string required: - - error + - code + - message type: object - AccountProviderID: + ScopeItem: + additionalProperties: false example: providerId: prov_8c3f1a4b2d6e9f7c accountId: acc_5e9a2d1c4b7f3e8a @@ -47261,45 +52216,17 @@ components: description: The ID of the account associated with the provider. type: string required: - - accountId - providerId type: object - ProviderID: - example: - providerId: prov_8c3f1a4b2d6e9f7c - properties: - providerId: - description: The ID of the provider associated with the account. - type: string - required: - - providerId - type: object - TransferRail: - description: "Transfer rail: \n* **BLOCKCHAIN** - Transfer over the public blockchain\n\ - * **INTERNAL** - Internal transfer within the same account (e.g. sub-accounts\ - \ or same api key)\n* **PEER** - Peer transfer within the same provider network\n\ - * **SWIFT** - International wire transfer\n* **IBAN** - International Bank\ - \ Account Number transfer\n* **US_WIRE** - Domestic wire transfer within the\ - \ United States (e.g. FedWire)\n* **ACH** - Automated Clearing House transfer,\ - \ typically takes longer but not as expensive as wire transfers\n* **SEPA**\ - \ - Euro transfers within the SEPA zone\n* **SPEI** - Mexican interbank electronic\ - \ payment system\n* **PIX** - Brazilian instant payment system\n* **LOCAL_BANK_TRANSFER_AFRICA**\ - \ - Local bank transfers within Africa\n* **MOBILE_MONEY** - Mobile money\ - \ transfers (e.g. M-Pesa)\n" + DVPSettlementType: enum: - - BLOCKCHAIN - - INTERNAL - - PEER - - SWIFT - - IBAN - - US_WIRE - - ACH - - SEPA - - SPEI - - PIX - - LOCAL_BANK_TRANSFER_AFRICA - - MOBILE_MONEY - example: BLOCKCHAIN + - DVP + type: string + PlatformPeerType: + enum: + - VAULT_ACCOUNT + - CONNECTED_ACCOUNT + - FIAT_ACCOUNT type: string PlatformAccount: example: @@ -47307,25 +52234,101 @@ components: accountId: vault_acc_5e9a2d1c4b7f3e8a properties: type: - enum: - - VAULT_ACCOUNT - - CONNECTED_ACCOUNT - - FIAT_ACCOUNT - type: string + $ref: "#/components/schemas/PlatformPeerType" accountId: type: string required: - accountId - type type: object + ExternalAccountType: + enum: + - EXTERNAL + type: string + ExternalAccountMobileMoneyType: + enum: + - MOBILE_MONEY_RAIL + type: string + MobilePhoneNumber: + description: Mobile phone number in E.164 format + example: "+14155551234" + pattern: "^\\+[1-9]\\d{1,14}$" + type: string + ExternalAccountMobileMoneyProvider: + enum: + - M_PESA + - AIRTEL + - MTN + - TIGO + - ORANGE + type: string + ExternalAccountMobileMoney: + properties: + type: + $ref: "#/components/schemas/ExternalAccountMobileMoneyType" + mobilePhoneNumber: + description: Mobile phone number in E.164 format + example: "+14155551234" + pattern: "^\\+[1-9]\\d{1,14}$" + type: string + provider: + $ref: "#/components/schemas/ExternalAccountMobileMoneyProvider" + email: + format: email + type: string + required: + - email + - mobilePhoneNumber + - provider + - type + type: object + ExternalAccountLocalBankAfricaType: + enum: + - LOCAL_BANK_AFRICA_RAIL + type: string + LocalBankAfricaAccountNumber: + example: "1234567890123" + pattern: "^\\d{4,17}$" + type: string + ExternalAccountLocalBankAfrica: + properties: + type: + $ref: "#/components/schemas/ExternalAccountLocalBankAfricaType" + accountNumber: + example: "1234567890123" + pattern: "^\\d{4,17}$" + type: string + bankName: + description: Name of the bank + type: string + bankCode: + description: Internal bank identifier + type: string + required: + - accountNumber + - bankCode + - bankName + - type + type: object + ExternalAccountSenderInformation: + description: "Additional data for the external account, depending on the type\ + \ used." + oneOf: + - $ref: "#/components/schemas/ExternalAccountMobileMoney" + - $ref: "#/components/schemas/ExternalAccountLocalBankAfrica" ExternalAccount: example: type: EXTERNAL + senderInformation: + type: MOBILE_MONEY + mobilePhoneNumber: "+1234567890" + provider: MPESA + email: test@example.com properties: type: - enum: - - EXTERNAL - type: string + $ref: "#/components/schemas/ExternalAccountType" + senderInformation: + $ref: "#/components/schemas/ExternalAccountSenderInformation" required: - type type: object @@ -47344,9 +52347,9 @@ components: enum: - VAULT_ACCOUNT - EXCHANGE_ACCOUNT - - INTERNAL_WALLET - - EXTERNAL_WALLET + - UNMANAGED_WALLET - FIAT_ACCOUNT + - CONNECTED_ACCOUNT example: VAULT_ACCOUNT type: string InternalReference: @@ -47362,6 +52365,10 @@ components: - accountId - type type: object + OneTimeAddressPeerType: + enum: + - ONE_TIME_ADDRESS + type: string OneTimeAddressReference: example: type: ONE_TIME_ADDRESS @@ -47369,9 +52376,7 @@ components: tag: destination-memo-123 properties: type: - enum: - - ONE_TIME_ADDRESS - type: string + $ref: "#/components/schemas/OneTimeAddressPeerType" address: type: string tag: @@ -47385,8 +52390,7 @@ components: mapping: VAULT_ACCOUNT: "#/components/schemas/InternalReference" EXCHANGE_ACCOUNT: "#/components/schemas/InternalReference" - INTERNAL_WALLET: "#/components/schemas/InternalReference" - EXTERNAL_WALLET: "#/components/schemas/InternalReference" + UNMANAGED_WALLET: "#/components/schemas/InternalReference" FIAT_ACCOUNT: "#/components/schemas/InternalReference" ONE_TIME_ADDRESS: "#/components/schemas/OneTimeAddressReference" propertyName: type @@ -47405,9 +52409,7 @@ components: id: vault_acc_7b2e5d8f1c4a9e3b properties: type: - enum: - - DVP - type: string + $ref: "#/components/schemas/DVPSettlementType" sourceAccount: $ref: "#/components/schemas/SettlementSourceAccount" destinationAccount: @@ -47417,6 +52419,12 @@ components: - sourceAccount - type type: object + Side: + description: Side of the order + enum: + - BUY + - SELL + type: string CreateQuote: example: scope: @@ -47444,12 +52452,8 @@ components: type: array baseAssetId: type: string - baseAssetRail: - $ref: "#/components/schemas/TransferRail" quoteAssetId: type: string - quoteAssetRail: - $ref: "#/components/schemas/TransferRail" baseAmount: description: The amount to convert from example: "100.00" @@ -47465,11 +52469,7 @@ components: settlement: $ref: "#/components/schemas/DVPSettlement" side: - description: Side of the order - enum: - - BUY - - SELL - type: string + $ref: "#/components/schemas/Side" required: - baseAmount - baseAssetId @@ -47534,40 +52534,38 @@ components: - DELIVERY example: EXECUTE type: string + FeeTypeEnum: + 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. REBATE - Negative fee returned to the user as a reward or incentive. + enum: + - ORDER + - NETWORK + - SPREAD + - REBATE + type: string FeePropertiesDetails: properties: feeType: - 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. - enum: - - ORDER - - NETWORK - - SPREAD - type: string + $ref: "#/components/schemas/FeeTypeEnum" assetId: description: The asset identifier for the fee. type: string - amountType: - description: "The type of amount for the fee, either FIXED or BPS (basis\ - \ points)." - enum: - - FIXED - - BPS - type: string required: - - amountType - assetId - feeType type: object + FixedAmountTypeEnum: + description: "The type of amount for the fee, indicating a fixed amount." + enum: + - FIXED + type: string FixedFee: example: amountType: FIXED amount: "0.01" properties: amountType: - enum: - - FIXED - type: string + $ref: "#/components/schemas/FixedAmountTypeEnum" amount: description: The fixed amount of the fee example: "0.01" @@ -47607,7 +52605,7 @@ components: oneOf: - $ref: "#/components/schemas/FixedFee" - $ref: "#/components/schemas/BpsFee" - ExecutionStepDetails: + QuoteExecutionStep: example: type: MARKET_EXECUTION fee: @@ -47629,11 +52627,6 @@ components: $ref: "#/components/schemas/AccessType" id: type: string - type: - enum: - - COMMITTED - - INDICATIVE - type: string quoteAssetId: type: string baseAssetId: @@ -47648,55 +52641,52 @@ components: type: string executionSteps: items: - $ref: "#/components/schemas/ExecutionStepDetails" + $ref: "#/components/schemas/QuoteExecutionStep" type: array generalFees: items: $ref: "#/components/schemas/Fee" type: array side: - description: Side of the order - enum: - - BUY - - SELL + $ref: "#/components/schemas/Side" + expiresAt: + description: The expiration time of the quote in ISO format. type: string required: - baseAmount - baseAssetId + - expiresAt - id - quoteAmount - quoteAssetId - side - - type - via type: object + CommittedQuoteEnum: + description: Indicates this is a committed quote + enum: + - COMMITTED + type: string CommittedQuoteType: example: type: COMMITTED - expiresAt: 2024-01-15T14:30:00.000Z properties: type: - description: Indicates this is a committed quote - enum: - - COMMITTED - type: string - expiresAt: - description: ISO 8601 timestamp of the expiration time of the quote. - format: date-time - type: string + $ref: "#/components/schemas/CommittedQuoteEnum" required: - - expiresAt - type type: object + IndicativeQuoteEnum: + description: Indicates this is an indicative quote + enum: + - INDICATIVE + type: string IndicativeQuoteType: example: type: INDICATIVE properties: type: - description: Indicates this is an indicative quote - enum: - - INDICATIVE - type: string + $ref: "#/components/schemas/IndicativeQuoteEnum" required: - type type: object @@ -47782,11 +52772,7 @@ components: via: $ref: "#/components/schemas/AccessType" side: - description: Side of the order - enum: - - BUY - - SELL - type: string + $ref: "#/components/schemas/Side" baseAmount: type: string quoteAmount: @@ -47849,29 +52835,45 @@ components: - data - total type: object - TimeInForce: - description: Time in force for limit orders + MarketTypeEnum: + description: Order type for market orders enum: - - FOK - example: FOK + - MARKET type: string - LimitTypeDetails: + MarketTypeDetails: properties: type: - description: Order type for limit orders - enum: - - LIMIT - type: string - timeInForce: - $ref: "#/components/schemas/TimeInForce" - limitPrice: - description: Price for limit orders - type: string + $ref: "#/components/schemas/MarketTypeEnum" required: - - limitPrice - - timeInForce - type type: object + TransferRail: + description: "Transfer rail: \n* **BLOCKCHAIN** - Transfer over the public blockchain\n\ + * **INTERNAL** - Internal transfer within the same account (e.g. sub-accounts\ + \ or same api key)\n* **PEER** - Peer transfer within the same provider network\n\ + * **SWIFT** - International wire transfer\n* **IBAN** - International Bank\ + \ Account Number transfer\n* **US_WIRE** - Domestic wire transfer within the\ + \ United States (e.g. FedWire)\n* **ACH** - Automated Clearing House transfer,\ + \ typically takes longer but not as expensive as wire transfers\n* **SEPA**\ + \ - Euro transfers within the SEPA zone\n* **SPEI** - Mexican interbank electronic\ + \ payment system\n* **PIX** - Brazilian instant payment system\n* **LOCAL_BANK_TRANSFER_AFRICA**\ + \ - Local bank transfers within Africa\n* **MOBILE_MONEY** - Mobile money\ + \ transfers (e.g. M-Pesa)\n" + enum: + - BLOCKCHAIN + - INTERNAL + - PEER + - SWIFT + - IBAN + - US_WIRE + - ACH + - SEPA + - SPEI + - PIX + - LOCAL_BANK_TRANSFER_AFRICA + - MOBILE_MONEY + example: BLOCKCHAIN + type: string ExecutionRequestBaseDetails: example: side: BUY @@ -47882,12 +52884,7 @@ components: quoteAssetRail: BLOCKCHAIN properties: side: - default: BUY - description: Side of the order - enum: - - BUY - - SELL - type: string + $ref: "#/components/schemas/Side" baseAmount: description: Amount to convert type: string @@ -47907,28 +52904,6 @@ components: - quoteAssetId - side type: object - LimitExecutionRequestDetails: - allOf: - - $ref: "#/components/schemas/LimitTypeDetails" - - $ref: "#/components/schemas/ExecutionRequestBaseDetails" - example: - type: LIMIT - timeInForce: GTC - limitPrice: "41000.00" - baseAssetId: USD - quoteAssetId: BTC - side: BUY - baseAmount: "1000.00" - MarketTypeDetails: - properties: - type: - description: Order type for market orders - enum: - - MARKET - type: string - required: - - type - type: object MarketExecutionRequestDetails: allOf: - $ref: "#/components/schemas/MarketTypeDetails" @@ -47939,16 +52914,18 @@ components: quoteAssetId: BTC side: BUY baseAmount: "1000.00" + QuoteTypeEnum: + description: Order type for quote orders + enum: + - QUOTE + type: string QuoteExecutionRequestDetails: example: type: QUOTE quoteId: quote_8f2e4d1a9c5b7e3f properties: type: - description: Order type for quote orders - enum: - - QUOTE - type: string + $ref: "#/components/schemas/QuoteTypeEnum" quoteId: description: Quote ID for quote orders type: string @@ -47956,19 +52933,27 @@ components: - quoteId - type type: object + MarketRequoteTypeEnum: + description: Indicates that the order should be re-quoted if the original quote + is expired. This will lead to a market order. + enum: + - MARKET + type: string MarketRequoteRequestDetails: example: type: MARKET properties: type: - description: Indicates that the order should be re-quoted if the original - quote is expired. This will lead to a market order. - enum: - - MARKET - type: string + $ref: "#/components/schemas/MarketRequoteTypeEnum" required: - type type: object + RetryRequoteTypeEnum: + description: "Indicates that the order should be re-quoted if the original quote\ + \ is expired, trying to match the original quote." + enum: + - RETRY + type: string RetryRequoteRequestDetails: example: type: RETRY @@ -47976,23 +52961,19 @@ components: slippageBps: 50 properties: type: - description: "Indicates that the order should be re-quoted if the original\ - \ quote is expired, trying to match the original quote." - enum: - - RETRY - type: string + $ref: "#/components/schemas/RetryRequoteTypeEnum" count: description: "If quote is expired, how many times to re-generate new quotes\ \ to try having the order executed as in the original quote." maximum: 10 minimum: 1 - type: number + type: integer slippageBps: description: Slippage tolerance in basis points (bps) for quote orders - 1 is 0.01% and 10000 is 100% maximum: 10000 minimum: 1 - type: number + type: integer required: - count - type @@ -48017,14 +52998,16 @@ components: description: Order execution details discriminator: mapping: - LIMIT: "#/components/schemas/LimitExecutionRequestDetails" MARKET: "#/components/schemas/MarketExecutionRequestDetails" QUOTE: "#/components/schemas/QuoteExecutionWithRequoteRequestDetails" propertyName: type oneOf: - - $ref: "#/components/schemas/LimitExecutionRequestDetails" - $ref: "#/components/schemas/MarketExecutionRequestDetails" - $ref: "#/components/schemas/QuoteExecutionWithRequoteRequestDetails" + PrefundedSettlementType: + enum: + - PREFUNDED + type: string PrefundedSettlement: example: type: PREFUNDED @@ -48033,38 +53016,27 @@ components: accountId: vault_acc_9f4e2d8b1c6a5e73 properties: type: - enum: - - PREFUNDED - type: string + $ref: "#/components/schemas/PrefundedSettlementType" destinationAccount: $ref: "#/components/schemas/AccountReference" required: - destinationAccount - type type: object - PostOrderSettlement: - example: - type: POST_ORDER - properties: - type: - enum: - - POST_ORDER - type: string - required: - - type - type: object Settlement: description: Settlement configuration for the order discriminator: mapping: PREFUNDED: "#/components/schemas/PrefundedSettlement" DVP: "#/components/schemas/DVPSettlement" - POST_ORDER: "#/components/schemas/PostOrderSettlement" propertyName: type oneOf: - $ref: "#/components/schemas/PrefundedSettlement" - $ref: "#/components/schemas/DVPSettlement" - - $ref: "#/components/schemas/PostOrderSettlement" + PersonalEntityTypeEnum: + enum: + - INDIVIDUAL + type: string ParticipantRelationshipType: enum: - FirstParty @@ -48122,13 +53094,13 @@ components: subdivision: CA district: Los Angeles County country: US + email: alexander.johnson@example.com + phone: "+14155551234" properties: externalReferenceId: type: string entityType: - enum: - - INDIVIDUAL - type: string + $ref: "#/components/schemas/PersonalEntityTypeEnum" participantRelationshipType: $ref: "#/components/schemas/ParticipantRelationshipType" fullName: @@ -48138,6 +53110,14 @@ components: type: string postalAddress: $ref: "#/components/schemas/PostalAddress" + email: + format: email + type: string + phone: + description: Mobile phone number in E.164 format + example: "+14155551234" + pattern: "^\\+[1-9]\\d{1,14}$" + type: string required: - dateOfBirth - entityType @@ -48146,6 +53126,10 @@ components: - participantRelationshipType - postalAddress type: object + BusinessEntityTypeEnum: + enum: + - BUSINESS + type: string BusinessIdentification: example: externalReferenceId: bus_ref_9f3e2d1c4b8a7e5f @@ -48153,6 +53137,8 @@ components: participantRelationshipType: COUNTERPARTY businessName: TechCorp Solutions LLC registrationNumber: TC-2023-001547 + email: techcorp@example.com + phone: "+14155551234" postalAddress: streetAddress: 789 Innovation Drive city: San Francisco @@ -48163,9 +53149,7 @@ components: externalReferenceId: type: string entityType: - enum: - - BUSINESS - type: string + $ref: "#/components/schemas/BusinessEntityTypeEnum" participantRelationshipType: $ref: "#/components/schemas/ParticipantRelationshipType" businessName: @@ -48174,6 +53158,14 @@ components: type: string postalAddress: $ref: "#/components/schemas/PostalAddress" + email: + format: email + type: string + phone: + description: Mobile phone number in E.164 format + example: "+14155551234" + pattern: "^\\+[1-9]\\d{1,14}$" + type: string required: - businessName - entityType @@ -48202,6 +53194,8 @@ components: firstName: John lastName: Smith dateOfBirth: 1985-03-15 + email: john.smith@example.com + phone: "+14155551234" postalAddress: streetName: Main Street buildingNumber: "123" @@ -48218,6 +53212,8 @@ components: firstName: Alice lastName: Johnson dateOfBirth: 1990-07-22 + email: alice.johnson@example.com + phone: "+14155551234" postalAddress: streetName: Broadway buildingNumber: "456" @@ -48342,7 +53338,7 @@ components: - PROVIDER_EXECUTION_ERROR example: INSUFFICIENT_FUNDS type: string - ExecutionStep: + OrderExecutionStep: example: type: EXECUTE status: PROCESSING @@ -48379,12 +53375,7 @@ components: quoteAssetRail: BLOCKCHAIN properties: side: - default: BUY - description: Side of the order - enum: - - BUY - - SELL - type: string + $ref: "#/components/schemas/Side" baseAmount: description: Amount to convert type: string @@ -48404,20 +53395,6 @@ components: - quoteAssetId - side type: object - LimitExecutionResponseDetails: - allOf: - - $ref: "#/components/schemas/LimitTypeDetails" - - $ref: "#/components/schemas/ExecutionResponseBaseDetails" - example: - type: LIMIT - timeInForce: FOK - limitPrice: "41000.00" - side: BUY - baseAmount: "1000.00" - baseAssetId: USD - quoteAssetId: BTC - baseAssetRail: BLOCKCHAIN - quoteAssetRail: BLOCKCHAIN MarketExecutionResponseDetails: allOf: - $ref: "#/components/schemas/MarketTypeDetails" @@ -48433,10 +53410,7 @@ components: QuoteExecutionTypeDetails: properties: type: - description: Order type for quote orders - enum: - - QUOTE - type: string + $ref: "#/components/schemas/QuoteTypeEnum" quoteId: description: Quote ID for quote orders type: string @@ -48448,23 +53422,10 @@ components: - quoteId - type type: object - QuoteExecutionResponseDetails: + QuoteExecutionWithRequoteResponseDetails: allOf: - $ref: "#/components/schemas/QuoteExecutionTypeDetails" - $ref: "#/components/schemas/ExecutionResponseBaseDetails" - example: - type: QUOTE - quoteId: quote_8f2e4d1a9c5b7e3f - quoteAmount: "0.02458" - side: BUY - baseAmount: "1000.00" - baseAssetId: USDC - baseAssetRail: BLOCKCHAIN - quoteAssetId: BTC - quoteAssetRail: BLOCKCHAIN - QuoteExecutionWithRequoteResponseDetails: - allOf: - - $ref: "#/components/schemas/QuoteExecutionResponseDetails" - $ref: "#/components/schemas/ReQuoteDetails" example: type: QUOTE @@ -48482,14 +53443,50 @@ components: ExecutionResponseDetails: discriminator: mapping: - LIMIT: "#/components/schemas/LimitExecutionResponseDetails" MARKET: "#/components/schemas/MarketExecutionResponseDetails" QUOTE: "#/components/schemas/QuoteExecutionWithRequoteResponseDetails" propertyName: type oneOf: - - $ref: "#/components/schemas/LimitExecutionResponseDetails" - $ref: "#/components/schemas/MarketExecutionResponseDetails" - $ref: "#/components/schemas/QuoteExecutionWithRequoteResponseDetails" + BlockchainAddress: + description: The blockchain address information. + example: + blockchainAddress: 0x1234567890123456789012345678901234567890 + tag: "1234567890" + properties: + blockchainAddress: + description: The blockchain address. + example: 0x1234567890123456789012345678901234567890 + type: string + tag: + description: The tag of the blockchain address. It is used to identify the + address in the blockchain. It is optional. + example: "1234567890" + type: string + required: + - blockchainAddress + type: object + BlockchainDestination: + example: + type: BLOCKCHAIN + address: + blockchainAddress: 0x1234567890123456789012345678901234567890 + tag: "1234567890" + properties: + type: + description: The type of destination. Use "BLOCKCHAIN" for blockchain address + destinations. + enum: + - BLOCKCHAIN + example: BLOCKCHAIN + type: string + address: + $ref: "#/components/schemas/BlockchainAddress" + required: + - address + - type + type: object AccountHolderDetails: example: name: John Smith @@ -48688,6 +53685,24 @@ components: - address - type type: object + BankAddress: + description: Address of the bank. + properties: + streetName: + type: string + buildingNumber: + type: string + postalCode: + type: string + city: + type: string + subdivision: + type: string + district: + type: string + country: + type: string + type: object USWireAddress: example: accountHolder: @@ -48714,8 +53729,7 @@ components: description: Routing number identifying the bank account. type: string bankAddress: - description: Address of the bank. - type: string + $ref: "#/components/schemas/BankAddress" required: - accountHolder - bankAccountNumber @@ -48723,7 +53737,7 @@ components: type: object USWireDestination: example: - type: US_WIRE + type: WIRE address: accountHolder: name: John Smith @@ -48739,7 +53753,7 @@ components: properties: type: enum: - - US_WIRE + - WIRE type: string address: $ref: "#/components/schemas/USWireAddress" @@ -48923,10 +53937,6 @@ components: - address - type type: object - LocalBankAfricaAccountNumber: - example: "1234567890123" - pattern: "^\\d{4,17}$" - type: string LocalBankTransferAfricaAddress: example: accountHolder: @@ -48960,7 +53970,7 @@ components: type: object LocalBankTransferAfricaDestination: example: - type: LOCAL_BANK_TRANSFER_AFRICA + type: LOCAL_BANK_TRANSFER address: accountHolder: name: Adaora Okafor @@ -48975,7 +53985,7 @@ components: properties: type: enum: - - LOCAL_BANK_TRANSFER_AFRICA + - LOCAL_BANK_TRANSFER type: string address: $ref: "#/components/schemas/LocalBankTransferAfricaAddress" @@ -48983,11 +53993,6 @@ components: - address - type type: object - MobilePhoneNumber: - description: Mobile phone number in E.164 format - example: "+14155551234" - pattern: "^\\+[1-9]\\d{1,14}$" - type: string MobileMoneyAddress: example: accountHolder: @@ -49055,6 +54060,42 @@ components: - address - type type: object + EuropeanSEPAAddress: + properties: + accountHolder: + $ref: "#/components/schemas/AccountHolderDetails" + iban: + example: GB82WEST12345698765432 + pattern: "^[A-Z]{2}\\d{2}[a-zA-Z0-9]{1,30}$" + type: string + bic: + type: string + bankName: + type: string + bankBranch: + type: string + bankAddress: + type: string + purposeCode: + type: string + taxId: + type: string + required: + - accountHolder + - iban + type: object + EuropeanSEPADestination: + properties: + type: + enum: + - EUROPEAN_SEPA + type: string + address: + $ref: "#/components/schemas/EuropeanSEPAAddress" + required: + - address + - type + type: object FiatDestination: oneOf: - $ref: "#/components/schemas/IbanDestination" @@ -49066,15 +54107,44 @@ components: - $ref: "#/components/schemas/PixDestination" - $ref: "#/components/schemas/LocalBankTransferAfricaDestination" - $ref: "#/components/schemas/MobileMoneyDestination" - PaymentInstructionsDetails: + - $ref: "#/components/schemas/EuropeanSEPADestination" + FiatPaymentMetadata: properties: referenceId: type: string type: object PaymentInstructions: - allOf: - - $ref: "#/components/schemas/FiatDestination" - - $ref: "#/components/schemas/PaymentInstructionsDetails" + oneOf: + - $ref: "#/components/schemas/BlockchainDestination" + - $ref: "#/components/schemas/PaymentInstructions_oneOf" + FailureReason: + enum: + - INSUFFICIENT_FUNDS + - UNKNOWN_REASON + - INITIATE_PAYMENT_FAILURE + - POLICY_REJECTION + - TRANSACTION_FAILED + - ACCOUNT_NOT_ACTIVE + - ACCOUNT_NOT_FOUND + - BAD_REQUEST + - QUOTE_NOT_READY + - INVALID_DATA + - UNSUPPORTED_CONVERSION + - UNSUPPORTED_RAMP_METHOD + - REFUNDED + - FAILED_BY_PROVIDER + - ORDER_EXPIRED + - TRANSACTION_CANCELLED + - TRANSACTION_REJECTED + - TRANSACTION_BLOCKED + type: string + Failure: + properties: + reason: + $ref: "#/components/schemas/FailureReason" + required: + - reason + type: object OrderDetails: example: id: order_9f4e2d8b1c6a5e73 @@ -49138,7 +54208,7 @@ components: type: array executionSteps: items: - $ref: "#/components/schemas/ExecutionStep" + $ref: "#/components/schemas/OrderExecutionStep" type: array executionResponseDetails: $ref: "#/components/schemas/ExecutionResponseDetails" @@ -49165,6 +54235,8 @@ components: expiresAt: format: date-time type: string + failure: + $ref: "#/components/schemas/Failure" required: - createdAt - createdBy @@ -53997,6 +59069,105 @@ components: description: Outbound transaction delay in seconds. type: number type: object + TrustProofOfAddressRequest: + description: Request to create a cryptographic proof of address ownership for + TRUST network compliance + example: + prefix: trust_verification + vaultAccountId: "0" + trustUuid: 550e8400-e29b-41d4-a716-446655440000 + asset: ETH + properties: + vaultAccountId: + description: The ID of the vault account. + example: "0" + format: numeric + type: string + x-fb-entity: vault_account + asset: + description: The asset identifier for which proof of address is being created. + example: ETH + type: string + prefix: + description: The prefix to be used for signing messages. + example: trust_verification + maxLength: 255 + minLength: 1 + type: string + trustUuid: + description: A unique identifier (UUID) obtained from TRUST (CreateAddressOwnership) + example: 550e8400-e29b-41d4-a716-446655440000 + format: uuid + type: string + required: + - asset + - prefix + - trustUuid + - vaultAccountId + type: object + TypedMessageTransactionStatusEnum: + description: "Status of the typed message transaction from Fireblocks. For details,\ + \ see [Primary transaction statuses](https://developers.fireblocks.com/reference/primary-transaction-statuses)" + enum: + - SUBMITTED + - QUEUED + - PENDING_SIGNATURE + - PENDING_AUTHORIZATION + - PENDING_3RD_PARTY_MANUAL_APPROVAL + - PENDING_3RD_PARTY + - BROADCASTING + - PENDING_AML_SCREENING + - CONFIRMING + - PARTIALLY_COMPLETED + - PENDING_EMAIL_APPROVAL + - CANCELLED + - REJECTED + - FAILED + - TIMEOUT + - BLOCKED + example: PENDING_SIGNATURE + type: string + TrustProofOfAddressCreateResponse: + description: Response from creating a proof of address transaction + example: + transactionId: 550e8400-e29b-41d4-a716-446655440000 + status: PENDING_SIGNATURE + properties: + transactionId: + description: Transaction ID from Fireblocks (UUID format) + example: 550e8400-e29b-41d4-a716-446655440000 + format: uuid + type: string + status: + $ref: "#/components/schemas/TypedMessageTransactionStatusEnum" + required: + - status + - transactionId + type: object + TrustProofOfAddressResponse: + description: Response containing the TRUST-compatible encoded signature + example: + signature: 0x6e6e0da016d49d2eaeefb2ce49efcde627151ce03d3e525963aa541ce07fb41c0f1f70d131f160480b4a68aaefbdae1b6fe3765eee3ceff0a8b47a8c979ccd961c + transactionId: 550e8400-e29b-41d4-a716-446655440000 + status: PENDING_SIGNATURE + properties: + transactionId: + description: Transaction ID from Fireblocks (UUID format) + example: 550e8400-e29b-41d4-a716-446655440000 + format: uuid + type: string + status: + $ref: "#/components/schemas/TypedMessageTransactionStatusEnum" + signature: + description: | + TRUST-compatible encoded signature for proof of address verification. + example: 0x6e6e0da016d49d2eaeefb2ce49efcde627151ce03d3e525963aa541ce07fb41c0f1f70d131f160480b4a68aaefbdae1b6fe3765eee3ceff0a8b47a8c979ccd961c + type: string + required: + - signature + - status + - transactionId + type: object ScreeningUpdateConfigurations: example: disableUnfreeze: true @@ -54591,7 +59762,7 @@ components: description: Base interface for TRLink policy rules properties: customerId: - description: Reference to TrlinkCustomer.id + description: Reference to TRLinkCustomer.id example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 type: string direction: @@ -55706,62 +60877,2386 @@ components: status: COMPLETED status: Completed properties: - aml: - $ref: "#/components/schemas/ComplianceScreeningResultFullPayload" - tr: - $ref: "#/components/schemas/ComplianceScreeningResultFullPayload" - amlList: - description: The list of all results of the AML screening. + aml: + $ref: "#/components/schemas/ComplianceScreeningResultFullPayload" + tr: + $ref: "#/components/schemas/ComplianceScreeningResultFullPayload" + amlList: + description: The list of all results of the AML screening. + items: + $ref: "#/components/schemas/ComplianceScreeningResultFullPayload" + type: array + status: + $ref: "#/components/schemas/ComplianceResultStatusesEnum" + amlRegistration: + $ref: "#/components/schemas/AmlRegistrationResultFullPayload" + trlinkRegistration: + $ref: "#/components/schemas/TRLinkRegistrationResultFullPayload" + trlinkDestinations: + description: The list of TRLink destination screening results. + items: + $ref: "#/components/schemas/TRLinkResultFullPayload" + type: array + type: object + AmlVerdictManualRequest: + example: + verdict: ACCEPT + txId: 550e8400-e29b-41d4-a716-446655440000 + properties: + verdict: + description: The AML verdict to set for the transaction + enum: + - ACCEPT + - REJECT + example: ACCEPT + type: string + txId: + description: The transaction ID to set the verdict for + example: 550e8400-e29b-41d4-a716-446655440000 + format: uuid + type: string + required: + - txId + - verdict + type: object + AmlVerdictManualResponse: + example: + success: true + message: AML verdict set successfully + properties: + success: + example: true + type: boolean + message: + example: AML verdict set successfully + type: string + required: + - message + - success + type: object + TRLinkPartnerResponse: + example: + baseUrl: https://api.notabene.id + isTest: false + ident: notabene + name: Notabene + description: Travel Rule compliance provider + active: true + id: 123e4567-e89b-12d3-a456-426614174000 + properties: + id: + description: Partner unique identifier + example: 123e4567-e89b-12d3-a456-426614174000 + format: uuid + type: string + ident: + description: Partner identification code + example: notabene + type: string + name: + description: Partner display name + example: Notabene + type: string + description: + description: Partner description + example: Travel Rule compliance provider + nullable: true + type: string + baseUrl: + description: Partner API base URL + example: https://api.notabene.id + type: string + active: + description: Whether the partner is active + example: true + type: boolean + isTest: + description: Whether this is a test/sandbox partner + example: false + type: boolean + required: + - active + - baseUrl + - id + - ident + - isTest + - name + type: object + TRLinkPartnersListResponse: + items: + $ref: "#/components/schemas/TRLinkPartnerResponse" + type: array + TRLinkDiscoverableStatus: + description: Customer discoverability status in the Travel Rule network + enum: + - anonymous + - hidden + - discoverable + example: discoverable + nullable: true + type: string + TRLinkGeographicAddressRequest: + description: Geographic address following IVMS101 standard + example: + country: US + streetName: Main Street + townName: New York + districtName: Manhattan + countrySubDivision: NY + postBox: PO Box 456 + buildingNumber: "123" + postCode: "10001" + addressLine: + - Suite 100 + floor: "5" + nullable: true + properties: + addressLine: + description: "Address lines (max 3, each up to 70 characters)" + example: + - Suite 100 + items: + maxLength: 70 + type: string + maxItems: 3 + nullable: true + type: array + streetName: + description: Street name (required if buildingNumber is provided) + example: Main Street + maxLength: 70 + nullable: true + type: string + buildingNumber: + description: Building number + example: "123" + maxLength: 255 + nullable: true + type: string + floor: + description: Floor number + example: "5" + maxLength: 70 + nullable: true + type: string + postBox: + description: Post box number + example: PO Box 456 + maxLength: 16 + nullable: true + type: string + postCode: + description: Postal code (required if townName is provided) + example: "10001" + maxLength: 16 + nullable: true + type: string + townName: + description: City or town name (required if postCode is provided) + example: New York + maxLength: 35 + nullable: true + type: string + districtName: + description: District name + example: Manhattan + maxLength: 35 + nullable: true + type: string + countrySubDivision: + description: State or province (validated against country) + example: NY + maxLength: 35 + nullable: true + type: string + country: + description: "ISO 3166-1 alpha-2 country code (required if town, district,\ + \ or sub-division provided)" + example: US + nullable: true + type: string + type: object + TRLinkCustomerResponse: + example: + vaults: + - 0 + - 1 + - 2 + dateOfIncorporation: 2015-03-15 + discoverable: discoverable + fullLegalName: Acme Corporation Ltd. + lastUpdate: 2025-01-24T08:45:00Z + tenantId: 550e8400-e29b-41d4-a716-446655440003 + trPrimaryPurpose: Virtual asset service provider + nationalIdentification: "{\"nationalIdentifierType\":\"LEIXG\",\"nationalIdentifier\"\ + :\"5493001KJTIIGC8Y1R12\",\"countryOfIssue\":\"US\"}" + id: 550e8400-e29b-41d4-a716-446655440001 + geographicAddress: + country: US + streetName: Main Street + townName: New York + districtName: Manhattan + countrySubDivision: NY + postBox: PO Box 456 + buildingNumber: "123" + postCode: "10001" + addressLine: + - Suite 100 + floor: "5" + shortName: Acme Corp + countryOfRegistration: US + createDate: 2025-01-20T10:30:00Z + properties: + id: + description: Customer unique identifier + example: 550e8400-e29b-41d4-a716-446655440001 + format: uuid + type: string + tenantId: + description: Fireblocks tenant ID + example: 550e8400-e29b-41d4-a716-446655440003 + format: uuid + type: string + discoverable: + $ref: "#/components/schemas/TRLinkDiscoverableStatus" + shortName: + description: Short display name + example: Acme Corp + type: string + fullLegalName: + description: Full legal entity name + example: Acme Corporation Ltd. + type: string + geographicAddress: + $ref: "#/components/schemas/TRLinkGeographicAddressRequest" + countryOfRegistration: + description: ISO 3166-1 alpha-2 country code where the entity is registered + example: US + type: string + nationalIdentification: + description: National identification (serialized as string) + example: "{\"nationalIdentifierType\":\"LEIXG\",\"nationalIdentifier\":\"\ + 5493001KJTIIGC8Y1R12\",\"countryOfIssue\":\"US\"}" + nullable: true + type: string + dateOfIncorporation: + description: Date of entity incorporation (ISO 8601 format) + example: 2015-03-15 + format: date + nullable: true + type: string + vaults: + description: Associated Fireblocks vault account IDs + example: + - 0 + - 1 + - 2 + items: + type: integer + nullable: true + type: array + trPrimaryPurpose: + description: Primary purpose for Travel Rule compliance + example: Virtual asset service provider + nullable: true + type: string + createDate: + description: Timestamp when the customer was created (ISO 8601 format) + example: 2025-01-20T10:30:00Z + format: date-time + type: string + lastUpdate: + description: Timestamp when the customer was last updated (ISO 8601 format) + example: 2025-01-24T08:45:00Z + format: date-time + type: string + required: + - countryOfRegistration + - createDate + - discoverable + - fullLegalName + - id + - lastUpdate + - shortName + - tenantId + type: object + TRLinkCustomersListResponse: + items: + $ref: "#/components/schemas/TRLinkCustomerResponse" + type: array + TRLinkCreateCustomerRequest: + example: + dateOfIncorporation: 2015-03-15 + discoverable: discoverable + fullLegalName: Acme Corporation Ltd. + vaults: + - 0 + - 1 + - 2 + trPrimaryPurpose: Virtual asset service provider + nationalIdentification: "{\"nationalIdentifierType\":\"LEIXG\",\"nationalIdentifier\"\ + :\"5493001KJTIIGC8Y1R12\",\"countryOfIssue\":\"US\"}" + geographicAddress: + country: US + streetName: Main Street + townName: New York + districtName: Manhattan + countrySubDivision: NY + postBox: PO Box 456 + buildingNumber: "123" + postCode: "10001" + addressLine: + - Suite 100 + floor: "5" + shortName: Acme Corp + countryOfRegistration: US + properties: + discoverable: + $ref: "#/components/schemas/TRLinkDiscoverableStatus" + shortName: + description: Short display name (required) + example: Acme Corp + type: string + fullLegalName: + description: Full legal entity name + example: Acme Corporation Ltd. + nullable: true + type: string + geographicAddress: + $ref: "#/components/schemas/TRLinkGeographicAddressRequest" + countryOfRegistration: + description: ISO 3166-1 alpha-2 country code where the entity is registered + example: US + nullable: true + type: string + nationalIdentification: + description: National identification as JSON string + example: "{\"nationalIdentifierType\":\"LEIXG\",\"nationalIdentifier\":\"\ + 5493001KJTIIGC8Y1R12\",\"countryOfIssue\":\"US\"}" + nullable: true + type: string + dateOfIncorporation: + description: "Date of entity incorporation (ISO 8601 format: YYYY-MM-DD)" + example: 2015-03-15 + format: date + nullable: true + type: string + vaults: + description: Associated Fireblocks vault account IDs + example: + - 0 + - 1 + - 2 + items: + type: integer + nullable: true + type: array + trPrimaryPurpose: + description: Primary purpose for Travel Rule compliance (enum value) + example: Virtual asset service provider + nullable: true + type: string + required: + - shortName + type: object + TRLinkUpdateCustomerRequest: + example: + dateOfIncorporation: 2015-03-15 + discoverable: discoverable + fullLegalName: Acme Corporation Ltd. + vaults: + - 0 + - 1 + - 2 + - 3 + trPrimaryPurpose: "Updated: Virtual asset service provider and exchange" + nationalIdentification: "{\"nationalIdentifierType\":\"LEIXG\",\"nationalIdentifier\"\ + :\"5493001KJTIIGC8Y1R12\",\"countryOfIssue\":\"US\"}" + geographicAddress: + country: US + streetName: Main Street + townName: New York + districtName: Manhattan + countrySubDivision: NY + postBox: PO Box 456 + buildingNumber: "123" + postCode: "10001" + addressLine: + - Suite 100 + floor: "5" + shortName: Acme Corporation + countryOfRegistration: US + properties: + discoverable: + $ref: "#/components/schemas/TRLinkDiscoverableStatus" + shortName: + description: Short display name + example: Acme Corporation + nullable: true + type: string + fullLegalName: + description: Full legal entity name + example: Acme Corporation Ltd. + nullable: true + type: string + geographicAddress: + $ref: "#/components/schemas/TRLinkGeographicAddressRequest" + countryOfRegistration: + description: ISO 3166-1 alpha-2 country code where the entity is registered + example: US + nullable: true + type: string + nationalIdentification: + description: National identification as JSON string + example: "{\"nationalIdentifierType\":\"LEIXG\",\"nationalIdentifier\":\"\ + 5493001KJTIIGC8Y1R12\",\"countryOfIssue\":\"US\"}" + nullable: true + type: string + dateOfIncorporation: + description: "Date of entity incorporation (ISO 8601 format: YYYY-MM-DD)" + example: 2015-03-15 + format: date + nullable: true + type: string + vaults: + description: Associated Fireblocks vault account IDs + example: + - 0 + - 1 + - 2 + - 3 + items: + type: integer + nullable: true + type: array + trPrimaryPurpose: + description: Primary purpose for Travel Rule compliance + example: "Updated: Virtual asset service provider and exchange" + nullable: true + type: string + type: object + TRLinkCustomerIntegrationResponse: + example: + apiKey: fb_*************** + partner: + baseUrl: https://api.notabene.id + isTest: false + ident: notabene + name: Notabene + description: Travel Rule compliance provider + active: true + id: 123e4567-e89b-12d3-a456-426614174000 + lastUpdate: 2025-01-24T08:45:00Z + secret: '***' + customerIntegrationId: 123e4567-e89b-12d3-a456-426614174000 + createDate: 2025-01-20T10:30:00Z + customer: + vaults: + - 0 + - 1 + - 2 + dateOfIncorporation: 2015-03-15 + discoverable: discoverable + fullLegalName: Acme Corporation Ltd. + lastUpdate: 2025-01-24T08:45:00Z + tenantId: 550e8400-e29b-41d4-a716-446655440003 + trPrimaryPurpose: Virtual asset service provider + nationalIdentification: "{\"nationalIdentifierType\":\"LEIXG\",\"nationalIdentifier\"\ + :\"5493001KJTIIGC8Y1R12\",\"countryOfIssue\":\"US\"}" + id: 550e8400-e29b-41d4-a716-446655440001 + geographicAddress: + country: US + streetName: Main Street + townName: New York + districtName: Manhattan + countrySubDivision: NY + postBox: PO Box 456 + buildingNumber: "123" + postCode: "10001" + addressLine: + - Suite 100 + floor: "5" + shortName: Acme Corp + countryOfRegistration: US + createDate: 2025-01-20T10:30:00Z + properties: + customerIntegrationId: + description: Customer integration unique identifier + example: 123e4567-e89b-12d3-a456-426614174000 + format: uuid + type: string + apiKey: + description: API key for partner integration (censored for security) + example: fb_*************** + nullable: true + type: string + secret: + description: Secret for partner integration (censored for security) + example: '***' + nullable: true + type: string + createDate: + description: Timestamp when the integration was created (ISO 8601 format) + example: 2025-01-20T10:30:00Z + format: date-time + type: string + lastUpdate: + description: Timestamp when the integration was last updated (ISO 8601 format) + example: 2025-01-24T08:45:00Z + format: date-time + type: string + partner: + $ref: "#/components/schemas/TRLinkPartnerResponse" + customer: + $ref: "#/components/schemas/TRLinkCustomerResponse" + required: + - createDate + - customer + - customerIntegrationId + - lastUpdate + - partner + type: object + TRLinkCustomerIntegrationsListResponse: + items: + $ref: "#/components/schemas/TRLinkCustomerIntegrationResponse" + type: array + TRLinkCreateIntegrationRequest: + example: + partnerIdent: sumsub + customerId: 550e8400-e29b-41d4-a716-446655440001 + properties: + customerId: + description: Customer unique identifier + example: 550e8400-e29b-41d4-a716-446655440001 + format: uuid + type: string + partnerIdent: + description: "Partner identification code (e.g., \"sumsub\", \"notabene\"\ + )" + example: sumsub + type: string + required: + - customerId + - partnerIdent + type: object + TRLinkConnectIntegrationRequest: + example: + apiKey: fb_api_key_12345 + secret: secret_value_67890 + properties: + apiKey: + description: API key provided by the Travel Rule partner + example: fb_api_key_12345 + type: string + secret: + description: Secret/password provided by the Travel Rule partner (optional) + example: secret_value_67890 + nullable: true + type: string + required: + - apiKey + type: object + TRLinkJwkPublicKey: + description: JSON Web Key (JWK) format public key + example: + kty: RSA + e: AQAB + use: enc + kid: key-12345 + "n": xGOr-H7A... + properties: + kty: + description: Key type + enum: + - RSA + example: RSA + type: string + e: + description: RSA public exponent + example: AQAB + type: string + use: + description: Public key use (encryption) + enum: + - enc + example: enc + type: string + kid: + description: Key ID + example: key-12345 + type: string + "n": + description: RSA modulus + example: xGOr-H7A... + type: string + required: + - e + - kid + - kty + - "n" + - use + type: object + TRLinkPublicKeyResponse: + example: + publicKey: + kty: RSA + e: AQAB + use: enc + kid: key-12345 + "n": xGOr-H7A... + issuer: notabene + properties: + issuer: + description: Partner issuer identifier + example: notabene + type: string + publicKey: + $ref: "#/components/schemas/TRLinkJwkPublicKey" + required: + - issuer + - publicKey + type: object + TRLinkTestConnectionResponse: + example: + partnerIdent: notabene + partnerName: Notabene + success: true + message: "Connection test failed: Invalid API key" + timestamp: 2025-01-24T10:30:00Z + properties: + success: + description: Whether the connection test was successful + example: true + type: boolean + message: + description: Additional message about the connection test (present when + success is false) + example: "Connection test failed: Invalid API key" + nullable: true + type: string + timestamp: + description: Timestamp when the test was performed (ISO 8601 format) + example: 2025-01-24T10:30:00Z + format: date-time + type: string + partnerIdent: + description: Partner identification code + example: notabene + nullable: true + type: string + partnerName: + description: Partner display name + example: Notabene + nullable: true + type: string + required: + - success + - timestamp + type: object + TRLinkVaspNationalIdentification: + example: + identifier: "123456789" + authority: Financial Conduct Authority + type: LEI + properties: + identifier: + description: National identification number + example: "123456789" + type: string + type: + description: Type of national identification + example: LEI + nullable: true + type: string + authority: + description: Issuing authority + example: Financial Conduct Authority + nullable: true + type: string + required: + - identifier + type: object + TRLinkVaspGeographicAddress: + example: + country: USA + streetName: Main Street + formattedAddress: "123 Main Street, New York, NY 10001, USA" + city: New York + postalCode: "10001" + buildingNumber: "123" + properties: + formattedAddress: + description: Complete formatted address + example: "123 Main Street, New York, NY 10001, USA" + nullable: true + type: string + country: + description: Country code or name + example: USA + nullable: true + type: string + streetName: + description: Street name + example: Main Street + nullable: true + type: string + buildingNumber: + description: Building number + example: "123" + nullable: true + type: string + city: + description: City name + example: New York + nullable: true + type: string + postalCode: + description: Postal/ZIP code + example: "10001" + nullable: true + type: string + type: object + TRLinkVaspListDto: + additionalProperties: true + example: + legalName: ACME Virtual Assets Corporation + name: ACME Virtual Assets + nationalIdentification: + identifier: "123456789" + authority: Financial Conduct Authority + type: LEI + id: did:ethr:0x1234567890abcdef + geographicAddress: + country: USA + streetName: Main Street + formattedAddress: "123 Main Street, New York, NY 10001, USA" + city: New York + postalCode: "10001" + buildingNumber: "123" + properties: + id: + description: VASP unique identifier (DID format) + example: did:ethr:0x1234567890abcdef + type: string + name: + description: VASP display name + example: ACME Virtual Assets + type: string + legalName: + description: Legal entity name + example: ACME Virtual Assets Corporation + nullable: true + type: string + nationalIdentification: + $ref: "#/components/schemas/TRLinkVaspNationalIdentification" + geographicAddress: + $ref: "#/components/schemas/TRLinkVaspGeographicAddress" + required: + - id + - name + type: object + TRLinkPaging: + example: + next: eyJwYWdlIjoyLCJsaW1pdCI6MTAwfQ== + properties: + next: + description: Cursor for next page + example: eyJwYWdlIjoyLCJsaW1pdCI6MTAwfQ== + type: string + required: + - next + type: object + TRLinkAPIPagedResponse: + description: Generic paginated response wrapper with cursor-based pagination + example: + data: + - legalName: ACME Virtual Assets Corporation + name: ACME Virtual Assets + nationalIdentification: + identifier: "123456789" + authority: Financial Conduct Authority + type: LEI + id: did:ethr:0x1234567890abcdef + geographicAddress: + country: USA + streetName: Main Street + formattedAddress: "123 Main Street, New York, NY 10001, USA" + city: New York + postalCode: "10001" + buildingNumber: "123" + - legalName: ACME Virtual Assets Corporation + name: ACME Virtual Assets + nationalIdentification: + identifier: "123456789" + authority: Financial Conduct Authority + type: LEI + id: did:ethr:0x1234567890abcdef + geographicAddress: + country: USA + streetName: Main Street + formattedAddress: "123 Main Street, New York, NY 10001, USA" + city: New York + postalCode: "10001" + buildingNumber: "123" + paging: + next: eyJwYWdlIjoyLCJsaW1pdCI6MTAwfQ== + properties: + data: + description: Array of result items + items: + $ref: "#/components/schemas/TRLinkVaspListDto" + type: array + paging: + $ref: "#/components/schemas/TRLinkPaging" + required: + - data + type: object + TRLinkVaspDto: + additionalProperties: true + example: + legalName: ACME Virtual Assets Corporation + name: ACME Virtual Assets + nationalIdentification: + identifier: "123456789" + authority: Financial Conduct Authority + type: LEI + id: did:ethr:0x1234567890abcdef + geographicAddress: + country: USA + streetName: Main Street + formattedAddress: "123 Main Street, New York, NY 10001, USA" + city: New York + postalCode: "10001" + buildingNumber: "123" + publicKey: |- + -----BEGIN PUBLIC KEY----- + MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA... + -----END PUBLIC KEY----- + properties: + id: + description: VASP unique identifier (DID format) + example: did:ethr:0x1234567890abcdef + type: string + name: + description: VASP display name + example: ACME Virtual Assets + type: string + legalName: + description: Legal entity name + example: ACME Virtual Assets Corporation + nullable: true + type: string + nationalIdentification: + $ref: "#/components/schemas/TRLinkVaspNationalIdentification" + geographicAddress: + $ref: "#/components/schemas/TRLinkVaspGeographicAddress" + publicKey: + description: VASP public key for encryption + example: |- + -----BEGIN PUBLIC KEY----- + MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA... + -----END PUBLIC KEY----- + nullable: true + type: string + required: + - id + - name + type: object + TRLinkPublicAssetInfo: + description: Public asset information with limited properties for API consumption + example: + nativeAsset: ETH + issuerAddress: 0x1234567890abcdef1234567890abcdef12345678 + decimals: 6 + name: USD Coin + contractAddress: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 + id: USDC_ETH + type: ERC20 + properties: + id: + description: "The unique ID of the asset (e.g., Fireblocks asset ID)" + example: USDC_ETH + type: string + name: + description: The name of the asset + example: USD Coin + type: string + type: + description: "The type of the asset (e.g., BASE_ASSET, ERC20)" + example: ERC20 + type: string + contractAddress: + description: The contract address of the asset (for tokenized assets) + example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 + type: string + nativeAsset: + description: "The native asset of the network (e.g., ETH for ERC20 tokens)" + example: ETH + type: string + decimals: + description: The number of decimal places for the asset + example: 6 + type: number + issuerAddress: + description: The issuer address of the asset (optional) + example: 0x1234567890abcdef1234567890abcdef12345678 + nullable: true + type: string + required: + - contractAddress + - decimals + - id + - name + - nativeAsset + - type + type: object + TRLinkAssetsListPagedResponse: + description: Paginated list of supported assets with partner capability flag + example: + note: Partner can handle assets beyond those explicitly listed + data: + - nativeAsset: ETH + issuerAddress: 0x1234567890abcdef1234567890abcdef12345678 + decimals: 6 + name: USD Coin + contractAddress: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 + id: USDC_ETH + type: ERC20 + - nativeAsset: ETH + issuerAddress: 0x1234567890abcdef1234567890abcdef12345678 + decimals: 6 + name: USD Coin + contractAddress: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 + id: USDC_ETH + type: ERC20 + paging: + next: eyJwYWdlIjoyLCJsaW1pdCI6MTAwfQ== + partnerCanHandleAnyAsset: true + properties: + data: + description: List of supported assets + items: + $ref: "#/components/schemas/TRLinkPublicAssetInfo" + type: array + paging: + $ref: "#/components/schemas/TRLinkPaging" + partnerCanHandleAnyAsset: + description: Whether partner can handle any asset (not just explicitly listed + ones) + example: true + type: boolean + note: + description: Note about asset support capabilities + example: Partner can handle assets beyond those explicitly listed + type: string + required: + - data + - note + - partnerCanHandleAnyAsset + type: object + TRLinkGetSupportedAssetResponse: + description: Response for getting a single supported asset by ID + example: + partnerResponse: + assetCode: USDC + network: ethereum + enabled: true + note: Partner supports only explicitly listed assets + fireblocksAsset: + nativeAsset: ETH + issuerAddress: 0x1234567890abcdef1234567890abcdef12345678 + decimals: 6 + name: USD Coin + contractAddress: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 + id: USDC_ETH + type: ERC20 + partnerCanHandleAnyAsset: false + supported: true + properties: + fireblocksAsset: + $ref: "#/components/schemas/TRLinkPublicAssetInfo" + partnerResponse: + additionalProperties: true + description: Raw partner response data + example: + assetCode: USDC + network: ethereum + enabled: true + nullable: true + type: object + partnerCanHandleAnyAsset: + description: Whether partner can handle any asset (not just explicitly listed + ones) + example: false + type: boolean + note: + description: Note about asset support capabilities + example: Partner supports only explicitly listed assets + type: string + supported: + description: Whether the asset is supported by the partner + example: true + type: boolean + required: + - fireblocksAsset + - note + - partnerCanHandleAnyAsset + - partnerResponse + - supported + type: object + TRLinkOneTimeAddress: + example: + address: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + tag: "1234567890" + properties: + address: + description: Blockchain address + example: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + type: string + tag: + description: "Destination tag (memo, memo ID, etc.)" + example: "1234567890" + nullable: true + type: string + required: + - address + type: object + TRLinkDestinationTransferPeerPath: + description: Destination peer path for transaction + example: + oneTimeAddress: + address: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + tag: "1234567890" + walletId: "0" + id: "45" + type: ONE_TIME_ADDRESS + properties: + type: + description: "Destination peer type (e.g., ONE_TIME_ADDRESS, VAULT_ACCOUNT)" + example: ONE_TIME_ADDRESS + type: string + id: + description: Destination peer ID + example: "45" + nullable: true + type: string + walletId: + description: Destination wallet ID + example: "0" + nullable: true + type: string + oneTimeAddress: + $ref: "#/components/schemas/TRLinkOneTimeAddress" + required: + - type + type: object + TRLinkSourceTransferPeerPath: + description: Source peer path for transaction + example: + walletId: "0" + id: "12" + type: VAULT_ACCOUNT + properties: + type: + description: "Source peer type (e.g., VAULT_ACCOUNT, UNKNOWN)" + example: VAULT_ACCOUNT + type: string + id: + description: Source peer ID + example: "12" + nullable: true + type: string + walletId: + description: Source wallet ID + example: "0" + nullable: true + type: string + required: + - type + type: object + TRLinkTransactionDirection: + description: Transaction direction from workspace perspective + enum: + - INBOUND + - OUTBOUND + example: OUTBOUND + type: string + TRLinkAssessTravelRuleRequest: + description: Request to assess whether Travel Rule compliance is required for + a transaction + example: + amount: "1000" + amountUSD: "1000.50" + destination: + oneTimeAddress: + address: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + tag: "1234567890" + walletId: "0" + id: "45" + type: ONE_TIME_ADDRESS + txId: 550e8400-e29b-41d4-a716-446655440000 + destTag: "1234567890" + source: + walletId: "0" + id: "12" + type: VAULT_ACCOUNT + srcAddress: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + originatorVaspId: did:ethr:0x1234567890abcdef + assetId: USDT_ERC20 + destAddress: 0x8d12A197cB00D4747a1fe03395095ce2A5CC6819 + beneficiaryVaspId: did:ethr:0xfedcba0987654321 + txHash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + direction: OUTBOUND + properties: + txId: + description: Fireblocks transaction ID (optional) - RECOMMENDED for inbound + transactions + example: 550e8400-e29b-41d4-a716-446655440000 + format: uuid + nullable: true + type: string + amount: + description: Transaction amount (required when txId not provided) + example: "1000" + nullable: true + type: string + amountUSD: + description: Transaction amount in USD (optional) + example: "1000.50" + nullable: true + type: string + destination: + $ref: "#/components/schemas/TRLinkDestinationTransferPeerPath" + destAddress: + description: Destination address (optional) + example: 0x8d12A197cB00D4747a1fe03395095ce2A5CC6819 + nullable: true + type: string + destTag: + description: Destination tag (optional) + example: "1234567890" + nullable: true + type: string + source: + $ref: "#/components/schemas/TRLinkSourceTransferPeerPath" + srcAddress: + description: Source address (optional) + example: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + nullable: true + type: string + assetId: + description: "Asset identifier (e.g., ETH, BTC, USDC)" + example: USDT_ERC20 + nullable: true + type: string + direction: + $ref: "#/components/schemas/TRLinkTransactionDirection" + txHash: + description: Transaction hash (optional) + example: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + nullable: true + type: string + originatorVaspId: + description: Originator VASP identifier - required for inbound transactions + example: did:ethr:0x1234567890abcdef + nullable: true + type: string + beneficiaryVaspId: + description: Beneficiary VASP identifier - required for outbound transactions + example: did:ethr:0xfedcba0987654321 + nullable: true + type: string + type: object + TRLinkAssessmentDecision: + description: Decision about Travel Rule applicability + enum: + - REQUIRED + - NOT_REQUIRED + - NEED_MORE_INFO + example: REQUIRED + type: string + TRLinkThresholds: + example: + amount: "1000" + currency: USD + properties: + amount: + description: Threshold amount + example: "1000" + type: string + currency: + description: Currency code + example: USD + type: string + type: object + TRLinkAssessTravelRuleResponse: + description: Response indicating whether Travel Rule compliance is required + example: + reason: Transaction amount exceeds Travel Rule threshold for this jurisdiction + missingInfo: + - beneficiary.nationalIdentification + - beneficiary.dateOfBirth + thresholds: + amount: "1000" + currency: USD + decision: REQUIRED + requiredFields: + - originator.name + - originator.address + - beneficiary.name + - beneficiary.address + properties: + decision: + $ref: "#/components/schemas/TRLinkAssessmentDecision" + reason: + description: Explanation of the decision + example: Transaction amount exceeds Travel Rule threshold for this jurisdiction + type: string + requiredFields: + description: List of required fields if Travel Rule is required + example: + - originator.name + - originator.address + - beneficiary.name + - beneficiary.address + items: + type: string + nullable: true + type: array + missingInfo: + description: List of missing fields if more information is needed + example: + - beneficiary.nationalIdentification + - beneficiary.dateOfBirth + items: + type: string + nullable: true + type: array + thresholds: + $ref: "#/components/schemas/TRLinkThresholds" + required: + - decision + - reason + type: object + TRLinkIvms: + description: IVMS101 data structure containing encrypted PII + example: + data: aGVsbG8gd29ybGQgdGhpcyBpcyBlbmNyeXB0ZWQgZGF0YQ== + filledFields: + - "Beneficiary.beneficiaryPersons[].legalPerson.name.nameIdentifier" + - "Beneficiary.beneficiaryPersons[].naturalPerson.name.nameIdentifier" + version: IVMS101.2023 + properties: + version: + description: IVMS version + example: IVMS101.2023 + type: string + data: + description: Encrypted IVMS101 data containing originator and beneficiary + information + example: aGVsbG8gd29ybGQgdGhpcyBpcyBlbmNyeXB0ZWQgZGF0YQ== + type: string + filledFields: + description: List of fields that are filled in the IVMS data + example: + - "Beneficiary.beneficiaryPersons[].legalPerson.name.nameIdentifier" + - "Beneficiary.beneficiaryPersons[].naturalPerson.name.nameIdentifier" + items: + type: string + type: array + required: + - data + - filledFields + - version + type: object + TRLinkCreateTrmRequest: + description: Request to create a Travel Rule Message with IVMS101 PII data + example: + ivms101: + data: aGVsbG8gd29ybGQgdGhpcyBpcyBlbmNyeXB0ZWQgZGF0YQ== + filledFields: + - "Beneficiary.beneficiaryPersons[].legalPerson.name.nameIdentifier" + - "Beneficiary.beneficiaryPersons[].naturalPerson.name.nameIdentifier" + version: IVMS101.2023 + amount: "1000" + amountUSD: "1000.50" + destination: + oneTimeAddress: + address: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + tag: "1234567890" + walletId: "0" + id: "45" + type: ONE_TIME_ADDRESS + txId: 550e8400-e29b-41d4-a716-446655440000 + source: + walletId: "0" + id: "12" + type: VAULT_ACCOUNT + srcAddress: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + destTag: "1234567890" + originatorVaspId: did:ethr:0x1234567890abcdef + assetId: USDT_ERC20 + destAddress: 0x8d12A197cB00D4747a1fe03395095ce2A5CC6819 + beneficiaryVaspId: did:ethr:0xfedcba0987654321 + txHash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + direction: OUTBOUND + properties: + assetId: + description: Asset identifier (required when txId not provided) + example: USDT_ERC20 + nullable: true + type: string + amount: + description: Transaction amount (required when txId not provided) + example: "1000" + nullable: true + type: string + amountUSD: + description: Amount in USD (optional) + example: "1000.50" + nullable: true + type: string + source: + $ref: "#/components/schemas/TRLinkSourceTransferPeerPath" + srcAddress: + description: Source address (optional) + example: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + nullable: true + type: string + destination: + $ref: "#/components/schemas/TRLinkDestinationTransferPeerPath" + destAddress: + description: Destination address (optional) + example: 0x8d12A197cB00D4747a1fe03395095ce2A5CC6819 + nullable: true + type: string + destTag: + description: Destination tag (optional) + example: "1234567890" + nullable: true + type: string + txId: + description: Fireblocks transaction ID (optional) - RECOMMENDED for inbound + transactions + example: 550e8400-e29b-41d4-a716-446655440000 + format: uuid + nullable: true + type: string + txHash: + description: Transaction hash (optional) + example: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + nullable: true + type: string + direction: + $ref: "#/components/schemas/TRLinkTransactionDirection" + originatorVaspId: + description: Originator VASP identifier - required for inbound transactions + example: did:ethr:0x1234567890abcdef + nullable: true + type: string + beneficiaryVaspId: + description: Beneficiary VASP identifier - required for outbound transactions + example: did:ethr:0xfedcba0987654321 + nullable: true + type: string + ivms101: + $ref: "#/components/schemas/TRLinkIvms" + required: + - ivms101 + type: object + TRLinkTrmStatus: + description: Current status of the Travel Rule Message + enum: + - PENDING + - ACCEPTED + - REJECTED + - FAILED + example: ACCEPTED + nullable: true + type: string + TRLinkAssetFormat: + description: Asset format type + enum: + - fireblocks + - coinmarketcap + - slip44 + example: fireblocks + type: string + TRLinkAssetData: + example: + ticker: USDT + contractAddress: 0xdac17f958d2ee523a2206206994597c13d831ec7 + id: USDT_ERC20 + network: ETH + ucid: 825 + properties: + ticker: + description: "Asset ticker symbol (e.g., BTC, ETH, USDT)" + example: USDT + nullable: true + type: string + network: + description: "Network identifier from Fireblocks (e.g., ETH, BTC)" + example: ETH + type: string + ucid: + description: CoinMarketCap unique coin ID + example: 825 + nullable: true + type: number + contractAddress: + description: Contract address for tokens + example: 0xdac17f958d2ee523a2206206994597c13d831ec7 + nullable: true + type: string + id: + description: Fireblocks asset ID + example: USDT_ERC20 + nullable: true + type: string + required: + - network + type: object + TRLinkAsset: + example: + data: + ticker: USDT + contractAddress: 0xdac17f958d2ee523a2206206994597c13d831ec7 + id: USDT_ERC20 + network: ETH + ucid: 825 + format: fireblocks + properties: + format: + $ref: "#/components/schemas/TRLinkAssetFormat" + data: + $ref: "#/components/schemas/TRLinkAssetData" + required: + - data + - format + type: object + TRLinkFiatValue: + example: + amount: "1000.50" + currency: USD + properties: + amount: + description: Fiat amount + example: "1000.50" + type: string + currency: + description: Fiat currency code + example: USD + type: string + required: + - amount + - currency + type: object + TRLinkTrmDirection: + description: "Transaction direction for TRM (in = inbound, out = outbound)" + enum: + - in + - out + example: out + type: string + TRLinkTxnInfo: + example: + originatorWalletAddress: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + beneficiaryWalletAddress: 0x8d12A197cB00D4747a1fe03395095ce2A5CC6819 + txHash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + properties: + originatorWalletAddress: + description: Originator's blockchain wallet address + example: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + type: string + beneficiaryWalletAddress: + description: Beneficiary's blockchain wallet address + example: 0x8d12A197cB00D4747a1fe03395095ce2A5CC6819 + type: string + txHash: + description: Blockchain transaction hash + example: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + type: string + required: + - beneficiaryWalletAddress + - originatorWalletAddress + - txHash + type: object + TRLinkIvmsResponse: + description: IVMS101 data in response format + example: + data: eyJvcmlnaW5hdG9yIjp7Im5hbWUiOiJKb2huIERvZSIsImFkZHJlc3MiOiIxMjMgTWFpbiBTdCJ9LCJiZW5lZmljaWFyeSI6eyJuYW1lIjoiSmFuZSBTbWl0aCIsImFkZHJlc3MiOiI0NTYgRWxtIFN0In19 + filledFields: + - originator.name + - originator.address + - beneficiary.name + - beneficiary.address + version: "1.0" + properties: + version: + description: IVMS101 version + example: "1.0" + type: string + data: + description: Base64 encoded IVMS101 data containing originator and beneficiary + information + example: eyJvcmlnaW5hdG9yIjp7Im5hbWUiOiJKb2huIERvZSIsImFkZHJlc3MiOiIxMjMgTWFpbiBTdCJ9LCJiZW5lZmljaWFyeSI6eyJuYW1lIjoiSmFuZSBTbWl0aCIsImFkZHJlc3MiOiI0NTYgRWxtIFN0In19 + type: string + filledFields: + description: List of fields that are filled in the IVMS101 data + example: + - originator.name + - originator.address + - beneficiary.name + - beneficiary.address + items: + type: string + type: array + required: + - data + - filledFields + - version + type: object + TRLinkProviderData: + example: + data: + vasp_did: did:ethr:0x1234567890abcdef + compliance_status: verified + provider: notabene + properties: + provider: + description: Provider name + example: notabene + nullable: true + type: string + data: + additionalProperties: true + description: Provider-specific data + example: + vasp_did: did:ethr:0x1234567890abcdef + compliance_status: verified + nullable: true + type: object + type: object + TRLinkTrmInfoResponse: + description: Travel Rule Message information + example: + ivms101: + data: eyJvcmlnaW5hdG9yIjp7Im5hbWUiOiJKb2huIERvZSIsImFkZHJlc3MiOiIxMjMgTWFpbiBTdCJ9LCJiZW5lZmljaWFyeSI6eyJuYW1lIjoiSmFuZSBTbWl0aCIsImFkZHJlc3MiOiI0NTYgRWxtIFN0In19 + filledFields: + - originator.name + - originator.address + - beneficiary.name + - beneficiary.address + version: "1.0" + reason: Travel Rule compliance required for this transaction + amount: "1000" + providerData: + data: + vasp_did: did:ethr:0x1234567890abcdef + compliance_status: verified + provider: notabene + externalId: 550e8400-e29b-41d4-a716-446655440000 + fiatValue: + amount: "1000.50" + currency: USD + version: "1.0" + originatorVaspId: did:ethr:0x1234567890abcdef + txnInfo: + originatorWalletAddress: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + beneficiaryWalletAddress: 0x8d12A197cB00D4747a1fe03395095ce2A5CC6819 + txHash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef + beneficiaryVaspId: did:ethr:0xfedcba0987654321 + id: trm_1234567890abcdef + asset: + data: + ticker: USDT + contractAddress: 0xdac17f958d2ee523a2206206994597c13d831ec7 + id: USDT_ERC20 + network: ETH + ucid: 825 + format: fireblocks + status: ACCEPTED + direction: out + properties: + id: + description: TRM message ID + example: trm_1234567890abcdef + type: string + version: + description: TRM version + example: "1.0" + nullable: true + type: string + status: + $ref: "#/components/schemas/TRLinkTrmStatus" + reason: + description: Human readable reason for the current status + example: Travel Rule compliance required for this transaction + nullable: true + type: string + externalId: + description: "External ID (e.g., Fireblocks ID)" + example: 550e8400-e29b-41d4-a716-446655440000 + type: string + asset: + $ref: "#/components/schemas/TRLinkAsset" + amount: + description: Transaction amount in asset units + example: "1000" + type: string + fiatValue: + $ref: "#/components/schemas/TRLinkFiatValue" + direction: + $ref: "#/components/schemas/TRLinkTrmDirection" + originatorVaspId: + description: ID of the originator VASP + example: did:ethr:0x1234567890abcdef + nullable: true + type: string + beneficiaryVaspId: + description: ID of the beneficiary VASP + example: did:ethr:0xfedcba0987654321 + nullable: true + type: string + txnInfo: + $ref: "#/components/schemas/TRLinkTxnInfo" + ivms101: + $ref: "#/components/schemas/TRLinkIvmsResponse" + providerData: + $ref: "#/components/schemas/TRLinkProviderData" + required: + - amount + - asset + - direction + - externalId + - id + - ivms101 + - txnInfo + type: object + TRLinkCancelTrmRequest: + example: + reason: Transaction no longer needed + cancelledBy: user_123456 + properties: + reason: + description: Reason for cancellation + example: Transaction no longer needed + nullable: true + type: string + cancelledBy: + description: User ID who cancelled the TRM + example: user_123456 + nullable: true + type: string + type: object + TRLinkRedirectTrmRequest: + example: + subsidiaryVaspId: did:ethr:0xabcdef1234567890 + properties: + subsidiaryVaspId: + description: ID of the subsidiary VASP to redirect the TRM to + example: did:ethr:0xabcdef1234567890 + type: string + required: + - subsidiaryVaspId + type: object + TRLinkAmountRange: + description: Minimum and maximum amount range specification + example: + min: "1000" + max: "100000" + properties: + min: + description: Minimum amount (inclusive) + example: "1000" + nullable: true + type: string + max: + description: Maximum amount (inclusive) + example: "100000" + nullable: true + type: string + type: object + TRLinkCurrency: + enum: + - USD + - NATIVE + type: string + TRLinkAmount-2: + description: Amount specification with range and currency type + example: + range: + min: "1000" + max: "100000" + currency: USD + properties: + range: + $ref: "#/components/schemas/TRLinkAmountRange" + currency: + $ref: "#/components/schemas/TRLinkCurrency" + required: + - currency + - range + type: object + TRLinkPreScreeningAction-2: + enum: + - SCREEN + - PASS + type: string + TRLinkPreScreeningRule-2: + description: Pre-screening rule that determines if a transaction should be screened + example: + sourceId: sourceId + amount: + range: + min: "1000" + max: "100000" + currency: USD + sourceAddress: 0x1234567890abcdef1234567890abcdef12345678 + description: Screen large BTC outbound transactions to external wallets + baseAsset: baseAsset + destType: EXTERNAL_WALLET + isDefault: false + destId: destId + sourceType: VAULT_ACCOUNT + destSubType: destSubType + destAddress: 0xabcdefabcdefabcdefabcdefabcdefabcdefabcd + customerId: cust_123abc + action: SCREEN + sourceSubType: sourceSubType + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + properties: + customerId: + description: Customer identifier + example: cust_123abc + nullable: true + type: string + direction: + $ref: "#/components/schemas/TRLinkTransactionDirection" + sourceType: + description: Source entity type + example: VAULT_ACCOUNT + nullable: true + type: string + sourceSubType: + description: Source entity subtype + nullable: true + type: string + sourceAddress: + description: Source blockchain address + example: 0x1234567890abcdef1234567890abcdef12345678 + nullable: true + type: string + destType: + description: Destination entity type + example: EXTERNAL_WALLET + nullable: true + type: string + destSubType: + description: Destination entity subtype + nullable: true + type: string + destAddress: + description: Destination blockchain address + example: 0xabcdefabcdefabcdefabcdefabcdefabcdefabcd + nullable: true + type: string + sourceId: + description: Source identifier + nullable: true + type: string + destId: + description: Destination identifier + nullable: true + type: string + asset: + description: Asset or cryptocurrency type + example: BTC + nullable: true + type: string + baseAsset: + description: Base asset for derivatives + nullable: true + type: string + amount: + $ref: "#/components/schemas/TRLinkAmount-2" + networkProtocol: + description: Network protocol identifier + example: BITCOIN + nullable: true + type: string + operation: + description: Operation type + example: TRANSFER + nullable: true + type: string + description: + description: Rule description + example: Screen large BTC outbound transactions to external wallets + nullable: true + type: string + isDefault: + description: Whether this is a default rule + example: false + nullable: true + type: boolean + action: + $ref: "#/components/schemas/TRLinkPreScreeningAction-2" + required: + - action + type: object + TRLinkPostScreeningAction: + enum: + - ACCEPT + - ALERT + - REJECT + - WAIT + type: string + TRLinkPostScreeningRule-2: + description: Post-screening rule that determines the verdict based on screening + results + example: + sourceId: sourceId + amount: + range: + min: "1000" + max: "100000" + currency: USD + sourceAddress: 0x9876543210fedcba9876543210fedcba98765432 + trmStatus: ACCEPTED + description: Accept transactions with TRM approval after January 2024 + baseAsset: baseAsset + destType: VAULT_ACCOUNT + isDefault: false + destId: destId + sourceType: EXTERNAL_WALLET + providerIdent: trm-provider-1 + destSubType: destSubType + destAddress: 0x1234567890abcdef1234567890abcdef12345678 + customerId: cust_123abc + action: ACCEPT + sourceSubType: sourceSubType + asset: ETH + operation: TRANSFER + validBefore: 1735689600000 + networkProtocol: ETHEREUM + validAfter: 1704067200000 + direction: OUTBOUND + properties: + customerId: + description: Customer identifier + example: cust_123abc + nullable: true + type: string + direction: + $ref: "#/components/schemas/TRLinkTransactionDirection" + sourceType: + description: Source entity type + example: EXTERNAL_WALLET + nullable: true + type: string + sourceSubType: + description: Source entity subtype + nullable: true + type: string + sourceAddress: + description: Source blockchain address + example: 0x9876543210fedcba9876543210fedcba98765432 + nullable: true + type: string + destType: + description: Destination entity type + example: VAULT_ACCOUNT + nullable: true + type: string + destSubType: + description: Destination entity subtype + nullable: true + type: string + destAddress: + description: Destination blockchain address + example: 0x1234567890abcdef1234567890abcdef12345678 + nullable: true + type: string + sourceId: + description: Source identifier + nullable: true + type: string + destId: + description: Destination identifier + nullable: true + type: string + asset: + description: Asset or cryptocurrency type + example: ETH + nullable: true + type: string + baseAsset: + description: Base asset for derivatives + nullable: true + type: string + amount: + $ref: "#/components/schemas/TRLinkAmount-2" + networkProtocol: + description: Network protocol identifier + example: ETHEREUM + nullable: true + type: string + operation: + description: Operation type + example: TRANSFER + nullable: true + type: string + description: + description: Rule description + example: Accept transactions with TRM approval after January 2024 + nullable: true + type: string + isDefault: + description: Whether this is a default rule + example: false + nullable: true + type: boolean + providerIdent: + description: TRP provider identifier + example: trm-provider-1 + nullable: true + type: string + trmStatus: + $ref: "#/components/schemas/TRLinkTrmStatus" + validBefore: + description: Rule is valid before this timestamp (milliseconds) + example: 1735689600000 + format: int64 + nullable: true + type: integer + validAfter: + description: Rule is valid after this timestamp (milliseconds) + example: 1704067200000 + format: int64 + nullable: true + type: integer + action: + $ref: "#/components/schemas/TRLinkPostScreeningAction" + required: + - action + type: object + TRLinkMissingTrmAction-2: + enum: + - WAIT + - REJECT + - ACCEPT + type: string + TRLinkMissingTrmRule-2: + description: Rule for handling transactions when TRM screening data is missing + or unavailable + example: + sourceId: sourceId + amount: + range: + min: "1000" + max: "100000" + currency: USD + sourceAddress: 0xabcdef1234567890abcdef1234567890abcdef12 + description: Wait for TRM screening on inbound transactions + baseAsset: baseAsset + destType: VAULT_ACCOUNT + isDefault: false + destId: destId + sourceType: EXTERNAL_WALLET + destSubType: destSubType + destAddress: 0x567890abcdef1234567890abcdef1234567890ab + customerId: cust_123abc + action: WAIT + sourceSubType: sourceSubType + asset: BTC + operation: TRANSFER + validBefore: 1735689600000 + networkProtocol: BITCOIN + validAfter: 1704067200000 + direction: OUTBOUND + properties: + customerId: + description: Customer identifier + example: cust_123abc + nullable: true + type: string + direction: + $ref: "#/components/schemas/TRLinkTransactionDirection" + sourceType: + description: Source entity type + example: EXTERNAL_WALLET + nullable: true + type: string + sourceSubType: + description: Source entity subtype + nullable: true + type: string + sourceAddress: + description: Source blockchain address + example: 0xabcdef1234567890abcdef1234567890abcdef12 + nullable: true + type: string + destType: + description: Destination entity type + example: VAULT_ACCOUNT + nullable: true + type: string + destSubType: + description: Destination entity subtype + nullable: true + type: string + destAddress: + description: Destination blockchain address + example: 0x567890abcdef1234567890abcdef1234567890ab + nullable: true + type: string + sourceId: + description: Source identifier + nullable: true + type: string + destId: + description: Destination identifier + nullable: true + type: string + asset: + description: Asset or cryptocurrency type + example: BTC + nullable: true + type: string + baseAsset: + description: Base asset for derivatives + nullable: true + type: string + amount: + $ref: "#/components/schemas/TRLinkAmount-2" + networkProtocol: + description: Network protocol identifier + example: BITCOIN + nullable: true + type: string + operation: + description: Operation type + example: TRANSFER + nullable: true + type: string + description: + description: Rule description + example: Wait for TRM screening on inbound transactions + nullable: true + type: string + isDefault: + description: Whether this is a default rule + example: false + nullable: true + type: boolean + validBefore: + description: Rule is valid before this timestamp (milliseconds) + example: 1735689600000 + format: int64 + nullable: true + type: integer + validAfter: + description: Rule is valid after this timestamp (milliseconds) + example: 1704067200000 + format: int64 + nullable: true + type: integer + action: + $ref: "#/components/schemas/TRLinkMissingTrmAction-2" + required: + - action + type: object + TRLinkPolicyResponse: + description: "TRLink policy response containing pre-screening, post-screening,\ + \ and missing TRM rules" + example: + missingTrmRules: + - sourceId: sourceId + amount: + range: + min: "1000" + max: "100000" + currency: USD + sourceAddress: 0xabcdef1234567890abcdef1234567890abcdef12 + description: Wait for TRM screening on inbound transactions + baseAsset: baseAsset + destType: VAULT_ACCOUNT + isDefault: false + destId: destId + sourceType: EXTERNAL_WALLET + destSubType: destSubType + destAddress: 0x567890abcdef1234567890abcdef1234567890ab + customerId: cust_123abc + action: WAIT + sourceSubType: sourceSubType + asset: BTC + operation: TRANSFER + validBefore: 1735689600000 + networkProtocol: BITCOIN + validAfter: 1704067200000 + direction: OUTBOUND + - sourceId: sourceId + amount: + range: + min: "1000" + max: "100000" + currency: USD + sourceAddress: 0xabcdef1234567890abcdef1234567890abcdef12 + description: Wait for TRM screening on inbound transactions + baseAsset: baseAsset + destType: VAULT_ACCOUNT + isDefault: false + destId: destId + sourceType: EXTERNAL_WALLET + destSubType: destSubType + destAddress: 0x567890abcdef1234567890abcdef1234567890ab + customerId: cust_123abc + action: WAIT + sourceSubType: sourceSubType + asset: BTC + operation: TRANSFER + validBefore: 1735689600000 + networkProtocol: BITCOIN + validAfter: 1704067200000 + direction: OUTBOUND + preScreeningRules: + - sourceId: sourceId + amount: + range: + min: "1000" + max: "100000" + currency: USD + sourceAddress: 0x1234567890abcdef1234567890abcdef12345678 + description: Screen large BTC outbound transactions to external wallets + baseAsset: baseAsset + destType: EXTERNAL_WALLET + isDefault: false + destId: destId + sourceType: VAULT_ACCOUNT + destSubType: destSubType + destAddress: 0xabcdefabcdefabcdefabcdefabcdefabcdefabcd + customerId: cust_123abc + action: SCREEN + sourceSubType: sourceSubType + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + - sourceId: sourceId + amount: + range: + min: "1000" + max: "100000" + currency: USD + sourceAddress: 0x1234567890abcdef1234567890abcdef12345678 + description: Screen large BTC outbound transactions to external wallets + baseAsset: baseAsset + destType: EXTERNAL_WALLET + isDefault: false + destId: destId + sourceType: VAULT_ACCOUNT + destSubType: destSubType + destAddress: 0xabcdefabcdefabcdefabcdefabcdefabcdefabcd + customerId: cust_123abc + action: SCREEN + sourceSubType: sourceSubType + asset: BTC + operation: TRANSFER + networkProtocol: BITCOIN + direction: OUTBOUND + postScreeningRules: + - sourceId: sourceId + amount: + range: + min: "1000" + max: "100000" + currency: USD + sourceAddress: 0x9876543210fedcba9876543210fedcba98765432 + trmStatus: ACCEPTED + description: Accept transactions with TRM approval after January 2024 + baseAsset: baseAsset + destType: VAULT_ACCOUNT + isDefault: false + destId: destId + sourceType: EXTERNAL_WALLET + providerIdent: trm-provider-1 + destSubType: destSubType + destAddress: 0x1234567890abcdef1234567890abcdef12345678 + customerId: cust_123abc + action: ACCEPT + sourceSubType: sourceSubType + asset: ETH + operation: TRANSFER + validBefore: 1735689600000 + networkProtocol: ETHEREUM + validAfter: 1704067200000 + direction: OUTBOUND + - sourceId: sourceId + amount: + range: + min: "1000" + max: "100000" + currency: USD + sourceAddress: 0x9876543210fedcba9876543210fedcba98765432 + trmStatus: ACCEPTED + description: Accept transactions with TRM approval after January 2024 + baseAsset: baseAsset + destType: VAULT_ACCOUNT + isDefault: false + destId: destId + sourceType: EXTERNAL_WALLET + providerIdent: trm-provider-1 + destSubType: destSubType + destAddress: 0x1234567890abcdef1234567890abcdef12345678 + customerId: cust_123abc + action: ACCEPT + sourceSubType: sourceSubType + asset: ETH + operation: TRANSFER + validBefore: 1735689600000 + networkProtocol: ETHEREUM + validAfter: 1704067200000 + direction: OUTBOUND + properties: + preScreeningRules: + description: Pre-screening rules that determine whether transactions should + be screened items: - $ref: "#/components/schemas/ComplianceScreeningResultFullPayload" + $ref: "#/components/schemas/TRLinkPreScreeningRule-2" type: array - status: - $ref: "#/components/schemas/ComplianceResultStatusesEnum" - amlRegistration: - $ref: "#/components/schemas/AmlRegistrationResultFullPayload" - trlinkRegistration: - $ref: "#/components/schemas/TRLinkRegistrationResultFullPayload" - trlinkDestinations: - description: The list of TRLink destination screening results. + postScreeningRules: + description: Post-screening rules that determine actions based on screening + results items: - $ref: "#/components/schemas/TRLinkResultFullPayload" + $ref: "#/components/schemas/TRLinkPostScreeningRule-2" type: array + missingTrmRules: + description: Rules for handling transactions when TRM screening data is + unavailable + items: + $ref: "#/components/schemas/TRLinkMissingTrmRule-2" + type: array + required: + - missingTrmRules + - postScreeningRules + - preScreeningRules type: object - AmlVerdictManualRequest: + TRLinkSetTransactionTravelRuleMessageIdRequest: example: - verdict: ACCEPT - txId: 550e8400-e29b-41d4-a716-446655440000 + travelRuleMessageId: trm_1234567890abcdef properties: - verdict: - description: The AML verdict to set for the transaction - enum: - - ACCEPT - - REJECT - example: ACCEPT - type: string - txId: - description: The transaction ID to set the verdict for - example: 550e8400-e29b-41d4-a716-446655440000 - format: uuid + travelRuleMessageId: + description: Travel Rule Message ID to associate with transaction (null + to unset) + example: trm_1234567890abcdef + nullable: true type: string required: - - txId - - verdict + - travelRuleMessageId type: object - AmlVerdictManualResponse: + TRLinkSetTransactionTravelRuleMessageIdResponse: example: success: true - message: AML verdict set successfully properties: success: + description: Whether the operation was successful example: true type: boolean - message: - example: AML verdict set successfully + required: + - success + type: object + TRLinkTransferPeerPath: + description: Transfer peer path for destination matching + example: + address: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + subType: "0" + id: "12" + type: VAULT_ACCOUNT + properties: + type: + description: Peer type + example: VAULT_ACCOUNT + nullable: true + type: string + id: + description: Peer ID + example: "12" + nullable: true + type: string + subType: + description: Peer subtype + example: "0" + nullable: true + type: string + address: + description: Peer address + example: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + nullable: true + type: string + type: object + TRLinkSetDestinationTravelRuleMessageIdRequest: + description: Request to set TRM ID for specific transaction destination + example: + amount: "1000" + destination: + address: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb + subType: "0" + id: "12" + type: VAULT_ACCOUNT + travelRuleMessageId: trm_1234567890abcdef + properties: + amount: + description: Destination amount for matching + example: "1000" + type: string + destination: + $ref: "#/components/schemas/TRLinkTransferPeerPath" + travelRuleMessageId: + description: Travel Rule Message ID to associate with destination (null + to unset) + example: trm_1234567890abcdef + nullable: true type: string required: - - message + - amount + - destination + - travelRuleMessageId + type: object + TRLinkSetDestinationTravelRuleMessageIdResponse: + example: + success: true + updatedDestinations: 1 + failedDestinations: 0 + errors: [] + properties: + success: + description: Whether the operation was successful + example: true + type: boolean + updatedDestinations: + description: Number of destinations updated + example: 1 + type: number + failedDestinations: + description: Number of destinations that failed to update + example: 0 + type: number + errors: + description: List of errors (if any) + example: [] + items: + type: string + nullable: true + type: array + required: + - failedDestinations - success + - updatedDestinations type: object GetOtaStatusResponse: example: @@ -62324,99 +69819,30 @@ components: - totalActiveTickets - totalInactiveTickets type: object - Task: - example: - jobId: jobId - created: 1.4658129805029452 - tenantId: tenantId - id: id - state: state - type: type - updated: 5.962133916683182 - properties: - id: - type: string - jobId: - type: string - type: - type: string - tenantId: - type: string - created: - type: number - updated: - type: number - state: - type: string - type: object - Job: - example: - created: 0.8008281904610115 - tenantId: tenantId - id: id - state: state - type: type - userId: userId - updated: 6.027456183070403 - tasks: - - jobId: jobId - created: 1.4658129805029452 - tenantId: tenantId - id: id - state: state - type: type - updated: 5.962133916683182 - - jobId: jobId - created: 1.4658129805029452 - tenantId: tenantId - id: id - state: state - type: type - updated: 5.962133916683182 - properties: - id: - type: string - tenantId: - type: string - type: - type: string - userId: - type: string - created: - type: number - updated: - type: number - state: - type: string - tasks: - items: - $ref: "#/components/schemas/Task" - type: array - type: object - Jobs: - items: - $ref: "#/components/schemas/Job" - type: array - Tasks: - items: - $ref: "#/components/schemas/Task" - type: array TagsPagedResponse: example: next: MjAyNS0wNy0wOSAxMDo1MzoxMy40NTI=:NA== data: - - isProtected: true - color: color + - isProtected: false + color: "#FF5733" description: Tag for VIP customers id: df4c0987-30da-4976-8dcf-bc2dd41ae331 label: VIP - updatedAt: "1719859200" - - isProtected: true - color: color + pendingApprovalRequest: + id: "12345" + state: PENDING + type: TAG_UPDATE + updatedAt: 1717084800000 + - isProtected: false + color: "#FF5733" description: Tag for VIP customers id: df4c0987-30da-4976-8dcf-bc2dd41ae331 label: VIP - updatedAt: "1719859200" + pendingApprovalRequest: + id: "12345" + state: PENDING + type: TAG_UPDATE + updatedAt: 1717084800000 properties: data: items: @@ -62433,17 +69859,30 @@ components: type: object CreateTagRequest: example: + isProtected: false + color: "#FF5733" description: Tag for VIP customers label: VIP properties: label: description: The tag label example: VIP + maxLength: 30 + minLength: 2 type: string description: description: Description for the tag example: Tag for VIP customers + maxLength: 250 + type: string + color: + description: The tag color in hex format + example: "#FF5733" type: string + isProtected: + default: false + description: Indication if the tag is protected tag + type: boolean required: - label type: object @@ -62461,13 +69900,18 @@ components: example: Tag for VIP customers type: string type: object - Version: + VersionSummary: example: - hash: a1b2c3d4 + name: 1.0.0 (December 2025) + hash: a1b2c3d4e5 properties: hash: description: The version hash of the cosigner - example: a1b2c3d4 + example: a1b2c3d4e5 + type: string + name: + description: The name of the version + example: 1.0.0 (December 2025) type: string required: - hash @@ -62479,7 +69923,8 @@ components: id: 44fcead0-7053-4831-a53a-df7fb90d440f type: SGX version: - hash: a1b2c3d4 + name: 1.0.0 (December 2025) + hash: a1b2c3d4e5 properties: archived: description: Whether the cosigner is archived @@ -62505,7 +69950,7 @@ components: example: SGX type: string version: - $ref: "#/components/schemas/Version" + $ref: "#/components/schemas/VersionSummary" required: - archived - id @@ -62519,13 +69964,15 @@ components: id: 44fcead0-7053-4831-a53a-df7fb90d440f type: SGX version: - hash: a1b2c3d4 + name: 1.0.0 (December 2025) + hash: a1b2c3d4e5 - archived: false name: My Cosigner 1 id: 44fcead0-7053-4831-a53a-df7fb90d440f type: SGX version: - hash: a1b2c3d4 + name: 1.0.0 (December 2025) + hash: a1b2c3d4e5 properties: data: description: The data of the current page @@ -63253,30 +70700,27 @@ components: oneOf: - $ref: "#/components/schemas/ContractDataEncodedDataString" - $ref: "#/components/schemas/ContractDataLogDataParam" - TradingErrorResponse_error: - properties: - type: - enum: - - INTERNAL - - AUTHENTICATION - - AUTHORIZATION - - VALIDATION - - NOT_FOUND - - UNPROCESSABLE_ENTITY - - FORBIDDEN - type: string - message: - type: string - errorCode: - $ref: "#/components/schemas/ErrorCodes" - required: - - message - - type - type: object + Delegation_blockchainPositionInfo: + description: Additional fields per blockchain - can be empty or missing if not + initialized or no additional info exists. + discriminator: + mapping: + SOL: "#/components/schemas/SolanaBlockchainData" + SOL_TEST: "#/components/schemas/SolanaBlockchainData" + ETH: "#/components/schemas/EthereumBlockchainData" + ETH_TEST6: "#/components/schemas/EthereumBlockchainData" + ETH_TEST_HOODI: "#/components/schemas/EthereumBlockchainData" + STETH_ETH: "#/components/schemas/StEthBlockchainData" + STETH_ETH_TEST6_DZFA: "#/components/schemas/StEthBlockchainData" + STETH_ETH_TEST_HOODI: "#/components/schemas/StEthBlockchainData" + propertyName: chainDescriptor + oneOf: + - $ref: "#/components/schemas/SolanaBlockchainData" + - $ref: "#/components/schemas/EthereumBlockchainData" + - $ref: "#/components/schemas/StEthBlockchainData" CreateQuote_scope_inner: oneOf: - - $ref: "#/components/schemas/AccountProviderID" - - $ref: "#/components/schemas/ProviderID" + - $ref: "#/components/schemas/ScopeItem" ReQuoteDetails_reQuote: discriminator: mapping: @@ -63296,6 +70740,10 @@ components: - firstName - lastName type: object + PaymentInstructions_oneOf: + allOf: + - $ref: "#/components/schemas/FiatDestination" + - $ref: "#/components/schemas/FiatPaymentMetadata" SetOtaStatusResponse_oneOf: example: message: No change needed. The current status is false diff --git a/build.gradle b/build.gradle index 00a200a2..62baedca 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'eclipse' apply plugin: 'com.diffplug.spotless' group = 'com.fireblocks.sdk' -version = '13.0.0' +version = '0.0.0' buildscript { repositories { diff --git a/docs/AccessRegistryAddressItem.md b/docs/AccessRegistryAddressItem.md new file mode 100644 index 00000000..5596afea --- /dev/null +++ b/docs/AccessRegistryAddressItem.md @@ -0,0 +1,14 @@ + + +# AccessRegistryAddressItem + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**address** | **String** | The address that was added to the access registry | | +|**dateAdded** | **OffsetDateTime** | The date when the address was added to the access registry | | + + + diff --git a/docs/AccessRegistryCurrentStateResponse.md b/docs/AccessRegistryCurrentStateResponse.md new file mode 100644 index 00000000..df835705 --- /dev/null +++ b/docs/AccessRegistryCurrentStateResponse.md @@ -0,0 +1,16 @@ + + +# AccessRegistryCurrentStateResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<AccessRegistryAddressItem>**](AccessRegistryAddressItem.md) | Array of active addresses in the access registry | | +|**next** | **String** | Cursor for next page | [optional] | +|**prev** | **String** | Cursor for previous page | [optional] | +|**total** | **BigDecimal** | Total count of active addresses in the access registry | [optional] | + + + diff --git a/docs/AccessRegistrySummaryResponse.md b/docs/AccessRegistrySummaryResponse.md new file mode 100644 index 00000000..25210e98 --- /dev/null +++ b/docs/AccessRegistrySummaryResponse.md @@ -0,0 +1,13 @@ + + +# AccessRegistrySummaryResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**totalActiveAddresses** | **BigDecimal** | The total number of active addresses in the access registry | | + + + diff --git a/docs/AddressBalanceItemDto.md b/docs/AddressBalanceItemDto.md new file mode 100644 index 00000000..8585db90 --- /dev/null +++ b/docs/AddressBalanceItemDto.md @@ -0,0 +1,15 @@ + + +# AddressBalanceItemDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**accountAddress** | **String** | The account address | | +|**balance** | **String** | The current balance of the account | | +|**lastUpdated** | **OffsetDateTime** | The timestamp when this balance was last updated | | + + + diff --git a/docs/AddressBalancePagedResponse.md b/docs/AddressBalancePagedResponse.md new file mode 100644 index 00000000..9908cad0 --- /dev/null +++ b/docs/AddressBalancePagedResponse.md @@ -0,0 +1,16 @@ + + +# AddressBalancePagedResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<AddressBalanceItemDto>**](AddressBalanceItemDto.md) | Array of address balance data | | +|**next** | **String** | Cursor for next page | [optional] | +|**prev** | **String** | Cursor for previous page (reserved for future support) | [optional] | +|**total** | **BigDecimal** | Total count of items | [optional] | + + + diff --git a/docs/ApiUserApi.md b/docs/ApiUserApi.md index d9359c7b..1271017a 100644 --- a/docs/ApiUserApi.md +++ b/docs/ApiUserApi.md @@ -4,8 +4,8 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**createApiUser**](ApiUserApi.md#createApiUser) | **POST** /management/api_users | Create Api user | -| [**getApiUsers**](ApiUserApi.md#getApiUsers) | **GET** /management/api_users | Get Api users | +| [**createApiUser**](ApiUserApi.md#createApiUser) | **POST** /management/api_users | Create API Key | +| [**getApiUsers**](ApiUserApi.md#getApiUsers) | **GET** /management/api_users | Get API Keys | @@ -13,9 +13,9 @@ All URIs are relative to https://developers.fireblocks.com/reference/ > CompletableFuture> createApiUser createApiUser(createAPIUser, idempotencyKey) -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). </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -101,9 +101,9 @@ No authorization required > CompletableFuture> getApiUsers getApiUsers() -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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/ApprovalRequest.md b/docs/ApprovalRequest.md new file mode 100644 index 00000000..d5c51860 --- /dev/null +++ b/docs/ApprovalRequest.md @@ -0,0 +1,39 @@ + + +# ApprovalRequest + +Approval request details + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **String** | The approval request identifier | | +|**type** | [**TypeEnum**](#TypeEnum) | The approval request type | | +|**state** | [**StateEnum**](#StateEnum) | The approval request state | | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| TAG_UPDATE | "TAG_UPDATE" | +| TAG_DELETE | "TAG_DELETE" | +| TAG_ATTACH_DETACH | "TAG_ATTACH_DETACH" | + + + +## Enum: StateEnum + +| Name | Value | +|---- | -----| +| PENDING | "PENDING" | +| APPROVED | "APPROVED" | +| REJECTED | "REJECTED" | +| FAILED | "FAILED" | +| CANCELLED | "CANCELLED" | +| EXPIRED | "EXPIRED" | + + + diff --git a/docs/Asset.md b/docs/Asset.md index 794a0c04..7257b969 100644 --- a/docs/Asset.md +++ b/docs/Asset.md @@ -12,7 +12,11 @@ |**blockchainId** | **String** | The ID of the asset's blockchain | [optional] | |**displayName** | **String** | Asset's display name | | |**displaySymbol** | **String** | Asset's display symbol | | +|**providerId** | **String** | The ID of the asset provider | [optional] | +|**peggedAssetId** | **String** | The ID of the pegged asset | [optional] | +|**assets** | **List<String>** | List of asset IDs for virtual assets | [optional] | |**assetClass** | **AssetClass** | | | +|**decimals** | **BigDecimal** | 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 7e02b428..95af3894 100644 --- a/docs/AssetClass.md +++ b/docs/AssetClass.md @@ -15,5 +15,7 @@ * `SFT` (value: `"SFT"`) +* `VIRTUAL` (value: `"VIRTUAL"`) + diff --git a/docs/AssetTypeEnum.md b/docs/AssetTypeEnum.md new file mode 100644 index 00000000..8e9f20d1 --- /dev/null +++ b/docs/AssetTypeEnum.md @@ -0,0 +1,13 @@ + + +# AssetTypeEnum + +## Enum + + +* `DIGITAL` (value: `"DIGITAL"`) + +* `FIAT` (value: `"FIAT"`) + + + diff --git a/docs/AssetsApi.md b/docs/AssetsApi.md deleted file mode 100644 index d040b9f8..00000000 --- a/docs/AssetsApi.md +++ /dev/null @@ -1,94 +0,0 @@ -# AssetsApi - -All URIs are relative to https://developers.fireblocks.com/reference/ - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**createAssetsBulk**](AssetsApi.md#createAssetsBulk) | **POST** /vault/assets/bulk | Bulk creation of wallets | - - - -## createAssetsBulk - -> CompletableFuture> createAssetsBulk createAssetsBulk(createAssetsBulkRequest, idempotencyKey) - -Bulk creation of wallets - -Create multiple wallets for a given vault account by running an async job. </br> **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 - -```java -// Import classes: -import com.fireblocks.sdk.ApiClient; -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.BasePath; -import com.fireblocks.sdk.Fireblocks; -import com.fireblocks.sdk.ConfigurationOptions; -import com.fireblocks.sdk.model.*; -import com.fireblocks.sdk.api.AssetsApi; -import java.util.concurrent.CompletableFuture; -import java.util.concurrent.ExecutionException; - -public class Example { - public static void main(String[] args) { - ConfigurationOptions configurationOptions = new ConfigurationOptions() - .basePath(BasePath.Sandbox) - .apiKey("my-api-key") - .secretKey("my-secret-key"); - Fireblocks fireblocks = new Fireblocks(configurationOptions); - - CreateAssetsBulkRequest createAssetsBulkRequest = new CreateAssetsBulkRequest(); // CreateAssetsBulkRequest | - String idempotencyKey = "idempotencyKey_example"; // String | 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. - try { - CompletableFuture> response = fireblocks.assets().createAssetsBulk(createAssetsBulkRequest, idempotencyKey); - System.out.println("Status code: " + response.get().getStatusCode()); - System.out.println("Response headers: " + response.get().getHeaders()); - System.out.println("Response body: " + response.get().getData()); - } catch (InterruptedException | ExecutionException e) { - ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling AssetsApi#createAssetsBulk"); - System.err.println("Status code: " + apiException.getCode()); - System.err.println("Response headers: " + apiException.getResponseHeaders()); - System.err.println("Reason: " + apiException.getResponseBody()); - e.printStackTrace(); - } catch (ApiException e) { - System.err.println("Exception when calling AssetsApi#createAssetsBulk"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Response headers: " + e.getResponseHeaders()); - System.err.println("Reason: " + e.getResponseBody()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **createAssetsBulkRequest** | [**CreateAssetsBulkRequest**](CreateAssetsBulkRequest.md)| | | -| **idempotencyKey** | **String**| 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 - -CompletableFuture> - - -### 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 -
    | - diff --git a/docs/AuditLogsApi.md b/docs/AuditLogsApi.md index a47dbab6..2c235574 100644 --- a/docs/AuditLogsApi.md +++ b/docs/AuditLogsApi.md @@ -14,7 +14,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/BalanceHistoryItemDto.md b/docs/BalanceHistoryItemDto.md new file mode 100644 index 00000000..c354724b --- /dev/null +++ b/docs/BalanceHistoryItemDto.md @@ -0,0 +1,14 @@ + + +# BalanceHistoryItemDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**timestamp** | **OffsetDateTime** | Timestamp of the data point | | +|**balance** | **String** | Balance at the given timestamp | | + + + diff --git a/docs/BalanceHistoryPagedResponse.md b/docs/BalanceHistoryPagedResponse.md new file mode 100644 index 00000000..5862b98d --- /dev/null +++ b/docs/BalanceHistoryPagedResponse.md @@ -0,0 +1,16 @@ + + +# BalanceHistoryPagedResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<BalanceHistoryItemDto>**](BalanceHistoryItemDto.md) | Array of balance history data points | | +|**next** | **String** | Cursor for next page | [optional] | +|**prev** | **String** | Cursor for previous page | [optional] | +|**total** | **BigDecimal** | Total count of items | [optional] | + + + diff --git a/docs/BankAddress.md b/docs/BankAddress.md new file mode 100644 index 00000000..db88c82b --- /dev/null +++ b/docs/BankAddress.md @@ -0,0 +1,20 @@ + + +# BankAddress + +Address of the bank. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**streetName** | **String** | | [optional] | +|**buildingNumber** | **String** | | [optional] | +|**postalCode** | **String** | | [optional] | +|**city** | **String** | | [optional] | +|**subdivision** | **String** | | [optional] | +|**district** | **String** | | [optional] | +|**country** | **String** | | [optional] | + + + diff --git a/docs/BlockchainAddress.md b/docs/BlockchainAddress.md new file mode 100644 index 00000000..66236b80 --- /dev/null +++ b/docs/BlockchainAddress.md @@ -0,0 +1,15 @@ + + +# BlockchainAddress + +The blockchain address information. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**blockchainAddress** | **String** | The blockchain address. | | +|**tag** | **String** | The tag of the blockchain address. It is used to identify the address in the blockchain. It is optional. | [optional] | + + + diff --git a/docs/BlockchainDestination.md b/docs/BlockchainDestination.md new file mode 100644 index 00000000..774f2826 --- /dev/null +++ b/docs/BlockchainDestination.md @@ -0,0 +1,22 @@ + + +# BlockchainDestination + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | [**TypeEnum**](#TypeEnum) | The type of destination. Use \"BLOCKCHAIN\" for blockchain address destinations. | | +|**address** | [**BlockchainAddress**](BlockchainAddress.md) | | | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| BLOCKCHAIN | "BLOCKCHAIN" | + + + diff --git a/docs/BlockchainsAssetsApi.md b/docs/BlockchainsAssetsApi.md index 7faef887..78d261a2 100644 --- a/docs/BlockchainsAssetsApi.md +++ b/docs/BlockchainsAssetsApi.md @@ -5,8 +5,8 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**getAsset**](BlockchainsAssetsApi.md#getAsset) | **GET** /assets/{id} | Get an asset | -| [**getBlockchain**](BlockchainsAssetsApi.md#getBlockchain) | **GET** /blockchains/{id} | Get an blockchain | -| [**getSupportedAssets**](BlockchainsAssetsApi.md#getSupportedAssets) | **GET** /supported_assets | List all asset types supported by Fireblocks - legacy endpoint | +| [**getBlockchain**](BlockchainsAssetsApi.md#getBlockchain) | **GET** /blockchains/{id} | Get a Blockchain by ID | +| [**getSupportedAssets**](BlockchainsAssetsApi.md#getSupportedAssets) | **GET** /supported_assets | List assets (Legacy) | | [**listAssets**](BlockchainsAssetsApi.md#listAssets) | **GET** /assets | List assets | | [**listBlockchains**](BlockchainsAssetsApi.md#listBlockchains) | **GET** /blockchains | List blockchains | | [**registerNewAsset**](BlockchainsAssetsApi.md#registerNewAsset) | **POST** /assets | Register an asset | @@ -106,9 +106,9 @@ No authorization required > CompletableFuture> getBlockchain getBlockchain(id) -Get an blockchain +Get a Blockchain by ID -Returns an blockchain by ID or legacyID. +Returns a blockchain by ID or legacyID. ### Example @@ -191,9 +191,9 @@ No authorization required > CompletableFuture>> getSupportedAssets getSupportedAssets() -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.</br> **Note**: - This endpoint will remain available for the foreseeable future and is not deprecated.</br> - The `listAssets` endpoint provides more detailed asset information and improved performance.</br> - 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. ### Example @@ -272,7 +272,7 @@ 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.</br> **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.</br> +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. ### Example @@ -335,7 +335,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **blockchainId** | **String**| Blockchain id of the assets | [optional] | -| **assetClass** | [**AssetClass**](.md)| Assets class | [optional] [enum: NATIVE, FT, FIAT, NFT, SFT] | +| **assetClass** | [**AssetClass**](.md)| Assets class | [optional] [enum: NATIVE, FT, FIAT, NFT, SFT, VIRTUAL] | | **symbol** | **String**| Assets onchain symbol | [optional] | | **scope** | [**AssetScope**](.md)| Scope of the assets | [optional] [enum: GLOBAL, LOCAL] | | **deprecated** | **Boolean**| Are assets deprecated | [optional] | @@ -372,7 +372,7 @@ No authorization required List blockchains -Returns all blockchains supported by Fireblocks. +Returns all blockchains supported by Fireblocks.</br> ### Example @@ -466,7 +466,7 @@ No authorization required 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 ### Example diff --git a/docs/BusinessEntityTypeEnum.md b/docs/BusinessEntityTypeEnum.md new file mode 100644 index 00000000..49687edb --- /dev/null +++ b/docs/BusinessEntityTypeEnum.md @@ -0,0 +1,11 @@ + + +# BusinessEntityTypeEnum + +## Enum + + +* `BUSINESS` (value: `"BUSINESS"`) + + + diff --git a/docs/BusinessIdentification.md b/docs/BusinessIdentification.md index 22847e81..a3d0e321 100644 --- a/docs/BusinessIdentification.md +++ b/docs/BusinessIdentification.md @@ -8,19 +8,13 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**externalReferenceId** | **String** | | | -|**entityType** | [**EntityTypeEnum**](#EntityTypeEnum) | | | +|**entityType** | **BusinessEntityTypeEnum** | | | |**participantRelationshipType** | **ParticipantRelationshipType** | | | |**businessName** | **String** | | | |**registrationNumber** | **String** | | | |**postalAddress** | [**PostalAddress**](PostalAddress.md) | | | - - - -## Enum: EntityTypeEnum - -| Name | Value | -|---- | -----| -| BUSINESS | "BUSINESS" | +|**email** | **String** | | [optional] | +|**phone** | **String** | Mobile phone number in E.164 format | [optional] | diff --git a/docs/ChainDescriptor.md b/docs/ChainDescriptor.md index 40df159e..268bdc18 100644 --- a/docs/ChainDescriptor.md +++ b/docs/ChainDescriptor.md @@ -5,17 +5,39 @@ ## 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"`) + diff --git a/docs/ChainInfoResponse.md b/docs/ChainInfoResponse.md index 3030464f..39c13966 100644 --- a/docs/ChainInfoResponse.md +++ b/docs/ChainInfoResponse.md @@ -12,6 +12,7 @@ |**epochElapsed** | **BigDecimal** | The percentage of time that has elapsed within the current epoch, represented as a decimal value between 0 and 1. | | |**epochDuration** | **BigDecimal** | The total duration in milliseconds of a single epoch. | | |**additionalInfo** | [**AdditionalInfo**](AdditionalInfo.md) | | | +|**lastUpdated** | **BigDecimal** | timestamp (in milliseconds) of last update time | | diff --git a/docs/CommittedQuoteEnum.md b/docs/CommittedQuoteEnum.md new file mode 100644 index 00000000..e60c7823 --- /dev/null +++ b/docs/CommittedQuoteEnum.md @@ -0,0 +1,11 @@ + + +# CommittedQuoteEnum + +## Enum + + +* `COMMITTED` (value: `"COMMITTED"`) + + + diff --git a/docs/CommittedQuoteType.md b/docs/CommittedQuoteType.md index a14fda20..790030ac 100644 --- a/docs/CommittedQuoteType.md +++ b/docs/CommittedQuoteType.md @@ -7,16 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Indicates this is a committed quote | | -|**expiresAt** | **OffsetDateTime** | ISO 8601 timestamp of the expiration time of the quote. | | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| COMMITTED | "COMMITTED" | +|**type** | **CommittedQuoteEnum** | | | diff --git a/docs/ConnectedAccountErrorResponse.md b/docs/ConnectedAccountErrorResponse.md new file mode 100644 index 00000000..8cfa54de --- /dev/null +++ b/docs/ConnectedAccountErrorResponse.md @@ -0,0 +1,14 @@ + + +# ConnectedAccountErrorResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**errorMessage** | **String** | Error message describing what went wrong | | +|**errorCode** | **String** | Error code identifying the type of error | | + + + diff --git a/docs/ConnectedAccountsBetaApi.md b/docs/ConnectedAccountsBetaApi.md index 88bdd8c8..5a5c01dd 100644 --- a/docs/ConnectedAccountsBetaApi.md +++ b/docs/ConnectedAccountsBetaApi.md @@ -4,21 +4,105 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| +| [**disconnectConnectedAccount**](ConnectedAccountsBetaApi.md#disconnectConnectedAccount) | **DELETE** /connected_accounts/{accountId} | Disconnect connected account | | [**getConnectedAccount**](ConnectedAccountsBetaApi.md#getConnectedAccount) | **GET** /connected_accounts/{accountId} | Get connected account | | [**getConnectedAccountBalances**](ConnectedAccountsBetaApi.md#getConnectedAccountBalances) | **GET** /connected_accounts/{accountId}/balances | Get balances for an account | | [**getConnectedAccountRates**](ConnectedAccountsBetaApi.md#getConnectedAccountRates) | **GET** /connected_accounts/{accountId}/rates | Get exchange rates for an account | | [**getConnectedAccountTradingPairs**](ConnectedAccountsBetaApi.md#getConnectedAccountTradingPairs) | **GET** /connected_accounts/{accountId}/manifest/capabilities/trading/pairs | Get supported trading pairs for an account | | [**getConnectedAccounts**](ConnectedAccountsBetaApi.md#getConnectedAccounts) | **GET** /connected_accounts | Get connected accounts | +| [**renameConnectedAccount**](ConnectedAccountsBetaApi.md#renameConnectedAccount) | **POST** /connected_accounts/{accountId}/rename | Rename Connected Account | +## disconnectConnectedAccount + +> CompletableFuture> disconnectConnectedAccount disconnectConnectedAccount(accountId) + +Disconnect connected account + +Disconnect a connected account by ID. </br> **Note**: - This endpoint is currently in beta and might be subject to changes. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.ConnectedAccountsBetaApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String accountId = "accountId_example"; // String | The ID of the account to disconnect. + try { + CompletableFuture> response = fireblocks.connectedAccountsBeta().disconnectConnectedAccount(accountId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling ConnectedAccountsBetaApi#disconnectConnectedAccount"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling ConnectedAccountsBetaApi#disconnectConnectedAccount"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **accountId** | **String**| The ID of the account to disconnect. | | + +### Return type + + +CompletableFuture> + +### 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 -
    | + + ## getConnectedAccount > CompletableFuture> getConnectedAccount getConnectedAccount(accountId) Get connected account -Retrieve detailed information about a specific connected account by ID. </br> **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 @@ -101,7 +185,7 @@ 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) </br> **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 @@ -188,7 +272,7 @@ No authorization required 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. ### Example @@ -275,7 +359,7 @@ 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 @@ -362,7 +446,7 @@ No authorization required Get connected accounts -Returns all connected accounts </br> **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 @@ -442,3 +526,95 @@ No authorization required | **200** | Get accounts response | * X-Request-ID -
    | | **0** | Error Response | * X-Request-ID -
    | + +## renameConnectedAccount + +> CompletableFuture> renameConnectedAccount renameConnectedAccount(renameConnectedAccountRequest, accountId, idempotencyKey) + +Rename Connected Account + +Rename a connected account by account ID. **Note:** This endpoint is currently in beta and might be subject to changes. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.ConnectedAccountsBetaApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + RenameConnectedAccountRequest renameConnectedAccountRequest = new RenameConnectedAccountRequest(); // RenameConnectedAccountRequest | + String accountId = "accountId_example"; // String | The unique identifier of the connected account + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.connectedAccountsBeta().renameConnectedAccount(renameConnectedAccountRequest, accountId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling ConnectedAccountsBetaApi#renameConnectedAccount"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling ConnectedAccountsBetaApi#renameConnectedAccount"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **renameConnectedAccountRequest** | [**RenameConnectedAccountRequest**](RenameConnectedAccountRequest.md)| | | +| **accountId** | **String**| The unique identifier of the connected account | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + diff --git a/docs/ConsoleUserApi.md b/docs/ConsoleUserApi.md index 9ccd3d15..668d9c45 100644 --- a/docs/ConsoleUserApi.md +++ b/docs/ConsoleUserApi.md @@ -15,7 +15,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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). </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -103,7 +103,7 @@ 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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/TradingErrorResponse.md b/docs/ContractAddressResponse.md similarity index 53% rename from docs/TradingErrorResponse.md rename to docs/ContractAddressResponse.md index b1a83e94..4b1d3996 100644 --- a/docs/TradingErrorResponse.md +++ b/docs/ContractAddressResponse.md @@ -1,13 +1,13 @@ -# TradingErrorResponse +# ContractAddressResponse ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**error** | [**TradingErrorResponseError**](TradingErrorResponseError.md) | | | +|**contractAddress** | **String** | The contract's onchain address | | diff --git a/docs/ContractInteractionsApi.md b/docs/ContractInteractionsApi.md index dfe7657c..57d08391 100644 --- a/docs/ContractInteractionsApi.md +++ b/docs/ContractInteractionsApi.md @@ -5,6 +5,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**decodeContractData**](ContractInteractionsApi.md#decodeContractData) | **POST** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/decode | Decode a function call data, error, or event log | +| [**getContractAddress**](ContractInteractionsApi.md#getContractAddress) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash} | Get contract address by transaction hash | | [**getDeployedContractAbi**](ContractInteractionsApi.md#getDeployedContractAbi) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/functions | Return deployed contract's ABI | | [**getTransactionReceipt**](ContractInteractionsApi.md#getTransactionReceipt) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash}/receipt | Get transaction receipt | | [**readCallFunction**](ContractInteractionsApi.md#readCallFunction) | **POST** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/functions/read | Call a read function on a deployed contract | @@ -102,13 +103,100 @@ No authorization required | **0** | Error Response | * X-Request-ID -
    | +## getContractAddress + +> CompletableFuture> getContractAddress getContractAddress(baseAssetId, txHash, idempotencyKey) + +Get contract address by transaction hash + +Retrieve the contract address by blockchain native asset ID and transaction hash + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.ContractInteractionsApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String baseAssetId = "ETH_TEST3"; // String | The blockchain base assetId + String txHash = "0x3b015ca0518c55d7bff4e3f5aa5d0431705771553ba8a95cf20e34cb597f57f6"; // String | The transaction hash + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.contractInteractions().getContractAddress(baseAssetId, txHash, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling ContractInteractionsApi#getContractAddress"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling ContractInteractionsApi#getContractAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **baseAssetId** | **String**| The blockchain base assetId | | +| **txHash** | **String**| The transaction hash | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + ## getDeployedContractAbi > CompletableFuture> getDeployedContractAbi getDeployedContractAbi(contractAddress, baseAssetId, idempotencyKey) 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer. ### Example @@ -134,7 +222,7 @@ public class Example { Fireblocks fireblocks = new Fireblocks(configurationOptions); String contractAddress = "0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66"; // String | The contract's onchain address - String baseAssetId = "baseAssetId_example"; // String | + String baseAssetId = "ETH"; // String | The blockchain base assetId String idempotencyKey = "idempotencyKey_example"; // String | 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. try { CompletableFuture> response = fireblocks.contractInteractions().getDeployedContractAbi(contractAddress, baseAssetId, idempotencyKey); @@ -165,7 +253,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **contractAddress** | **String**| The contract's onchain address | | -| **baseAssetId** | **String**| | | +| **baseAssetId** | **String**| The blockchain base assetId | | | **idempotencyKey** | **String**| 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 @@ -195,7 +283,7 @@ No authorization required 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer. ### Example diff --git a/docs/ContractTemplatesApi.md b/docs/ContractTemplatesApi.md index cd713070..d330766d 100644 --- a/docs/ContractTemplatesApi.md +++ b/docs/ContractTemplatesApi.md @@ -10,6 +10,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | [**getContractTemplateById**](ContractTemplatesApi.md#getContractTemplateById) | **GET** /tokenization/templates/{contractTemplateId} | Return contract template by id | | [**getContractTemplates**](ContractTemplatesApi.md#getContractTemplates) | **GET** /tokenization/templates | List all contract templates | | [**getFunctionAbiByContractTemplateId**](ContractTemplatesApi.md#getFunctionAbiByContractTemplateId) | **GET** /tokenization/templates/{contractTemplateId}/function | Return contract template's function | +| [**getSupportedBlockchainsByTemplateId**](ContractTemplatesApi.md#getSupportedBlockchainsByTemplateId) | **GET** /tokenization/templates/{contractTemplateId}/supported_blockchains | Get supported blockchains for the template | | [**uploadContractTemplate**](ContractTemplatesApi.md#uploadContractTemplate) | **POST** /tokenization/templates | Upload contract template | @@ -361,7 +362,7 @@ 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -391,7 +392,7 @@ public class Example { String pageCursor = "MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA=="; // String | Page cursor to get the next page BigDecimal pageSize = new BigDecimal("10"); // BigDecimal | Number of items per page, requesting more then max will return max items String type = "FUNGIBLE_TOKEN"; // String | The type of the contract templates you wish to retrieve. Can accept one type, more or none - String initializationPhase = "ON_DEPLOYMENT"; // String | + String initializationPhase = "ON_DEPLOYMENT"; // String | For standalone contracts use ON_DEPLOYMENT and for contracts that are behind proxies use POST_DEPLOYMENT try { CompletableFuture> response = fireblocks.contractTemplates().getContractTemplates(limit, offset, pageCursor, pageSize, type, initializationPhase); System.out.println("Status code: " + response.get().getStatusCode()); @@ -425,7 +426,7 @@ public class Example { | **pageCursor** | **String**| Page cursor to get the next page | [optional] | | **pageSize** | **BigDecimal**| Number of items per page, requesting more then max will return max items | [optional] | | **type** | **String**| The type of the contract templates you wish to retrieve. Can accept one type, more or none | [optional] [enum: FUNGIBLE_TOKEN, NON_FUNGIBLE_TOKEN, TOKEN_UTILITY] | -| **initializationPhase** | **String**| | [optional] [enum: ON_DEPLOYMENT, POST_DEPLOYMENT] | +| **initializationPhase** | **String**| For standalone contracts use ON_DEPLOYMENT and for contracts that are behind proxies use POST_DEPLOYMENT | [optional] [enum: ON_DEPLOYMENT, POST_DEPLOYMENT] | ### Return type @@ -534,6 +535,90 @@ No authorization required | **0** | Error Response | * X-Request-ID -
    | +## getSupportedBlockchainsByTemplateId + +> CompletableFuture> getSupportedBlockchainsByTemplateId getSupportedBlockchainsByTemplateId(contractTemplateId) + +Get supported blockchains for the template + +Get supported blockchains for the template + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.ContractTemplatesApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String contractTemplateId = "b70701f4-d7b1-4795-a8ee-b09cdb5b850d"; // String | The Contract Template identifier + try { + CompletableFuture> response = fireblocks.contractTemplates().getSupportedBlockchainsByTemplateId(contractTemplateId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling ContractTemplatesApi#getSupportedBlockchainsByTemplateId"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling ContractTemplatesApi#getSupportedBlockchainsByTemplateId"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **contractTemplateId** | **String**| The Contract Template identifier | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + ## uploadContractTemplate > CompletableFuture> uploadContractTemplate uploadContractTemplate(contractUploadRequest, idempotencyKey) diff --git a/docs/ContractsApi.md b/docs/ContractsApi.md index 37606473..3f096c01 100644 --- a/docs/ContractsApi.md +++ b/docs/ContractsApi.md @@ -4,13 +4,13 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**addContractAsset**](ContractsApi.md#addContractAsset) | **POST** /contracts/{contractId}/{assetId} | Add an asset to a contract | -| [**createContract**](ContractsApi.md#createContract) | **POST** /contracts | Create a contract | +| [**addContractAsset**](ContractsApi.md#addContractAsset) | **POST** /contracts/{contractId}/{assetId} | Add an asset to a whitelisted contract | +| [**createContract**](ContractsApi.md#createContract) | **POST** /contracts | Add a contract | | [**deleteContract**](ContractsApi.md#deleteContract) | **DELETE** /contracts/{contractId} | Delete a contract | -| [**deleteContractAsset**](ContractsApi.md#deleteContractAsset) | **DELETE** /contracts/{contractId}/{assetId} | Delete a contract asset | -| [**getContract**](ContractsApi.md#getContract) | **GET** /contracts/{contractId} | Find a specific contract | -| [**getContractAsset**](ContractsApi.md#getContractAsset) | **GET** /contracts/{contractId}/{assetId} | Find a contract asset | -| [**getContracts**](ContractsApi.md#getContracts) | **GET** /contracts | List contracts | +| [**deleteContractAsset**](ContractsApi.md#deleteContractAsset) | **DELETE** /contracts/{contractId}/{assetId} | Delete an asset from a whitelisted contract | +| [**getContract**](ContractsApi.md#getContract) | **GET** /contracts/{contractId} | Find a Specific Whitelisted Contract | +| [**getContractAsset**](ContractsApi.md#getContractAsset) | **GET** /contracts/{contractId}/{assetId} | Find a whitelisted contract's asset | +| [**getContracts**](ContractsApi.md#getContracts) | **GET** /contracts | List Whitelisted Contracts | @@ -18,9 +18,9 @@ All URIs are relative to https://developers.fireblocks.com/reference/ > CompletableFuture> addContractAsset addContractAsset(contractId, assetId, addContractAssetRequest, idempotencyKey) -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -107,9 +107,9 @@ No authorization required > CompletableFuture> createContract createContract(createContractRequest, idempotencyKey) -Create a contract +Add a contract -Creates a new contract. +Adds a contract to the workspace whitelist. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -194,7 +194,7 @@ No authorization required Delete a contract -Deletes a contract by ID. +Deletes a contract by ID. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -274,9 +274,9 @@ No authorization required > CompletableFuture> deleteContractAsset deleteContractAsset(contractId, assetId) -Delete a contract asset +Delete an asset from a whitelisted contract -Deletes a contract asset by ID. +Deletes a whitelisted contract asset by ID. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -358,9 +358,9 @@ No authorization required > CompletableFuture> getContract getContract(contractId) -Find a specific contract +Find a Specific Whitelisted Contract -Returns a contract by ID. +Returns a whitelisted contract by Fireblocks Contract ID. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -441,9 +441,9 @@ No authorization required > CompletableFuture> getContractAsset getContractAsset(contractId, assetId) -Find a contract asset +Find a whitelisted contract's asset -Returns a contract asset by ID. +Returns a whitelisted contract's asset by ID. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -526,9 +526,9 @@ No authorization required > CompletableFuture>> getContracts getContracts() -List contracts +List Whitelisted Contracts -Gets a list of contracts. +Gets a list of whitelisted contracts. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example diff --git a/docs/Cosigner.md b/docs/Cosigner.md index fce2a645..a94c4faa 100644 --- a/docs/Cosigner.md +++ b/docs/Cosigner.md @@ -11,7 +11,7 @@ |**id** | **UUID** | The unique identifier of the cosigner | | |**name** | **String** | The name of the cosigner | [optional] | |**type** | [**TypeEnum**](#TypeEnum) | The type of the cosigner | [optional] | -|**version** | [**Version**](Version.md) | | [optional] | +|**version** | [**VersionSummary**](VersionSummary.md) | | [optional] | diff --git a/docs/CosignersBetaApi.md b/docs/CosignersBetaApi.md index 20461d7b..56d6f87e 100644 --- a/docs/CosignersBetaApi.md +++ b/docs/CosignersBetaApi.md @@ -23,7 +23,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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 </br>Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -108,7 +108,7 @@ No authorization required 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. </br>Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -193,7 +193,7 @@ 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. </br>Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -282,7 +282,7 @@ No authorization required 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. </br>Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -365,7 +365,7 @@ No authorization required 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. </br>Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -452,7 +452,7 @@ No authorization required Get request status -Get the status of an asynchronous request +Get the status of an asynchronous request </br>Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -539,7 +539,7 @@ No authorization required Pair API key -Pair an API key to a cosigner +Pair an API key to a cosigner </br>Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -628,7 +628,7 @@ No authorization required 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. </br>Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -713,7 +713,7 @@ No authorization required Unpair API key -Unpair an API key from a cosigner +Unpair an API key from a cosigner </br>Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -798,7 +798,7 @@ No authorization required Update API key callback handler -Update the callback handler of an API key +Update the callback handler of an API key </br>Endpoint Permission: Admin and Non-Signing Admin. ### Example diff --git a/docs/CreateAssetsBulkRequest.md b/docs/CreateAssetsBulkRequest.md deleted file mode 100644 index 46f5e990..00000000 --- a/docs/CreateAssetsBulkRequest.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# CreateAssetsBulkRequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**assetId** | **String** | The ID of the new asset | [optional] | -|**vaultAccountIdFrom** | **String** | The smallest vault account ID in the range | [optional] | -|**vaultAccountIdTo** | **String** | The largest vault account ID in the range | [optional] | - - - diff --git a/docs/CreateQuote.md b/docs/CreateQuote.md index fbb15f57..093addb2 100644 --- a/docs/CreateQuote.md +++ b/docs/CreateQuote.md @@ -9,22 +9,11 @@ |------------ | ------------- | ------------- | -------------| |**scope** | [**List<CreateQuoteScopeInner>**](CreateQuoteScopeInner.md) | | | |**baseAssetId** | **String** | | | -|**baseAssetRail** | **TransferRail** | | [optional] | |**quoteAssetId** | **String** | | | -|**quoteAssetRail** | **TransferRail** | | [optional] | |**baseAmount** | **String** | The amount to convert from | | |**slippageBps** | **BigDecimal** | Slippage tolerance in basis points (bps) for defi quotes - 1 is 0.01% and 10000 is 100% | [optional] | |**settlement** | [**DVPSettlement**](DVPSettlement.md) | | [optional] | -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | - - - -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | +|**side** | **Side** | | | diff --git a/docs/CreateQuoteScopeInner.md b/docs/CreateQuoteScopeInner.md index 67df5885..af2718e6 100644 --- a/docs/CreateQuoteScopeInner.md +++ b/docs/CreateQuoteScopeInner.md @@ -3,33 +3,24 @@ # CreateQuoteScopeInner ## oneOf schemas -* [AccountProviderID](AccountProviderID.md) -* [ProviderID](ProviderID.md) +* [ScopeItem](ScopeItem.md) ## Example ```java // Import classes: import com.fireblocks.sdk.model.CreateQuoteScopeInner; -import com.fireblocks.sdk.model.AccountProviderID; -import com.fireblocks.sdk.model.ProviderID; +import com.fireblocks.sdk.model.ScopeItem; public class Example { public static void main(String[] args) { CreateQuoteScopeInner exampleCreateQuoteScopeInner = new CreateQuoteScopeInner(); - // create a new AccountProviderID - AccountProviderID exampleAccountProviderID = new AccountProviderID(); - // set CreateQuoteScopeInner to AccountProviderID - exampleCreateQuoteScopeInner.setActualInstance(exampleAccountProviderID); - // to get back the AccountProviderID set earlier - AccountProviderID testAccountProviderID = (AccountProviderID) exampleCreateQuoteScopeInner.getActualInstance(); - - // create a new ProviderID - ProviderID exampleProviderID = new ProviderID(); - // set CreateQuoteScopeInner to ProviderID - exampleCreateQuoteScopeInner.setActualInstance(exampleProviderID); - // to get back the ProviderID set earlier - ProviderID testProviderID = (ProviderID) exampleCreateQuoteScopeInner.getActualInstance(); + // create a new ScopeItem + ScopeItem exampleScopeItem = new ScopeItem(); + // set CreateQuoteScopeInner to ScopeItem + exampleCreateQuoteScopeInner.setActualInstance(exampleScopeItem); + // to get back the ScopeItem set earlier + ScopeItem testScopeItem = (ScopeItem) exampleCreateQuoteScopeInner.getActualInstance(); } } ``` diff --git a/docs/CreateTagRequest.md b/docs/CreateTagRequest.md index faac3d4b..4638e631 100644 --- a/docs/CreateTagRequest.md +++ b/docs/CreateTagRequest.md @@ -9,6 +9,8 @@ |------------ | ------------- | ------------- | -------------| |**label** | **String** | The tag label | | |**description** | **String** | Description for the tag | [optional] | +|**color** | **String** | The tag color in hex format | [optional] | +|**isProtected** | **Boolean** | Indication if the tag is protected tag | [optional] | diff --git a/docs/CreateTransactionResponse.md b/docs/CreateTransactionResponse.md index 000a8691..8841c54b 100644 --- a/docs/CreateTransactionResponse.md +++ b/docs/CreateTransactionResponse.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**id** | **String** | The ID of the transaction. | [optional] | |**status** | **String** | The primary status of the transaction. For details, see [Primary transaction statuses.] (https://developers.fireblocks.com/reference/primary-transaction-statuses) | [optional] | -|**systemMessages** | [**SystemMessageInfo**](SystemMessageInfo.md) | | [optional] | +|**systemMessages** | [**List<SystemMessageInfo>**](SystemMessageInfo.md) | | [optional] | diff --git a/docs/DVPSettlement.md b/docs/DVPSettlement.md index 656593f4..ca395d9d 100644 --- a/docs/DVPSettlement.md +++ b/docs/DVPSettlement.md @@ -8,17 +8,9 @@ Source/Destination accounts for the quote (must have for defi quotes) | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | | | +|**type** | **DVPSettlementType** | | | |**sourceAccount** | [**SettlementSourceAccount**](SettlementSourceAccount.md) | | | |**destinationAccount** | [**AccountReference**](AccountReference.md) | | | -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| DVP | "DVP" | - - - diff --git a/docs/DVPSettlementType.md b/docs/DVPSettlementType.md new file mode 100644 index 00000000..4a182a81 --- /dev/null +++ b/docs/DVPSettlementType.md @@ -0,0 +1,11 @@ + + +# DVPSettlementType + +## Enum + + +* `DVP` (value: `"DVP"`) + + + diff --git a/docs/DecodedLog.md b/docs/DecodedLog.md new file mode 100644 index 00000000..51af51b1 --- /dev/null +++ b/docs/DecodedLog.md @@ -0,0 +1,18 @@ + + +# 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** | **String** | Contract address that emitted the log | | +|**blockHash** | **String** | Hash of the block containing this log | | +|**blockNumber** | **String** | Block number containing this log | | +|**transactionHash** | **String** | Hash of the transaction that generated this log | | +|**logIndex** | **String** | Index of the log in the transaction | | + + + diff --git a/docs/Delegation.md b/docs/Delegation.md index 196eda90..820d8049 100644 --- a/docs/Delegation.md +++ b/docs/Delegation.md @@ -12,7 +12,7 @@ |**validatorName** | **String** | The destination validator address name | | |**providerName** | **String** | The destination validator provider name | | |**chainDescriptor** | **String** | The protocol identifier (e.g. \"ETH\"/ \"SOL\") to use | | -|**amount** | **String** | Amount of tokens to stake, measured in the staked asset unit. | | +|**amount** | **String** | 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. | | |**rewardsAmount** | **String** | The amount staked in the position, measured in the staked asset unit. | | |**dateCreated** | **OffsetDateTime** | When was the request made (ISO Date). | | |**dateUpdated** | **OffsetDateTime** | When has the position last changed (ISO Date). | | @@ -21,10 +21,10 @@ |**validatorAddress** | **String** | The destination address of the staking transaction. | | |**providerId** | **StakingProvider** | | | |**availableActions** | **List<String>** | An array of available actions that can be performed. for example, actions like \"unstake\" or \"withdraw\". | | -|**inProgress** | **Boolean** | Indicates whether there is an ongoing action for this position (true if ongoing, false if not). | | -|**inProgressTxId** | **String** | The transaction ID of the ongoing request | [optional] | -|**blockchainPositionInfo** | [**SolanaBlockchainData**](SolanaBlockchainData.md) | | | -|**relatedRequests** | [**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] | +|**inProgress** | **Boolean** | Indicates whether there is an ongoing action for this position related to this request | | +|**inProgressTxId** | **String** | The transaction ID of the initial stake position request only. Only present when there is an active initial stake transaction. | [optional] | +|**blockchainPositionInfo** | [**DelegationBlockchainPositionInfo**](DelegationBlockchainPositionInfo.md) | | | +|**relatedRequests** | [**List<RelatedRequest>**](RelatedRequest.md) | | [optional] | diff --git a/docs/DelegationBlockchainPositionInfo.md b/docs/DelegationBlockchainPositionInfo.md new file mode 100644 index 00000000..dd885230 --- /dev/null +++ b/docs/DelegationBlockchainPositionInfo.md @@ -0,0 +1,48 @@ + + +# DelegationBlockchainPositionInfo + +Additional fields per blockchain - can be empty or missing if not initialized or no additional info exists. + +## oneOf schemas +* [EthereumBlockchainData](EthereumBlockchainData.md) +* [SolanaBlockchainData](SolanaBlockchainData.md) +* [StEthBlockchainData](StEthBlockchainData.md) + +## Example +```java +// Import classes: +import com.fireblocks.sdk.model.DelegationBlockchainPositionInfo; +import com.fireblocks.sdk.model.EthereumBlockchainData; +import com.fireblocks.sdk.model.SolanaBlockchainData; +import com.fireblocks.sdk.model.StEthBlockchainData; + +public class Example { + public static void main(String[] args) { + DelegationBlockchainPositionInfo exampleDelegationBlockchainPositionInfo = new DelegationBlockchainPositionInfo(); + + // create a new EthereumBlockchainData + EthereumBlockchainData exampleEthereumBlockchainData = new EthereumBlockchainData(); + // set DelegationBlockchainPositionInfo to EthereumBlockchainData + exampleDelegationBlockchainPositionInfo.setActualInstance(exampleEthereumBlockchainData); + // to get back the EthereumBlockchainData set earlier + EthereumBlockchainData testEthereumBlockchainData = (EthereumBlockchainData) exampleDelegationBlockchainPositionInfo.getActualInstance(); + + // create a new SolanaBlockchainData + SolanaBlockchainData exampleSolanaBlockchainData = new SolanaBlockchainData(); + // set DelegationBlockchainPositionInfo to SolanaBlockchainData + exampleDelegationBlockchainPositionInfo.setActualInstance(exampleSolanaBlockchainData); + // to get back the SolanaBlockchainData set earlier + SolanaBlockchainData testSolanaBlockchainData = (SolanaBlockchainData) exampleDelegationBlockchainPositionInfo.getActualInstance(); + + // create a new StEthBlockchainData + StEthBlockchainData exampleStEthBlockchainData = new StEthBlockchainData(); + // set DelegationBlockchainPositionInfo to StEthBlockchainData + exampleDelegationBlockchainPositionInfo.setActualInstance(exampleStEthBlockchainData); + // to get back the StEthBlockchainData set earlier + StEthBlockchainData testStEthBlockchainData = (StEthBlockchainData) exampleDelegationBlockchainPositionInfo.getActualInstance(); + } +} +``` + + diff --git a/docs/EmbeddedWalletPaginatedDevicesResponse.md b/docs/EmbeddedWalletPaginatedDevicesResponse.md new file mode 100644 index 00000000..7f0e5dc4 --- /dev/null +++ b/docs/EmbeddedWalletPaginatedDevicesResponse.md @@ -0,0 +1,14 @@ + + +# EmbeddedWalletPaginatedDevicesResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<EmbeddedWalletDevice>**](EmbeddedWalletDevice.md) | The data of the current page | | +|**next** | **String** | The ID of the next page | [optional] | + + + diff --git a/docs/EmbeddedWalletRequiredAlgorithms.md b/docs/EmbeddedWalletRequiredAlgorithms.md new file mode 100644 index 00000000..3301ced0 --- /dev/null +++ b/docs/EmbeddedWalletRequiredAlgorithms.md @@ -0,0 +1,13 @@ + + +# EmbeddedWalletRequiredAlgorithms + +## Enum + + +* `MPC_ECDSA_SECP256_K1` (value: `"MPC_ECDSA_SECP256K1"`) + +* `MPC_EDDSA_ED25519` (value: `"MPC_EDDSA_ED25519"`) + + + diff --git a/docs/EmbeddedWalletSetupStatusResponse.md b/docs/EmbeddedWalletSetupStatusResponse.md new file mode 100644 index 00000000..7c771772 --- /dev/null +++ b/docs/EmbeddedWalletSetupStatusResponse.md @@ -0,0 +1,15 @@ + + +# EmbeddedWalletSetupStatusResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**status** | [**EmbeddedWalletSetUpStatus**](EmbeddedWalletSetUpStatus.md) | | | +|**requiredAlgorithms** | **List<EmbeddedWalletRequiredAlgorithms>** | Required algorithms for the wallet | | +|**deviceSetupStatus** | [**List<EmbeddedWalletDeviceKeySetupResponse>**](EmbeddedWalletDeviceKeySetupResponse.md) | Setup status for each device | | + + + diff --git a/docs/EmbeddedWalletsApi.md b/docs/EmbeddedWalletsApi.md index 4d534f3a..fdf3e023 100644 --- a/docs/EmbeddedWalletsApi.md +++ b/docs/EmbeddedWalletsApi.md @@ -5,6 +5,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**addEmbeddedWalletAsset**](EmbeddedWalletsApi.md#addEmbeddedWalletAsset) | **POST** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId} | Add asset to account | +| [**assignEmbeddedWallet**](EmbeddedWalletsApi.md#assignEmbeddedWallet) | **POST** /ncw/wallets/{walletId}/assign | Assign a wallet | | [**createEmbeddedWallet**](EmbeddedWalletsApi.md#createEmbeddedWallet) | **POST** /ncw/wallets | Create a new wallet | | [**createEmbeddedWalletAccount**](EmbeddedWalletsApi.md#createEmbeddedWalletAccount) | **POST** /ncw/wallets/{walletId}/accounts | Create a new account | | [**getEmbeddedWallet**](EmbeddedWalletsApi.md#getEmbeddedWallet) | **GET** /ncw/wallets/{walletId} | Get a wallet | @@ -12,14 +13,19 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | [**getEmbeddedWalletAddresses**](EmbeddedWalletsApi.md#getEmbeddedWalletAddresses) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/addresses | Retrieve asset addresses | | [**getEmbeddedWalletAsset**](EmbeddedWalletsApi.md#getEmbeddedWalletAsset) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId} | Retrieve asset | | [**getEmbeddedWalletAssetBalance**](EmbeddedWalletsApi.md#getEmbeddedWalletAssetBalance) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/balance | Retrieve asset balance | +| [**getEmbeddedWalletAssets**](EmbeddedWalletsApi.md#getEmbeddedWalletAssets) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets | Retrieve assets | | [**getEmbeddedWalletDevice**](EmbeddedWalletsApi.md#getEmbeddedWalletDevice) | **GET** /ncw/wallets/{walletId}/devices/{deviceId} | Get Embedded Wallet Device | | [**getEmbeddedWalletDeviceSetupState**](EmbeddedWalletsApi.md#getEmbeddedWalletDeviceSetupState) | **GET** /ncw/wallets/{walletId}/devices/{deviceId}/setup_status | Get device key setup state | +| [**getEmbeddedWalletDevicesPaginated**](EmbeddedWalletsApi.md#getEmbeddedWalletDevicesPaginated) | **GET** /ncw/wallets/{walletId}/devices_paginated | Get registered devices - paginated | | [**getEmbeddedWalletLatestBackup**](EmbeddedWalletsApi.md#getEmbeddedWalletLatestBackup) | **GET** /ncw/wallets/{walletId}/backup/latest | Get wallet Latest Backup details | | [**getEmbeddedWalletPublicKeyInfoForAddress**](EmbeddedWalletsApi.md#getEmbeddedWalletPublicKeyInfoForAddress) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/{change}/{addressIndex}/public_key_info | Get the public key of an asset | +| [**getEmbeddedWalletSetupStatus**](EmbeddedWalletsApi.md#getEmbeddedWalletSetupStatus) | **GET** /ncw/wallets/{walletId}/setup_status | Get wallet key setup state | | [**getEmbeddedWalletSupportedAssets**](EmbeddedWalletsApi.md#getEmbeddedWalletSupportedAssets) | **GET** /ncw/wallets/supported_assets | Retrieve supported assets | | [**getEmbeddedWallets**](EmbeddedWalletsApi.md#getEmbeddedWallets) | **GET** /ncw/wallets | List wallets | | [**getPublicKeyInfoNcw**](EmbeddedWalletsApi.md#getPublicKeyInfoNcw) | **GET** /ncw/wallets/{walletId}/public_key_info | Get the public key for a derivation path | | [**refreshEmbeddedWalletAssetBalance**](EmbeddedWalletsApi.md#refreshEmbeddedWalletAssetBalance) | **PUT** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/balance | Refresh asset balance | +| [**updateEmbeddedWalletDeviceStatus**](EmbeddedWalletsApi.md#updateEmbeddedWalletDeviceStatus) | **PATCH** /ncw/wallets/{walletId}/devices/{deviceId}/status | Update device status | +| [**updateEmbeddedWalletStatus**](EmbeddedWalletsApi.md#updateEmbeddedWalletStatus) | **PATCH** /ncw/wallets/{walletId}/status | Update wallet status | @@ -112,6 +118,91 @@ No authorization required | **0** | Error Response | * X-Request-ID -
    | +## assignEmbeddedWallet + +> CompletableFuture> assignEmbeddedWallet assignEmbeddedWallet(walletId, idempotencyKey) + +Assign a wallet + +Assign a specific Non Custodial Wallet to a user + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.EmbeddedWalletsApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String walletId = "550e8400-e29b-41d4-a716-446655440000"; // String | Wallet Id + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.embeddedWallets().assignEmbeddedWallet(walletId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling EmbeddedWalletsApi#assignEmbeddedWallet"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling EmbeddedWalletsApi#assignEmbeddedWallet"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **walletId** | **String**| Wallet Id | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + ## createEmbeddedWallet > CompletableFuture> createEmbeddedWallet createEmbeddedWallet(idempotencyKey) @@ -719,6 +810,99 @@ No authorization required | **0** | Error Response | * X-Request-ID -
    | +## getEmbeddedWalletAssets + +> CompletableFuture> getEmbeddedWalletAssets getEmbeddedWalletAssets(walletId, accountId, sort, pageCursor, pageSize, order) + +Retrieve assets + +Retrieve assets for a specific account under a specific Non Custodial Wallet + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.EmbeddedWalletsApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String walletId = "550e8400-e29b-41d4-a716-446655440000"; // String | Wallet Id + String accountId = "0"; // String | The ID of the account + List sort = Arrays.asList(); // List | Sort by fields + String pageCursor = "pageCursor_example"; // String | Cursor to the next page + BigDecimal pageSize = new BigDecimal("200"); // BigDecimal | Amount of results to return in the next page + String order = "ASC"; // String | Is the order ascending or descending + try { + CompletableFuture> response = fireblocks.embeddedWallets().getEmbeddedWalletAssets(walletId, accountId, sort, pageCursor, pageSize, order); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling EmbeddedWalletsApi#getEmbeddedWalletAssets"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling EmbeddedWalletsApi#getEmbeddedWalletAssets"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **walletId** | **String**| Wallet Id | | +| **accountId** | **String**| The ID of the account | | +| **sort** | [**List<String>**](String.md)| Sort by fields | [optional] [enum: assetId, createdAt] | +| **pageCursor** | **String**| Cursor to the next page | [optional] | +| **pageSize** | **BigDecimal**| Amount of results to return in the next page | [optional] [default to 200] | +| **order** | **String**| Is the order ascending or descending | [optional] [default to ASC] [enum: ASC, DESC] | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + ## getEmbeddedWalletDevice > CompletableFuture> getEmbeddedWalletDevice getEmbeddedWalletDevice(walletId, deviceId) @@ -889,6 +1073,98 @@ No authorization required | **0** | Error Response | * X-Request-ID -
    | +## getEmbeddedWalletDevicesPaginated + +> CompletableFuture> getEmbeddedWalletDevicesPaginated getEmbeddedWalletDevicesPaginated(walletId, sort, pageCursor, pageSize, order) + +Get registered devices - paginated + +Get a paginated list of registered devices for a specific Non Custodial Wallet + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.EmbeddedWalletsApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String walletId = "550e8400-e29b-41d4-a716-446655440000"; // String | Wallet Id + List sort = Arrays.asList(); // List | Sort by fields + String pageCursor = "pageCursor_example"; // String | Cursor to the next page + BigDecimal pageSize = new BigDecimal("200"); // BigDecimal | Amount of results to return in the next page + String order = "ASC"; // String | Is the order ascending or descending + try { + CompletableFuture> response = fireblocks.embeddedWallets().getEmbeddedWalletDevicesPaginated(walletId, sort, pageCursor, pageSize, order); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling EmbeddedWalletsApi#getEmbeddedWalletDevicesPaginated"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling EmbeddedWalletsApi#getEmbeddedWalletDevicesPaginated"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **walletId** | **String**| Wallet Id | | +| **sort** | [**List<String>**](String.md)| Sort by fields | [optional] [enum: createdAt] | +| **pageCursor** | **String**| Cursor to the next page | [optional] | +| **pageSize** | **BigDecimal**| Amount of results to return in the next page | [optional] [default to 200] | +| **order** | **String**| Is the order ascending or descending | [optional] [default to ASC] [enum: ASC, DESC] | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + ## getEmbeddedWalletLatestBackup > CompletableFuture> getEmbeddedWalletLatestBackup getEmbeddedWalletLatestBackup(walletId) @@ -1067,6 +1343,89 @@ No authorization required | **0** | Error Response | * X-Request-ID -
    | +## getEmbeddedWalletSetupStatus + +> CompletableFuture> getEmbeddedWalletSetupStatus getEmbeddedWalletSetupStatus(walletId) + +Get wallet key setup state + +Get the key setup state for a specific Non Custodial Wallet, including required algorithms and device setup status + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.EmbeddedWalletsApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String walletId = "550e8400-e29b-41d4-a716-446655440000"; // String | Wallet Id + try { + CompletableFuture> response = fireblocks.embeddedWallets().getEmbeddedWalletSetupStatus(walletId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling EmbeddedWalletsApi#getEmbeddedWalletSetupStatus"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling EmbeddedWalletsApi#getEmbeddedWalletSetupStatus"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **walletId** | **String**| Wallet Id | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + ## getEmbeddedWalletSupportedAssets > CompletableFuture> getEmbeddedWalletSupportedAssets getEmbeddedWalletSupportedAssets(pageCursor, pageSize, onlyBaseAssets) @@ -1424,3 +1783,177 @@ No authorization required | **200** | Successful response | * X-Request-ID -
    | | **0** | Error Response | * X-Request-ID -
    | + +## updateEmbeddedWalletDeviceStatus + +> CompletableFuture> updateEmbeddedWalletDeviceStatus updateEmbeddedWalletDeviceStatus(enableDevice, walletId, deviceId, idempotencyKey) + +Update device status + +Update the enabled/disabled status of a specific device for a Non Custodial Wallet + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.EmbeddedWalletsApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + EnableDevice enableDevice = new EnableDevice(); // EnableDevice | + String walletId = "550e8400-e29b-41d4-a716-446655440000"; // String | Wallet Id + String deviceId = "9ee1bff0-6dba-4f0c-9b75-03fe90e66fa3"; // String | Device Id + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.embeddedWallets().updateEmbeddedWalletDeviceStatus(enableDevice, walletId, deviceId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling EmbeddedWalletsApi#updateEmbeddedWalletDeviceStatus"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling EmbeddedWalletsApi#updateEmbeddedWalletDeviceStatus"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **enableDevice** | [**EnableDevice**](EnableDevice.md)| | | +| **walletId** | **String**| Wallet Id | | +| **deviceId** | **String**| Device Id | | +| **idempotencyKey** | **String**| 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 + + +CompletableFuture> + +### 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 -
    | + + +## updateEmbeddedWalletStatus + +> CompletableFuture> updateEmbeddedWalletStatus updateEmbeddedWalletStatus(enableWallet, walletId, idempotencyKey) + +Update wallet status + +Update the enabled/disabled status of a specific Non Custodial Wallet + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.EmbeddedWalletsApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + EnableWallet enableWallet = new EnableWallet(); // EnableWallet | + String walletId = "550e8400-e29b-41d4-a716-446655440000"; // String | Wallet Id + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.embeddedWallets().updateEmbeddedWalletStatus(enableWallet, walletId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling EmbeddedWalletsApi#updateEmbeddedWalletStatus"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling EmbeddedWalletsApi#updateEmbeddedWalletStatus"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **enableWallet** | [**EnableWallet**](EnableWallet.md)| | | +| **walletId** | **String**| Wallet Id | | +| **idempotencyKey** | **String**| 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 + + +CompletableFuture> + +### 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 -
    | + diff --git a/docs/ProviderID.md b/docs/EnableDevice.md similarity index 54% rename from docs/ProviderID.md rename to docs/EnableDevice.md index 30bb6e86..7e3bc465 100644 --- a/docs/ProviderID.md +++ b/docs/EnableDevice.md @@ -1,13 +1,13 @@ -# ProviderID +# EnableDevice ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**providerId** | **String** | The ID of the provider associated with the account. | | +|**enabled** | **Boolean** | Whether the device should be enabled or disabled | | diff --git a/docs/EnableWallet.md b/docs/EnableWallet.md new file mode 100644 index 00000000..81ebcd79 --- /dev/null +++ b/docs/EnableWallet.md @@ -0,0 +1,13 @@ + + +# EnableWallet + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**enabled** | **Boolean** | Whether the wallet should be enabled or disabled | | + + + diff --git a/docs/ErrorCodes.md b/docs/ErrorCodes.md deleted file mode 100644 index 206bfdcb..00000000 --- a/docs/ErrorCodes.md +++ /dev/null @@ -1,25 +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"`) - - - diff --git a/docs/EthereumBlockchainData.md b/docs/EthereumBlockchainData.md new file mode 100644 index 00000000..07cf68dd --- /dev/null +++ b/docs/EthereumBlockchainData.md @@ -0,0 +1,14 @@ + + +# 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 | +|------------ | ------------- | ------------- | -------------| +|**isCompoundingValidator** | **Boolean** | Is the validator compounding (i.e it was created with compounding validator type). | | + + + diff --git a/docs/EuropeanSEPAAddress.md b/docs/EuropeanSEPAAddress.md new file mode 100644 index 00000000..7b64e736 --- /dev/null +++ b/docs/EuropeanSEPAAddress.md @@ -0,0 +1,20 @@ + + +# EuropeanSEPAAddress + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**accountHolder** | [**AccountHolderDetails**](AccountHolderDetails.md) | | | +|**iban** | **String** | | | +|**bic** | **String** | | [optional] | +|**bankName** | **String** | | [optional] | +|**bankBranch** | **String** | | [optional] | +|**bankAddress** | **String** | | [optional] | +|**purposeCode** | **String** | | [optional] | +|**taxId** | **String** | | [optional] | + + + diff --git a/docs/PostOrderSettlement.md b/docs/EuropeanSEPADestination.md similarity index 60% rename from docs/PostOrderSettlement.md rename to docs/EuropeanSEPADestination.md index eaeadd51..49535d62 100644 --- a/docs/PostOrderSettlement.md +++ b/docs/EuropeanSEPADestination.md @@ -1,6 +1,6 @@ -# PostOrderSettlement +# EuropeanSEPADestination ## Properties @@ -8,6 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**type** | [**TypeEnum**](#TypeEnum) | | | +|**address** | [**EuropeanSEPAAddress**](EuropeanSEPAAddress.md) | | | @@ -15,7 +16,7 @@ | Name | Value | |---- | -----| -| POST_ORDER | "POST_ORDER" | +| EUROPEAN_SEPA | "EUROPEAN_SEPA" | diff --git a/docs/ExchangeAccountsApi.md b/docs/ExchangeAccountsApi.md index 2cc3aba8..119ba386 100644 --- a/docs/ExchangeAccountsApi.md +++ b/docs/ExchangeAccountsApi.md @@ -5,11 +5,11 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**addExchangeAccount**](ExchangeAccountsApi.md#addExchangeAccount) | **POST** /exchange_accounts | Add an exchange account | -| [**convertAssets**](ExchangeAccountsApi.md#convertAssets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds from the source asset to the destination asset. | -| [**getExchangeAccount**](ExchangeAccountsApi.md#getExchangeAccount) | **GET** /exchange_accounts/{exchangeAccountId} | Find a specific exchange account | -| [**getExchangeAccountAsset**](ExchangeAccountsApi.md#getExchangeAccountAsset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Find an asset for an exchange account | +| [**convertAssets**](ExchangeAccountsApi.md#convertAssets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds | +| [**getExchangeAccount**](ExchangeAccountsApi.md#getExchangeAccount) | **GET** /exchange_accounts/{exchangeAccountId} | Get a specific exchange account | +| [**getExchangeAccountAsset**](ExchangeAccountsApi.md#getExchangeAccountAsset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Get an asset for an exchange account | | [**getExchangeAccountsCredentialsPublicKey**](ExchangeAccountsApi.md#getExchangeAccountsCredentialsPublicKey) | **GET** /exchange_accounts/credentials_public_key | Get public key to encrypt exchange credentials | -| [**getPagedExchangeAccounts**](ExchangeAccountsApi.md#getPagedExchangeAccounts) | **GET** /exchange_accounts/paged | Pagination list exchange accounts | +| [**getPagedExchangeAccounts**](ExchangeAccountsApi.md#getPagedExchangeAccounts) | **GET** /exchange_accounts/paged | List connected exchange accounts | | [**internalTransfer**](ExchangeAccountsApi.md#internalTransfer) | **POST** /exchange_accounts/{exchangeAccountId}/internal_transfer | Internal transfer for exchange accounts | @@ -20,7 +20,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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 @@ -103,9 +103,9 @@ No authorization required > CompletableFuture> convertAssets convertAssets(exchangeAccountId, convertAssetsRequest, idempotencyKey) -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). </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -190,9 +190,9 @@ No authorization required > CompletableFuture> getExchangeAccount getExchangeAccount(exchangeAccountId) -Find a specific exchange account +Get a specific exchange account -Returns an exchange account by ID. +Returns an exchange account by ID. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -273,9 +273,9 @@ No authorization required > CompletableFuture> getExchangeAccountAsset getExchangeAccountAsset(exchangeAccountId, assetId) -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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -437,9 +437,9 @@ No authorization required > CompletableFuture> getPagedExchangeAccounts getPagedExchangeAccounts(limit, before, 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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -526,7 +526,7 @@ No authorization required 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). </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/ExecutionRequestBaseDetails.md b/docs/ExecutionRequestBaseDetails.md index a93b26b1..f2d27ad5 100644 --- a/docs/ExecutionRequestBaseDetails.md +++ b/docs/ExecutionRequestBaseDetails.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | +|**side** | **Side** | | | |**baseAmount** | **String** | Amount to convert | | |**baseAssetId** | **String** | Source asset identifier | | |**baseAssetRail** | **TransferRail** | | [optional] | @@ -16,12 +16,3 @@ -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | - - - diff --git a/docs/ExecutionRequestDetails.md b/docs/ExecutionRequestDetails.md index 14699bf7..81d9be22 100644 --- a/docs/ExecutionRequestDetails.md +++ b/docs/ExecutionRequestDetails.md @@ -5,7 +5,6 @@ Order execution details ## oneOf schemas -* [LimitExecutionRequestDetails](LimitExecutionRequestDetails.md) * [MarketExecutionRequestDetails](MarketExecutionRequestDetails.md) * [QuoteExecutionWithRequoteRequestDetails](QuoteExecutionWithRequoteRequestDetails.md) @@ -13,7 +12,6 @@ Order execution details ```java // Import classes: import com.fireblocks.sdk.model.ExecutionRequestDetails; -import com.fireblocks.sdk.model.LimitExecutionRequestDetails; import com.fireblocks.sdk.model.MarketExecutionRequestDetails; import com.fireblocks.sdk.model.QuoteExecutionWithRequoteRequestDetails; @@ -21,13 +19,6 @@ public class Example { public static void main(String[] args) { ExecutionRequestDetails exampleExecutionRequestDetails = new ExecutionRequestDetails(); - // create a new LimitExecutionRequestDetails - LimitExecutionRequestDetails exampleLimitExecutionRequestDetails = new LimitExecutionRequestDetails(); - // set ExecutionRequestDetails to LimitExecutionRequestDetails - exampleExecutionRequestDetails.setActualInstance(exampleLimitExecutionRequestDetails); - // to get back the LimitExecutionRequestDetails set earlier - LimitExecutionRequestDetails testLimitExecutionRequestDetails = (LimitExecutionRequestDetails) exampleExecutionRequestDetails.getActualInstance(); - // create a new MarketExecutionRequestDetails MarketExecutionRequestDetails exampleMarketExecutionRequestDetails = new MarketExecutionRequestDetails(); // set ExecutionRequestDetails to MarketExecutionRequestDetails diff --git a/docs/ExecutionResponseBaseDetails.md b/docs/ExecutionResponseBaseDetails.md index bccd4fb0..f7900ec8 100644 --- a/docs/ExecutionResponseBaseDetails.md +++ b/docs/ExecutionResponseBaseDetails.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | +|**side** | **Side** | | | |**baseAmount** | **String** | Amount to convert | | |**baseAssetId** | **String** | Source asset identifier | | |**baseAssetRail** | **TransferRail** | | [optional] | @@ -16,12 +16,3 @@ -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | - - - diff --git a/docs/ExecutionResponseDetails.md b/docs/ExecutionResponseDetails.md index 04307d28..c0399a57 100644 --- a/docs/ExecutionResponseDetails.md +++ b/docs/ExecutionResponseDetails.md @@ -3,7 +3,6 @@ # ExecutionResponseDetails ## oneOf schemas -* [LimitExecutionResponseDetails](LimitExecutionResponseDetails.md) * [MarketExecutionResponseDetails](MarketExecutionResponseDetails.md) * [QuoteExecutionWithRequoteResponseDetails](QuoteExecutionWithRequoteResponseDetails.md) @@ -11,7 +10,6 @@ ```java // Import classes: import com.fireblocks.sdk.model.ExecutionResponseDetails; -import com.fireblocks.sdk.model.LimitExecutionResponseDetails; import com.fireblocks.sdk.model.MarketExecutionResponseDetails; import com.fireblocks.sdk.model.QuoteExecutionWithRequoteResponseDetails; @@ -19,13 +17,6 @@ public class Example { public static void main(String[] args) { ExecutionResponseDetails exampleExecutionResponseDetails = new ExecutionResponseDetails(); - // create a new LimitExecutionResponseDetails - LimitExecutionResponseDetails exampleLimitExecutionResponseDetails = new LimitExecutionResponseDetails(); - // set ExecutionResponseDetails to LimitExecutionResponseDetails - exampleExecutionResponseDetails.setActualInstance(exampleLimitExecutionResponseDetails); - // to get back the LimitExecutionResponseDetails set earlier - LimitExecutionResponseDetails testLimitExecutionResponseDetails = (LimitExecutionResponseDetails) exampleExecutionResponseDetails.getActualInstance(); - // create a new MarketExecutionResponseDetails MarketExecutionResponseDetails exampleMarketExecutionResponseDetails = new MarketExecutionResponseDetails(); // set ExecutionResponseDetails to MarketExecutionResponseDetails diff --git a/docs/ExternalAccount.md b/docs/ExternalAccount.md index b477219b..69e1033b 100644 --- a/docs/ExternalAccount.md +++ b/docs/ExternalAccount.md @@ -7,15 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | | | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| EXTERNAL | "EXTERNAL" | +|**type** | **ExternalAccountType** | | | +|**senderInformation** | [**ExternalAccountSenderInformation**](ExternalAccountSenderInformation.md) | | [optional] | diff --git a/docs/ExternalAccountLocalBankAfrica.md b/docs/ExternalAccountLocalBankAfrica.md new file mode 100644 index 00000000..322fd4d6 --- /dev/null +++ b/docs/ExternalAccountLocalBankAfrica.md @@ -0,0 +1,16 @@ + + +# ExternalAccountLocalBankAfrica + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | **ExternalAccountLocalBankAfricaType** | | | +|**accountNumber** | **String** | | | +|**bankName** | **String** | Name of the bank | | +|**bankCode** | **String** | Internal bank identifier | | + + + diff --git a/docs/ExternalAccountLocalBankAfricaType.md b/docs/ExternalAccountLocalBankAfricaType.md new file mode 100644 index 00000000..cb3db7f3 --- /dev/null +++ b/docs/ExternalAccountLocalBankAfricaType.md @@ -0,0 +1,11 @@ + + +# ExternalAccountLocalBankAfricaType + +## Enum + + +* `LOCAL_BANK_AFRICA_RAIL` (value: `"LOCAL_BANK_AFRICA_RAIL"`) + + + diff --git a/docs/ExternalAccountMobileMoney.md b/docs/ExternalAccountMobileMoney.md new file mode 100644 index 00000000..7a368fbb --- /dev/null +++ b/docs/ExternalAccountMobileMoney.md @@ -0,0 +1,16 @@ + + +# ExternalAccountMobileMoney + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | **ExternalAccountMobileMoneyType** | | | +|**mobilePhoneNumber** | **String** | Mobile phone number in E.164 format | | +|**provider** | **ExternalAccountMobileMoneyProvider** | | | +|**email** | **String** | | | + + + diff --git a/docs/ExternalAccountMobileMoneyProvider.md b/docs/ExternalAccountMobileMoneyProvider.md new file mode 100644 index 00000000..1526ffb7 --- /dev/null +++ b/docs/ExternalAccountMobileMoneyProvider.md @@ -0,0 +1,19 @@ + + +# ExternalAccountMobileMoneyProvider + +## Enum + + +* `M_PESA` (value: `"M_PESA"`) + +* `AIRTEL` (value: `"AIRTEL"`) + +* `MTN` (value: `"MTN"`) + +* `TIGO` (value: `"TIGO"`) + +* `ORANGE` (value: `"ORANGE"`) + + + diff --git a/docs/ExternalAccountMobileMoneyType.md b/docs/ExternalAccountMobileMoneyType.md new file mode 100644 index 00000000..0af1bbd9 --- /dev/null +++ b/docs/ExternalAccountMobileMoneyType.md @@ -0,0 +1,11 @@ + + +# ExternalAccountMobileMoneyType + +## Enum + + +* `MOBILE_MONEY_RAIL` (value: `"MOBILE_MONEY_RAIL"`) + + + diff --git a/docs/ExternalAccountSenderInformation.md b/docs/ExternalAccountSenderInformation.md new file mode 100644 index 00000000..ea690169 --- /dev/null +++ b/docs/ExternalAccountSenderInformation.md @@ -0,0 +1,39 @@ + + +# ExternalAccountSenderInformation + +Additional data for the external account, depending on the type used. + +## oneOf schemas +* [ExternalAccountLocalBankAfrica](ExternalAccountLocalBankAfrica.md) +* [ExternalAccountMobileMoney](ExternalAccountMobileMoney.md) + +## Example +```java +// Import classes: +import com.fireblocks.sdk.model.ExternalAccountSenderInformation; +import com.fireblocks.sdk.model.ExternalAccountLocalBankAfrica; +import com.fireblocks.sdk.model.ExternalAccountMobileMoney; + +public class Example { + public static void main(String[] args) { + ExternalAccountSenderInformation exampleExternalAccountSenderInformation = new ExternalAccountSenderInformation(); + + // create a new ExternalAccountLocalBankAfrica + ExternalAccountLocalBankAfrica exampleExternalAccountLocalBankAfrica = new ExternalAccountLocalBankAfrica(); + // set ExternalAccountSenderInformation to ExternalAccountLocalBankAfrica + exampleExternalAccountSenderInformation.setActualInstance(exampleExternalAccountLocalBankAfrica); + // to get back the ExternalAccountLocalBankAfrica set earlier + ExternalAccountLocalBankAfrica testExternalAccountLocalBankAfrica = (ExternalAccountLocalBankAfrica) exampleExternalAccountSenderInformation.getActualInstance(); + + // create a new ExternalAccountMobileMoney + ExternalAccountMobileMoney exampleExternalAccountMobileMoney = new ExternalAccountMobileMoney(); + // set ExternalAccountSenderInformation to ExternalAccountMobileMoney + exampleExternalAccountSenderInformation.setActualInstance(exampleExternalAccountMobileMoney); + // to get back the ExternalAccountMobileMoney set earlier + ExternalAccountMobileMoney testExternalAccountMobileMoney = (ExternalAccountMobileMoney) exampleExternalAccountSenderInformation.getActualInstance(); + } +} +``` + + diff --git a/docs/ExternalAccountType.md b/docs/ExternalAccountType.md new file mode 100644 index 00000000..9ec7a45c --- /dev/null +++ b/docs/ExternalAccountType.md @@ -0,0 +1,11 @@ + + +# ExternalAccountType + +## Enum + + +* `EXTERNAL` (value: `"EXTERNAL"`) + + + diff --git a/docs/ExternalWalletsApi.md b/docs/ExternalWalletsApi.md index 1c409e11..a2f04583 100644 --- a/docs/ExternalWalletsApi.md +++ b/docs/ExternalWalletsApi.md @@ -21,7 +21,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ Add an asset to an external wallet. -Adds an asset to an existing external wallet. +Adds an asset to an existing external wallet. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -110,7 +110,7 @@ No authorization required 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -195,7 +195,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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -277,7 +277,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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -360,7 +360,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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -445,7 +445,7 @@ No authorization required 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -524,7 +524,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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -608,7 +608,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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/Failure.md b/docs/Failure.md new file mode 100644 index 00000000..fb91426a --- /dev/null +++ b/docs/Failure.md @@ -0,0 +1,13 @@ + + +# Failure + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**reason** | **FailureReason** | | | + + + diff --git a/docs/FailureReason.md b/docs/FailureReason.md new file mode 100644 index 00000000..44c00025 --- /dev/null +++ b/docs/FailureReason.md @@ -0,0 +1,45 @@ + + +# 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"`) + + + diff --git a/docs/Fee.md b/docs/Fee.md index 0b75f6ec..b91fed62 100644 --- a/docs/Fee.md +++ b/docs/Fee.md @@ -7,23 +7,13 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**feeType** | [**FeeTypeEnum**](#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. | | +|**feeType** | **FeeTypeEnum** | | | |**assetId** | **String** | The asset identifier for the fee. | | |**amountType** | [**AmountTypeEnum**](#AmountTypeEnum) | | | |**amount** | **BigDecimal** | Fee in basis points (1 = 0.01%, 10000 = 100%) | | -## Enum: FeeTypeEnum - -| Name | Value | -|---- | -----| -| ORDER | "ORDER" | -| NETWORK | "NETWORK" | -| SPREAD | "SPREAD" | - - - ## Enum: AmountTypeEnum | Name | Value | diff --git a/docs/FeePropertiesDetails.md b/docs/FeePropertiesDetails.md index 665eb5a0..824c321d 100644 --- a/docs/FeePropertiesDetails.md +++ b/docs/FeePropertiesDetails.md @@ -7,28 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**feeType** | [**FeeTypeEnum**](#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. | | +|**feeType** | **FeeTypeEnum** | | | |**assetId** | **String** | The asset identifier for the fee. | | -|**amountType** | [**AmountTypeEnum**](#AmountTypeEnum) | The type of amount for the fee, either FIXED or BPS (basis points). | | - - - -## Enum: FeeTypeEnum - -| Name | Value | -|---- | -----| -| ORDER | "ORDER" | -| NETWORK | "NETWORK" | -| SPREAD | "SPREAD" | - - - -## Enum: AmountTypeEnum - -| Name | Value | -|---- | -----| -| FIXED | "FIXED" | -| BPS | "BPS" | diff --git a/docs/FeeTypeEnum.md b/docs/FeeTypeEnum.md new file mode 100644 index 00000000..e725d776 --- /dev/null +++ b/docs/FeeTypeEnum.md @@ -0,0 +1,17 @@ + + +# FeeTypeEnum + +## Enum + + +* `ORDER` (value: `"ORDER"`) + +* `NETWORK` (value: `"NETWORK"`) + +* `SPREAD` (value: `"SPREAD"`) + +* `REBATE` (value: `"REBATE"`) + + + diff --git a/docs/FiatAccountsApi.md b/docs/FiatAccountsApi.md index cf047438..84af6a02 100644 --- a/docs/FiatAccountsApi.md +++ b/docs/FiatAccountsApi.md @@ -104,7 +104,7 @@ No authorization required Find a specific fiat account -Returns a fiat account by ID. +Returns a fiat account by ID. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -187,7 +187,7 @@ No authorization required List fiat accounts -Returns all fiat accounts. +Returns all fiat accounts. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/FiatDestination.md b/docs/FiatDestination.md index 082ee556..70112bc0 100644 --- a/docs/FiatDestination.md +++ b/docs/FiatDestination.md @@ -4,6 +4,7 @@ ## oneOf schemas * [AchDestination](AchDestination.md) +* [EuropeanSEPADestination](EuropeanSEPADestination.md) * [IbanDestination](IbanDestination.md) * [LocalBankTransferAfricaDestination](LocalBankTransferAfricaDestination.md) * [MobileMoneyDestination](MobileMoneyDestination.md) @@ -18,6 +19,7 @@ // Import classes: import com.fireblocks.sdk.model.FiatDestination; import com.fireblocks.sdk.model.AchDestination; +import com.fireblocks.sdk.model.EuropeanSEPADestination; import com.fireblocks.sdk.model.IbanDestination; import com.fireblocks.sdk.model.LocalBankTransferAfricaDestination; import com.fireblocks.sdk.model.MobileMoneyDestination; @@ -38,6 +40,13 @@ public class Example { // to get back the AchDestination set earlier AchDestination testAchDestination = (AchDestination) exampleFiatDestination.getActualInstance(); + // create a new EuropeanSEPADestination + EuropeanSEPADestination exampleEuropeanSEPADestination = new EuropeanSEPADestination(); + // set FiatDestination to EuropeanSEPADestination + exampleFiatDestination.setActualInstance(exampleEuropeanSEPADestination); + // to get back the EuropeanSEPADestination set earlier + EuropeanSEPADestination testEuropeanSEPADestination = (EuropeanSEPADestination) exampleFiatDestination.getActualInstance(); + // create a new IbanDestination IbanDestination exampleIbanDestination = new IbanDestination(); // set FiatDestination to IbanDestination diff --git a/docs/PaymentInstructionsDetails.md b/docs/FiatPaymentMetadata.md similarity index 85% rename from docs/PaymentInstructionsDetails.md rename to docs/FiatPaymentMetadata.md index 1f2c6d19..0d8408c9 100644 --- a/docs/PaymentInstructionsDetails.md +++ b/docs/FiatPaymentMetadata.md @@ -1,6 +1,6 @@ -# PaymentInstructionsDetails +# FiatPaymentMetadata ## Properties diff --git a/docs/FixedAmountTypeEnum.md b/docs/FixedAmountTypeEnum.md new file mode 100644 index 00000000..3337b196 --- /dev/null +++ b/docs/FixedAmountTypeEnum.md @@ -0,0 +1,11 @@ + + +# FixedAmountTypeEnum + +## Enum + + +* `FIXED` (value: `"FIXED"`) + + + diff --git a/docs/FixedFee.md b/docs/FixedFee.md index ce5706b9..2f1eaacd 100644 --- a/docs/FixedFee.md +++ b/docs/FixedFee.md @@ -7,16 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**amountType** | [**AmountTypeEnum**](#AmountTypeEnum) | | | +|**amountType** | **FixedAmountTypeEnum** | | | |**amount** | **String** | The fixed amount of the fee | | -## Enum: AmountTypeEnum - -| Name | Value | -|---- | -----| -| FIXED | "FIXED" | - - - diff --git a/docs/GasStationsApi.md b/docs/GasStationsApi.md index 99a9875a..78dbf052 100644 --- a/docs/GasStationsApi.md +++ b/docs/GasStationsApi.md @@ -17,7 +17,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -100,7 +100,7 @@ No authorization required Get gas station settings -Returns gas station settings and ETH balance. +Returns gas station settings and ETH balance. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -179,7 +179,7 @@ No authorization required 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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -264,7 +264,7 @@ No authorization required 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). </br>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..62ada356 --- /dev/null +++ b/docs/GetMaxBipIndexUsedResponse.md @@ -0,0 +1,14 @@ + + +# GetMaxBipIndexUsedResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**maxBip44AddressIndexUsed** | **Integer** | The maximum BIP44 address index used for the vault account and asset | [optional] | +|**maxBip44ChangeAddressIndexUsed** | **Integer** | The maximum BIP44 change address index used for the vault account and asset | [optional] | + + + diff --git a/docs/IndicativeQuoteEnum.md b/docs/IndicativeQuoteEnum.md new file mode 100644 index 00000000..7fa55f57 --- /dev/null +++ b/docs/IndicativeQuoteEnum.md @@ -0,0 +1,11 @@ + + +# IndicativeQuoteEnum + +## Enum + + +* `INDICATIVE` (value: `"INDICATIVE"`) + + + diff --git a/docs/IndicativeQuoteType.md b/docs/IndicativeQuoteType.md index 54b24391..957b9821 100644 --- a/docs/IndicativeQuoteType.md +++ b/docs/IndicativeQuoteType.md @@ -7,15 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Indicates this is an indicative quote | | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| INDICATIVE | "INDICATIVE" | +|**type** | **IndicativeQuoteEnum** | | | diff --git a/docs/InternalWalletsApi.md b/docs/InternalWalletsApi.md index 8a64ab12..5659d549 100644 --- a/docs/InternalWalletsApi.md +++ b/docs/InternalWalletsApi.md @@ -8,11 +8,11 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | [**createInternalWalletAsset**](InternalWalletsApi.md#createInternalWalletAsset) | **POST** /internal_wallets/{walletId}/{assetId} | Add an asset to an internal wallet | | [**deleteInternalWallet**](InternalWalletsApi.md#deleteInternalWallet) | **DELETE** /internal_wallets/{walletId} | Delete an internal wallet | | [**deleteInternalWalletAsset**](InternalWalletsApi.md#deleteInternalWalletAsset) | **DELETE** /internal_wallets/{walletId}/{assetId} | Delete a whitelisted address | -| [**getInternalWallet**](InternalWalletsApi.md#getInternalWallet) | **GET** /internal_wallets/{walletId} | Get an asset from an internal wallet | +| [**getInternalWallet**](InternalWalletsApi.md#getInternalWallet) | **GET** /internal_wallets/{walletId} | Get assets for internal wallet | | [**getInternalWalletAsset**](InternalWalletsApi.md#getInternalWalletAsset) | **GET** /internal_wallets/{walletId}/{assetId} | Get an asset from an internal wallet | | [**getInternalWalletAssetsPaginated**](InternalWalletsApi.md#getInternalWalletAssetsPaginated) | **GET** /internal_wallets/{walletId}/assets | List assets in an internal wallet (Paginated) | | [**getInternalWallets**](InternalWalletsApi.md#getInternalWallets) | **GET** /internal_wallets | List internal wallets | -| [**setCustomerRefIdForInternalWallet**](InternalWalletsApi.md#setCustomerRefIdForInternalWallet) | **POST** /internal_wallets/{walletId}/set_customer_ref_id | Set an AML/KYT customer reference ID for an internal wallet | +| [**setCustomerRefIdForInternalWallet**](InternalWalletsApi.md#setCustomerRefIdForInternalWallet) | **POST** /internal_wallets/{walletId}/set_customer_ref_id | Set an AML/KYT customer reference ID for internal wallet | @@ -22,7 +22,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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) ### Example @@ -107,7 +107,7 @@ No authorization required 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. ### Example @@ -196,7 +196,7 @@ 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. +Deletes an internal wallet by ID. ### Example @@ -278,7 +278,7 @@ No authorization required 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. ### Example @@ -360,9 +360,9 @@ No authorization required > CompletableFuture> getInternalWallet getInternalWallet(walletId) -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. </br>As part of the depreciation process this endpoint will no longer return balances, only addresses. </br>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. ### Example @@ -445,7 +445,7 @@ No authorization required 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. ### Example @@ -530,7 +530,7 @@ No authorization required 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. </br>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. ### Example @@ -617,7 +617,7 @@ No authorization required 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. </br>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. ### Example @@ -694,9 +694,9 @@ No authorization required > CompletableFuture> setCustomerRefIdForInternalWallet setCustomerRefIdForInternalWallet(setCustomerRefIdRequest, walletId, idempotencyKey) -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. ### Example diff --git a/docs/Job.md b/docs/Job.md deleted file mode 100644 index 277d5467..00000000 --- a/docs/Job.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# Job - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **String** | | [optional] | -|**tenantId** | **String** | | [optional] | -|**type** | **String** | | [optional] | -|**userId** | **String** | | [optional] | -|**created** | **BigDecimal** | | [optional] | -|**updated** | **BigDecimal** | | [optional] | -|**state** | **String** | | [optional] | -|**tasks** | [**List<Task>**](Task.md) | | [optional] | - - - diff --git a/docs/JobManagementApi.md b/docs/JobManagementApi.md deleted file mode 100644 index bf1b8fac..00000000 --- a/docs/JobManagementApi.md +++ /dev/null @@ -1,517 +0,0 @@ -# JobManagementApi - -All URIs are relative to https://developers.fireblocks.com/reference/ - -| Method | HTTP request | Description | -|------------- | ------------- | -------------| -| [**cancelJob**](JobManagementApi.md#cancelJob) | **POST** /batch/{jobId}/cancel | Cancel a running job | -| [**continueJob**](JobManagementApi.md#continueJob) | **POST** /batch/{jobId}/continue | Continue a paused job | -| [**getJob**](JobManagementApi.md#getJob) | **GET** /batch/{jobId} | Get job details | -| [**getJobTasks**](JobManagementApi.md#getJobTasks) | **GET** /batch/{jobId}/tasks | Return a list of tasks for given job | -| [**getJobs**](JobManagementApi.md#getJobs) | **GET** /batch/jobs | Return a list of jobs belonging to tenant | -| [**pauseJob**](JobManagementApi.md#pauseJob) | **POST** /batch/{jobId}/pause | Pause a job | - - - -## cancelJob - -> CompletableFuture> cancelJob cancelJob(jobId, idempotencyKey) - -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 - -```java -// Import classes: -import com.fireblocks.sdk.ApiClient; -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.BasePath; -import com.fireblocks.sdk.Fireblocks; -import com.fireblocks.sdk.ConfigurationOptions; -import com.fireblocks.sdk.model.*; -import com.fireblocks.sdk.api.JobManagementApi; -import java.util.concurrent.CompletableFuture; -import java.util.concurrent.ExecutionException; - -public class Example { - public static void main(String[] args) { - ConfigurationOptions configurationOptions = new ConfigurationOptions() - .basePath(BasePath.Sandbox) - .apiKey("my-api-key") - .secretKey("my-secret-key"); - Fireblocks fireblocks = new Fireblocks(configurationOptions); - - String jobId = "jobId_example"; // String | The requested job id - String idempotencyKey = "idempotencyKey_example"; // String | 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. - try { - CompletableFuture> response = fireblocks.jobManagement().cancelJob(jobId, idempotencyKey); - System.out.println("Status code: " + response.get().getStatusCode()); - System.out.println("Response headers: " + response.get().getHeaders()); - } catch (InterruptedException | ExecutionException e) { - ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling JobManagementApi#cancelJob"); - System.err.println("Status code: " + apiException.getCode()); - System.err.println("Response headers: " + apiException.getResponseHeaders()); - System.err.println("Reason: " + apiException.getResponseBody()); - e.printStackTrace(); - } catch (ApiException e) { - System.err.println("Exception when calling JobManagementApi#cancelJob"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Response headers: " + e.getResponseHeaders()); - System.err.println("Reason: " + e.getResponseBody()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **jobId** | **String**| The requested job id | | -| **idempotencyKey** | **String**| 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 - - -CompletableFuture> - -### 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 -
    | - - -## continueJob - -> CompletableFuture> continueJob continueJob(jobId, idempotencyKey) - -Continue a paused job - -Continue the given paused job. - -### Example - -```java -// Import classes: -import com.fireblocks.sdk.ApiClient; -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.BasePath; -import com.fireblocks.sdk.Fireblocks; -import com.fireblocks.sdk.ConfigurationOptions; -import com.fireblocks.sdk.model.*; -import com.fireblocks.sdk.api.JobManagementApi; -import java.util.concurrent.CompletableFuture; -import java.util.concurrent.ExecutionException; - -public class Example { - public static void main(String[] args) { - ConfigurationOptions configurationOptions = new ConfigurationOptions() - .basePath(BasePath.Sandbox) - .apiKey("my-api-key") - .secretKey("my-secret-key"); - Fireblocks fireblocks = new Fireblocks(configurationOptions); - - String jobId = "jobId_example"; // String | The requested job id - String idempotencyKey = "idempotencyKey_example"; // String | 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. - try { - CompletableFuture> response = fireblocks.jobManagement().continueJob(jobId, idempotencyKey); - System.out.println("Status code: " + response.get().getStatusCode()); - System.out.println("Response headers: " + response.get().getHeaders()); - } catch (InterruptedException | ExecutionException e) { - ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling JobManagementApi#continueJob"); - System.err.println("Status code: " + apiException.getCode()); - System.err.println("Response headers: " + apiException.getResponseHeaders()); - System.err.println("Reason: " + apiException.getResponseBody()); - e.printStackTrace(); - } catch (ApiException e) { - System.err.println("Exception when calling JobManagementApi#continueJob"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Response headers: " + e.getResponseHeaders()); - System.err.println("Reason: " + e.getResponseBody()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **jobId** | **String**| The requested job id | | -| **idempotencyKey** | **String**| 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 - - -CompletableFuture> - -### 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 -
    | - - -## getJob - -> CompletableFuture> getJob getJob(jobId) - -Get job details - -Get an object describing the given job - -### Example - -```java -// Import classes: -import com.fireblocks.sdk.ApiClient; -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.BasePath; -import com.fireblocks.sdk.Fireblocks; -import com.fireblocks.sdk.ConfigurationOptions; -import com.fireblocks.sdk.model.*; -import com.fireblocks.sdk.api.JobManagementApi; -import java.util.concurrent.CompletableFuture; -import java.util.concurrent.ExecutionException; - -public class Example { - public static void main(String[] args) { - ConfigurationOptions configurationOptions = new ConfigurationOptions() - .basePath(BasePath.Sandbox) - .apiKey("my-api-key") - .secretKey("my-secret-key"); - Fireblocks fireblocks = new Fireblocks(configurationOptions); - - String jobId = "jobId_example"; // String | The requested job id - try { - CompletableFuture> response = fireblocks.jobManagement().getJob(jobId); - System.out.println("Status code: " + response.get().getStatusCode()); - System.out.println("Response headers: " + response.get().getHeaders()); - System.out.println("Response body: " + response.get().getData()); - } catch (InterruptedException | ExecutionException e) { - ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling JobManagementApi#getJob"); - System.err.println("Status code: " + apiException.getCode()); - System.err.println("Response headers: " + apiException.getResponseHeaders()); - System.err.println("Reason: " + apiException.getResponseBody()); - e.printStackTrace(); - } catch (ApiException e) { - System.err.println("Exception when calling JobManagementApi#getJob"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Response headers: " + e.getResponseHeaders()); - System.err.println("Reason: " + e.getResponseBody()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **jobId** | **String**| The requested job id | | - -### Return type - -CompletableFuture> - - -### 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 -
    | - - -## getJobTasks - -> CompletableFuture>> getJobTasks getJobTasks(jobId) - -Return a list of tasks for given job - -Return a list of tasks for given job - -### Example - -```java -// Import classes: -import com.fireblocks.sdk.ApiClient; -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.BasePath; -import com.fireblocks.sdk.Fireblocks; -import com.fireblocks.sdk.ConfigurationOptions; -import com.fireblocks.sdk.model.*; -import com.fireblocks.sdk.api.JobManagementApi; -import java.util.concurrent.CompletableFuture; -import java.util.concurrent.ExecutionException; - -public class Example { - public static void main(String[] args) { - ConfigurationOptions configurationOptions = new ConfigurationOptions() - .basePath(BasePath.Sandbox) - .apiKey("my-api-key") - .secretKey("my-secret-key"); - Fireblocks fireblocks = new Fireblocks(configurationOptions); - - String jobId = "jobId_example"; // String | The requested job id - try { - CompletableFuture>> response = fireblocks.jobManagement().getJobTasks(jobId); - System.out.println("Status code: " + response.get().getStatusCode()); - System.out.println("Response headers: " + response.get().getHeaders()); - System.out.println("Response body: " + response.get().getData()); - } catch (InterruptedException | ExecutionException e) { - ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling JobManagementApi#getJobTasks"); - System.err.println("Status code: " + apiException.getCode()); - System.err.println("Response headers: " + apiException.getResponseHeaders()); - System.err.println("Reason: " + apiException.getResponseBody()); - e.printStackTrace(); - } catch (ApiException e) { - System.err.println("Exception when calling JobManagementApi#getJobTasks"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Response headers: " + e.getResponseHeaders()); - System.err.println("Reason: " + e.getResponseBody()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **jobId** | **String**| The requested job id | | - -### Return type - -CompletableFuture> - - -### 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 -
    | - - -## getJobs - -> CompletableFuture>> getJobs getJobs(fromTime, toTime) - -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 - -```java -// Import classes: -import com.fireblocks.sdk.ApiClient; -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.BasePath; -import com.fireblocks.sdk.Fireblocks; -import com.fireblocks.sdk.ConfigurationOptions; -import com.fireblocks.sdk.model.*; -import com.fireblocks.sdk.api.JobManagementApi; -import java.util.concurrent.CompletableFuture; -import java.util.concurrent.ExecutionException; - -public class Example { - public static void main(String[] args) { - ConfigurationOptions configurationOptions = new ConfigurationOptions() - .basePath(BasePath.Sandbox) - .apiKey("my-api-key") - .secretKey("my-secret-key"); - Fireblocks fireblocks = new Fireblocks(configurationOptions); - - Integer fromTime = 56; // Integer | Start of time range in ms since 1970 - Integer toTime = 56; // Integer | End of time range in ms since 1970 - try { - CompletableFuture>> response = fireblocks.jobManagement().getJobs(fromTime, toTime); - System.out.println("Status code: " + response.get().getStatusCode()); - System.out.println("Response headers: " + response.get().getHeaders()); - System.out.println("Response body: " + response.get().getData()); - } catch (InterruptedException | ExecutionException e) { - ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling JobManagementApi#getJobs"); - System.err.println("Status code: " + apiException.getCode()); - System.err.println("Response headers: " + apiException.getResponseHeaders()); - System.err.println("Reason: " + apiException.getResponseBody()); - e.printStackTrace(); - } catch (ApiException e) { - System.err.println("Exception when calling JobManagementApi#getJobs"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Response headers: " + e.getResponseHeaders()); - System.err.println("Reason: " + e.getResponseBody()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **fromTime** | **Integer**| Start of time range in ms since 1970 | [optional] | -| **toTime** | **Integer**| End of time range in ms since 1970 | [optional] | - -### Return type - -CompletableFuture> - - -### 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 -
    | - - -## pauseJob - -> CompletableFuture> pauseJob pauseJob(jobId, idempotencyKey) - -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 - -```java -// Import classes: -import com.fireblocks.sdk.ApiClient; -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.BasePath; -import com.fireblocks.sdk.Fireblocks; -import com.fireblocks.sdk.ConfigurationOptions; -import com.fireblocks.sdk.model.*; -import com.fireblocks.sdk.api.JobManagementApi; -import java.util.concurrent.CompletableFuture; -import java.util.concurrent.ExecutionException; - -public class Example { - public static void main(String[] args) { - ConfigurationOptions configurationOptions = new ConfigurationOptions() - .basePath(BasePath.Sandbox) - .apiKey("my-api-key") - .secretKey("my-secret-key"); - Fireblocks fireblocks = new Fireblocks(configurationOptions); - - String jobId = "jobId_example"; // String | The requested job id - String idempotencyKey = "idempotencyKey_example"; // String | 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. - try { - CompletableFuture> response = fireblocks.jobManagement().pauseJob(jobId, idempotencyKey); - System.out.println("Status code: " + response.get().getStatusCode()); - System.out.println("Response headers: " + response.get().getHeaders()); - } catch (InterruptedException | ExecutionException e) { - ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling JobManagementApi#pauseJob"); - System.err.println("Status code: " + apiException.getCode()); - System.err.println("Response headers: " + apiException.getResponseHeaders()); - System.err.println("Reason: " + apiException.getResponseBody()); - e.printStackTrace(); - } catch (ApiException e) { - System.err.println("Exception when calling JobManagementApi#pauseJob"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Response headers: " + e.getResponseHeaders()); - System.err.println("Reason: " + e.getResponseBody()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **jobId** | **String**| The requested job id | | -| **idempotencyKey** | **String**| 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 - - -CompletableFuture> - -### 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 -
    | - diff --git a/docs/KeyLinkBetaApi.md b/docs/KeyLinkBetaApi.md index af4b3968..24abd601 100644 --- a/docs/KeyLinkBetaApi.md +++ b/docs/KeyLinkBetaApi.md @@ -11,8 +11,8 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | [**getSigningKeysList**](KeyLinkBetaApi.md#getSigningKeysList) | **GET** /key_link/signing_keys | Get list of signing keys | | [**getValidationKey**](KeyLinkBetaApi.md#getValidationKey) | **GET** /key_link/validation_keys/{keyId} | Get a validation key by `keyId` | | [**getValidationKeysList**](KeyLinkBetaApi.md#getValidationKeysList) | **GET** /key_link/validation_keys | Get list of registered validation keys | -| [**setAgentId**](KeyLinkBetaApi.md#setAgentId) | **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` | -| [**updateSigningKey**](KeyLinkBetaApi.md#updateSigningKey) | **PATCH** /key_link/signing_keys/{keyId} | Modify the signing by Fireblocks provided `keyId` | +| [**setAgentId**](KeyLinkBetaApi.md#setAgentId) | **PATCH** /key_link/signing_keys/{keyId}/agent_user_id | Set agent user id | +| [**updateSigningKey**](KeyLinkBetaApi.md#updateSigningKey) | **PATCH** /key_link/signing_keys/{keyId} | Modify the signing keyId | @@ -22,7 +22,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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. ### Example @@ -107,7 +107,7 @@ 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. +Adds a new validation key used to validate signing keys. The new validation key will undergo an approval process by the workspace quorum. ### Example @@ -192,7 +192,7 @@ 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. +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. ### Example @@ -277,7 +277,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 @@ -360,7 +360,7 @@ 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. +Returns the list of signing keys in the workspace ### Example @@ -463,7 +463,7 @@ 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. +Returns a validation key if it exists, identified by the specified `keyId`. ### Example @@ -546,7 +546,7 @@ 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. +Returns the list of validation keys in the workspace ### Example @@ -633,9 +633,9 @@ No authorization required > CompletableFuture> setAgentId setAgentId(modifySigningKeyAgentIdDto, keyId) -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. ### Example @@ -717,9 +717,9 @@ No authorization required > CompletableFuture> updateSigningKey updateSigningKey(modifySigningKeyDto, keyId) -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. ### Example diff --git a/docs/LimitExecutionRequestDetails.md b/docs/LimitExecutionRequestDetails.md deleted file mode 100644 index 2a503742..00000000 --- a/docs/LimitExecutionRequestDetails.md +++ /dev/null @@ -1,38 +0,0 @@ - - -# LimitExecutionRequestDetails - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Order type for limit orders | | -|**timeInForce** | **TimeInForce** | | | -|**limitPrice** | **String** | Price for limit orders | | -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | -|**baseAmount** | **String** | Amount to convert | | -|**baseAssetId** | **String** | Source asset identifier | | -|**baseAssetRail** | **TransferRail** | | [optional] | -|**quoteAssetId** | **String** | Target asset identifier | | -|**quoteAssetRail** | **TransferRail** | | [optional] | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| LIMIT | "LIMIT" | - - - -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | - - - diff --git a/docs/LimitExecutionResponseDetails.md b/docs/LimitExecutionResponseDetails.md deleted file mode 100644 index 9e1ccc56..00000000 --- a/docs/LimitExecutionResponseDetails.md +++ /dev/null @@ -1,38 +0,0 @@ - - -# LimitExecutionResponseDetails - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Order type for limit orders | | -|**timeInForce** | **TimeInForce** | | | -|**limitPrice** | **String** | Price for limit orders | | -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | -|**baseAmount** | **String** | Amount to convert | | -|**baseAssetId** | **String** | Source asset identifier | | -|**baseAssetRail** | **TransferRail** | | [optional] | -|**quoteAssetId** | **String** | Target asset identifier | | -|**quoteAssetRail** | **TransferRail** | | [optional] | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| LIMIT | "LIMIT" | - - - -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | - - - diff --git a/docs/LimitTypeDetails.md b/docs/LimitTypeDetails.md deleted file mode 100644 index f3c49f2d..00000000 --- a/docs/LimitTypeDetails.md +++ /dev/null @@ -1,23 +0,0 @@ - - -# LimitTypeDetails - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Order type for limit orders | | -|**timeInForce** | **TimeInForce** | | | -|**limitPrice** | **String** | Price for limit orders | | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| LIMIT | "LIMIT" | - - - diff --git a/docs/LinkedTokensCount.md b/docs/LinkedTokensCount.md new file mode 100644 index 00000000..70730c7b --- /dev/null +++ b/docs/LinkedTokensCount.md @@ -0,0 +1,13 @@ + + +# LinkedTokensCount + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**count** | **BigDecimal** | The total count of linked tokens | | + + + diff --git a/docs/LocalBankTransferAfricaDestination.md b/docs/LocalBankTransferAfricaDestination.md index 63914279..ddaa6a9e 100644 --- a/docs/LocalBankTransferAfricaDestination.md +++ b/docs/LocalBankTransferAfricaDestination.md @@ -16,7 +16,7 @@ | Name | Value | |---- | -----| -| LOCAL_BANK_TRANSFER_AFRICA | "LOCAL_BANK_TRANSFER_AFRICA" | +| LOCAL_BANK_TRANSFER | "LOCAL_BANK_TRANSFER" | diff --git a/docs/Manifest.md b/docs/Manifest.md index fd1d7653..b1095e49 100644 --- a/docs/Manifest.md +++ b/docs/Manifest.md @@ -7,17 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**assetTypes** | [**List<AssetTypesEnum>**](#List<AssetTypesEnum>) | | | +|**assetTypes** | **List<AssetTypeEnum>** | | | |**capabilities** | **List<Capability>** | | | -## Enum: List<AssetTypesEnum> - -| Name | Value | -|---- | -----| -| DIGITAL | "DIGITAL" | -| FIAT | "FIAT" | - - - diff --git a/docs/MarketExecutionRequestDetails.md b/docs/MarketExecutionRequestDetails.md index 2b389248..c8f03bc0 100644 --- a/docs/MarketExecutionRequestDetails.md +++ b/docs/MarketExecutionRequestDetails.md @@ -7,8 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Order type for market orders | | -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | +|**type** | **MarketTypeEnum** | | | +|**side** | **Side** | | | |**baseAmount** | **String** | Amount to convert | | |**baseAssetId** | **String** | Source asset identifier | | |**baseAssetRail** | **TransferRail** | | [optional] | @@ -17,20 +17,3 @@ -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| MARKET | "MARKET" | - - - -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | - - - diff --git a/docs/MarketExecutionResponseDetails.md b/docs/MarketExecutionResponseDetails.md index 65d39954..6d4cc552 100644 --- a/docs/MarketExecutionResponseDetails.md +++ b/docs/MarketExecutionResponseDetails.md @@ -7,8 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Order type for market orders | | -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | +|**type** | **MarketTypeEnum** | | | +|**side** | **Side** | | | |**baseAmount** | **String** | Amount to convert | | |**baseAssetId** | **String** | Source asset identifier | | |**baseAssetRail** | **TransferRail** | | [optional] | @@ -17,20 +17,3 @@ -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| MARKET | "MARKET" | - - - -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | - - - diff --git a/docs/MarketRequoteRequestDetails.md b/docs/MarketRequoteRequestDetails.md index 6080b598..359ef679 100644 --- a/docs/MarketRequoteRequestDetails.md +++ b/docs/MarketRequoteRequestDetails.md @@ -7,15 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Indicates that the order should be re-quoted if the original quote is expired. This will lead to a market order. | | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| MARKET | "MARKET" | +|**type** | **MarketRequoteTypeEnum** | | | diff --git a/docs/MarketRequoteTypeEnum.md b/docs/MarketRequoteTypeEnum.md new file mode 100644 index 00000000..e553b092 --- /dev/null +++ b/docs/MarketRequoteTypeEnum.md @@ -0,0 +1,11 @@ + + +# MarketRequoteTypeEnum + +## Enum + + +* `MARKET` (value: `"MARKET"`) + + + diff --git a/docs/MarketTypeDetails.md b/docs/MarketTypeDetails.md index 30f6b754..27c73be1 100644 --- a/docs/MarketTypeDetails.md +++ b/docs/MarketTypeDetails.md @@ -7,15 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Order type for market orders | | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| MARKET | "MARKET" | +|**type** | **MarketTypeEnum** | | | diff --git a/docs/MarketTypeEnum.md b/docs/MarketTypeEnum.md new file mode 100644 index 00000000..74a832d2 --- /dev/null +++ b/docs/MarketTypeEnum.md @@ -0,0 +1,11 @@ + + +# MarketTypeEnum + +## Enum + + +* `MARKET` (value: `"MARKET"`) + + + diff --git a/docs/MergeStakeAccountsRequest.md b/docs/MergeStakeAccountsRequest.md index 3015297f..e311bc15 100644 --- a/docs/MergeStakeAccountsRequest.md +++ b/docs/MergeStakeAccountsRequest.md @@ -11,7 +11,7 @@ |**destinationId** | **UUID** | Id of the destination position to merge into | | |**fee** | **String** | Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required. | [optional] | |**feeLevel** | **FeeLevel** | | [optional] | -|**txNote** | **String** | The note to associate with the transactions. | [optional] | +|**txNote** | **String** | The note to associate with the merge transaction. | [optional] | diff --git a/docs/MergeStakeAccountsResponse.md b/docs/MergeStakeAccountsResponse.md index 243d1d51..f8466238 100644 --- a/docs/MergeStakeAccountsResponse.md +++ b/docs/MergeStakeAccountsResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**id** | **UUID** | The unique identifier of the merge position (the id of the destination position) | | +|**id** | **String** | The unique identifier of the merge position (the id of the destination position) | | diff --git a/docs/NetworkConnectionsApi.md b/docs/NetworkConnectionsApi.md index 392b68eb..92062399 100644 --- a/docs/NetworkConnectionsApi.md +++ b/docs/NetworkConnectionsApi.md @@ -4,17 +4,17 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**checkThirdPartyRouting**](NetworkConnectionsApi.md#checkThirdPartyRouting) | **GET** /network_connections/{connectionId}/is_third_party_routing/{assetType} | Retrieve third-party network routing validation by asset type. | -| [**createNetworkConnection**](NetworkConnectionsApi.md#createNetworkConnection) | **POST** /network_connections | Creates a new network connection | +| [**checkThirdPartyRouting**](NetworkConnectionsApi.md#checkThirdPartyRouting) | **GET** /network_connections/{connectionId}/is_third_party_routing/{assetType} | Retrieve third-party network routing validation | +| [**createNetworkConnection**](NetworkConnectionsApi.md#createNetworkConnection) | **POST** /network_connections | Create a new network connection | | [**createNetworkId**](NetworkConnectionsApi.md#createNetworkId) | **POST** /network_ids | Creates a new Network ID | | [**deleteNetworkConnection**](NetworkConnectionsApi.md#deleteNetworkConnection) | **DELETE** /network_connections/{connectionId} | Deletes a network connection by ID | | [**deleteNetworkId**](NetworkConnectionsApi.md#deleteNetworkId) | **DELETE** /network_ids/{networkId} | Deletes specific network ID. | | [**getNetwork**](NetworkConnectionsApi.md#getNetwork) | **GET** /network_connections/{connectionId} | Get a network connection | | [**getNetworkConnections**](NetworkConnectionsApi.md#getNetworkConnections) | **GET** /network_connections | List network connections | | [**getNetworkId**](NetworkConnectionsApi.md#getNetworkId) | **GET** /network_ids/{networkId} | Returns specific network ID. | -| [**getNetworkIds**](NetworkConnectionsApi.md#getNetworkIds) | **GET** /network_ids | Returns all network IDs, both local IDs and discoverable remote IDs | +| [**getNetworkIds**](NetworkConnectionsApi.md#getNetworkIds) | **GET** /network_ids | Get all network IDs | | [**getRoutingPolicyAssetGroups**](NetworkConnectionsApi.md#getRoutingPolicyAssetGroups) | **GET** /network_ids/routing_policy_asset_groups | Returns all enabled routing policy asset groups | -| [**searchNetworkIds**](NetworkConnectionsApi.md#searchNetworkIds) | **GET** /network_ids/search | Search network IDs, both local IDs and discoverable remote IDs | +| [**searchNetworkIds**](NetworkConnectionsApi.md#searchNetworkIds) | **GET** /network_ids/search | Get both local IDs and discoverable remote IDs | | [**setNetworkIdDiscoverability**](NetworkConnectionsApi.md#setNetworkIdDiscoverability) | **PATCH** /network_ids/{networkId}/set_discoverability | Update network ID's discoverability. | | [**setNetworkIdName**](NetworkConnectionsApi.md#setNetworkIdName) | **PATCH** /network_ids/{networkId}/set_name | Update network ID's name. | | [**setNetworkIdRoutingPolicy**](NetworkConnectionsApi.md#setNetworkIdRoutingPolicy) | **PATCH** /network_ids/{networkId}/set_routing_policy | Update network id routing policy. | @@ -26,7 +26,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ > CompletableFuture> checkThirdPartyRouting checkThirdPartyRouting(connectionId, assetType) -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. @@ -111,7 +111,7 @@ No authorization required > CompletableFuture> createNetworkConnection createNetworkConnection(networkConnection, idempotencyKey) -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`). @@ -198,7 +198,7 @@ No authorization required 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. ### Example @@ -283,7 +283,7 @@ No authorization required 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. ### Example @@ -366,7 +366,7 @@ No authorization required 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. ### Example @@ -449,7 +449,7 @@ No authorization required 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. ### Example @@ -532,7 +532,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. 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** ### Example @@ -611,7 +611,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 @@ -692,9 +692,9 @@ No authorization required > CompletableFuture>> getNetworkIds getNetworkIds() -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`). +Retrieves a list of all local and discoverable remote network IDs. ### Example @@ -773,7 +773,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 @@ -850,9 +850,9 @@ No authorization required > CompletableFuture> searchNetworkIds searchNetworkIds(search, excludeSelf, onlySelf, excludeConnected, pageCursor, pageSize) -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. ### Example @@ -945,7 +945,7 @@ No authorization required 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. ### Example @@ -1030,7 +1030,7 @@ No authorization required 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. ### Example @@ -1115,7 +1115,7 @@ No authorization required 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. ### Example @@ -1200,7 +1200,7 @@ No authorization required 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. ### Example diff --git a/docs/NftsApi.md b/docs/NftsApi.md index bfaf57f1..ada9cdcd 100644 --- a/docs/NftsApi.md +++ b/docs/NftsApi.md @@ -582,7 +582,7 @@ No authorization required 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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/OffExchangesApi.md b/docs/OffExchangesApi.md index e708fd16..f6ee4ca1 100644 --- a/docs/OffExchangesApi.md +++ b/docs/OffExchangesApi.md @@ -4,11 +4,11 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**addOffExchange**](OffExchangesApi.md#addOffExchange) | **POST** /off_exchange/add | add collateral | +| [**addOffExchange**](OffExchangesApi.md#addOffExchange) | **POST** /off_exchange/add | Add Collateral | | [**getOffExchangeCollateralAccounts**](OffExchangesApi.md#getOffExchangeCollateralAccounts) | **GET** /off_exchange/collateral_accounts/{mainExchangeAccountId} | Find a specific collateral exchange account | -| [**getOffExchangeSettlementTransactions**](OffExchangesApi.md#getOffExchangeSettlementTransactions) | **GET** /off_exchange/settlements/transactions | get settlements transactions from exchange | -| [**removeOffExchange**](OffExchangesApi.md#removeOffExchange) | **POST** /off_exchange/remove | remove collateral | -| [**settleOffExchangeTrades**](OffExchangesApi.md#settleOffExchangeTrades) | **POST** /off_exchange/settlements/trader | create settlement for a trader | +| [**getOffExchangeSettlementTransactions**](OffExchangesApi.md#getOffExchangeSettlementTransactions) | **GET** /off_exchange/settlements/transactions | Get Settlements Transactions | +| [**removeOffExchange**](OffExchangesApi.md#removeOffExchange) | **POST** /off_exchange/remove | Remove Collateral | +| [**settleOffExchangeTrades**](OffExchangesApi.md#settleOffExchangeTrades) | **POST** /off_exchange/settlements/trader | Create Settlement for a Trader | @@ -16,9 +16,9 @@ All URIs are relative to https://developers.fireblocks.com/reference/ > CompletableFuture> addOffExchange addOffExchange(addCollateralRequestBody, idempotencyKey) -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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -103,7 +103,7 @@ No authorization required 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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -184,9 +184,9 @@ No authorization required > CompletableFuture> getOffExchangeSettlementTransactions getOffExchangeSettlementTransactions(mainExchangeAccountId) -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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -267,9 +267,9 @@ No authorization required > CompletableFuture> removeOffExchange removeOffExchange(removeCollateralRequestBody, idempotencyKey) -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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -352,9 +352,9 @@ No authorization required > CompletableFuture> settleOffExchangeTrades settleOffExchangeTrades(settlementRequestBody, idempotencyKey) -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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/OnchainDataApi.md b/docs/OnchainDataApi.md new file mode 100644 index 00000000..4f158c2f --- /dev/null +++ b/docs/OnchainDataApi.md @@ -0,0 +1,756 @@ +# OnchainDataApi + +All URIs are relative to https://developers.fireblocks.com/reference/ + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**getAccessRegistryCurrentState**](OnchainDataApi.md#getAccessRegistryCurrentState) | **GET** /onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/list | Get the current state of addresses in an access registry | +| [**getAccessRegistrySummary**](OnchainDataApi.md#getAccessRegistrySummary) | **GET** /onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/summary | Summary of access registry state | +| [**getActiveRolesForContract**](OnchainDataApi.md#getActiveRolesForContract) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/roles | List of active roles for a given contract address and base asset ID | +| [**getContractBalanceHistory**](OnchainDataApi.md#getContractBalanceHistory) | **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 | +| [**getContractBalancesSummary**](OnchainDataApi.md#getContractBalancesSummary) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/summary | Get summary for the token contract | +| [**getContractTotalSupply**](OnchainDataApi.md#getContractTotalSupply) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/total_supply | Get historical total supply data for a contract | +| [**getLatestBalancesForContract**](OnchainDataApi.md#getLatestBalancesForContract) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/balances | Get latest balances for all addresses holding tokens from a contract | +| [**getOnchainTransactions**](OnchainDataApi.md#getOnchainTransactions) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/transactions | Fetch onchain transactions for a contract | + + + +## getAccessRegistryCurrentState + +> CompletableFuture> getAccessRegistryCurrentState getAccessRegistryCurrentState(baseAssetId, accessRegistryAddress, pageCursor, pageSize, sortBy, 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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.OnchainDataApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String baseAssetId = "ETH_TEST3"; // String | The blockchain base assetId + String accessRegistryAddress = "0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66"; // String | The access registry address + String pageCursor = "MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA=="; // String | Page cursor to get the next page\" + Integer pageSize = 10; // Integer | Number of items per page (max 100), requesting more then 100 will return 100 items + String sortBy = "dateAdded"; // String | Sorting field (enum). + String order = "ASC"; // String | ASC / DESC ordering (default DESC) + try { + CompletableFuture> response = fireblocks.onchainData().getAccessRegistryCurrentState(baseAssetId, accessRegistryAddress, pageCursor, pageSize, sortBy, order); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling OnchainDataApi#getAccessRegistryCurrentState"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling OnchainDataApi#getAccessRegistryCurrentState"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **baseAssetId** | **String**| The blockchain base assetId | | +| **accessRegistryAddress** | **String**| The access registry address | | +| **pageCursor** | **String**| Page cursor to get the next page\" | [optional] | +| **pageSize** | **Integer**| Number of items per page (max 100), requesting more then 100 will return 100 items | [optional] | +| **sortBy** | **String**| Sorting field (enum). | [optional] [default to dateAdded] [enum: dateAdded, address] | +| **order** | **String**| ASC / DESC ordering (default DESC) | [optional] [default to DESC] [enum: ASC, DESC] | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getAccessRegistrySummary + +> CompletableFuture> getAccessRegistrySummary getAccessRegistrySummary(baseAssetId, accessRegistryAddress) + +Summary of access registry state + +Returns a summary of the current state of the access registry for the specified baseAssetId and accessRegistryAddress. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.OnchainDataApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String baseAssetId = "ETH_TEST3"; // String | The blockchain base assetId + String accessRegistryAddress = "0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66"; // String | The access registry address + try { + CompletableFuture> response = fireblocks.onchainData().getAccessRegistrySummary(baseAssetId, accessRegistryAddress); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling OnchainDataApi#getAccessRegistrySummary"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling OnchainDataApi#getAccessRegistrySummary"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **baseAssetId** | **String**| The blockchain base assetId | | +| **accessRegistryAddress** | **String**| The access registry address | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getActiveRolesForContract + +> CompletableFuture>> getActiveRolesForContract getActiveRolesForContract(baseAssetId, contractAddress) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.OnchainDataApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String baseAssetId = "ETH_TEST3"; // String | The blockchain base assetId + String contractAddress = "0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66"; // String | The contract address + try { + CompletableFuture>> response = fireblocks.onchainData().getActiveRolesForContract(baseAssetId, contractAddress); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling OnchainDataApi#getActiveRolesForContract"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling OnchainDataApi#getActiveRolesForContract"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **baseAssetId** | **String**| The blockchain base assetId | | +| **contractAddress** | **String**| The contract address | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getContractBalanceHistory + +> CompletableFuture> getContractBalanceHistory getContractBalanceHistory(baseAssetId, contractAddress, accountAddress, startDate, endDate, interval, pageCursor, pageSize, sortBy, 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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.OnchainDataApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String baseAssetId = "ETH_TEST3"; // String | The blockchain base assetId + String contractAddress = "0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66"; // String | The contract address + String accountAddress = "0x1234567890abcdef1234567890abcdef12345678"; // String | The account address to get balance history for + OffsetDateTime startDate = OffsetDateTime.parse("2025-01-16T15:45:00Z"); // OffsetDateTime | Start date of the time range in ISO 8601 format + OffsetDateTime endDate = OffsetDateTime.parse("2025-01-16T15:45:00Z"); // OffsetDateTime | End date of the time range in ISO 8601 format + String interval = "hour"; // String | Time interval for grouping data + String pageCursor = "MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA=="; // String | Page cursor to get the next page\" + Integer pageSize = 10; // Integer | Number of items per page (max 100), requesting more then 100 will return 100 items + String sortBy = "blockTimestamp"; // String | Sorting field (enum). Sorting only supported by 'blockTimestamp' + String order = "ASC"; // String | ASC / DESC ordering (default DESC) + try { + CompletableFuture> response = fireblocks.onchainData().getContractBalanceHistory(baseAssetId, contractAddress, accountAddress, startDate, endDate, interval, pageCursor, pageSize, sortBy, order); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling OnchainDataApi#getContractBalanceHistory"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling OnchainDataApi#getContractBalanceHistory"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **baseAssetId** | **String**| The blockchain base assetId | | +| **contractAddress** | **String**| The contract address | | +| **accountAddress** | **String**| The account address to get balance history for | | +| **startDate** | **OffsetDateTime**| Start date of the time range in ISO 8601 format | [optional] | +| **endDate** | **OffsetDateTime**| End date of the time range in ISO 8601 format | [optional] | +| **interval** | **String**| Time interval for grouping data | [optional] [default to day] [enum: hour, day, week, month] | +| **pageCursor** | **String**| Page cursor to get the next page\" | [optional] | +| **pageSize** | **Integer**| Number of items per page (max 100), requesting more then 100 will return 100 items | [optional] | +| **sortBy** | **String**| Sorting field (enum). Sorting only supported by 'blockTimestamp' | [optional] [default to blockTimestamp] [enum: blockTimestamp] | +| **order** | **String**| ASC / DESC ordering (default DESC) | [optional] [default to DESC] [enum: ASC, DESC] | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getContractBalancesSummary + +> CompletableFuture> getContractBalancesSummary getContractBalancesSummary(baseAssetId, contractAddress) + +Get summary for the token contract + +Returns the total number of unique addresses holding balances and the total supply for the specified contract. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.OnchainDataApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String baseAssetId = "ETH_TEST3"; // String | The blockchain base assetId + String contractAddress = "0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66"; // String | The contract address + try { + CompletableFuture> response = fireblocks.onchainData().getContractBalancesSummary(baseAssetId, contractAddress); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling OnchainDataApi#getContractBalancesSummary"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling OnchainDataApi#getContractBalancesSummary"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **baseAssetId** | **String**| The blockchain base assetId | | +| **contractAddress** | **String**| The contract address | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getContractTotalSupply + +> CompletableFuture> getContractTotalSupply getContractTotalSupply(baseAssetId, contractAddress, startDate, endDate, interval, pageCursor, pageSize, sortBy, 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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.OnchainDataApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String baseAssetId = "ETH_TEST3"; // String | The blockchain base assetId + String contractAddress = "0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66"; // String | The contract address + OffsetDateTime startDate = OffsetDateTime.parse("2025-01-16T15:45:00Z"); // OffsetDateTime | Start date of the time range in ISO 8601 format + OffsetDateTime endDate = OffsetDateTime.parse("2025-01-16T15:45:00Z"); // OffsetDateTime | End date of the time range in ISO 8601 format + String interval = "hour"; // String | Time interval for grouping data + String pageCursor = "MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA=="; // String | Page cursor to get the next page\" + Integer pageSize = 10; // Integer | Number of items per page (max 100), requesting more then 100 will return 100 items + String sortBy = "blockTimestamp"; // String | Sorting field (enum). Sorting only supported by 'blockTimestamp' + String order = "ASC"; // String | ASC / DESC ordering (default DESC) + try { + CompletableFuture> response = fireblocks.onchainData().getContractTotalSupply(baseAssetId, contractAddress, startDate, endDate, interval, pageCursor, pageSize, sortBy, order); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling OnchainDataApi#getContractTotalSupply"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling OnchainDataApi#getContractTotalSupply"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **baseAssetId** | **String**| The blockchain base assetId | | +| **contractAddress** | **String**| The contract address | | +| **startDate** | **OffsetDateTime**| Start date of the time range in ISO 8601 format | [optional] | +| **endDate** | **OffsetDateTime**| End date of the time range in ISO 8601 format | [optional] | +| **interval** | **String**| Time interval for grouping data | [optional] [default to day] [enum: hour, day, week, month] | +| **pageCursor** | **String**| Page cursor to get the next page\" | [optional] | +| **pageSize** | **Integer**| Number of items per page (max 100), requesting more then 100 will return 100 items | [optional] | +| **sortBy** | **String**| Sorting field (enum). Sorting only supported by 'blockTimestamp' | [optional] [default to blockTimestamp] [enum: blockTimestamp] | +| **order** | **String**| ASC / DESC ordering (default DESC) | [optional] [default to DESC] [enum: ASC, DESC] | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getLatestBalancesForContract + +> CompletableFuture> getLatestBalancesForContract getLatestBalancesForContract(baseAssetId, contractAddress, accountAddress, pageCursor, pageSize, sortBy, 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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.OnchainDataApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String baseAssetId = "ETH_TEST3"; // String | The blockchain base assetId + String contractAddress = "0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66"; // String | The contract address + String accountAddress = "0x1234567890abcdef1234567890abcdef12345678"; // String | Optional filter to get balance for a specific account address + String pageCursor = "MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA=="; // String | Page cursor to get the next page\" + Integer pageSize = 10; // Integer | Number of items per page (max 100), requesting more then 100 will return 100 items + String sortBy = "accountAddress"; // String | Sorting field for balances + String order = "ASC"; // String | ASC / DESC ordering (default DESC) + try { + CompletableFuture> response = fireblocks.onchainData().getLatestBalancesForContract(baseAssetId, contractAddress, accountAddress, pageCursor, pageSize, sortBy, order); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling OnchainDataApi#getLatestBalancesForContract"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling OnchainDataApi#getLatestBalancesForContract"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **baseAssetId** | **String**| The blockchain base assetId | | +| **contractAddress** | **String**| The contract address | | +| **accountAddress** | **String**| Optional filter to get balance for a specific account address | [optional] | +| **pageCursor** | **String**| Page cursor to get the next page\" | [optional] | +| **pageSize** | **Integer**| Number of items per page (max 100), requesting more then 100 will return 100 items | [optional] | +| **sortBy** | **String**| Sorting field for balances | [optional] [default to blockTimestamp] [enum: accountAddress, blockTimestamp] | +| **order** | **String**| ASC / DESC ordering (default DESC) | [optional] [default to DESC] [enum: ASC, DESC] | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getOnchainTransactions + +> CompletableFuture> getOnchainTransactions getOnchainTransactions(baseAssetId, contractAddress, startDate, endDate, pageCursor, pageSize, sortBy, 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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.OnchainDataApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String baseAssetId = "ETH_TEST3"; // String | The blockchain base assetId + String contractAddress = "0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66"; // String | The contract address + OffsetDateTime startDate = OffsetDateTime.parse("2025-01-16T15:45:00Z"); // OffsetDateTime | Start date of the time range in ISO 8601 format + OffsetDateTime endDate = OffsetDateTime.parse("2025-01-16T15:45:00Z"); // OffsetDateTime | End date of the time range in ISO 8601 format + String pageCursor = "MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA=="; // String | Page cursor to get the next page\" + Integer pageSize = 10; // Integer | Number of items per page (max 100), requesting more then 100 will return 100 items + String sortBy = "blockTimestamp"; // String | Sorting field (enum). + String order = "ASC"; // String | ASC / DESC ordering (default DESC) + try { + CompletableFuture> response = fireblocks.onchainData().getOnchainTransactions(baseAssetId, contractAddress, startDate, endDate, pageCursor, pageSize, sortBy, order); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling OnchainDataApi#getOnchainTransactions"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling OnchainDataApi#getOnchainTransactions"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **baseAssetId** | **String**| The blockchain base assetId | | +| **contractAddress** | **String**| The contract address | | +| **startDate** | **OffsetDateTime**| Start date of the time range in ISO 8601 format | [optional] | +| **endDate** | **OffsetDateTime**| End date of the time range in ISO 8601 format | [optional] | +| **pageCursor** | **String**| Page cursor to get the next page\" | [optional] | +| **pageSize** | **Integer**| Number of items per page (max 100), requesting more then 100 will return 100 items | [optional] | +| **sortBy** | **String**| Sorting field (enum). | [optional] [default to blockTimestamp] [enum: blockTimestamp, blockNumber, transactionHash] | +| **order** | **String**| ASC / DESC ordering (default DESC) | [optional] [default to DESC] [enum: ASC, DESC] | + +### Return type + +CompletableFuture> + + +### 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 -
    | + diff --git a/docs/OnchainTransaction.md b/docs/OnchainTransaction.md new file mode 100644 index 00000000..22fca50f --- /dev/null +++ b/docs/OnchainTransaction.md @@ -0,0 +1,29 @@ + + +# OnchainTransaction + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | Unique identifier for the transaction | | +|**baseAssetId** | **String** | The blockchain base asset identifier | | +|**blockHash** | **String** | Hash of the block containing this transaction | | +|**blockNumber** | **Integer** | Block number containing this transaction | | +|**blockTimestamp** | **OffsetDateTime** | Timestamp when the block was mined | | +|**chainId** | **Integer** | Chain ID of the blockchain | | +|**contractAddress** | **String** | Contract address if this is a contract transaction | [optional] | +|**cumulativeGasUsed** | **String** | Cumulative gas used in the block up to this transaction | | +|**decodedLogs** | [**DecodedLog**](DecodedLog.md) | | [optional] | +|**effectiveGasPrice** | **String** | Effective gas price paid for the transaction | | +|**fromAddress** | **String** | Address that initiated the transaction | | +|**gasUsed** | **String** | Amount of gas used by this transaction | | +|**status** | **String** | Transaction status | | +|**toAddress** | **String** | Address that received the transaction | [optional] | +|**transactionHash** | **String** | Hash of the transaction | | +|**transactionIndex** | **String** | Index of the transaction in the block | | +|**type** | **String** | Transaction type | | + + + diff --git a/docs/OnchainTransactionsPagedResponse.md b/docs/OnchainTransactionsPagedResponse.md new file mode 100644 index 00000000..542e7fc6 --- /dev/null +++ b/docs/OnchainTransactionsPagedResponse.md @@ -0,0 +1,16 @@ + + +# OnchainTransactionsPagedResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<OnchainTransaction>**](OnchainTransaction.md) | Array of onchain transactions | | +|**next** | **String** | Cursor for next page | [optional] | +|**prev** | **String** | Cursor for previous page | [optional] | +|**total** | **BigDecimal** | Total count of items | [optional] | + + + diff --git a/docs/OneTimeAddressPeerType.md b/docs/OneTimeAddressPeerType.md new file mode 100644 index 00000000..78aa6182 --- /dev/null +++ b/docs/OneTimeAddressPeerType.md @@ -0,0 +1,11 @@ + + +# OneTimeAddressPeerType + +## Enum + + +* `ONE_TIME_ADDRESS` (value: `"ONE_TIME_ADDRESS"`) + + + diff --git a/docs/OneTimeAddressReference.md b/docs/OneTimeAddressReference.md index 45269a3c..3ddf78d1 100644 --- a/docs/OneTimeAddressReference.md +++ b/docs/OneTimeAddressReference.md @@ -7,17 +7,9 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | | | +|**type** | **OneTimeAddressPeerType** | | | |**address** | **String** | | | |**tag** | **String** | | [optional] | -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| ONE_TIME_ADDRESS | "ONE_TIME_ADDRESS" | - - - diff --git a/docs/OrderDetails.md b/docs/OrderDetails.md index 445c369b..fa624faf 100644 --- a/docs/OrderDetails.md +++ b/docs/OrderDetails.md @@ -14,7 +14,7 @@ |**updatedAt** | **OffsetDateTime** | | [optional] | |**receipt** | [**TransferReceipt**](TransferReceipt.md) | | [optional] | |**generalFees** | [**List<Fee>**](Fee.md) | | [optional] | -|**executionSteps** | [**List<ExecutionStep>**](ExecutionStep.md) | | | +|**executionSteps** | [**List<OrderExecutionStep>**](OrderExecutionStep.md) | | | |**executionResponseDetails** | [**ExecutionResponseDetails**](ExecutionResponseDetails.md) | | | |**settlement** | [**Settlement**](Settlement.md) | | | |**participantsIdentification** | [**ParticipantsIdentification**](ParticipantsIdentification.md) | | [optional] | @@ -23,6 +23,7 @@ |**customerInternalReferenceId** | **String** | Internal reference ID for the customer | [optional] | |**note** | **String** | Optional note for the Order | [optional] | |**expiresAt** | **OffsetDateTime** | | [optional] | +|**failure** | [**Failure**](Failure.md) | | [optional] | diff --git a/docs/ExecutionStep.md b/docs/OrderExecutionStep.md similarity index 95% rename from docs/ExecutionStep.md rename to docs/OrderExecutionStep.md index 09919f13..8faf5e1a 100644 --- a/docs/ExecutionStep.md +++ b/docs/OrderExecutionStep.md @@ -1,6 +1,6 @@ -# ExecutionStep +# OrderExecutionStep ## Properties diff --git a/docs/OrderSummary.md b/docs/OrderSummary.md index ccf985a1..ceb96f45 100644 --- a/docs/OrderSummary.md +++ b/docs/OrderSummary.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**id** | **String** | | | |**via** | [**AccessType**](AccessType.md) | | | -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | +|**side** | **Side** | | | |**baseAmount** | **String** | | | |**quoteAmount** | **String** | | [optional] | |**baseAssetId** | **String** | | | @@ -21,12 +21,3 @@ -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | - - - diff --git a/docs/OtaBetaApi.md b/docs/OtaBetaApi.md index bd369e43..d0c77eae 100644 --- a/docs/OtaBetaApi.md +++ b/docs/OtaBetaApi.md @@ -94,7 +94,7 @@ 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/PaymentInstructions.md b/docs/PaymentInstructions.md index fd8e1da4..ce418846 100644 --- a/docs/PaymentInstructions.md +++ b/docs/PaymentInstructions.md @@ -2,22 +2,36 @@ # PaymentInstructions - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | | | -|**address** | [**MobileMoneyAddress**](MobileMoneyAddress.md) | | | -|**referenceId** | **String** | | [optional] | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| MOBILE_MONEY | "MOBILE_MONEY" | - +## oneOf schemas +* [BlockchainDestination](BlockchainDestination.md) +* [PaymentInstructionsOneOf](PaymentInstructionsOneOf.md) + +## Example +```java +// Import classes: +import com.fireblocks.sdk.model.PaymentInstructions; +import com.fireblocks.sdk.model.BlockchainDestination; +import com.fireblocks.sdk.model.PaymentInstructionsOneOf; + +public class Example { + public static void main(String[] args) { + PaymentInstructions examplePaymentInstructions = new PaymentInstructions(); + + // create a new BlockchainDestination + BlockchainDestination exampleBlockchainDestination = new BlockchainDestination(); + // set PaymentInstructions to BlockchainDestination + examplePaymentInstructions.setActualInstance(exampleBlockchainDestination); + // to get back the BlockchainDestination set earlier + BlockchainDestination testBlockchainDestination = (BlockchainDestination) examplePaymentInstructions.getActualInstance(); + + // create a new PaymentInstructionsOneOf + PaymentInstructionsOneOf examplePaymentInstructionsOneOf = new PaymentInstructionsOneOf(); + // set PaymentInstructions to PaymentInstructionsOneOf + examplePaymentInstructions.setActualInstance(examplePaymentInstructionsOneOf); + // to get back the PaymentInstructionsOneOf set earlier + PaymentInstructionsOneOf testPaymentInstructionsOneOf = (PaymentInstructionsOneOf) examplePaymentInstructions.getActualInstance(); + } +} +``` diff --git a/docs/PaymentInstructionsOneOf.md b/docs/PaymentInstructionsOneOf.md new file mode 100644 index 00000000..0171a86c --- /dev/null +++ b/docs/PaymentInstructionsOneOf.md @@ -0,0 +1,23 @@ + + +# PaymentInstructionsOneOf + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | [**TypeEnum**](#TypeEnum) | | | +|**address** | [**EuropeanSEPAAddress**](EuropeanSEPAAddress.md) | | | +|**referenceId** | **String** | | [optional] | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| EUROPEAN_SEPA | "EUROPEAN_SEPA" | + + + diff --git a/docs/PaymentsPayoutApi.md b/docs/PaymentsPayoutApi.md index 1a7c4276..61251b0e 100644 --- a/docs/PaymentsPayoutApi.md +++ b/docs/PaymentsPayoutApi.md @@ -16,7 +16,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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. </br> </br>These endpoints are currently in beta and might be subject to changes.</br> </br>If you want to learn more about Fireblocks Payments Engine, please contact your Fireblocks Customer Success Manager or email CSM@fireblocks.com. </br> </br> <b u>Create a payout instruction set.</b> </u></br> A payout instruction set is a set of instructions for distributing payments from a single payment account to a list of payee accounts. </br> The instruction set defines: </br> <ul> <li>the payment account and its account type (vault, exchange, or fiat). </li> <li>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.</li> </ul> +**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. </br> </br>These endpoints are currently in beta and might be subject to changes.</br> </br>If you want to learn more about Fireblocks Payments Engine, please contact your Fireblocks Customer Success Manager or email CSM@fireblocks.com. </br> </br> <b u>Create a payout instruction set.</b> </u></br> A payout instruction set is a set of instructions for distributing payments from a single payment account to a list of payee accounts. </br> The instruction set defines: </br> <ul> <li>the payment account and its account type (vault, exchange, or fiat). </li> <li>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.</li> </ul> Learn more about Fireblocks Payments - Payouts in the following [guide](https://developers.fireblocks.com/docs/create-payouts). </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -190,7 +190,7 @@ No authorization required 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. </br> </br>These endpoints are currently in beta and might be subject to changes.</br> </br>If you want to learn more about Fireblocks Payments Engine, please contact your Fireblocks Customer Success Manager or email CSM@fireblocks.com. </br> +**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. </br> </br>These endpoints are currently in beta and might be subject to changes.</br> </br>If you want to learn more about Fireblocks Payments Engine, please contact your Fireblocks Customer Success Manager or email CSM@fireblocks.com. </br> </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/PeerType.md b/docs/PeerType.md index 33d3a528..01d95cbc 100644 --- a/docs/PeerType.md +++ b/docs/PeerType.md @@ -9,11 +9,11 @@ * `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"`) + diff --git a/docs/PersonalEntityTypeEnum.md b/docs/PersonalEntityTypeEnum.md new file mode 100644 index 00000000..d6cd50e3 --- /dev/null +++ b/docs/PersonalEntityTypeEnum.md @@ -0,0 +1,11 @@ + + +# PersonalEntityTypeEnum + +## Enum + + +* `INDIVIDUAL` (value: `"INDIVIDUAL"`) + + + diff --git a/docs/PersonalIdentification.md b/docs/PersonalIdentification.md index df54bf02..1785cdf8 100644 --- a/docs/PersonalIdentification.md +++ b/docs/PersonalIdentification.md @@ -8,19 +8,13 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**externalReferenceId** | **String** | | | -|**entityType** | [**EntityTypeEnum**](#EntityTypeEnum) | | | +|**entityType** | **PersonalEntityTypeEnum** | | | |**participantRelationshipType** | **ParticipantRelationshipType** | | | |**fullName** | [**PersonalIdentificationFullName**](PersonalIdentificationFullName.md) | | | |**dateOfBirth** | **LocalDate** | | | |**postalAddress** | [**PostalAddress**](PostalAddress.md) | | | - - - -## Enum: EntityTypeEnum - -| Name | Value | -|---- | -----| -| INDIVIDUAL | "INDIVIDUAL" | +|**email** | **String** | | [optional] | +|**phone** | **String** | Mobile phone number in E.164 format | [optional] | diff --git a/docs/PlatformAccount.md b/docs/PlatformAccount.md index 86a561f0..51723e98 100644 --- a/docs/PlatformAccount.md +++ b/docs/PlatformAccount.md @@ -7,18 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | | | +|**type** | **PlatformPeerType** | | | |**accountId** | **String** | | | -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| VAULT_ACCOUNT | "VAULT_ACCOUNT" | -| CONNECTED_ACCOUNT | "CONNECTED_ACCOUNT" | -| FIAT_ACCOUNT | "FIAT_ACCOUNT" | - - - diff --git a/docs/PlatformPeerType.md b/docs/PlatformPeerType.md new file mode 100644 index 00000000..8965332c --- /dev/null +++ b/docs/PlatformPeerType.md @@ -0,0 +1,15 @@ + + +# PlatformPeerType + +## Enum + + +* `VAULT_ACCOUNT` (value: `"VAULT_ACCOUNT"`) + +* `CONNECTED_ACCOUNT` (value: `"CONNECTED_ACCOUNT"`) + +* `FIAT_ACCOUNT` (value: `"FIAT_ACCOUNT"`) + + + diff --git a/docs/PolicyEditorV2BetaApi.md b/docs/PolicyEditorV2BetaApi.md index dd7c3de8..9f208e43 100644 --- a/docs/PolicyEditorV2BetaApi.md +++ b/docs/PolicyEditorV2BetaApi.md @@ -17,7 +17,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ Get the active policy and its validation by policy type -Returns the active policy and its validation for a specific policy type. </br> **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/PrefundedSettlement.md b/docs/PrefundedSettlement.md index 8a677828..29aef026 100644 --- a/docs/PrefundedSettlement.md +++ b/docs/PrefundedSettlement.md @@ -7,16 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | | | +|**type** | **PrefundedSettlementType** | | | |**destinationAccount** | [**AccountReference**](AccountReference.md) | | | -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| PREFUNDED | "PREFUNDED" | - - - diff --git a/docs/PrefundedSettlementType.md b/docs/PrefundedSettlementType.md new file mode 100644 index 00000000..9c71748a --- /dev/null +++ b/docs/PrefundedSettlementType.md @@ -0,0 +1,11 @@ + + +# PrefundedSettlementType + +## Enum + + +* `PREFUNDED` (value: `"PREFUNDED"`) + + + diff --git a/docs/Quote.md b/docs/Quote.md index c2af25ac..19410085 100644 --- a/docs/Quote.md +++ b/docs/Quote.md @@ -9,34 +9,17 @@ |------------ | ------------- | ------------- | -------------| |**via** | [**AccessType**](AccessType.md) | | | |**id** | **String** | | | -|**type** | [**TypeEnum**](#TypeEnum) | Indicates this is an indicative quote | | |**quoteAssetId** | **String** | | | |**baseAssetId** | **String** | | | |**baseAmount** | **String** | | | |**quoteAmount** | **String** | | | |**priceImpact** | **BigDecimal** | | [optional] | |**quoteMinAmount** | **String** | | [optional] | -|**executionSteps** | [**List<ExecutionStepDetails>**](ExecutionStepDetails.md) | | [optional] | +|**executionSteps** | [**List<QuoteExecutionStep>**](QuoteExecutionStep.md) | | [optional] | |**generalFees** | [**List<Fee>**](Fee.md) | | [optional] | -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | -|**expiresAt** | **OffsetDateTime** | ISO 8601 timestamp of the expiration time of the quote. | | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| INDICATIVE | "INDICATIVE" | - - - -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | +|**side** | **Side** | | | +|**expiresAt** | **String** | The expiration time of the quote in ISO format. | | +|**type** | **IndicativeQuoteEnum** | | | diff --git a/docs/QuoteExecutionRequestDetails.md b/docs/QuoteExecutionRequestDetails.md index 3aaf8a9c..8c09a596 100644 --- a/docs/QuoteExecutionRequestDetails.md +++ b/docs/QuoteExecutionRequestDetails.md @@ -7,16 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Order type for quote orders | | +|**type** | **QuoteTypeEnum** | | | |**quoteId** | **String** | Quote ID for quote orders | | -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| QUOTE | "QUOTE" | - - - diff --git a/docs/QuoteExecutionResponseDetails.md b/docs/QuoteExecutionResponseDetails.md deleted file mode 100644 index 5e56e54e..00000000 --- a/docs/QuoteExecutionResponseDetails.md +++ /dev/null @@ -1,38 +0,0 @@ - - -# QuoteExecutionResponseDetails - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Order type for quote orders | | -|**quoteId** | **String** | Quote ID for quote orders | | -|**quoteAmount** | **String** | Quote amount for quote orders | | -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | -|**baseAmount** | **String** | Amount to convert | | -|**baseAssetId** | **String** | Source asset identifier | | -|**baseAssetRail** | **TransferRail** | | [optional] | -|**quoteAssetId** | **String** | Target asset identifier | | -|**quoteAssetRail** | **TransferRail** | | [optional] | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| QUOTE | "QUOTE" | - - - -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | - - - diff --git a/docs/ExecutionStepDetails.md b/docs/QuoteExecutionStep.md similarity index 90% rename from docs/ExecutionStepDetails.md rename to docs/QuoteExecutionStep.md index 437abb91..e8365b28 100644 --- a/docs/ExecutionStepDetails.md +++ b/docs/QuoteExecutionStep.md @@ -1,6 +1,6 @@ -# ExecutionStepDetails +# QuoteExecutionStep ## Properties diff --git a/docs/QuoteExecutionTypeDetails.md b/docs/QuoteExecutionTypeDetails.md index fa2037f8..34d2539c 100644 --- a/docs/QuoteExecutionTypeDetails.md +++ b/docs/QuoteExecutionTypeDetails.md @@ -7,17 +7,9 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Order type for quote orders | | +|**type** | **QuoteTypeEnum** | | | |**quoteId** | **String** | Quote ID for quote orders | | |**quoteAmount** | **String** | Quote amount for quote orders | | -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| QUOTE | "QUOTE" | - - - diff --git a/docs/QuoteExecutionWithRequoteRequestDetails.md b/docs/QuoteExecutionWithRequoteRequestDetails.md index 5797fb58..b83d93c7 100644 --- a/docs/QuoteExecutionWithRequoteRequestDetails.md +++ b/docs/QuoteExecutionWithRequoteRequestDetails.md @@ -7,17 +7,9 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Order type for quote orders | | +|**type** | **QuoteTypeEnum** | | | |**quoteId** | **String** | Quote ID for quote orders | | |**reQuote** | [**ReQuoteDetailsReQuote**](ReQuoteDetailsReQuote.md) | | [optional] | -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| QUOTE | "QUOTE" | - - - diff --git a/docs/QuoteExecutionWithRequoteResponseDetails.md b/docs/QuoteExecutionWithRequoteResponseDetails.md index d1858b2c..8d7d17aa 100644 --- a/docs/QuoteExecutionWithRequoteResponseDetails.md +++ b/docs/QuoteExecutionWithRequoteResponseDetails.md @@ -7,10 +7,10 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Order type for quote orders | | +|**type** | **QuoteTypeEnum** | | | |**quoteId** | **String** | Quote ID for quote orders | | |**quoteAmount** | **String** | Quote amount for quote orders | | -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | +|**side** | **Side** | | | |**baseAmount** | **String** | Amount to convert | | |**baseAssetId** | **String** | Source asset identifier | | |**baseAssetRail** | **TransferRail** | | [optional] | @@ -20,20 +20,3 @@ -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| QUOTE | "QUOTE" | - - - -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | - - - diff --git a/docs/QuotePropertiesDetails.md b/docs/QuotePropertiesDetails.md index bf2ae52e..cf9db983 100644 --- a/docs/QuotePropertiesDetails.md +++ b/docs/QuotePropertiesDetails.md @@ -9,34 +9,16 @@ |------------ | ------------- | ------------- | -------------| |**via** | [**AccessType**](AccessType.md) | | | |**id** | **String** | | | -|**type** | [**TypeEnum**](#TypeEnum) | | | |**quoteAssetId** | **String** | | | |**baseAssetId** | **String** | | | |**baseAmount** | **String** | | | |**quoteAmount** | **String** | | | |**priceImpact** | **BigDecimal** | | [optional] | |**quoteMinAmount** | **String** | | [optional] | -|**executionSteps** | [**List<ExecutionStepDetails>**](ExecutionStepDetails.md) | | [optional] | +|**executionSteps** | [**List<QuoteExecutionStep>**](QuoteExecutionStep.md) | | [optional] | |**generalFees** | [**List<Fee>**](Fee.md) | | [optional] | -|**side** | [**SideEnum**](#SideEnum) | Side of the order | | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| COMMITTED | "COMMITTED" | -| INDICATIVE | "INDICATIVE" | - - - -## Enum: SideEnum - -| Name | Value | -|---- | -----| -| BUY | "BUY" | -| SELL | "SELL" | +|**side** | **Side** | | | +|**expiresAt** | **String** | The expiration time of the quote in ISO format. | | diff --git a/docs/QuoteTypeEnum.md b/docs/QuoteTypeEnum.md new file mode 100644 index 00000000..26f8fa7e --- /dev/null +++ b/docs/QuoteTypeEnum.md @@ -0,0 +1,11 @@ + + +# QuoteTypeEnum + +## Enum + + +* `QUOTE` (value: `"QUOTE"`) + + + diff --git a/docs/RegisterNewAssetRequest.md b/docs/RegisterNewAssetRequest.md index 27f24fbb..a4817a9e 100644 --- a/docs/RegisterNewAssetRequest.md +++ b/docs/RegisterNewAssetRequest.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**blockchainId** | **String** | Native asset ID of the blockchain | | -|**address** | **String** | 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** | **String** | 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** | **String** | Required for Stellar only, asset code is expected. | [optional] | diff --git a/docs/RelatedRequest.md b/docs/RelatedRequest.md index 2cacf8ae..d3624733 100644 --- a/docs/RelatedRequest.md +++ b/docs/RelatedRequest.md @@ -9,8 +9,8 @@ |------------ | ------------- | ------------- | -------------| |**status** | [**StatusEnum**](#StatusEnum) | The status of the request | | |**inProgress** | **Boolean** | Indicates whether there is an ongoing action for this position related to this request | | -|**amount** | **String** | Amount of tokens to Unstake | | -|**txId** | **String** | The transaction ID of the ongoing request | [optional] | +|**amount** | **String** | Amount of tokens | | +|**txId** | **String** | The transaction ID of the ongoing request | | diff --git a/docs/RenameConnectedAccountRequest.md b/docs/RenameConnectedAccountRequest.md new file mode 100644 index 00000000..c2d26378 --- /dev/null +++ b/docs/RenameConnectedAccountRequest.md @@ -0,0 +1,13 @@ + + +# RenameConnectedAccountRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**accountName** | **String** | The new name for the connected account | | + + + diff --git a/docs/RenameConnectedAccountResponse.md b/docs/RenameConnectedAccountResponse.md new file mode 100644 index 00000000..234e9460 --- /dev/null +++ b/docs/RenameConnectedAccountResponse.md @@ -0,0 +1,81 @@ + + +# RenameConnectedAccountResponse + +## 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"`) + + + diff --git a/docs/RescanTransaction.md b/docs/RescanTransaction.md deleted file mode 100644 index 35ede6db..00000000 --- a/docs/RescanTransaction.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# RescanTransaction - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**txHash** | **String** | Blockchain TX hash | [optional] | -|**assetId** | **String** | Asset symbol BTC,ETH) | [optional] | - - - diff --git a/docs/ResetDeviceApi.md b/docs/ResetDeviceApi.md index 98ff2c5e..8c2519a0 100644 --- a/docs/ResetDeviceApi.md +++ b/docs/ResetDeviceApi.md @@ -14,7 +14,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/RetryRequoteRequestDetails.md b/docs/RetryRequoteRequestDetails.md index 0cbc2900..9217759f 100644 --- a/docs/RetryRequoteRequestDetails.md +++ b/docs/RetryRequoteRequestDetails.md @@ -7,17 +7,9 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Indicates that the order should be re-quoted if the original quote is expired, trying to match the original quote. | | -|**count** | **BigDecimal** | If quote is expired, how many times to re-generate new quotes to try having the order executed as in the original quote. | | -|**slippageBps** | **BigDecimal** | Slippage tolerance in basis points (bps) for quote orders - 1 is 0.01% and 10000 is 100% | [optional] | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| RETRY | "RETRY" | +|**type** | **RetryRequoteTypeEnum** | | | +|**count** | **Integer** | If quote is expired, how many times to re-generate new quotes to try having the order executed as in the original quote. | | +|**slippageBps** | **Integer** | Slippage tolerance in basis points (bps) for quote orders - 1 is 0.01% and 10000 is 100% | [optional] | diff --git a/docs/RetryRequoteTypeEnum.md b/docs/RetryRequoteTypeEnum.md new file mode 100644 index 00000000..ee9a8b48 --- /dev/null +++ b/docs/RetryRequoteTypeEnum.md @@ -0,0 +1,11 @@ + + +# RetryRequoteTypeEnum + +## Enum + + +* `RETRY` (value: `"RETRY"`) + + + diff --git a/docs/RoleDetails.md b/docs/RoleDetails.md new file mode 100644 index 00000000..5c086856 --- /dev/null +++ b/docs/RoleDetails.md @@ -0,0 +1,15 @@ + + +# RoleDetails + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**roleHash** | **String** | The role hash identifier | | +|**description** | **String** | Human-readable description of the role | | +|**accounts** | [**List<RoleGrantee>**](RoleGrantee.md) | List of accounts that have been granted this role | | + + + diff --git a/docs/RoleGrantee.md b/docs/RoleGrantee.md new file mode 100644 index 00000000..ce21bff7 --- /dev/null +++ b/docs/RoleGrantee.md @@ -0,0 +1,14 @@ + + +# RoleGrantee + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**accountAddress** | **String** | The address of the account that has been granted the role | | +|**dateOfGrant** | **OffsetDateTime** | The date when the role was granted to this account | | + + + diff --git a/docs/AccountProviderID.md b/docs/ScopeItem.md similarity index 85% rename from docs/AccountProviderID.md rename to docs/ScopeItem.md index 8c1464ad..e6adf0e9 100644 --- a/docs/AccountProviderID.md +++ b/docs/ScopeItem.md @@ -1,6 +1,6 @@ -# AccountProviderID +# ScopeItem ## Properties @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**providerId** | **String** | The ID of the provider associated with the account. | | -|**accountId** | **String** | The ID of the account associated with the provider. | | +|**accountId** | **String** | The ID of the account associated with the provider. | [optional] | diff --git a/docs/ScreeningTRLinkMissingTrmDecision.md b/docs/ScreeningTRLinkMissingTrmDecision.md index 8b493917..659d89a2 100644 --- a/docs/ScreeningTRLinkMissingTrmDecision.md +++ b/docs/ScreeningTRLinkMissingTrmDecision.md @@ -8,7 +8,7 @@ Interface for reporting missing TRM screening decisions in ITRLinkResult | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**customerId** | **String** | Reference to TrlinkCustomer.id | [optional] | +|**customerId** | **String** | Reference to TRLinkCustomer.id | [optional] | |**direction** | **TravelRuleDirectionEnum** | | [optional] | |**sourceType** | **TransferPeerTypeEnum** | | [optional] | |**sourceSubType** | **TransferPeerSubTypeEnum** | | [optional] | diff --git a/docs/ScreeningTRLinkMissingTrmRule.md b/docs/ScreeningTRLinkMissingTrmRule.md index 62241859..905f3f01 100644 --- a/docs/ScreeningTRLinkMissingTrmRule.md +++ b/docs/ScreeningTRLinkMissingTrmRule.md @@ -8,7 +8,7 @@ TRLink missing TRM rule definition | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**customerId** | **String** | Reference to TrlinkCustomer.id | [optional] | +|**customerId** | **String** | Reference to TRLinkCustomer.id | [optional] | |**direction** | **TravelRuleDirectionEnum** | | [optional] | |**sourceType** | **TransferPeerTypeEnum** | | [optional] | |**sourceSubType** | **TransferPeerSubTypeEnum** | | [optional] | diff --git a/docs/ScreeningTRLinkPostScreeningRule.md b/docs/ScreeningTRLinkPostScreeningRule.md index ae72fdd9..030c9df9 100644 --- a/docs/ScreeningTRLinkPostScreeningRule.md +++ b/docs/ScreeningTRLinkPostScreeningRule.md @@ -8,7 +8,7 @@ TRLink post-screening rule definition | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**customerId** | **String** | Reference to TrlinkCustomer.id | [optional] | +|**customerId** | **String** | Reference to TRLinkCustomer.id | [optional] | |**direction** | **TravelRuleDirectionEnum** | | [optional] | |**sourceType** | **TransferPeerTypeEnum** | | [optional] | |**sourceSubType** | **TransferPeerSubTypeEnum** | | [optional] | diff --git a/docs/ScreeningTRLinkPrescreeningRule.md b/docs/ScreeningTRLinkPrescreeningRule.md index 3cc82f57..71d9817f 100644 --- a/docs/ScreeningTRLinkPrescreeningRule.md +++ b/docs/ScreeningTRLinkPrescreeningRule.md @@ -8,7 +8,7 @@ TRLink pre-screening rule definition | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**customerId** | **String** | Reference to TrlinkCustomer.id | [optional] | +|**customerId** | **String** | Reference to TRLinkCustomer.id | [optional] | |**direction** | **TravelRuleDirectionEnum** | | [optional] | |**sourceType** | **TransferPeerTypeEnum** | | [optional] | |**sourceSubType** | **TransferPeerSubTypeEnum** | | [optional] | diff --git a/docs/ScreeningTRLinkRuleBase.md b/docs/ScreeningTRLinkRuleBase.md index be671b55..55d339fb 100644 --- a/docs/ScreeningTRLinkRuleBase.md +++ b/docs/ScreeningTRLinkRuleBase.md @@ -8,7 +8,7 @@ Base interface for TRLink policy rules | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**customerId** | **String** | Reference to TrlinkCustomer.id | [optional] | +|**customerId** | **String** | Reference to TRLinkCustomer.id | [optional] | |**direction** | **TravelRuleDirectionEnum** | | [optional] | |**sourceType** | **TransferPeerTypeEnum** | | [optional] | |**sourceSubType** | **TransferPeerSubTypeEnum** | | [optional] | diff --git a/docs/Settlement.md b/docs/Settlement.md index 4fbbd389..52e94570 100644 --- a/docs/Settlement.md +++ b/docs/Settlement.md @@ -6,7 +6,6 @@ Settlement configuration for the order ## oneOf schemas * [DVPSettlement](DVPSettlement.md) -* [PostOrderSettlement](PostOrderSettlement.md) * [PrefundedSettlement](PrefundedSettlement.md) ## Example @@ -14,7 +13,6 @@ Settlement configuration for the order // Import classes: import com.fireblocks.sdk.model.Settlement; import com.fireblocks.sdk.model.DVPSettlement; -import com.fireblocks.sdk.model.PostOrderSettlement; import com.fireblocks.sdk.model.PrefundedSettlement; public class Example { @@ -28,13 +26,6 @@ public class Example { // to get back the DVPSettlement set earlier DVPSettlement testDVPSettlement = (DVPSettlement) exampleSettlement.getActualInstance(); - // create a new PostOrderSettlement - PostOrderSettlement examplePostOrderSettlement = new PostOrderSettlement(); - // set Settlement to PostOrderSettlement - exampleSettlement.setActualInstance(examplePostOrderSettlement); - // to get back the PostOrderSettlement set earlier - PostOrderSettlement testPostOrderSettlement = (PostOrderSettlement) exampleSettlement.getActualInstance(); - // create a new PrefundedSettlement PrefundedSettlement examplePrefundedSettlement = new PrefundedSettlement(); // set Settlement to PrefundedSettlement diff --git a/docs/Side.md b/docs/Side.md new file mode 100644 index 00000000..689c903d --- /dev/null +++ b/docs/Side.md @@ -0,0 +1,13 @@ + + +# Side + +## Enum + + +* `BUY` (value: `"BUY"`) + +* `SELL` (value: `"SELL"`) + + + diff --git a/docs/SmartTransferApi.md b/docs/SmartTransferApi.md index 9ea5edfd..6ef04cac 100644 --- a/docs/SmartTransferApi.md +++ b/docs/SmartTransferApi.md @@ -4,12 +4,12 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**approveDvPTicketTerm**](SmartTransferApi.md#approveDvPTicketTerm) | **PUT** /smart_transfers/{ticketId}/terms/{termId}/dvp/approve | Define funding source and give approve to contract to transfer asset | +| [**approveDvPTicketTerm**](SmartTransferApi.md#approveDvPTicketTerm) | **PUT** /smart_transfers/{ticketId}/terms/{termId}/dvp/approve | Set funding source and approval | | [**cancelTicket**](SmartTransferApi.md#cancelTicket) | **PUT** /smart-transfers/{ticketId}/cancel | Cancel Ticket | | [**createTicket**](SmartTransferApi.md#createTicket) | **POST** /smart-transfers | Create Ticket | | [**createTicketTerm**](SmartTransferApi.md#createTicketTerm) | **POST** /smart-transfers/{ticketId}/terms | Create leg (term) | -| [**findTicketById**](SmartTransferApi.md#findTicketById) | **GET** /smart-transfers/{ticketId} | Search Tickets by ID | -| [**findTicketTermById**](SmartTransferApi.md#findTicketTermById) | **GET** /smart-transfers/{ticketId}/terms/{termId} | Search ticket by leg (term) ID | +| [**findTicketById**](SmartTransferApi.md#findTicketById) | **GET** /smart-transfers/{ticketId} | Search Ticket by ID | +| [**findTicketTermById**](SmartTransferApi.md#findTicketTermById) | **GET** /smart-transfers/{ticketId}/terms/{termId} | Get Smart Transfer ticket term | | [**fulfillTicket**](SmartTransferApi.md#fulfillTicket) | **PUT** /smart-transfers/{ticketId}/fulfill | Fund ticket manually | | [**fundDvpTicket**](SmartTransferApi.md#fundDvpTicket) | **PUT** /smart_transfers/{ticketId}/dvp/fund | Fund dvp ticket | | [**fundTicketTerm**](SmartTransferApi.md#fundTicketTerm) | **PUT** /smart-transfers/{ticketId}/terms/{termId}/fund | Define funding source | @@ -30,7 +30,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ > CompletableFuture> approveDvPTicketTerm approveDvPTicketTerm(smartTransferApproveTerm, ticketId, termId, idempotencyKey) -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 @@ -123,7 +123,7 @@ No authorization required Cancel Ticket -Cancel Smart Transfer ticket +Cancel Smart Transfer ticket. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -210,7 +210,7 @@ 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 @@ -296,7 +296,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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -382,9 +382,9 @@ No authorization required > CompletableFuture> findTicketById findTicketById(ticketId) -Search Tickets by ID +Search Ticket by ID -Find Smart Transfer ticket by id +Find Smart Transfer ticket by id. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -466,9 +466,9 @@ No authorization required > CompletableFuture> findTicketTermById findTicketTermById(ticketId, termId) -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -554,7 +554,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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -730,7 +730,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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -901,7 +901,7 @@ No authorization required Get user group -Get Smart Transfer user groups +Get Smart Transfer user groups. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -981,7 +981,7 @@ No authorization required Manually add term transaction -Manually set ticket term transaction +Manually set ticket term transaction. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -1157,7 +1157,7 @@ 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 @@ -1262,7 +1262,7 @@ No authorization required Add external ref. ID -Set external id Smart Transfer ticket +Set external id Smart Transfer ticket. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -1351,7 +1351,7 @@ No authorization required Set expiration -Set expiration date on Smart Transfer ticket +Set expiration date on Smart Transfer ticket. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -1440,7 +1440,7 @@ No authorization required Set user group -Set Smart Transfer user group +Set Smart Transfers user group to receive email notifications for Smart Transfers. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -1526,7 +1526,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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/SolanaBlockchainData.md b/docs/SolanaBlockchainData.md index d34491ec..ae101fec 100644 --- a/docs/SolanaBlockchainData.md +++ b/docs/SolanaBlockchainData.md @@ -9,7 +9,7 @@ Additional fields per blockchain - can be empty or missing if not initialized or | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**stakeAccountAddress** | **String** | The stake account address matching the stakeAccountId. | | -|**stakeAccountDerivationChangeValue** | **BigDecimal** | The value of the change level in the BIP44 path which was used to derive the stake account address | | +|**stakeAccountDerivationChangeValue** | **BigDecimal** | The value of the change level in the BIP32 path which was used to derive the stake account address. | | diff --git a/docs/SplitRequest.md b/docs/SplitRequest.md index 3b480031..ebc46b74 100644 --- a/docs/SplitRequest.md +++ b/docs/SplitRequest.md @@ -11,7 +11,7 @@ |**amount** | **String** | Amount of tokens to be transferred to the new stake account. | | |**fee** | **String** | Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required. | [optional] | |**feeLevel** | **FeeLevel** | | [optional] | -|**txNote** | **String** | The note to associate with the transactions. | [optional] | +|**txNote** | **String** | The note to associate with the split transactions. | [optional] | diff --git a/docs/StEthBlockchainData.md b/docs/StEthBlockchainData.md new file mode 100644 index 00000000..83657699 --- /dev/null +++ b/docs/StEthBlockchainData.md @@ -0,0 +1,15 @@ + + +# 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 | +|------------ | ------------- | ------------- | -------------| +|**totalWithdrawableAmount** | **String** | The total amount available for withdrawal. | | +|**totalInactiveAmount** | **String** | The total inactive amount. | | + + + diff --git a/docs/StakeRequest.md b/docs/StakeRequest.md index f1edba63..825c4160 100644 --- a/docs/StakeRequest.md +++ b/docs/StakeRequest.md @@ -7,12 +7,15 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**vaultAccountId** | **String** | The source vault account to stake from | | +|**vaultAccountId** | **String** | The Fireblocks vault account ID that will source the funds for staking. | | |**providerId** | **StakingProvider** | | | -|**stakeAmount** | **String** | Amount of tokens to stake | | -|**txNote** | **String** | The note to associate with the stake transactions. | [optional] | -|**fee** | **String** | Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required. | [optional] | +|**stakeAmount** | **String** | The amount of tokens to stake. The amount may be truncated to match the chain's decimal precision requirements. | | +|**txNote** | **String** | 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** | **String** | 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] | |**feeLevel** | **FeeLevel** | | [optional] | +|**chainDescriptor** | **String** | Protocol identifier for the staking operation | [optional] | +|**id** | **String** | 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] | +|**isCompoundingValidator** | **Boolean** | 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] | diff --git a/docs/StakingApi.md b/docs/StakingApi.md index d3687867..2fe59a0e 100644 --- a/docs/StakingApi.md +++ b/docs/StakingApi.md @@ -4,20 +4,20 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**approveTermsOfServiceByProviderId**](StakingApi.md#approveTermsOfServiceByProviderId) | **POST** /staking/providers/{providerId}/approveTermsOfService | Approve staking terms of service | -| [**claimRewards**](StakingApi.md#claimRewards) | **POST** /staking/chains/{chainDescriptor}/claim_rewards | Execute a Claim Rewards operation | -| [**getAllDelegations**](StakingApi.md#getAllDelegations) | **GET** /staking/positions | List staking positions details | -| [**getChainInfo**](StakingApi.md#getChainInfo) | **GET** /staking/chains/{chainDescriptor}/chainInfo | Get chain-specific staking summary | -| [**getChains**](StakingApi.md#getChains) | **GET** /staking/chains | List staking supported chains | -| [**getDelegationById**](StakingApi.md#getDelegationById) | **GET** /staking/positions/{id} | Get staking position details | -| [**getProviders**](StakingApi.md#getProviders) | **GET** /staking/providers | List staking providers details | -| [**getSummary**](StakingApi.md#getSummary) | **GET** /staking/positions/summary | Get staking summary details | -| [**getSummaryByVault**](StakingApi.md#getSummaryByVault) | **GET** /staking/positions/summary/vaults | Get staking summary details by vault | -| [**mergeStakeAccounts**](StakingApi.md#mergeStakeAccounts) | **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 | +| [**approveTermsOfServiceByProviderId**](StakingApi.md#approveTermsOfServiceByProviderId) | **POST** /staking/providers/{providerId}/approveTermsOfService | Approve provider terms of service | +| [**claimRewards**](StakingApi.md#claimRewards) | **POST** /staking/chains/{chainDescriptor}/claim_rewards | Claim accrued rewards | +| [**getAllDelegations**](StakingApi.md#getAllDelegations) | **GET** /staking/positions | List staking positions | +| [**getChainInfo**](StakingApi.md#getChainInfo) | **GET** /staking/chains/{chainDescriptor}/chainInfo | Get chain-level staking parameters | +| [**getChains**](StakingApi.md#getChains) | **GET** /staking/chains | List supported staking chains | +| [**getDelegationById**](StakingApi.md#getDelegationById) | **GET** /staking/positions/{id} | Get position details | +| [**getProviders**](StakingApi.md#getProviders) | **GET** /staking/providers | List staking providers | +| [**getSummary**](StakingApi.md#getSummary) | **GET** /staking/positions/summary | Get positions summary | +| [**getSummaryByVault**](StakingApi.md#getSummaryByVault) | **GET** /staking/positions/summary/vaults | Get positions summary by vault | +| [**mergeStakeAccounts**](StakingApi.md#mergeStakeAccounts) | **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 | @@ -25,9 +25,9 @@ All URIs are relative to https://developers.fireblocks.com/reference/ > CompletableFuture> approveTermsOfServiceByProviderId approveTermsOfServiceByProviderId(providerId, idempotencyKey) -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,7 +52,7 @@ public class Example { .secretKey("my-secret-key"); Fireblocks fireblocks = new Fireblocks(configurationOptions); - StakingProvider providerId = StakingProvider.fromValue("kiln"); // StakingProvider | The unique identifier of the staking provider + StakingProvider providerId = StakingProvider.fromValue("kiln"); // StakingProvider | Unique identifier of the staking provider. String idempotencyKey = "idempotencyKey_example"; // String | 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. try { CompletableFuture> response = fireblocks.staking().approveTermsOfServiceByProviderId(providerId, idempotencyKey); @@ -81,7 +81,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **providerId** | [**StakingProvider**](.md)| The unique identifier of the staking provider | [enum: kiln, figment, lido, p2p] | +| **providerId** | [**StakingProvider**](.md)| Unique identifier of the staking provider. | [enum: kiln, figment, lido, p2p, blockdaemon, galaxy, pierTwo, kraken] | | **idempotencyKey** | **String**| 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 @@ -101,7 +101,12 @@ No authorization required ### HTTP response details | 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 -
    | @@ -109,9 +114,9 @@ No authorization required > CompletableFuture> claimRewards claimRewards(claimRewardsRequest, chainDescriptor, idempotencyKey) -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 @@ -137,7 +142,7 @@ public class Example { Fireblocks fireblocks = new Fireblocks(configurationOptions); ClaimRewardsRequest claimRewardsRequest = new ClaimRewardsRequest(); // ClaimRewardsRequest | - String chainDescriptor = "MATIC"; // String | The protocol identifier (e.g. \"MATIC\"/\"SOL\") to use + String chainDescriptor = "SOL"; // String | Protocol identifier for the claim rewards staking operation (e.g., MATIC/SOL). String idempotencyKey = "idempotencyKey_example"; // String | 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. try { CompletableFuture> response = fireblocks.staking().claimRewards(claimRewardsRequest, chainDescriptor, idempotencyKey); @@ -167,7 +172,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **claimRewardsRequest** | [**ClaimRewardsRequest**](ClaimRewardsRequest.md)| | | -| **chainDescriptor** | **String**| The protocol identifier (e.g. \"MATIC\"/\"SOL\") to use | [enum: MATIC, SOL, SOL_TEST] | +| **chainDescriptor** | **String**| Protocol identifier for the claim rewards staking operation (e.g., MATIC/SOL). | [enum: SOL, SOL_TEST, MATIC] | | **idempotencyKey** | **String**| 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 @@ -187,7 +192,12 @@ No authorization required ### HTTP response details | 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 -
    | @@ -195,9 +205,9 @@ No authorization required > CompletableFuture>> getAllDelegations getAllDelegations(chainDescriptor) -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -222,7 +232,7 @@ public class Example { .secretKey("my-secret-key"); Fireblocks fireblocks = new Fireblocks(configurationOptions); - ChainDescriptor chainDescriptor = ChainDescriptor.fromValue("ETH"); // 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. + ChainDescriptor chainDescriptor = ChainDescriptor.fromValue("ATOM_COS"); // ChainDescriptor | Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. try { CompletableFuture>> response = fireblocks.staking().getAllDelegations(chainDescriptor); System.out.println("Status code: " + response.get().getStatusCode()); @@ -251,7 +261,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **chainDescriptor** | [**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] [enum: ETH, SOL, MATIC, ETH_TEST_HOODI, ETH_TEST6, SOL_TEST] | +| **chainDescriptor** | [**ChainDescriptor**](.md)| Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. | [optional] [enum: ATOM_COS, AXL, AXL_TEST, CELESTIA, DYDX_DYDX, ETH, ETH_TEST6, ETH_TEST_HOODI, INJ_INJ, MANTRA, MATIC, OSMO, SOL, SOL_TEST, STETH_ETH, STETH_ETH_TEST6_DZFA, STETH_ETH_TEST_HOODI] | ### Return type @@ -270,7 +280,12 @@ No authorization required ### HTTP response details | 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 -
    | @@ -278,9 +293,9 @@ No authorization required > CompletableFuture> getChainInfo getChainInfo(chainDescriptor) -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 @@ -305,7 +320,7 @@ public class Example { .secretKey("my-secret-key"); Fireblocks fireblocks = new Fireblocks(configurationOptions); - ChainDescriptor chainDescriptor = ChainDescriptor.fromValue("ETH"); // ChainDescriptor | The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\"/\"STETH_ETH\") to use + ChainDescriptor chainDescriptor = ChainDescriptor.fromValue("ATOM_COS"); // ChainDescriptor | Protocol identifier for the chain info staking operation (e.g., ETH/MATIC/SOL). try { CompletableFuture> response = fireblocks.staking().getChainInfo(chainDescriptor); System.out.println("Status code: " + response.get().getStatusCode()); @@ -334,7 +349,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **chainDescriptor** | [**ChainDescriptor**](.md)| The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\"/\"STETH_ETH\") to use | [enum: ETH, SOL, MATIC, ETH_TEST_HOODI, ETH_TEST6, SOL_TEST] | +| **chainDescriptor** | [**ChainDescriptor**](.md)| Protocol identifier for the chain info staking operation (e.g., ETH/MATIC/SOL). | [enum: ATOM_COS, AXL, AXL_TEST, CELESTIA, DYDX_DYDX, ETH, ETH_TEST6, ETH_TEST_HOODI, INJ_INJ, MANTRA, MATIC, OSMO, SOL, SOL_TEST, STETH_ETH, STETH_ETH_TEST6_DZFA, STETH_ETH_TEST_HOODI] | ### Return type @@ -353,7 +368,12 @@ No authorization required ### HTTP response details | 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 -
    | @@ -361,9 +381,9 @@ No authorization required > CompletableFuture>> getChains getChains() -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -432,7 +452,11 @@ No authorization required ### HTTP response details | 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 -
    | @@ -440,9 +464,9 @@ No authorization required > CompletableFuture> getDelegationById getDelegationById(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 @@ -467,7 +491,7 @@ public class Example { .secretKey("my-secret-key"); Fireblocks fireblocks = new Fireblocks(configurationOptions); - String id = "1fe3b61f-7e1f-4a19-aff0-4f0a524d44d7"; // String | The unique identifier of the staking position + String id = "id_example"; // String | Unique identifier of the staking position. try { CompletableFuture> response = fireblocks.staking().getDelegationById(id); System.out.println("Status code: " + response.get().getStatusCode()); @@ -496,7 +520,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **id** | **String**| The unique identifier of the staking position | | +| **id** | **String**| Unique identifier of the staking position. | | ### Return type @@ -515,7 +539,12 @@ No authorization required ### HTTP response details | 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 -
    | @@ -523,9 +552,9 @@ No authorization required > CompletableFuture>> getProviders getProviders() -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -594,7 +623,11 @@ No authorization required ### HTTP response details | 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 -
    | @@ -602,9 +635,9 @@ No authorization required > CompletableFuture> getSummary getSummary() -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 @@ -673,7 +706,11 @@ No authorization required ### HTTP response details | 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 -
    | @@ -681,9 +718,9 @@ No authorization required > CompletableFuture>> getSummaryByVault getSummaryByVault() -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 @@ -752,7 +789,11 @@ No authorization required ### HTTP response details | 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 -
    | @@ -760,9 +801,9 @@ No authorization required > CompletableFuture> mergeStakeAccounts mergeStakeAccounts(mergeStakeAccountsRequest, chainDescriptor, idempotencyKey) -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). </br>Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -788,7 +829,7 @@ public class Example { Fireblocks fireblocks = new Fireblocks(configurationOptions); MergeStakeAccountsRequest mergeStakeAccountsRequest = new MergeStakeAccountsRequest(); // MergeStakeAccountsRequest | - String chainDescriptor = "SOL"; // String | The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use + String chainDescriptor = "SOL"; // String | Protocol identifier for the merge staking operation (e.g., SOL). String idempotencyKey = "idempotencyKey_example"; // String | 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. try { CompletableFuture> response = fireblocks.staking().mergeStakeAccounts(mergeStakeAccountsRequest, chainDescriptor, idempotencyKey); @@ -819,7 +860,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **mergeStakeAccountsRequest** | [**MergeStakeAccountsRequest**](MergeStakeAccountsRequest.md)| | | -| **chainDescriptor** | **String**| The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use | [enum: SOL, SOL_TEST] | +| **chainDescriptor** | **String**| Protocol identifier for the merge staking operation (e.g., SOL). | [enum: SOL, SOL_TEST] | | **idempotencyKey** | **String**| 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 @@ -839,7 +880,12 @@ No authorization required ### HTTP response details | 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 -
    | @@ -847,9 +893,9 @@ No authorization required > CompletableFuture> split split(splitRequest, chainDescriptor, idempotencyKey) -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 @@ -875,7 +921,7 @@ public class Example { Fireblocks fireblocks = new Fireblocks(configurationOptions); SplitRequest splitRequest = new SplitRequest(); // SplitRequest | - String chainDescriptor = "SOL"; // String | The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use + String chainDescriptor = "SOL"; // String | Protocol identifier for the staking operation (e.g., SOL). String idempotencyKey = "idempotencyKey_example"; // String | 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. try { CompletableFuture> response = fireblocks.staking().split(splitRequest, chainDescriptor, idempotencyKey); @@ -906,7 +952,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **splitRequest** | [**SplitRequest**](SplitRequest.md)| | | -| **chainDescriptor** | **String**| The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use | [enum: SOL, SOL_TEST] | +| **chainDescriptor** | **String**| Protocol identifier for the staking operation (e.g., SOL). | [enum: SOL, SOL_TEST] | | **idempotencyKey** | **String**| 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 @@ -926,7 +972,12 @@ No authorization required ### HTTP response details | 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 -
    | @@ -934,9 +985,9 @@ No authorization required > CompletableFuture> stake stake(stakeRequest, chainDescriptor, idempotencyKey) -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 @@ -962,7 +1013,7 @@ public class Example { Fireblocks fireblocks = new Fireblocks(configurationOptions); StakeRequest stakeRequest = new StakeRequest(); // StakeRequest | - ChainDescriptor chainDescriptor = ChainDescriptor.fromValue("ETH"); // ChainDescriptor | The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use + ChainDescriptor chainDescriptor = ChainDescriptor.fromValue("ATOM_COS"); // ChainDescriptor | Protocol identifier for the stake staking operation (e.g., ATOM_COS/AXL/CELESTIA). String idempotencyKey = "idempotencyKey_example"; // String | 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. try { CompletableFuture> response = fireblocks.staking().stake(stakeRequest, chainDescriptor, idempotencyKey); @@ -993,7 +1044,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **stakeRequest** | [**StakeRequest**](StakeRequest.md)| | | -| **chainDescriptor** | [**ChainDescriptor**](.md)| The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use | [enum: ETH, SOL, MATIC, ETH_TEST_HOODI, ETH_TEST6, SOL_TEST] | +| **chainDescriptor** | [**ChainDescriptor**](.md)| Protocol identifier for the stake staking operation (e.g., ATOM_COS/AXL/CELESTIA). | [enum: ATOM_COS, AXL, AXL_TEST, CELESTIA, DYDX_DYDX, ETH, ETH_TEST6, ETH_TEST_HOODI, INJ_INJ, MANTRA, MATIC, OSMO, SOL, SOL_TEST, STETH_ETH, STETH_ETH_TEST6_DZFA, STETH_ETH_TEST_HOODI] | | **idempotencyKey** | **String**| 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 @@ -1013,7 +1064,12 @@ No authorization required ### HTTP response details | 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 -
    | @@ -1021,9 +1077,9 @@ No authorization required > CompletableFuture> unstake unstake(unstakeRequest, chainDescriptor, idempotencyKey) -Execute an Unstake operation +Initiate unstake -Execute an Unstake operation +Submits a chain-specific unstake request. ### Example @@ -1049,7 +1105,7 @@ public class Example { Fireblocks fireblocks = new Fireblocks(configurationOptions); UnstakeRequest unstakeRequest = new UnstakeRequest(); // UnstakeRequest | - ChainDescriptor chainDescriptor = ChainDescriptor.fromValue("ETH"); // ChainDescriptor | The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use + ChainDescriptor chainDescriptor = ChainDescriptor.fromValue("ATOM_COS"); // ChainDescriptor | Protocol identifier for the unstake staking operation (e.g., SOL/SOL_TEST/MATIC). String idempotencyKey = "idempotencyKey_example"; // String | 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. try { CompletableFuture> response = fireblocks.staking().unstake(unstakeRequest, chainDescriptor, idempotencyKey); @@ -1079,7 +1135,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **unstakeRequest** | [**UnstakeRequest**](UnstakeRequest.md)| | | -| **chainDescriptor** | [**ChainDescriptor**](.md)| The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use | [enum: ETH, SOL, MATIC, ETH_TEST_HOODI, ETH_TEST6, SOL_TEST] | +| **chainDescriptor** | [**ChainDescriptor**](.md)| Protocol identifier for the unstake staking operation (e.g., SOL/SOL_TEST/MATIC). | [enum: ATOM_COS, AXL, AXL_TEST, CELESTIA, DYDX_DYDX, ETH, ETH_TEST6, ETH_TEST_HOODI, INJ_INJ, MANTRA, MATIC, OSMO, SOL, SOL_TEST, STETH_ETH, STETH_ETH_TEST6_DZFA, STETH_ETH_TEST_HOODI] | | **idempotencyKey** | **String**| 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 @@ -1099,7 +1155,12 @@ No authorization required ### HTTP response details | 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 -
    | @@ -1107,9 +1168,9 @@ No authorization required > CompletableFuture> withdraw withdraw(withdrawRequest, chainDescriptor, idempotencyKey) -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 @@ -1135,7 +1196,7 @@ public class Example { Fireblocks fireblocks = new Fireblocks(configurationOptions); WithdrawRequest withdrawRequest = new WithdrawRequest(); // WithdrawRequest | - ChainDescriptor chainDescriptor = ChainDescriptor.fromValue("ETH"); // ChainDescriptor | The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use + ChainDescriptor chainDescriptor = ChainDescriptor.fromValue("ATOM_COS"); // ChainDescriptor | Protocol identifier for the withdraw staking operation (e.g., ATOM_COS/ETH/STETH_ETH). String idempotencyKey = "idempotencyKey_example"; // String | 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. try { CompletableFuture> response = fireblocks.staking().withdraw(withdrawRequest, chainDescriptor, idempotencyKey); @@ -1165,7 +1226,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **withdrawRequest** | [**WithdrawRequest**](WithdrawRequest.md)| | | -| **chainDescriptor** | [**ChainDescriptor**](.md)| The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use | [enum: ETH, SOL, MATIC, ETH_TEST_HOODI, ETH_TEST6, SOL_TEST] | +| **chainDescriptor** | [**ChainDescriptor**](.md)| Protocol identifier for the withdraw staking operation (e.g., ATOM_COS/ETH/STETH_ETH). | [enum: ATOM_COS, AXL, AXL_TEST, CELESTIA, DYDX_DYDX, ETH, ETH_TEST6, ETH_TEST_HOODI, INJ_INJ, MANTRA, MATIC, OSMO, SOL, SOL_TEST, STETH_ETH, STETH_ETH_TEST6_DZFA, STETH_ETH_TEST_HOODI] | | **idempotencyKey** | **String**| 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 @@ -1185,6 +1246,11 @@ No authorization required ### HTTP response details | 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 -
    | diff --git a/docs/StakingProvider.md b/docs/StakingProvider.md index 6a4b0fb5..35769b3a 100644 --- a/docs/StakingProvider.md +++ b/docs/StakingProvider.md @@ -13,5 +13,13 @@ * `P2P` (value: `"p2p"`) +* `BLOCKDAEMON` (value: `"blockdaemon"`) + +* `GALAXY` (value: `"galaxy"`) + +* `PIER_TWO` (value: `"pierTwo"`) + +* `KRAKEN` (value: `"kraken"`) + diff --git a/docs/SupportedBlockChainsResponse.md b/docs/SupportedBlockChainsResponse.md new file mode 100644 index 00000000..ad900f23 --- /dev/null +++ b/docs/SupportedBlockChainsResponse.md @@ -0,0 +1,14 @@ + + +# SupportedBlockChainsResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**supportsAllBlockchains** | **Boolean** | Boolean representing if all blockchains are supported | | +|**supportedBlockchains** | [**List<SupportedBlockchain>**](SupportedBlockchain.md) | List of supported blockchains | [optional] | + + + diff --git a/docs/SupportedBlockchain.md b/docs/SupportedBlockchain.md new file mode 100644 index 00000000..dfefcc6b --- /dev/null +++ b/docs/SupportedBlockchain.md @@ -0,0 +1,16 @@ + + +# SupportedBlockchain + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **String** | The ID of the blockchain | | +|**legacyId** | **String** | The old blockchain ID representation of the blockchain | | +|**displayName** | **String** | The name of the blockchain | | +|**nativeAssetId** | **String** | Native asset ID of this blockchain | | + + + diff --git a/docs/TRLinkAPIPagedResponse.md b/docs/TRLinkAPIPagedResponse.md new file mode 100644 index 00000000..2af8f6e7 --- /dev/null +++ b/docs/TRLinkAPIPagedResponse.md @@ -0,0 +1,15 @@ + + +# TRLinkAPIPagedResponse + +Generic paginated response wrapper with cursor-based pagination + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | **List<TRLinkVaspListDto>** | Array of result items | | +|**paging** | [**TRLinkPaging**](TRLinkPaging.md) | | [optional] | + + + diff --git a/docs/TRLinkAmount2.md b/docs/TRLinkAmount2.md new file mode 100644 index 00000000..319d18f3 --- /dev/null +++ b/docs/TRLinkAmount2.md @@ -0,0 +1,15 @@ + + +# TRLinkAmount2 + +Amount specification with range and currency type + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**range** | [**TRLinkAmountRange**](TRLinkAmountRange.md) | | | +|**currency** | **TRLinkCurrency** | | | + + + diff --git a/docs/TRLinkAmountRange.md b/docs/TRLinkAmountRange.md new file mode 100644 index 00000000..f141c175 --- /dev/null +++ b/docs/TRLinkAmountRange.md @@ -0,0 +1,15 @@ + + +# TRLinkAmountRange + +Minimum and maximum amount range specification + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**min** | **String** | Minimum amount (inclusive) | [optional] | +|**max** | **String** | Maximum amount (inclusive) | [optional] | + + + diff --git a/docs/TRLinkAssessTravelRuleRequest.md b/docs/TRLinkAssessTravelRuleRequest.md new file mode 100644 index 00000000..1ed1e961 --- /dev/null +++ b/docs/TRLinkAssessTravelRuleRequest.md @@ -0,0 +1,26 @@ + + +# TRLinkAssessTravelRuleRequest + +Request to assess whether Travel Rule compliance is required for a transaction + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**txId** | **UUID** | Fireblocks transaction ID (optional) - RECOMMENDED for inbound transactions | [optional] | +|**amount** | **String** | Transaction amount (required when txId not provided) | [optional] | +|**amountUSD** | **String** | Transaction amount in USD (optional) | [optional] | +|**destination** | [**TRLinkDestinationTransferPeerPath**](TRLinkDestinationTransferPeerPath.md) | | [optional] | +|**destAddress** | **String** | Destination address (optional) | [optional] | +|**destTag** | **String** | Destination tag (optional) | [optional] | +|**source** | [**TRLinkSourceTransferPeerPath**](TRLinkSourceTransferPeerPath.md) | | [optional] | +|**srcAddress** | **String** | Source address (optional) | [optional] | +|**assetId** | **String** | Asset identifier (e.g., ETH, BTC, USDC) | [optional] | +|**direction** | **TRLinkTransactionDirection** | | [optional] | +|**txHash** | **String** | Transaction hash (optional) | [optional] | +|**originatorVaspId** | **String** | Originator VASP identifier - required for inbound transactions | [optional] | +|**beneficiaryVaspId** | **String** | Beneficiary VASP identifier - required for outbound transactions | [optional] | + + + diff --git a/docs/TRLinkAssessTravelRuleResponse.md b/docs/TRLinkAssessTravelRuleResponse.md new file mode 100644 index 00000000..ad9bedd8 --- /dev/null +++ b/docs/TRLinkAssessTravelRuleResponse.md @@ -0,0 +1,18 @@ + + +# TRLinkAssessTravelRuleResponse + +Response indicating whether Travel Rule compliance is required + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**decision** | **TRLinkAssessmentDecision** | | | +|**reason** | **String** | Explanation of the decision | | +|**requiredFields** | **List<String>** | List of required fields if Travel Rule is required | [optional] | +|**missingInfo** | **List<String>** | List of missing fields if more information is needed | [optional] | +|**thresholds** | [**TRLinkThresholds**](TRLinkThresholds.md) | | [optional] | + + + diff --git a/docs/TRLinkAssessmentDecision.md b/docs/TRLinkAssessmentDecision.md new file mode 100644 index 00000000..88fe87de --- /dev/null +++ b/docs/TRLinkAssessmentDecision.md @@ -0,0 +1,15 @@ + + +# TRLinkAssessmentDecision + +## Enum + + +* `REQUIRED` (value: `"REQUIRED"`) + +* `NOT_REQUIRED` (value: `"NOT_REQUIRED"`) + +* `NEED_MORE_INFO` (value: `"NEED_MORE_INFO"`) + + + diff --git a/docs/TRLinkAsset.md b/docs/TRLinkAsset.md new file mode 100644 index 00000000..5def8d91 --- /dev/null +++ b/docs/TRLinkAsset.md @@ -0,0 +1,14 @@ + + +# TRLinkAsset + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**format** | **TRLinkAssetFormat** | | | +|**data** | [**TRLinkAssetData**](TRLinkAssetData.md) | | | + + + diff --git a/docs/TRLinkAssetData.md b/docs/TRLinkAssetData.md new file mode 100644 index 00000000..ebae7a19 --- /dev/null +++ b/docs/TRLinkAssetData.md @@ -0,0 +1,17 @@ + + +# TRLinkAssetData + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**ticker** | **String** | Asset ticker symbol (e.g., BTC, ETH, USDT) | [optional] | +|**network** | **String** | Network identifier from Fireblocks (e.g., ETH, BTC) | | +|**ucid** | **BigDecimal** | CoinMarketCap unique coin ID | [optional] | +|**contractAddress** | **String** | Contract address for tokens | [optional] | +|**id** | **String** | Fireblocks asset ID | [optional] | + + + diff --git a/docs/TRLinkAssetFormat.md b/docs/TRLinkAssetFormat.md new file mode 100644 index 00000000..6fc537bb --- /dev/null +++ b/docs/TRLinkAssetFormat.md @@ -0,0 +1,15 @@ + + +# TRLinkAssetFormat + +## Enum + + +* `FIREBLOCKS` (value: `"fireblocks"`) + +* `COINMARKETCAP` (value: `"coinmarketcap"`) + +* `SLIP44` (value: `"slip44"`) + + + diff --git a/docs/TRLinkAssetsListPagedResponse.md b/docs/TRLinkAssetsListPagedResponse.md new file mode 100644 index 00000000..a7909043 --- /dev/null +++ b/docs/TRLinkAssetsListPagedResponse.md @@ -0,0 +1,17 @@ + + +# 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] | +|**partnerCanHandleAnyAsset** | **Boolean** | Whether partner can handle any asset (not just explicitly listed ones) | | +|**note** | **String** | Note about asset support capabilities | | + + + diff --git a/docs/TRLinkCancelTrmRequest.md b/docs/TRLinkCancelTrmRequest.md new file mode 100644 index 00000000..7977f7ea --- /dev/null +++ b/docs/TRLinkCancelTrmRequest.md @@ -0,0 +1,14 @@ + + +# TRLinkCancelTrmRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**reason** | **String** | Reason for cancellation | [optional] | +|**cancelledBy** | **String** | User ID who cancelled the TRM | [optional] | + + + diff --git a/docs/TRLinkConnectIntegrationRequest.md b/docs/TRLinkConnectIntegrationRequest.md new file mode 100644 index 00000000..2796d734 --- /dev/null +++ b/docs/TRLinkConnectIntegrationRequest.md @@ -0,0 +1,14 @@ + + +# TRLinkConnectIntegrationRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**apiKey** | **String** | API key provided by the Travel Rule partner | | +|**secret** | **String** | Secret/password provided by the Travel Rule partner (optional) | [optional] | + + + diff --git a/docs/TRLinkCreateCustomerRequest.md b/docs/TRLinkCreateCustomerRequest.md new file mode 100644 index 00000000..2e4d12d0 --- /dev/null +++ b/docs/TRLinkCreateCustomerRequest.md @@ -0,0 +1,21 @@ + + +# TRLinkCreateCustomerRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**discoverable** | **TRLinkDiscoverableStatus** | | [optional] | +|**shortName** | **String** | Short display name (required) | | +|**fullLegalName** | **String** | Full legal entity name | [optional] | +|**geographicAddress** | [**TRLinkGeographicAddressRequest**](TRLinkGeographicAddressRequest.md) | | [optional] | +|**countryOfRegistration** | **String** | ISO 3166-1 alpha-2 country code where the entity is registered | [optional] | +|**nationalIdentification** | **String** | National identification as JSON string | [optional] | +|**dateOfIncorporation** | **LocalDate** | Date of entity incorporation (ISO 8601 format: YYYY-MM-DD) | [optional] | +|**vaults** | **List<Integer>** | Associated Fireblocks vault account IDs | [optional] | +|**trPrimaryPurpose** | **String** | Primary purpose for Travel Rule compliance (enum value) | [optional] | + + + diff --git a/docs/TRLinkCreateIntegrationRequest.md b/docs/TRLinkCreateIntegrationRequest.md new file mode 100644 index 00000000..adbcddb9 --- /dev/null +++ b/docs/TRLinkCreateIntegrationRequest.md @@ -0,0 +1,14 @@ + + +# TRLinkCreateIntegrationRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**customerId** | **UUID** | Customer unique identifier | | +|**partnerIdent** | **String** | Partner identification code (e.g., \"sumsub\", \"notabene\") | | + + + diff --git a/docs/TRLinkCreateTrmRequest.md b/docs/TRLinkCreateTrmRequest.md new file mode 100644 index 00000000..5aa5b4a1 --- /dev/null +++ b/docs/TRLinkCreateTrmRequest.md @@ -0,0 +1,27 @@ + + +# TRLinkCreateTrmRequest + +Request to create a Travel Rule Message with IVMS101 PII data + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**assetId** | **String** | Asset identifier (required when txId not provided) | [optional] | +|**amount** | **String** | Transaction amount (required when txId not provided) | [optional] | +|**amountUSD** | **String** | Amount in USD (optional) | [optional] | +|**source** | [**TRLinkSourceTransferPeerPath**](TRLinkSourceTransferPeerPath.md) | | [optional] | +|**srcAddress** | **String** | Source address (optional) | [optional] | +|**destination** | [**TRLinkDestinationTransferPeerPath**](TRLinkDestinationTransferPeerPath.md) | | [optional] | +|**destAddress** | **String** | Destination address (optional) | [optional] | +|**destTag** | **String** | Destination tag (optional) | [optional] | +|**txId** | **UUID** | Fireblocks transaction ID (optional) - RECOMMENDED for inbound transactions | [optional] | +|**txHash** | **String** | Transaction hash (optional) | [optional] | +|**direction** | **TRLinkTransactionDirection** | | [optional] | +|**originatorVaspId** | **String** | Originator VASP identifier - required for inbound transactions | [optional] | +|**beneficiaryVaspId** | **String** | Beneficiary VASP identifier - required for outbound transactions | [optional] | +|**ivms101** | [**TRLinkIvms**](TRLinkIvms.md) | | | + + + diff --git a/docs/TRLinkCurrency.md b/docs/TRLinkCurrency.md new file mode 100644 index 00000000..38a0b2b7 --- /dev/null +++ b/docs/TRLinkCurrency.md @@ -0,0 +1,13 @@ + + +# TRLinkCurrency + +## Enum + + +* `USD` (value: `"USD"`) + +* `NATIVE` (value: `"NATIVE"`) + + + diff --git a/docs/TRLinkCustomerIntegrationResponse.md b/docs/TRLinkCustomerIntegrationResponse.md new file mode 100644 index 00000000..7e4370f4 --- /dev/null +++ b/docs/TRLinkCustomerIntegrationResponse.md @@ -0,0 +1,19 @@ + + +# TRLinkCustomerIntegrationResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**customerIntegrationId** | **UUID** | Customer integration unique identifier | | +|**apiKey** | **String** | API key for partner integration (censored for security) | [optional] | +|**secret** | **String** | Secret for partner integration (censored for security) | [optional] | +|**createDate** | **OffsetDateTime** | Timestamp when the integration was created (ISO 8601 format) | | +|**lastUpdate** | **OffsetDateTime** | Timestamp when the integration was last updated (ISO 8601 format) | | +|**partner** | [**TRLinkPartnerResponse**](TRLinkPartnerResponse.md) | | | +|**customer** | [**TRLinkCustomerResponse**](TRLinkCustomerResponse.md) | | | + + + diff --git a/docs/TRLinkCustomerResponse.md b/docs/TRLinkCustomerResponse.md new file mode 100644 index 00000000..633fc20e --- /dev/null +++ b/docs/TRLinkCustomerResponse.md @@ -0,0 +1,25 @@ + + +# TRLinkCustomerResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | Customer unique identifier | | +|**tenantId** | **UUID** | Fireblocks tenant ID | | +|**discoverable** | **TRLinkDiscoverableStatus** | | | +|**shortName** | **String** | Short display name | | +|**fullLegalName** | **String** | Full legal entity name | | +|**geographicAddress** | [**TRLinkGeographicAddressRequest**](TRLinkGeographicAddressRequest.md) | | [optional] | +|**countryOfRegistration** | **String** | ISO 3166-1 alpha-2 country code where the entity is registered | | +|**nationalIdentification** | **String** | National identification (serialized as string) | [optional] | +|**dateOfIncorporation** | **LocalDate** | Date of entity incorporation (ISO 8601 format) | [optional] | +|**vaults** | **List<Integer>** | Associated Fireblocks vault account IDs | [optional] | +|**trPrimaryPurpose** | **String** | Primary purpose for Travel Rule compliance | [optional] | +|**createDate** | **OffsetDateTime** | Timestamp when the customer was created (ISO 8601 format) | | +|**lastUpdate** | **OffsetDateTime** | Timestamp when the customer was last updated (ISO 8601 format) | | + + + diff --git a/docs/TRLinkDestinationTransferPeerPath.md b/docs/TRLinkDestinationTransferPeerPath.md new file mode 100644 index 00000000..fa17400a --- /dev/null +++ b/docs/TRLinkDestinationTransferPeerPath.md @@ -0,0 +1,17 @@ + + +# TRLinkDestinationTransferPeerPath + +Destination peer path for transaction + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | **String** | Destination peer type (e.g., ONE_TIME_ADDRESS, VAULT_ACCOUNT) | | +|**id** | **String** | Destination peer ID | [optional] | +|**walletId** | **String** | Destination wallet ID | [optional] | +|**oneTimeAddress** | [**TRLinkOneTimeAddress**](TRLinkOneTimeAddress.md) | | [optional] | + + + diff --git a/docs/TRLinkDiscoverableStatus.md b/docs/TRLinkDiscoverableStatus.md new file mode 100644 index 00000000..14d93fec --- /dev/null +++ b/docs/TRLinkDiscoverableStatus.md @@ -0,0 +1,15 @@ + + +# TRLinkDiscoverableStatus + +## Enum + + +* `ANONYMOUS` (value: `"anonymous"`) + +* `HIDDEN` (value: `"hidden"`) + +* `DISCOVERABLE` (value: `"discoverable"`) + + + diff --git a/docs/TRLinkFiatValue.md b/docs/TRLinkFiatValue.md new file mode 100644 index 00000000..fb0ad399 --- /dev/null +++ b/docs/TRLinkFiatValue.md @@ -0,0 +1,14 @@ + + +# TRLinkFiatValue + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**amount** | **String** | Fiat amount | | +|**currency** | **String** | Fiat currency code | | + + + diff --git a/docs/TRLinkGeographicAddressRequest.md b/docs/TRLinkGeographicAddressRequest.md new file mode 100644 index 00000000..eaf8bcfb --- /dev/null +++ b/docs/TRLinkGeographicAddressRequest.md @@ -0,0 +1,23 @@ + + +# TRLinkGeographicAddressRequest + +Geographic address following IVMS101 standard + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**addressLine** | **List<String>** | Address lines (max 3, each up to 70 characters) | [optional] | +|**streetName** | **String** | Street name (required if buildingNumber is provided) | [optional] | +|**buildingNumber** | **String** | Building number | [optional] | +|**floor** | **String** | Floor number | [optional] | +|**postBox** | **String** | Post box number | [optional] | +|**postCode** | **String** | Postal code (required if townName is provided) | [optional] | +|**townName** | **String** | City or town name (required if postCode is provided) | [optional] | +|**districtName** | **String** | District name | [optional] | +|**countrySubDivision** | **String** | State or province (validated against country) | [optional] | +|**country** | **String** | ISO 3166-1 alpha-2 country code (required if town, district, or sub-division provided) | [optional] | + + + diff --git a/docs/TRLinkGetSupportedAssetResponse.md b/docs/TRLinkGetSupportedAssetResponse.md new file mode 100644 index 00000000..c0a2137b --- /dev/null +++ b/docs/TRLinkGetSupportedAssetResponse.md @@ -0,0 +1,18 @@ + + +# TRLinkGetSupportedAssetResponse + +Response for getting a single supported asset by ID + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**fireblocksAsset** | [**TRLinkPublicAssetInfo**](TRLinkPublicAssetInfo.md) | | | +|**partnerResponse** | **Map<String, Object>** | Raw partner response data | | +|**partnerCanHandleAnyAsset** | **Boolean** | Whether partner can handle any asset (not just explicitly listed ones) | | +|**note** | **String** | Note about asset support capabilities | | +|**supported** | **Boolean** | Whether the asset is supported by the partner | | + + + diff --git a/docs/TRLinkIvms.md b/docs/TRLinkIvms.md new file mode 100644 index 00000000..72eefb03 --- /dev/null +++ b/docs/TRLinkIvms.md @@ -0,0 +1,16 @@ + + +# TRLinkIvms + +IVMS101 data structure containing encrypted PII + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**version** | **String** | IVMS version | | +|**data** | **String** | Encrypted IVMS101 data containing originator and beneficiary information | | +|**filledFields** | **List<String>** | List of fields that are filled in the IVMS data | | + + + diff --git a/docs/TRLinkIvmsResponse.md b/docs/TRLinkIvmsResponse.md new file mode 100644 index 00000000..16922f3f --- /dev/null +++ b/docs/TRLinkIvmsResponse.md @@ -0,0 +1,16 @@ + + +# TRLinkIvmsResponse + +IVMS101 data in response format + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**version** | **String** | IVMS101 version | | +|**data** | **String** | Base64 encoded IVMS101 data containing originator and beneficiary information | | +|**filledFields** | **List<String>** | List of fields that are filled in the IVMS101 data | | + + + diff --git a/docs/TRLinkJwkPublicKey.md b/docs/TRLinkJwkPublicKey.md new file mode 100644 index 00000000..907162ff --- /dev/null +++ b/docs/TRLinkJwkPublicKey.md @@ -0,0 +1,34 @@ + + +# TRLinkJwkPublicKey + +JSON Web Key (JWK) format public key + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**kty** | [**KtyEnum**](#KtyEnum) | Key type | | +|**e** | **String** | RSA public exponent | | +|**use** | [**UseEnum**](#UseEnum) | Public key use (encryption) | | +|**kid** | **String** | Key ID | | +|**n** | **String** | RSA modulus | | + + + +## Enum: KtyEnum + +| Name | Value | +|---- | -----| +| RSA | "RSA" | + + + +## Enum: UseEnum + +| Name | Value | +|---- | -----| +| ENC | "enc" | + + + diff --git a/docs/TRLinkMissingTrmAction2.md b/docs/TRLinkMissingTrmAction2.md new file mode 100644 index 00000000..0c9fc0cf --- /dev/null +++ b/docs/TRLinkMissingTrmAction2.md @@ -0,0 +1,15 @@ + + +# TRLinkMissingTrmAction2 + +## Enum + + +* `WAIT` (value: `"WAIT"`) + +* `REJECT` (value: `"REJECT"`) + +* `ACCEPT` (value: `"ACCEPT"`) + + + diff --git a/docs/TRLinkMissingTrmRule2.md b/docs/TRLinkMissingTrmRule2.md new file mode 100644 index 00000000..7be00e3a --- /dev/null +++ b/docs/TRLinkMissingTrmRule2.md @@ -0,0 +1,33 @@ + + +# TRLinkMissingTrmRule2 + +Rule for handling transactions when TRM screening data is missing or unavailable + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**customerId** | **String** | Customer identifier | [optional] | +|**direction** | **TRLinkTransactionDirection** | | [optional] | +|**sourceType** | **String** | Source entity type | [optional] | +|**sourceSubType** | **String** | Source entity subtype | [optional] | +|**sourceAddress** | **String** | Source blockchain address | [optional] | +|**destType** | **String** | Destination entity type | [optional] | +|**destSubType** | **String** | Destination entity subtype | [optional] | +|**destAddress** | **String** | Destination blockchain address | [optional] | +|**sourceId** | **String** | Source identifier | [optional] | +|**destId** | **String** | Destination identifier | [optional] | +|**asset** | **String** | Asset or cryptocurrency type | [optional] | +|**baseAsset** | **String** | Base asset for derivatives | [optional] | +|**amount** | [**TRLinkAmount2**](TRLinkAmount2.md) | | [optional] | +|**networkProtocol** | **String** | Network protocol identifier | [optional] | +|**operation** | **String** | Operation type | [optional] | +|**description** | **String** | Rule description | [optional] | +|**isDefault** | **Boolean** | Whether this is a default rule | [optional] | +|**validBefore** | **Long** | Rule is valid before this timestamp (milliseconds) | [optional] | +|**validAfter** | **Long** | Rule is valid after this timestamp (milliseconds) | [optional] | +|**action** | **TRLinkMissingTrmAction2** | | | + + + diff --git a/docs/TRLinkOneTimeAddress.md b/docs/TRLinkOneTimeAddress.md new file mode 100644 index 00000000..7a9cdfe7 --- /dev/null +++ b/docs/TRLinkOneTimeAddress.md @@ -0,0 +1,14 @@ + + +# TRLinkOneTimeAddress + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**address** | **String** | Blockchain address | | +|**tag** | **String** | Destination tag (memo, memo ID, etc.) | [optional] | + + + diff --git a/docs/TRLinkPaging.md b/docs/TRLinkPaging.md new file mode 100644 index 00000000..5eac588f --- /dev/null +++ b/docs/TRLinkPaging.md @@ -0,0 +1,13 @@ + + +# TRLinkPaging + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**next** | **String** | Cursor for next page | | + + + diff --git a/docs/TRLinkPartnerResponse.md b/docs/TRLinkPartnerResponse.md new file mode 100644 index 00000000..16a0b0c4 --- /dev/null +++ b/docs/TRLinkPartnerResponse.md @@ -0,0 +1,19 @@ + + +# TRLinkPartnerResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **UUID** | Partner unique identifier | | +|**ident** | **String** | Partner identification code | | +|**name** | **String** | Partner display name | | +|**description** | **String** | Partner description | [optional] | +|**baseUrl** | **String** | Partner API base URL | | +|**active** | **Boolean** | Whether the partner is active | | +|**isTest** | **Boolean** | Whether this is a test/sandbox partner | | + + + diff --git a/docs/TRLinkPolicyResponse.md b/docs/TRLinkPolicyResponse.md new file mode 100644 index 00000000..63634802 --- /dev/null +++ b/docs/TRLinkPolicyResponse.md @@ -0,0 +1,16 @@ + + +# TRLinkPolicyResponse + +TRLink policy response containing pre-screening, post-screening, and missing TRM rules + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**preScreeningRules** | [**List<TRLinkPreScreeningRule2>**](TRLinkPreScreeningRule2.md) | Pre-screening rules that determine whether transactions should be screened | | +|**postScreeningRules** | [**List<TRLinkPostScreeningRule2>**](TRLinkPostScreeningRule2.md) | Post-screening rules that determine actions based on screening results | | +|**missingTrmRules** | [**List<TRLinkMissingTrmRule2>**](TRLinkMissingTrmRule2.md) | Rules for handling transactions when TRM screening data is unavailable | | + + + diff --git a/docs/TRLinkPostScreeningAction.md b/docs/TRLinkPostScreeningAction.md new file mode 100644 index 00000000..a9fbf921 --- /dev/null +++ b/docs/TRLinkPostScreeningAction.md @@ -0,0 +1,17 @@ + + +# TRLinkPostScreeningAction + +## Enum + + +* `ACCEPT` (value: `"ACCEPT"`) + +* `ALERT` (value: `"ALERT"`) + +* `REJECT` (value: `"REJECT"`) + +* `WAIT` (value: `"WAIT"`) + + + diff --git a/docs/TRLinkPostScreeningRule2.md b/docs/TRLinkPostScreeningRule2.md new file mode 100644 index 00000000..3ed58cf4 --- /dev/null +++ b/docs/TRLinkPostScreeningRule2.md @@ -0,0 +1,35 @@ + + +# TRLinkPostScreeningRule2 + +Post-screening rule that determines the verdict based on screening results + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**customerId** | **String** | Customer identifier | [optional] | +|**direction** | **TRLinkTransactionDirection** | | [optional] | +|**sourceType** | **String** | Source entity type | [optional] | +|**sourceSubType** | **String** | Source entity subtype | [optional] | +|**sourceAddress** | **String** | Source blockchain address | [optional] | +|**destType** | **String** | Destination entity type | [optional] | +|**destSubType** | **String** | Destination entity subtype | [optional] | +|**destAddress** | **String** | Destination blockchain address | [optional] | +|**sourceId** | **String** | Source identifier | [optional] | +|**destId** | **String** | Destination identifier | [optional] | +|**asset** | **String** | Asset or cryptocurrency type | [optional] | +|**baseAsset** | **String** | Base asset for derivatives | [optional] | +|**amount** | [**TRLinkAmount2**](TRLinkAmount2.md) | | [optional] | +|**networkProtocol** | **String** | Network protocol identifier | [optional] | +|**operation** | **String** | Operation type | [optional] | +|**description** | **String** | Rule description | [optional] | +|**isDefault** | **Boolean** | Whether this is a default rule | [optional] | +|**providerIdent** | **String** | TRP provider identifier | [optional] | +|**trmStatus** | **TRLinkTrmStatus** | | [optional] | +|**validBefore** | **Long** | Rule is valid before this timestamp (milliseconds) | [optional] | +|**validAfter** | **Long** | Rule is valid after this timestamp (milliseconds) | [optional] | +|**action** | **TRLinkPostScreeningAction** | | | + + + diff --git a/docs/TRLinkPreScreeningAction2.md b/docs/TRLinkPreScreeningAction2.md new file mode 100644 index 00000000..cb7e7055 --- /dev/null +++ b/docs/TRLinkPreScreeningAction2.md @@ -0,0 +1,13 @@ + + +# TRLinkPreScreeningAction2 + +## Enum + + +* `SCREEN` (value: `"SCREEN"`) + +* `PASS` (value: `"PASS"`) + + + diff --git a/docs/TRLinkPreScreeningRule2.md b/docs/TRLinkPreScreeningRule2.md new file mode 100644 index 00000000..42c9e405 --- /dev/null +++ b/docs/TRLinkPreScreeningRule2.md @@ -0,0 +1,31 @@ + + +# TRLinkPreScreeningRule2 + +Pre-screening rule that determines if a transaction should be screened + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**customerId** | **String** | Customer identifier | [optional] | +|**direction** | **TRLinkTransactionDirection** | | [optional] | +|**sourceType** | **String** | Source entity type | [optional] | +|**sourceSubType** | **String** | Source entity subtype | [optional] | +|**sourceAddress** | **String** | Source blockchain address | [optional] | +|**destType** | **String** | Destination entity type | [optional] | +|**destSubType** | **String** | Destination entity subtype | [optional] | +|**destAddress** | **String** | Destination blockchain address | [optional] | +|**sourceId** | **String** | Source identifier | [optional] | +|**destId** | **String** | Destination identifier | [optional] | +|**asset** | **String** | Asset or cryptocurrency type | [optional] | +|**baseAsset** | **String** | Base asset for derivatives | [optional] | +|**amount** | [**TRLinkAmount2**](TRLinkAmount2.md) | | [optional] | +|**networkProtocol** | **String** | Network protocol identifier | [optional] | +|**operation** | **String** | Operation type | [optional] | +|**description** | **String** | Rule description | [optional] | +|**isDefault** | **Boolean** | Whether this is a default rule | [optional] | +|**action** | **TRLinkPreScreeningAction2** | | | + + + diff --git a/docs/TRLinkProviderData.md b/docs/TRLinkProviderData.md new file mode 100644 index 00000000..287696be --- /dev/null +++ b/docs/TRLinkProviderData.md @@ -0,0 +1,14 @@ + + +# TRLinkProviderData + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**provider** | **String** | Provider name | [optional] | +|**data** | **Map<String, Object>** | Provider-specific data | [optional] | + + + diff --git a/docs/TRLinkPublicAssetInfo.md b/docs/TRLinkPublicAssetInfo.md new file mode 100644 index 00000000..f89197d9 --- /dev/null +++ b/docs/TRLinkPublicAssetInfo.md @@ -0,0 +1,20 @@ + + +# TRLinkPublicAssetInfo + +Public asset information with limited properties for API consumption + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **String** | The unique ID of the asset (e.g., Fireblocks asset ID) | | +|**name** | **String** | The name of the asset | | +|**type** | **String** | The type of the asset (e.g., BASE_ASSET, ERC20) | | +|**contractAddress** | **String** | The contract address of the asset (for tokenized assets) | | +|**nativeAsset** | **String** | The native asset of the network (e.g., ETH for ERC20 tokens) | | +|**decimals** | **BigDecimal** | The number of decimal places for the asset | | +|**issuerAddress** | **String** | The issuer address of the asset (optional) | [optional] | + + + diff --git a/docs/TRLinkPublicKeyResponse.md b/docs/TRLinkPublicKeyResponse.md new file mode 100644 index 00000000..b8ff99d6 --- /dev/null +++ b/docs/TRLinkPublicKeyResponse.md @@ -0,0 +1,14 @@ + + +# TRLinkPublicKeyResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**issuer** | **String** | Partner issuer identifier | | +|**publicKey** | [**TRLinkJwkPublicKey**](TRLinkJwkPublicKey.md) | | | + + + diff --git a/docs/TRLinkRedirectTrmRequest.md b/docs/TRLinkRedirectTrmRequest.md new file mode 100644 index 00000000..5bdc0ece --- /dev/null +++ b/docs/TRLinkRedirectTrmRequest.md @@ -0,0 +1,13 @@ + + +# TRLinkRedirectTrmRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**subsidiaryVaspId** | **String** | ID of the subsidiary VASP to redirect the TRM to | | + + + diff --git a/docs/TRLinkSetDestinationTravelRuleMessageIdRequest.md b/docs/TRLinkSetDestinationTravelRuleMessageIdRequest.md new file mode 100644 index 00000000..0845a2b1 --- /dev/null +++ b/docs/TRLinkSetDestinationTravelRuleMessageIdRequest.md @@ -0,0 +1,16 @@ + + +# TRLinkSetDestinationTravelRuleMessageIdRequest + +Request to set TRM ID for specific transaction destination + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**amount** | **String** | Destination amount for matching | | +|**destination** | [**TRLinkTransferPeerPath**](TRLinkTransferPeerPath.md) | | | +|**travelRuleMessageId** | **String** | Travel Rule Message ID to associate with destination (null to unset) | | + + + diff --git a/docs/TRLinkSetDestinationTravelRuleMessageIdResponse.md b/docs/TRLinkSetDestinationTravelRuleMessageIdResponse.md new file mode 100644 index 00000000..9aba283b --- /dev/null +++ b/docs/TRLinkSetDestinationTravelRuleMessageIdResponse.md @@ -0,0 +1,16 @@ + + +# TRLinkSetDestinationTravelRuleMessageIdResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**success** | **Boolean** | Whether the operation was successful | | +|**updatedDestinations** | **BigDecimal** | Number of destinations updated | | +|**failedDestinations** | **BigDecimal** | Number of destinations that failed to update | | +|**errors** | **List<String>** | List of errors (if any) | [optional] | + + + diff --git a/docs/TRLinkSetTransactionTravelRuleMessageIdRequest.md b/docs/TRLinkSetTransactionTravelRuleMessageIdRequest.md new file mode 100644 index 00000000..d5df1bbd --- /dev/null +++ b/docs/TRLinkSetTransactionTravelRuleMessageIdRequest.md @@ -0,0 +1,13 @@ + + +# TRLinkSetTransactionTravelRuleMessageIdRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**travelRuleMessageId** | **String** | Travel Rule Message ID to associate with transaction (null to unset) | | + + + diff --git a/docs/TRLinkSetTransactionTravelRuleMessageIdResponse.md b/docs/TRLinkSetTransactionTravelRuleMessageIdResponse.md new file mode 100644 index 00000000..e9899bb3 --- /dev/null +++ b/docs/TRLinkSetTransactionTravelRuleMessageIdResponse.md @@ -0,0 +1,13 @@ + + +# TRLinkSetTransactionTravelRuleMessageIdResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**success** | **Boolean** | Whether the operation was successful | | + + + diff --git a/docs/TRLinkSourceTransferPeerPath.md b/docs/TRLinkSourceTransferPeerPath.md new file mode 100644 index 00000000..2bc50ca1 --- /dev/null +++ b/docs/TRLinkSourceTransferPeerPath.md @@ -0,0 +1,16 @@ + + +# TRLinkSourceTransferPeerPath + +Source peer path for transaction + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | **String** | Source peer type (e.g., VAULT_ACCOUNT, UNKNOWN) | | +|**id** | **String** | Source peer ID | [optional] | +|**walletId** | **String** | Source wallet ID | [optional] | + + + diff --git a/docs/TRLinkTestConnectionResponse.md b/docs/TRLinkTestConnectionResponse.md new file mode 100644 index 00000000..cb1f3ace --- /dev/null +++ b/docs/TRLinkTestConnectionResponse.md @@ -0,0 +1,17 @@ + + +# TRLinkTestConnectionResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**success** | **Boolean** | Whether the connection test was successful | | +|**message** | **String** | Additional message about the connection test (present when success is false) | [optional] | +|**timestamp** | **OffsetDateTime** | Timestamp when the test was performed (ISO 8601 format) | | +|**partnerIdent** | **String** | Partner identification code | [optional] | +|**partnerName** | **String** | Partner display name | [optional] | + + + diff --git a/docs/TRLinkThresholds.md b/docs/TRLinkThresholds.md new file mode 100644 index 00000000..7db02b69 --- /dev/null +++ b/docs/TRLinkThresholds.md @@ -0,0 +1,14 @@ + + +# TRLinkThresholds + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**amount** | **String** | Threshold amount | [optional] | +|**currency** | **String** | Currency code | [optional] | + + + diff --git a/docs/TRLinkTransactionDirection.md b/docs/TRLinkTransactionDirection.md new file mode 100644 index 00000000..2633a7e2 --- /dev/null +++ b/docs/TRLinkTransactionDirection.md @@ -0,0 +1,13 @@ + + +# TRLinkTransactionDirection + +## Enum + + +* `INBOUND` (value: `"INBOUND"`) + +* `OUTBOUND` (value: `"OUTBOUND"`) + + + diff --git a/docs/TRLinkTransferPeerPath.md b/docs/TRLinkTransferPeerPath.md new file mode 100644 index 00000000..41cd4ff0 --- /dev/null +++ b/docs/TRLinkTransferPeerPath.md @@ -0,0 +1,17 @@ + + +# TRLinkTransferPeerPath + +Transfer peer path for destination matching + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | **String** | Peer type | [optional] | +|**id** | **String** | Peer ID | [optional] | +|**subType** | **String** | Peer subtype | [optional] | +|**address** | **String** | Peer address | [optional] | + + + diff --git a/docs/TRLinkTrmDirection.md b/docs/TRLinkTrmDirection.md new file mode 100644 index 00000000..3dcfcbe2 --- /dev/null +++ b/docs/TRLinkTrmDirection.md @@ -0,0 +1,13 @@ + + +# TRLinkTrmDirection + +## Enum + + +* `IN` (value: `"in"`) + +* `OUT` (value: `"out"`) + + + diff --git a/docs/TRLinkTrmInfoResponse.md b/docs/TRLinkTrmInfoResponse.md new file mode 100644 index 00000000..50512d54 --- /dev/null +++ b/docs/TRLinkTrmInfoResponse.md @@ -0,0 +1,27 @@ + + +# TRLinkTrmInfoResponse + +Travel Rule Message information + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **String** | TRM message ID | | +|**version** | **String** | TRM version | [optional] | +|**status** | **TRLinkTrmStatus** | | [optional] | +|**reason** | **String** | Human readable reason for the current status | [optional] | +|**externalId** | **String** | External ID (e.g., Fireblocks ID) | | +|**asset** | [**TRLinkAsset**](TRLinkAsset.md) | | | +|**amount** | **String** | Transaction amount in asset units | | +|**fiatValue** | [**TRLinkFiatValue**](TRLinkFiatValue.md) | | [optional] | +|**direction** | **TRLinkTrmDirection** | | | +|**originatorVaspId** | **String** | ID of the originator VASP | [optional] | +|**beneficiaryVaspId** | **String** | ID of the beneficiary VASP | [optional] | +|**txnInfo** | [**TRLinkTxnInfo**](TRLinkTxnInfo.md) | | | +|**ivms101** | [**TRLinkIvmsResponse**](TRLinkIvmsResponse.md) | | | +|**providerData** | [**TRLinkProviderData**](TRLinkProviderData.md) | | [optional] | + + + diff --git a/docs/TRLinkTrmStatus.md b/docs/TRLinkTrmStatus.md new file mode 100644 index 00000000..7b4c8e75 --- /dev/null +++ b/docs/TRLinkTrmStatus.md @@ -0,0 +1,17 @@ + + +# TRLinkTrmStatus + +## Enum + + +* `PENDING` (value: `"PENDING"`) + +* `ACCEPTED` (value: `"ACCEPTED"`) + +* `REJECTED` (value: `"REJECTED"`) + +* `FAILED` (value: `"FAILED"`) + + + diff --git a/docs/TRLinkTxnInfo.md b/docs/TRLinkTxnInfo.md new file mode 100644 index 00000000..27d9b3eb --- /dev/null +++ b/docs/TRLinkTxnInfo.md @@ -0,0 +1,15 @@ + + +# TRLinkTxnInfo + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**originatorWalletAddress** | **String** | Originator's blockchain wallet address | | +|**beneficiaryWalletAddress** | **String** | Beneficiary's blockchain wallet address | | +|**txHash** | **String** | Blockchain transaction hash | | + + + diff --git a/docs/TRLinkUpdateCustomerRequest.md b/docs/TRLinkUpdateCustomerRequest.md new file mode 100644 index 00000000..16956f1c --- /dev/null +++ b/docs/TRLinkUpdateCustomerRequest.md @@ -0,0 +1,21 @@ + + +# TRLinkUpdateCustomerRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**discoverable** | **TRLinkDiscoverableStatus** | | [optional] | +|**shortName** | **String** | Short display name | [optional] | +|**fullLegalName** | **String** | Full legal entity name | [optional] | +|**geographicAddress** | [**TRLinkGeographicAddressRequest**](TRLinkGeographicAddressRequest.md) | | [optional] | +|**countryOfRegistration** | **String** | ISO 3166-1 alpha-2 country code where the entity is registered | [optional] | +|**nationalIdentification** | **String** | National identification as JSON string | [optional] | +|**dateOfIncorporation** | **LocalDate** | Date of entity incorporation (ISO 8601 format: YYYY-MM-DD) | [optional] | +|**vaults** | **List<Integer>** | Associated Fireblocks vault account IDs | [optional] | +|**trPrimaryPurpose** | **String** | Primary purpose for Travel Rule compliance | [optional] | + + + diff --git a/docs/TRLinkVaspDto.md b/docs/TRLinkVaspDto.md new file mode 100644 index 00000000..10acf8ea --- /dev/null +++ b/docs/TRLinkVaspDto.md @@ -0,0 +1,18 @@ + + +# TRLinkVaspDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **String** | VASP unique identifier (DID format) | | +|**name** | **String** | VASP display name | | +|**legalName** | **String** | Legal entity name | [optional] | +|**nationalIdentification** | [**TRLinkVaspNationalIdentification**](TRLinkVaspNationalIdentification.md) | | [optional] | +|**geographicAddress** | [**TRLinkVaspGeographicAddress**](TRLinkVaspGeographicAddress.md) | | [optional] | +|**publicKey** | **String** | VASP public key for encryption | [optional] | + + + diff --git a/docs/TRLinkVaspGeographicAddress.md b/docs/TRLinkVaspGeographicAddress.md new file mode 100644 index 00000000..785c3112 --- /dev/null +++ b/docs/TRLinkVaspGeographicAddress.md @@ -0,0 +1,18 @@ + + +# TRLinkVaspGeographicAddress + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**formattedAddress** | **String** | Complete formatted address | [optional] | +|**country** | **String** | Country code or name | [optional] | +|**streetName** | **String** | Street name | [optional] | +|**buildingNumber** | **String** | Building number | [optional] | +|**city** | **String** | City name | [optional] | +|**postalCode** | **String** | Postal/ZIP code | [optional] | + + + diff --git a/docs/TRLinkVaspListDto.md b/docs/TRLinkVaspListDto.md new file mode 100644 index 00000000..4ca45aac --- /dev/null +++ b/docs/TRLinkVaspListDto.md @@ -0,0 +1,17 @@ + + +# TRLinkVaspListDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**id** | **String** | VASP unique identifier (DID format) | | +|**name** | **String** | VASP display name | | +|**legalName** | **String** | Legal entity name | [optional] | +|**nationalIdentification** | [**TRLinkVaspNationalIdentification**](TRLinkVaspNationalIdentification.md) | | [optional] | +|**geographicAddress** | [**TRLinkVaspGeographicAddress**](TRLinkVaspGeographicAddress.md) | | [optional] | + + + diff --git a/docs/TRLinkVaspNationalIdentification.md b/docs/TRLinkVaspNationalIdentification.md new file mode 100644 index 00000000..3ddfe071 --- /dev/null +++ b/docs/TRLinkVaspNationalIdentification.md @@ -0,0 +1,15 @@ + + +# TRLinkVaspNationalIdentification + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**identifier** | **String** | National identification number | | +|**type** | **String** | Type of national identification | [optional] | +|**authority** | **String** | Issuing authority | [optional] | + + + diff --git a/docs/Tag.md b/docs/Tag.md index 70b46f84..9d28a5a9 100644 --- a/docs/Tag.md +++ b/docs/Tag.md @@ -10,9 +10,10 @@ |**id** | **UUID** | The unique identifier of the tag | | |**label** | **String** | The tag label | | |**description** | **String** | Description for the tag | [optional] | -|**isProtected** | **Boolean** | Whether the tag is protected | [optional] | -|**color** | **String** | The color of the tag in hex format | [optional] | -|**updatedAt** | **String** | The date and time the tag was last updated | [optional] | +|**color** | **String** | The tag color in hex format | [optional] | +|**isProtected** | **Boolean** | Indication if the tag is a protected tag | | +|**updatedAt** | **BigDecimal** | The date and time the tag was last updated | | +|**pendingApprovalRequest** | [**ApprovalRequest**](ApprovalRequest.md) | | [optional] | diff --git a/docs/TagsApi.md b/docs/TagsApi.md index ed1a0c34..6dcabcb8 100644 --- a/docs/TagsApi.md +++ b/docs/TagsApi.md @@ -4,21 +4,110 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**createTag**](TagsApi.md#createTag) | **POST** /tags | Create a tag | +| [**cancelApprovalRequest**](TagsApi.md#cancelApprovalRequest) | **POST** /tags/approval_requests/{id}/cancel | Cancel an approval request by id | +| [**createTag**](TagsApi.md#createTag) | **POST** /tags | Create a new tag | | [**deleteTag**](TagsApi.md#deleteTag) | **DELETE** /tags/{tagId} | Delete a tag | +| [**getApprovalRequest**](TagsApi.md#getApprovalRequest) | **GET** /tags/approval_requests/{id} | Get an approval request by id | | [**getTag**](TagsApi.md#getTag) | **GET** /tags/{tagId} | Get a tag | | [**getTags**](TagsApi.md#getTags) | **GET** /tags | Get list of tags | | [**updateTag**](TagsApi.md#updateTag) | **PATCH** /tags/{tagId} | Update a tag | +## cancelApprovalRequest + +> CompletableFuture> cancelApprovalRequest cancelApprovalRequest(id, idempotencyKey) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TagsApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String id = "12345"; // String | + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.tags().cancelApprovalRequest(id, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TagsApi#cancelApprovalRequest"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TagsApi#cancelApprovalRequest"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **String**| | | +| **idempotencyKey** | **String**| 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 + + +CompletableFuture> + +### 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 -
    | + + ## createTag > CompletableFuture> createTag createTag(createTagRequest, idempotencyKey) -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. ### Example @@ -93,7 +182,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | A tag object | * X-Request-ID -
    | +| **201** | Tag created successfully | * X-Request-ID -
    | ## deleteTag @@ -102,7 +191,7 @@ No authorization required 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. ### Example @@ -177,6 +266,91 @@ No authorization required | **204** | Tag was deleted successfully | * X-Request-ID -
    | +## getApprovalRequest + +> CompletableFuture> getApprovalRequest getApprovalRequest(id) + +Get an approval request by id + +Get an approval request by id + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TagsApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + String id = "12345"; // String | + try { + CompletableFuture> response = fireblocks.tags().getApprovalRequest(id); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TagsApi#getApprovalRequest"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TagsApi#getApprovalRequest"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **String**| | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + ## getTag > CompletableFuture> getTag getTag(tagId) @@ -261,7 +435,7 @@ No authorization required ## getTags -> CompletableFuture> getTags getTags(pageCursor, pageSize, label, tagIds) +> CompletableFuture> getTags getTags(pageCursor, pageSize, label, tagIds, includePendingApprovalsInfo, isProtected) Get list of tags @@ -294,8 +468,10 @@ public class Example { BigDecimal pageSize = new BigDecimal("100"); // BigDecimal | Maximum number of items in the page String label = "VIP"; // String | Label prefix to filter by. List tagIds = Arrays.asList(); // List | List of tag IDs to filter by. + Boolean includePendingApprovalsInfo = false; // Boolean | Whether to include pending approval requests info. + Boolean isProtected = true; // Boolean | try { - CompletableFuture> response = fireblocks.tags().getTags(pageCursor, pageSize, label, tagIds); + CompletableFuture> response = fireblocks.tags().getTags(pageCursor, pageSize, label, tagIds, includePendingApprovalsInfo, isProtected); System.out.println("Status code: " + response.get().getStatusCode()); System.out.println("Response headers: " + response.get().getHeaders()); System.out.println("Response body: " + response.get().getData()); @@ -326,6 +502,8 @@ public class Example { | **pageSize** | **BigDecimal**| Maximum number of items in the page | [optional] [default to 100] | | **label** | **String**| Label prefix to filter by. | [optional] | | **tagIds** | [**List<UUID>**](UUID.md)| List of tag IDs to filter by. | [optional] | +| **includePendingApprovalsInfo** | **Boolean**| Whether to include pending approval requests info. | [optional] [default to false] | +| **isProtected** | **Boolean**| | [optional] | ### Return type @@ -344,7 +522,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | A TagsPagedResponse object | * X-Request-ID -
    | +| **200** | Tags fetched successfully | * X-Request-ID -
    | ## updateTag @@ -353,7 +531,7 @@ No authorization required 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. ### Example diff --git a/docs/Task.md b/docs/Task.md deleted file mode 100644 index 4fbaaa7e..00000000 --- a/docs/Task.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# Task - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**id** | **String** | | [optional] | -|**jobId** | **String** | | [optional] | -|**type** | **String** | | [optional] | -|**tenantId** | **String** | | [optional] | -|**created** | **BigDecimal** | | [optional] | -|**updated** | **BigDecimal** | | [optional] | -|**state** | **String** | | [optional] | - - - diff --git a/docs/TimeInForce.md b/docs/TimeInForce.md deleted file mode 100644 index 8a1208a3..00000000 --- a/docs/TimeInForce.md +++ /dev/null @@ -1,11 +0,0 @@ - - -# TimeInForce - -## Enum - - -* `FOK` (value: `"FOK"`) - - - diff --git a/docs/TokenContractSummaryResponse.md b/docs/TokenContractSummaryResponse.md new file mode 100644 index 00000000..f9dad195 --- /dev/null +++ b/docs/TokenContractSummaryResponse.md @@ -0,0 +1,16 @@ + + +# TokenContractSummaryResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**baseAssetId** | **String** | The base asset ID | | +|**contractAddress** | **String** | The contract address | | +|**totalAddresses** | **BigDecimal** | Total number of addresses with balances | | +|**totalSupply** | **String** | The total supply of the token | | + + + diff --git a/docs/TokenizationApi.md b/docs/TokenizationApi.md index 41d78183..760f3ee7 100644 --- a/docs/TokenizationApi.md +++ b/docs/TokenizationApi.md @@ -16,6 +16,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | [**getLinkedCollections**](TokenizationApi.md#getLinkedCollections) | **GET** /tokenization/collections | Get collections | | [**getLinkedToken**](TokenizationApi.md#getLinkedToken) | **GET** /tokenization/tokens/{id} | Return a linked token | | [**getLinkedTokens**](TokenizationApi.md#getLinkedTokens) | **GET** /tokenization/tokens | List all linked tokens | +| [**getLinkedTokensCount**](TokenizationApi.md#getLinkedTokensCount) | **GET** /tokenization/tokens/count | Get the total count of linked tokens | | [**issueNewToken**](TokenizationApi.md#issueNewToken) | **POST** /tokenization/tokens | Issue a new token | | [**issueTokenMultiChain**](TokenizationApi.md#issueTokenMultiChain) | **POST** /tokenization/multichain/tokens | Issue a token on one or more blockchains | | [**link**](TokenizationApi.md#link) | **POST** /tokenization/tokens/link | Link a contract | @@ -123,7 +124,7 @@ 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. </br>Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, and Editor. ### Example @@ -812,7 +813,7 @@ No authorization required Get collections -Get collections (paginated) +Get collections (paginated). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1063,13 +1064,92 @@ No authorization required | **0** | Error Response | * X-Request-ID -
    | +## getLinkedTokensCount + +> CompletableFuture> getLinkedTokensCount getLinkedTokensCount() + +Get the total count of linked tokens + +Get the total count of linked tokens + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TokenizationApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + try { + CompletableFuture> response = fireblocks.tokenization().getLinkedTokensCount(); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TokenizationApi#getLinkedTokensCount"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TokenizationApi#getLinkedTokensCount"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +CompletableFuture> + + +### 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 -
    | + + ## issueNewToken > CompletableFuture> issueNewToken issueNewToken(createTokenRequestDto, idempotencyKey) 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. </br>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..e34ca87e --- /dev/null +++ b/docs/TotalSupplyItemDto.md @@ -0,0 +1,14 @@ + + +# TotalSupplyItemDto + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**timestamp** | **OffsetDateTime** | Timestamp of the data point | | +|**totalSupply** | **String** | Total supply at the given timestamp | | + + + diff --git a/docs/TotalSupplyPagedResponse.md b/docs/TotalSupplyPagedResponse.md new file mode 100644 index 00000000..6f706229 --- /dev/null +++ b/docs/TotalSupplyPagedResponse.md @@ -0,0 +1,16 @@ + + +# TotalSupplyPagedResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<TotalSupplyItemDto>**](TotalSupplyItemDto.md) | Array of total supply data points | | +|**next** | **String** | Cursor for next page | [optional] | +|**prev** | **String** | Cursor for previous page | [optional] | +|**total** | **BigDecimal** | Total count of items | [optional] | + + + diff --git a/docs/TrLinkApi.md b/docs/TrLinkApi.md new file mode 100644 index 00000000..22e8d9d6 --- /dev/null +++ b/docs/TrLinkApi.md @@ -0,0 +1,2152 @@ +# TrLinkApi + +All URIs are relative to https://developers.fireblocks.com/reference/ + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**assessTRLinkTravelRuleRequirement**](TrLinkApi.md#assessTRLinkTravelRuleRequirement) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/assess | Assess Travel Rule requirement | +| [**cancelTRLinkTrm**](TrLinkApi.md#cancelTRLinkTrm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/cancel | Cancel Travel Rule Message | +| [**connectTRLinkIntegration**](TrLinkApi.md#connectTRLinkIntegration) | **PUT** /screening/trlink/customers/integration/{customerIntegrationId} | Connect customer integration | +| [**createTRLinkCustomer**](TrLinkApi.md#createTRLinkCustomer) | **POST** /screening/trlink/customers | Create customer | +| [**createTRLinkIntegration**](TrLinkApi.md#createTRLinkIntegration) | **POST** /screening/trlink/customers/integration | Create customer integration | +| [**createTRLinkTrm**](TrLinkApi.md#createTRLinkTrm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm | Create Travel Rule Message | +| [**deleteTRLinkCustomer**](TrLinkApi.md#deleteTRLinkCustomer) | **DELETE** /screening/trlink/customers/{customerId} | Delete customer | +| [**disconnectTRLinkIntegration**](TrLinkApi.md#disconnectTRLinkIntegration) | **DELETE** /screening/trlink/customers/integration/{customerIntegrationId} | Disconnect customer integration | +| [**getTRLinkCustomerById**](TrLinkApi.md#getTRLinkCustomerById) | **GET** /screening/trlink/customers/{customerId} | Get customer by ID | +| [**getTRLinkCustomerIntegrationById**](TrLinkApi.md#getTRLinkCustomerIntegrationById) | **GET** /screening/trlink/customers/{customerId}/integrations/{customerIntegrationId} | Get customer integration by ID | +| [**getTRLinkCustomerIntegrations**](TrLinkApi.md#getTRLinkCustomerIntegrations) | **GET** /screening/trlink/customers/{customerId}/integrations | Get customer integrations | +| [**getTRLinkCustomers**](TrLinkApi.md#getTRLinkCustomers) | **GET** /screening/trlink/customers | Get all customers | +| [**getTRLinkIntegrationPublicKey**](TrLinkApi.md#getTRLinkIntegrationPublicKey) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/public_key | Get public key for PII encryption | +| [**getTRLinkPartners**](TrLinkApi.md#getTRLinkPartners) | **GET** /screening/trlink/partners | List available TRLink partners | +| [**getTRLinkPolicy**](TrLinkApi.md#getTRLinkPolicy) | **GET** /screening/trlink/policy | Get TRLink policy | +| [**getTRLinkSupportedAsset**](TrLinkApi.md#getTRLinkSupportedAsset) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/assets/{assetId} | Get supported asset by ID | +| [**getTRLinkTrmById**](TrLinkApi.md#getTRLinkTrmById) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId} | Get TRM by ID | +| [**getTRLinkVaspById**](TrLinkApi.md#getTRLinkVaspById) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/vasps/{vaspId} | Get VASP by ID | +| [**listTRLinkSupportedAssets**](TrLinkApi.md#listTRLinkSupportedAssets) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/assets | List supported assets | +| [**listTRLinkVasps**](TrLinkApi.md#listTRLinkVasps) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/vasps | List VASPs | +| [**redirectTRLinkTrm**](TrLinkApi.md#redirectTRLinkTrm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/redirect | Redirect Travel Rule Message | +| [**setTRLinkDestinationTravelRuleMessageId**](TrLinkApi.md#setTRLinkDestinationTravelRuleMessageId) | **POST** /screening/trlink/transaction/{txId}/destination/travel_rule_message_id | Set destination travel rule message ID | +| [**setTRLinkTransactionTravelRuleMessageId**](TrLinkApi.md#setTRLinkTransactionTravelRuleMessageId) | **POST** /screening/trlink/transaction/{txId}/travel_rule_message_id | Set transaction travel rule message ID | +| [**testTRLinkIntegrationConnection**](TrLinkApi.md#testTRLinkIntegrationConnection) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/test_connection | Test connection | +| [**updateTRLinkCustomer**](TrLinkApi.md#updateTRLinkCustomer) | **PUT** /screening/trlink/customers/{customerId} | Update customer | + + + +## assessTRLinkTravelRuleRequirement + +> CompletableFuture> assessTRLinkTravelRuleRequirement assessTRLinkTravelRuleRequirement(trLinkAssessTravelRuleRequest, customerIntegrationId, idempotencyKey) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + TRLinkAssessTravelRuleRequest trLinkAssessTravelRuleRequest = new TRLinkAssessTravelRuleRequest(); // TRLinkAssessTravelRuleRequest | + UUID customerIntegrationId = UUID.randomUUID(); // UUID | Customer integration unique identifier + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.trLink().assessTRLinkTravelRuleRequirement(trLinkAssessTravelRuleRequest, customerIntegrationId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#assessTRLinkTravelRuleRequirement"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#assessTRLinkTravelRuleRequirement"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **trLinkAssessTravelRuleRequest** | [**TRLinkAssessTravelRuleRequest**](TRLinkAssessTravelRuleRequest.md)| | | +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + +## cancelTRLinkTrm + +> CompletableFuture> cancelTRLinkTrm cancelTRLinkTrm(trLinkCancelTrmRequest, customerIntegrationId, trmId, idempotencyKey) + +Cancel Travel Rule Message + +Cancels a travel rule message. The TRM status will be updated to cancelled and the partner will be notified. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + TRLinkCancelTrmRequest trLinkCancelTrmRequest = new TRLinkCancelTrmRequest(); // TRLinkCancelTrmRequest | + UUID customerIntegrationId = UUID.randomUUID(); // UUID | Customer integration unique identifier + String trmId = "trmId_example"; // String | Travel Rule Message unique identifier + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.trLink().cancelTRLinkTrm(trLinkCancelTrmRequest, customerIntegrationId, trmId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#cancelTRLinkTrm"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#cancelTRLinkTrm"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **trLinkCancelTrmRequest** | [**TRLinkCancelTrmRequest**](TRLinkCancelTrmRequest.md)| | | +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | +| **trmId** | **String**| Travel Rule Message unique identifier | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + +## connectTRLinkIntegration + +> CompletableFuture> connectTRLinkIntegration connectTRLinkIntegration(trLinkConnectIntegrationRequest, customerIntegrationId, idempotencyKey) + +Connect customer integration + +Connects a customer integration by providing API credentials. Stores encrypted credentials and enables the integration for use. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + TRLinkConnectIntegrationRequest trLinkConnectIntegrationRequest = new TRLinkConnectIntegrationRequest(); // TRLinkConnectIntegrationRequest | + UUID customerIntegrationId = UUID.fromString("123e4567-e89b-12d3-a456-426614174000"); // UUID | Customer integration unique identifier + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.trLink().connectTRLinkIntegration(trLinkConnectIntegrationRequest, customerIntegrationId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#connectTRLinkIntegration"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#connectTRLinkIntegration"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **trLinkConnectIntegrationRequest** | [**TRLinkConnectIntegrationRequest**](TRLinkConnectIntegrationRequest.md)| | | +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + +## createTRLinkCustomer + +> CompletableFuture> createTRLinkCustomer createTRLinkCustomer(trLinkCreateCustomerRequest, idempotencyKey) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + TRLinkCreateCustomerRequest trLinkCreateCustomerRequest = new TRLinkCreateCustomerRequest(); // TRLinkCreateCustomerRequest | + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.trLink().createTRLinkCustomer(trLinkCreateCustomerRequest, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#createTRLinkCustomer"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#createTRLinkCustomer"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **trLinkCreateCustomerRequest** | [**TRLinkCreateCustomerRequest**](TRLinkCreateCustomerRequest.md)| | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + +## createTRLinkIntegration + +> CompletableFuture> createTRLinkIntegration createTRLinkIntegration(trLinkCreateIntegrationRequest, idempotencyKey) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + TRLinkCreateIntegrationRequest trLinkCreateIntegrationRequest = new TRLinkCreateIntegrationRequest(); // TRLinkCreateIntegrationRequest | + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.trLink().createTRLinkIntegration(trLinkCreateIntegrationRequest, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#createTRLinkIntegration"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#createTRLinkIntegration"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **trLinkCreateIntegrationRequest** | [**TRLinkCreateIntegrationRequest**](TRLinkCreateIntegrationRequest.md)| | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + +## createTRLinkTrm + +> CompletableFuture> createTRLinkTrm createTRLinkTrm(trLinkCreateTrmRequest, customerIntegrationId, idempotencyKey) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + TRLinkCreateTrmRequest trLinkCreateTrmRequest = new TRLinkCreateTrmRequest(); // TRLinkCreateTrmRequest | + UUID customerIntegrationId = UUID.randomUUID(); // UUID | Customer integration unique identifier + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.trLink().createTRLinkTrm(trLinkCreateTrmRequest, customerIntegrationId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#createTRLinkTrm"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#createTRLinkTrm"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **trLinkCreateTrmRequest** | [**TRLinkCreateTrmRequest**](TRLinkCreateTrmRequest.md)| | | +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + +## deleteTRLinkCustomer + +> CompletableFuture> deleteTRLinkCustomer deleteTRLinkCustomer(customerId) + +Delete customer + +Deletes a customer and all associated integrations. This action cannot be undone. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerId = UUID.fromString("550e8400-e29b-41d4-a716-446655440001"); // UUID | Customer unique identifier + try { + CompletableFuture> response = fireblocks.trLink().deleteTRLinkCustomer(customerId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#deleteTRLinkCustomer"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#deleteTRLinkCustomer"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerId** | **UUID**| Customer unique identifier | | + +### Return type + + +CompletableFuture> + +### 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 -
    | + + +## disconnectTRLinkIntegration + +> CompletableFuture> disconnectTRLinkIntegration disconnectTRLinkIntegration(customerIntegrationId) + +Disconnect customer integration + +Disconnects a customer integration by removing stored credentials. The integration record is deleted and cannot be recovered. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerIntegrationId = UUID.fromString("123e4567-e89b-12d3-a456-426614174000"); // UUID | Customer integration unique identifier + try { + CompletableFuture> response = fireblocks.trLink().disconnectTRLinkIntegration(customerIntegrationId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#disconnectTRLinkIntegration"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#disconnectTRLinkIntegration"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | + +### Return type + + +CompletableFuture> + +### 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 -
    | + + +## getTRLinkCustomerById + +> CompletableFuture> getTRLinkCustomerById getTRLinkCustomerById(customerId) + +Get customer by ID + +Retrieves detailed information about a specific customer by their unique identifier. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerId = UUID.fromString("550e8400-e29b-41d4-a716-446655440001"); // UUID | Customer unique identifier + try { + CompletableFuture> response = fireblocks.trLink().getTRLinkCustomerById(customerId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#getTRLinkCustomerById"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#getTRLinkCustomerById"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerId** | **UUID**| Customer unique identifier | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getTRLinkCustomerIntegrationById + +> CompletableFuture> getTRLinkCustomerIntegrationById getTRLinkCustomerIntegrationById(customerId, customerIntegrationId) + +Get customer integration by ID + +Retrieves detailed information about a specific customer integration. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerId = UUID.fromString("550e8400-e29b-41d4-a716-446655440001"); // UUID | Customer unique identifier + UUID customerIntegrationId = UUID.fromString("123e4567-e89b-12d3-a456-426614174000"); // UUID | Customer integration unique identifier + try { + CompletableFuture> response = fireblocks.trLink().getTRLinkCustomerIntegrationById(customerId, customerIntegrationId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#getTRLinkCustomerIntegrationById"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#getTRLinkCustomerIntegrationById"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerId** | **UUID**| Customer unique identifier | | +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getTRLinkCustomerIntegrations + +> CompletableFuture>> getTRLinkCustomerIntegrations getTRLinkCustomerIntegrations(customerId) + +Get customer integrations + +Retrieves all TRLink integrations for a specific customer. Returns a list of partner integrations configured for Travel Rule compliance. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerId = UUID.fromString("550e8400-e29b-41d4-a716-446655440001"); // UUID | Customer unique identifier + try { + CompletableFuture>> response = fireblocks.trLink().getTRLinkCustomerIntegrations(customerId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#getTRLinkCustomerIntegrations"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#getTRLinkCustomerIntegrations"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerId** | **UUID**| Customer unique identifier | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getTRLinkCustomers + +> CompletableFuture>> getTRLinkCustomers getTRLinkCustomers() + +Get all customers + +Retrieves all customers associated with the authenticated tenant. Returns a list of legal entities configured for Travel Rule compliance. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + try { + CompletableFuture>> response = fireblocks.trLink().getTRLinkCustomers(); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#getTRLinkCustomers"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#getTRLinkCustomers"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getTRLinkIntegrationPublicKey + +> CompletableFuture> getTRLinkIntegrationPublicKey getTRLinkIntegrationPublicKey(customerIntegrationId) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerIntegrationId = UUID.fromString("123e4567-e89b-12d3-a456-426614174000"); // UUID | Customer integration unique identifier + try { + CompletableFuture> response = fireblocks.trLink().getTRLinkIntegrationPublicKey(customerIntegrationId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#getTRLinkIntegrationPublicKey"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#getTRLinkIntegrationPublicKey"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getTRLinkPartners + +> CompletableFuture>> getTRLinkPartners getTRLinkPartners() + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + try { + CompletableFuture>> response = fireblocks.trLink().getTRLinkPartners(); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#getTRLinkPartners"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#getTRLinkPartners"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getTRLinkPolicy + +> CompletableFuture> getTRLinkPolicy getTRLinkPolicy() + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + try { + CompletableFuture> response = fireblocks.trLink().getTRLinkPolicy(); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#getTRLinkPolicy"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#getTRLinkPolicy"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getTRLinkSupportedAsset + +> CompletableFuture> getTRLinkSupportedAsset getTRLinkSupportedAsset(customerIntegrationId, assetId) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerIntegrationId = UUID.randomUUID(); // UUID | Customer integration unique identifier + String assetId = "assetId_example"; // String | Fireblocks asset ID + try { + CompletableFuture> response = fireblocks.trLink().getTRLinkSupportedAsset(customerIntegrationId, assetId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#getTRLinkSupportedAsset"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#getTRLinkSupportedAsset"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | +| **assetId** | **String**| Fireblocks asset ID | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getTRLinkTrmById + +> CompletableFuture> getTRLinkTrmById getTRLinkTrmById(customerIntegrationId, trmId) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerIntegrationId = UUID.randomUUID(); // UUID | Customer integration unique identifier + String trmId = "trmId_example"; // String | Travel Rule Message unique identifier + try { + CompletableFuture> response = fireblocks.trLink().getTRLinkTrmById(customerIntegrationId, trmId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#getTRLinkTrmById"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#getTRLinkTrmById"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | +| **trmId** | **String**| Travel Rule Message unique identifier | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## getTRLinkVaspById + +> CompletableFuture> getTRLinkVaspById getTRLinkVaspById(customerIntegrationId, vaspId) + +Get VASP by ID + +Retrieves detailed information about a specific VASP by its unique identifier. Returns VASP details including public key if available. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerIntegrationId = UUID.randomUUID(); // UUID | Customer integration unique identifier + String vaspId = "vaspId_example"; // String | VASP unique identifier (DID format) + try { + CompletableFuture> response = fireblocks.trLink().getTRLinkVaspById(customerIntegrationId, vaspId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#getTRLinkVaspById"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#getTRLinkVaspById"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | +| **vaspId** | **String**| VASP unique identifier (DID format) | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## listTRLinkSupportedAssets + +> CompletableFuture> listTRLinkSupportedAssets listTRLinkSupportedAssets(customerIntegrationId, pageSize, pageCursor) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerIntegrationId = UUID.randomUUID(); // UUID | Customer integration unique identifier + Integer pageSize = 100; // Integer | Number of results per page (max 100) + String pageCursor = "pageCursor_example"; // String | Cursor for pagination (from previous response) + try { + CompletableFuture> response = fireblocks.trLink().listTRLinkSupportedAssets(customerIntegrationId, pageSize, pageCursor); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#listTRLinkSupportedAssets"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#listTRLinkSupportedAssets"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | +| **pageSize** | **Integer**| Number of results per page (max 100) | [optional] [default to 100] | +| **pageCursor** | **String**| Cursor for pagination (from previous response) | [optional] | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## listTRLinkVasps + +> CompletableFuture> listTRLinkVasps listTRLinkVasps(customerIntegrationId, pageSize, pageCursor) + +List VASPs + +Retrieves a paginated list of VASPs (Virtual Asset Service Providers) available through the partner integration. Supports cursor-based pagination. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerIntegrationId = UUID.randomUUID(); // UUID | Customer integration unique identifier + Integer pageSize = 100; // Integer | Number of results per page (max 100) + String pageCursor = "pageCursor_example"; // String | Cursor for pagination (from previous response) + try { + CompletableFuture> response = fireblocks.trLink().listTRLinkVasps(customerIntegrationId, pageSize, pageCursor); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#listTRLinkVasps"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#listTRLinkVasps"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | +| **pageSize** | **Integer**| Number of results per page (max 100) | [optional] [default to 100] | +| **pageCursor** | **String**| Cursor for pagination (from previous response) | [optional] | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + +## redirectTRLinkTrm + +> CompletableFuture> redirectTRLinkTrm redirectTRLinkTrm(trLinkRedirectTrmRequest, customerIntegrationId, trmId, idempotencyKey) + +Redirect Travel Rule Message + +Redirects a Travel Rule Message to a subsidiary VASP. This operation requires the partner to support nested VASPs functionality. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + TRLinkRedirectTrmRequest trLinkRedirectTrmRequest = new TRLinkRedirectTrmRequest(); // TRLinkRedirectTrmRequest | + UUID customerIntegrationId = UUID.randomUUID(); // UUID | Customer integration unique identifier + String trmId = "trmId_example"; // String | Travel Rule Message unique identifier + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.trLink().redirectTRLinkTrm(trLinkRedirectTrmRequest, customerIntegrationId, trmId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#redirectTRLinkTrm"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#redirectTRLinkTrm"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **trLinkRedirectTrmRequest** | [**TRLinkRedirectTrmRequest**](TRLinkRedirectTrmRequest.md)| | | +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | +| **trmId** | **String**| Travel Rule Message unique identifier | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + +## setTRLinkDestinationTravelRuleMessageId + +> CompletableFuture> setTRLinkDestinationTravelRuleMessageId setTRLinkDestinationTravelRuleMessageId(trLinkSetDestinationTravelRuleMessageIdRequest, txId, idempotencyKey) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + TRLinkSetDestinationTravelRuleMessageIdRequest trLinkSetDestinationTravelRuleMessageIdRequest = new TRLinkSetDestinationTravelRuleMessageIdRequest(); // TRLinkSetDestinationTravelRuleMessageIdRequest | + UUID txId = UUID.randomUUID(); // UUID | Fireblocks transaction unique identifier + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.trLink().setTRLinkDestinationTravelRuleMessageId(trLinkSetDestinationTravelRuleMessageIdRequest, txId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#setTRLinkDestinationTravelRuleMessageId"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#setTRLinkDestinationTravelRuleMessageId"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **trLinkSetDestinationTravelRuleMessageIdRequest** | [**TRLinkSetDestinationTravelRuleMessageIdRequest**](TRLinkSetDestinationTravelRuleMessageIdRequest.md)| | | +| **txId** | **UUID**| Fireblocks transaction unique identifier | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + +## setTRLinkTransactionTravelRuleMessageId + +> CompletableFuture> setTRLinkTransactionTravelRuleMessageId setTRLinkTransactionTravelRuleMessageId(trLinkSetTransactionTravelRuleMessageIdRequest, txId, idempotencyKey) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + TRLinkSetTransactionTravelRuleMessageIdRequest trLinkSetTransactionTravelRuleMessageIdRequest = new TRLinkSetTransactionTravelRuleMessageIdRequest(); // TRLinkSetTransactionTravelRuleMessageIdRequest | + UUID txId = UUID.randomUUID(); // UUID | Fireblocks transaction unique identifier + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.trLink().setTRLinkTransactionTravelRuleMessageId(trLinkSetTransactionTravelRuleMessageIdRequest, txId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#setTRLinkTransactionTravelRuleMessageId"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#setTRLinkTransactionTravelRuleMessageId"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **trLinkSetTransactionTravelRuleMessageIdRequest** | [**TRLinkSetTransactionTravelRuleMessageIdRequest**](TRLinkSetTransactionTravelRuleMessageIdRequest.md)| | | +| **txId** | **UUID**| Fireblocks transaction unique identifier | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + +## testTRLinkIntegrationConnection + +> CompletableFuture> testTRLinkIntegrationConnection testTRLinkIntegrationConnection(customerIntegrationId, idempotencyKey) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID customerIntegrationId = UUID.fromString("123e4567-e89b-12d3-a456-426614174000"); // UUID | Customer integration unique identifier + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.trLink().testTRLinkIntegrationConnection(customerIntegrationId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#testTRLinkIntegrationConnection"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#testTRLinkIntegrationConnection"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **customerIntegrationId** | **UUID**| Customer integration unique identifier | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + +## updateTRLinkCustomer + +> CompletableFuture> updateTRLinkCustomer updateTRLinkCustomer(trLinkUpdateCustomerRequest, customerId, idempotencyKey) + +Update customer + +Updates an existing customer's information. All fields are optional - only provided fields will be updated. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TrLinkApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + TRLinkUpdateCustomerRequest trLinkUpdateCustomerRequest = new TRLinkUpdateCustomerRequest(); // TRLinkUpdateCustomerRequest | + UUID customerId = UUID.fromString("550e8400-e29b-41d4-a716-446655440001"); // UUID | Customer unique identifier + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.trLink().updateTRLinkCustomer(trLinkUpdateCustomerRequest, customerId, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TrLinkApi#updateTRLinkCustomer"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TrLinkApi#updateTRLinkCustomer"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **trLinkUpdateCustomerRequest** | [**TRLinkUpdateCustomerRequest**](TRLinkUpdateCustomerRequest.md)| | | +| **customerId** | **UUID**| Customer unique identifier | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + diff --git a/docs/TradingAccountType.md b/docs/TradingAccountType.md index b1ebca4d..d3c4f9f1 100644 --- a/docs/TradingAccountType.md +++ b/docs/TradingAccountType.md @@ -33,5 +33,27 @@ * `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"`) + diff --git a/docs/TradingBetaApi.md b/docs/TradingBetaApi.md index 32e4f6dd..0c204c85 100644 --- a/docs/TradingBetaApi.md +++ b/docs/TradingBetaApi.md @@ -18,7 +18,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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). ### Example @@ -93,10 +93,13 @@ No authorization required ### HTTP response details | 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 -
    | ## createQuote @@ -105,7 +108,7 @@ No authorization required 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). ### Example @@ -180,10 +183,13 @@ No authorization required ### HTTP response details | 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 -
    | ## getOrder @@ -192,7 +198,7 @@ No authorization required 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). ### Example @@ -265,10 +271,13 @@ No authorization required ### HTTP response details | 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 -
    | ## getOrders @@ -277,7 +286,7 @@ No authorization required 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). ### Example @@ -366,10 +375,12 @@ No authorization required ### HTTP response details | 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 -
    | ## getTradingProviders @@ -378,7 +389,7 @@ No authorization required 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). ### Example @@ -453,7 +464,10 @@ No authorization required ### HTTP response details | 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 -
    | diff --git a/docs/TradingErrorResponseError.md b/docs/TradingErrorResponseError.md deleted file mode 100644 index 6b1c3382..00000000 --- a/docs/TradingErrorResponseError.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# TradingErrorResponseError - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | | | -|**message** | **String** | | | -|**errorCode** | **ErrorCodes** | | [optional] | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| INTERNAL | "INTERNAL" | -| AUTHENTICATION | "AUTHENTICATION" | -| AUTHORIZATION | "AUTHORIZATION" | -| VALIDATION | "VALIDATION" | -| NOT_FOUND | "NOT_FOUND" | -| UNPROCESSABLE_ENTITY | "UNPROCESSABLE_ENTITY" | -| FORBIDDEN | "FORBIDDEN" | - - - diff --git a/docs/TradingErrorSchema.md b/docs/TradingErrorSchema.md new file mode 100644 index 00000000..7994c318 --- /dev/null +++ b/docs/TradingErrorSchema.md @@ -0,0 +1,15 @@ + + +# TradingErrorSchema + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**message** | **String** | | | +|**code** | **BigDecimal** | | | +|**descriptor** | **String** | | [optional] | + + + diff --git a/docs/TransactionRequest.md b/docs/TransactionRequest.md index fcf9a994..00bc703d 100644 --- a/docs/TransactionRequest.md +++ b/docs/TransactionRequest.md @@ -9,15 +9,15 @@ |------------ | ------------- | ------------- | -------------| |**operation** | **TransactionOperation** | | [optional] | |**note** | **String** | Custom note, not sent to the blockchain, to describe the transaction at your Fireblocks workspace. | [optional] | -|**externalTxId** | **String** | **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] | -|**assetId** | **String** | 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] | +|**externalTxId** | **String** | 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] | +|**assetId** | **String** | 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] | |**treatAsGrossAmount** | **Boolean** | \"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] | |**forceSweep** | **Boolean** | 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] | -|**feeLevel** | [**FeeLevelEnum**](#FeeLevelEnum) | 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] | +|**feeLevel** | [**FeeLevelEnum**](#FeeLevelEnum) | 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] | |**priorityFee** | [**TransactionRequestPriorityFee**](TransactionRequestPriorityFee.md) | | [optional] | |**failOnLowFee** | **Boolean** | 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 30cf849c..ddf67343 100644 --- a/docs/TransactionResponse.md +++ b/docs/TransactionResponse.md @@ -38,6 +38,7 @@ |**authorizationInfo** | [**AuthorizationInfo**](AuthorizationInfo.md) | | [optional] | |**exchangeTxId** | **String** | If the transaction originated from an exchange, this is the ID of this transaction at the exchange. | [optional] | |**customerRefId** | **String** | The ID for AML providers to associate the owner of funds with transactions. | [optional] | +|**travelRuleMessageId** | **String** | 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] | |**amlScreeningResult** | [**AmlScreeningResult**](AmlScreeningResult.md) | | [optional] | |**complianceResults** | [**ComplianceResults**](ComplianceResults.md) | | [optional] | |**notBroadcastByFireblocks** | **Boolean** | Indicates the transaction was not broadcast by Fireblocks | [optional] | @@ -52,7 +53,7 @@ |**index** | **BigDecimal** | 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] | |**rewardInfo** | [**RewardInfo**](RewardInfo.md) | | [optional] | |**feePayerInfo** | [**FeePayerInfo**](FeePayerInfo.md) | | [optional] | -|**systemMessages** | [**SystemMessageInfo**](SystemMessageInfo.md) | | [optional] | +|**systemMessages** | [**List<SystemMessageInfo>**](SystemMessageInfo.md) | | [optional] | |**addressType** | [**AddressTypeEnum**](#AddressTypeEnum) | | [optional] | |**requestedAmount** | **BigDecimal** | The amount requested by the user. Deprecated - please use the `amountInfo` field for accuracy. | [optional] | |**amount** | **BigDecimal** | 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 217c9e2f..4f507d84 100644 --- a/docs/TransactionResponseDestination.md +++ b/docs/TransactionResponseDestination.md @@ -9,6 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**amount** | **String** | The amount to be sent to this destination. | [optional] | |**amountUSD** | **String** | The USD value of the requested amount. | [optional] | +|**travelRuleMessageId** | **String** | 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] | |**amlScreeningResult** | [**AmlScreeningResult**](AmlScreeningResult.md) | | [optional] | |**destination** | [**DestinationTransferPeerPathResponse**](DestinationTransferPeerPathResponse.md) | | [optional] | |**authorizationInfo** | [**AuthorizationInfo**](AuthorizationInfo.md) | | [optional] | diff --git a/docs/TransactionsApi.md b/docs/TransactionsApi.md index 9ab51abb..ed263397 100644 --- a/docs/TransactionsApi.md +++ b/docs/TransactionsApi.md @@ -6,16 +6,15 @@ All URIs are relative to https://developers.fireblocks.com/reference/ |------------- | ------------- | -------------| | [**cancelTransaction**](TransactionsApi.md#cancelTransaction) | **POST** /transactions/{txId}/cancel | Cancel a transaction | | [**createTransaction**](TransactionsApi.md#createTransaction) | **POST** /transactions | Create a new transaction | -| [**dropTransaction**](TransactionsApi.md#dropTransaction) | **POST** /transactions/{txId}/drop | Drop ETH transaction by ID | +| [**dropTransaction**](TransactionsApi.md#dropTransaction) | **POST** /transactions/{txId}/drop | Drop ETH (EVM) transaction by ID | | [**estimateNetworkFee**](TransactionsApi.md#estimateNetworkFee) | **GET** /estimate_network_fee | Estimate the required fee for an asset | | [**estimateTransactionFee**](TransactionsApi.md#estimateTransactionFee) | **POST** /transactions/estimate_fee | Estimate transaction fee | | [**freezeTransaction**](TransactionsApi.md#freezeTransaction) | **POST** /transactions/{txId}/freeze | Freeze a transaction | -| [**getTransaction**](TransactionsApi.md#getTransaction) | **GET** /transactions/{txId} | Find a specific transaction by Fireblocks transaction ID | -| [**getTransactionByExternalId**](TransactionsApi.md#getTransactionByExternalId) | **GET** /transactions/external_tx_id/{externalTxId} | Find a specific transaction by external transaction ID | -| [**getTransactions**](TransactionsApi.md#getTransactions) | **GET** /transactions | List transaction history | -| [**rescanTransactionsBeta**](TransactionsApi.md#rescanTransactionsBeta) | **POST** /transactions/rescan | rescan array of transactions | +| [**getTransaction**](TransactionsApi.md#getTransaction) | **GET** /transactions/{txId} | Get a specific transaction by Fireblocks transaction ID | +| [**getTransactionByExternalId**](TransactionsApi.md#getTransactionByExternalId) | **GET** /transactions/external_tx_id/{externalTxId} | Get a specific transaction by external transaction ID | +| [**getTransactions**](TransactionsApi.md#getTransactions) | **GET** /transactions | Get transaction history | | [**setConfirmationThresholdByTransactionHash**](TransactionsApi.md#setConfirmationThresholdByTransactionHash) | **POST** /txHash/{txHash}/set_confirmation_threshold | Set confirmation threshold by transaction hash | -| [**setTransactionConfirmationThreshold**](TransactionsApi.md#setTransactionConfirmationThreshold) | **POST** /transactions/{txId}/set_confirmation_threshold | Set confirmation threshold by transaction ID | +| [**setTransactionConfirmationThreshold**](TransactionsApi.md#setTransactionConfirmationThreshold) | **POST** /transactions/{txId}/set_confirmation_threshold | Set confirmation threshold by Fireblocks Transaction ID | | [**unfreezeTransaction**](TransactionsApi.md#unfreezeTransaction) | **POST** /transactions/{txId}/unfreeze | Unfreeze a transaction | | [**validateAddress**](TransactionsApi.md#validateAddress) | **GET** /transactions/validate_address/{assetId}/{address} | Validate destination address | @@ -27,7 +26,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -114,7 +113,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 @@ -199,9 +198,9 @@ No authorization required > CompletableFuture> dropTransaction dropTransaction(txId, dropTransactionRequest, xEndUserWalletId, idempotencyKey) -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -290,7 +289,7 @@ 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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -373,7 +372,7 @@ 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). </br>Endpoint Permission: Admin, Signer, Approver, Editor. ### Example @@ -458,7 +457,7 @@ No authorization required 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 </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -542,9 +541,9 @@ No authorization required > CompletableFuture> getTransaction getTransaction(txId) -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 </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -626,9 +625,9 @@ No authorization required > CompletableFuture> getTransactionByExternalId getTransactionByExternalId(externalTxId) -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -709,9 +708,9 @@ No authorization required > CompletableFuture>> getTransactions getTransactions(next, prev, before, after, status, orderBy, sort, limit, sourceType, sourceId, destType, destId, assets, txHash, sourceWalletId, destWalletId) -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. ### Example @@ -738,10 +737,10 @@ public class Example { String next = "next_example"; // String | Cursor returned in next-page header that can be used to fetch the next page of results String prev = "prev_example"; // String | Cursor returned in prev-page header that can be used to fetch the previous page of results - String before = "before_example"; // String | Unix timestamp in milliseconds. Returns only transactions created before the specified date - String after = "after_example"; // String | Unix timestamp in milliseconds. Returns only transactions created after the specified date + String before = "before_example"; // String | 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. + String after = "after_example"; // String | 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. String status = "status_example"; // String | You can filter by one of the statuses. - String orderBy = "createdAt"; // String | 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. + String orderBy = "createdAt"; // String | 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. String sort = "ASC"; // String | The direction to order the results by Integer limit = 200; // Integer | Limits the number of results. If not provided, a limit of 200 will be used. The maximum allowed limit is 500 String sourceType = "VAULT_ACCOUNT"; // String | The source type of the transaction @@ -782,10 +781,10 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **next** | **String**| Cursor returned in next-page header that can be used to fetch the next page of results | [optional] | | **prev** | **String**| Cursor returned in prev-page header that can be used to fetch the previous page of results | [optional] | -| **before** | **String**| Unix timestamp in milliseconds. Returns only transactions created before the specified date | [optional] | -| **after** | **String**| Unix timestamp in milliseconds. Returns only transactions created after the specified date | [optional] | +| **before** | **String**| 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** | **String**| 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** | **String**| You can filter by one of the statuses. | [optional] | -| **orderBy** | **String**| 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] [enum: createdAt, lastUpdated] | +| **orderBy** | **String**| 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] [enum: createdAt, lastUpdated] | | **sort** | **String**| The direction to order the results by | [optional] [enum: ASC, DESC] | | **limit** | **Integer**| 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] | | **sourceType** | **String**| The source type of the transaction | [optional] [enum: VAULT_ACCOUNT, EXCHANGE_ACCOUNT, INTERNAL_WALLET, EXTERNAL_WALLET, CONTRACT, FIAT_ACCOUNT, NETWORK_CONNECTION, COMPOUND, UNKNOWN, GAS_STATION, END_USER_WALLET] | @@ -818,98 +817,13 @@ No authorization required | **0** | Error Response | * X-Request-ID -
    | -## rescanTransactionsBeta - -> CompletableFuture>> rescanTransactionsBeta rescanTransactionsBeta(rescanTransaction, idempotencyKey) - -rescan array of transactions - -rescan transaction by running an async job. </br> **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 - -```java -// Import classes: -import com.fireblocks.sdk.ApiClient; -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.BasePath; -import com.fireblocks.sdk.Fireblocks; -import com.fireblocks.sdk.ConfigurationOptions; -import com.fireblocks.sdk.model.*; -import com.fireblocks.sdk.api.TransactionsApi; -import java.util.concurrent.CompletableFuture; -import java.util.concurrent.ExecutionException; - -public class Example { - public static void main(String[] args) { - ConfigurationOptions configurationOptions = new ConfigurationOptions() - .basePath(BasePath.Sandbox) - .apiKey("my-api-key") - .secretKey("my-secret-key"); - Fireblocks fireblocks = new Fireblocks(configurationOptions); - - List rescanTransaction = Arrays.asList(); // List | - String idempotencyKey = "idempotencyKey_example"; // String | 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. - try { - CompletableFuture>> response = fireblocks.transactions().rescanTransactionsBeta(rescanTransaction, idempotencyKey); - System.out.println("Status code: " + response.get().getStatusCode()); - System.out.println("Response headers: " + response.get().getHeaders()); - System.out.println("Response body: " + response.get().getData()); - } catch (InterruptedException | ExecutionException e) { - ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling TransactionsApi#rescanTransactionsBeta"); - System.err.println("Status code: " + apiException.getCode()); - System.err.println("Response headers: " + apiException.getResponseHeaders()); - System.err.println("Reason: " + apiException.getResponseBody()); - e.printStackTrace(); - } catch (ApiException e) { - System.err.println("Exception when calling TransactionsApi#rescanTransactionsBeta"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Response headers: " + e.getResponseHeaders()); - System.err.println("Reason: " + e.getResponseBody()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **rescanTransaction** | [**List<RescanTransaction>**](RescanTransaction.md)| | | -| **idempotencyKey** | **String**| 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 - -CompletableFuture> - - -### 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 -
    | - - ## setConfirmationThresholdByTransactionHash > CompletableFuture> setConfirmationThresholdByTransactionHash setConfirmationThresholdByTransactionHash(txHash, setConfirmationsThresholdRequest, idempotencyKey) 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -994,9 +908,9 @@ No authorization required > CompletableFuture> setTransactionConfirmationThreshold setTransactionConfirmationThreshold(txId, setConfirmationsThresholdRequest, idempotencyKey) -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -1083,7 +997,7 @@ 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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -1169,7 +1083,7 @@ 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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/TravelRuleApi.md b/docs/TravelRuleApi.md index 0297db57..2f856111 100644 --- a/docs/TravelRuleApi.md +++ b/docs/TravelRuleApi.md @@ -4,6 +4,8 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| +| [**createTrustProofOfAddress**](TravelRuleApi.md#createTrustProofOfAddress) | **POST** /screening/travel_rule/providers/trust/proof_of_address | Create Trust Network Proof of Address | +| [**getTrustProofOfAddress**](TravelRuleApi.md#getTrustProofOfAddress) | **GET** /screening/travel_rule/providers/trust/proof_of_address/{transactionId} | Retrieve Trust Network Proof of Address Signature | | [**getVASPByDID**](TravelRuleApi.md#getVASPByDID) | **GET** /screening/travel_rule/vasp/{did} | Get VASP details | | [**getVASPs**](TravelRuleApi.md#getVASPs) | **GET** /screening/travel_rule/vasp | Get All VASPs | | [**getVaspForVault**](TravelRuleApi.md#getVaspForVault) | **GET** /screening/travel_rule/vault/{vaultAccountId}/vasp | Get assigned VASP to vault | @@ -13,6 +15,174 @@ All URIs are relative to https://developers.fireblocks.com/reference/ +## createTrustProofOfAddress + +> CompletableFuture> createTrustProofOfAddress createTrustProofOfAddress(trustProofOfAddressRequest, idempotencyKey) + +Create Trust Network Proof of Address + +Creates a cryptographic proof of address ownership for TRUST network. + +### Example + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TravelRuleApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + TrustProofOfAddressRequest trustProofOfAddressRequest = new TrustProofOfAddressRequest(); // TrustProofOfAddressRequest | + String idempotencyKey = "idempotencyKey_example"; // String | 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. + try { + CompletableFuture> response = fireblocks.travelRule().createTrustProofOfAddress(trustProofOfAddressRequest, idempotencyKey); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TravelRuleApi#createTrustProofOfAddress"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TravelRuleApi#createTrustProofOfAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **trustProofOfAddressRequest** | [**TrustProofOfAddressRequest**](TrustProofOfAddressRequest.md)| | | +| **idempotencyKey** | **String**| 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 + +CompletableFuture> + + +### 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 -
    | + + +## getTrustProofOfAddress + +> CompletableFuture> getTrustProofOfAddress getTrustProofOfAddress(transactionId) + +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 + +```java +// Import classes: +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.BasePath; +import com.fireblocks.sdk.Fireblocks; +import com.fireblocks.sdk.ConfigurationOptions; +import com.fireblocks.sdk.model.*; +import com.fireblocks.sdk.api.TravelRuleApi; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +public class Example { + public static void main(String[] args) { + ConfigurationOptions configurationOptions = new ConfigurationOptions() + .basePath(BasePath.Sandbox) + .apiKey("my-api-key") + .secretKey("my-secret-key"); + Fireblocks fireblocks = new Fireblocks(configurationOptions); + + UUID transactionId = UUID.fromString("550e8400-e29b-41d4-a716-446655440000"); // UUID | Fireblocks transaction ID (UUID format) + try { + CompletableFuture> response = fireblocks.travelRule().getTrustProofOfAddress(transactionId); + System.out.println("Status code: " + response.get().getStatusCode()); + System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); + } catch (InterruptedException | ExecutionException e) { + ApiException apiException = (ApiException)e.getCause(); + System.err.println("Exception when calling TravelRuleApi#getTrustProofOfAddress"); + System.err.println("Status code: " + apiException.getCode()); + System.err.println("Response headers: " + apiException.getResponseHeaders()); + System.err.println("Reason: " + apiException.getResponseBody()); + e.printStackTrace(); + } catch (ApiException e) { + System.err.println("Exception when calling TravelRuleApi#getTrustProofOfAddress"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Response headers: " + e.getResponseHeaders()); + System.err.println("Reason: " + e.getResponseBody()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **transactionId** | **UUID**| Fireblocks transaction ID (UUID format) | | + +### Return type + +CompletableFuture> + + +### 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 -
    | + + ## getVASPByDID > CompletableFuture> getVASPByDID getVASPByDID(did, fields) diff --git a/docs/TrustProofOfAddressCreateResponse.md b/docs/TrustProofOfAddressCreateResponse.md new file mode 100644 index 00000000..3d5bcf10 --- /dev/null +++ b/docs/TrustProofOfAddressCreateResponse.md @@ -0,0 +1,15 @@ + + +# TrustProofOfAddressCreateResponse + +Response from creating a proof of address transaction + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**transactionId** | **UUID** | Transaction ID from Fireblocks (UUID format) | | +|**status** | **TypedMessageTransactionStatusEnum** | | | + + + diff --git a/docs/TrustProofOfAddressRequest.md b/docs/TrustProofOfAddressRequest.md new file mode 100644 index 00000000..7ec499c4 --- /dev/null +++ b/docs/TrustProofOfAddressRequest.md @@ -0,0 +1,17 @@ + + +# TrustProofOfAddressRequest + +Request to create a cryptographic proof of address ownership for TRUST network compliance + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**vaultAccountId** | **String** | The ID of the vault account. | | +|**asset** | **String** | The asset identifier for which proof of address is being created. | | +|**prefix** | **String** | The prefix to be used for signing messages. | | +|**trustUuid** | **UUID** | A unique identifier (UUID) obtained from TRUST (CreateAddressOwnership) | | + + + diff --git a/docs/TrustProofOfAddressResponse.md b/docs/TrustProofOfAddressResponse.md new file mode 100644 index 00000000..3d1f0a50 --- /dev/null +++ b/docs/TrustProofOfAddressResponse.md @@ -0,0 +1,16 @@ + + +# TrustProofOfAddressResponse + +Response containing the TRUST-compatible encoded signature + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**transactionId** | **UUID** | Transaction ID from Fireblocks (UUID format) | | +|**status** | **TypedMessageTransactionStatusEnum** | | | +|**signature** | **String** | TRUST-compatible encoded signature for proof of address verification. | | + + + diff --git a/docs/TypedMessageTransactionStatusEnum.md b/docs/TypedMessageTransactionStatusEnum.md new file mode 100644 index 00000000..3ede1862 --- /dev/null +++ b/docs/TypedMessageTransactionStatusEnum.md @@ -0,0 +1,41 @@ + + +# TypedMessageTransactionStatusEnum + +## 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"`) + + + diff --git a/docs/USWireAddress.md b/docs/USWireAddress.md index ad64f3ef..d7b97fbe 100644 --- a/docs/USWireAddress.md +++ b/docs/USWireAddress.md @@ -11,7 +11,7 @@ |**bankName** | **String** | Name of the bank. | [optional] | |**bankAccountNumber** | **String** | The bank account number for the wire transfer. | | |**routingNumber** | **String** | Routing number identifying the bank account. | | -|**bankAddress** | **String** | Address of the bank. | [optional] | +|**bankAddress** | [**BankAddress**](BankAddress.md) | | [optional] | diff --git a/docs/USWireDestination.md b/docs/USWireDestination.md index 5b29dd35..a6b715d4 100644 --- a/docs/USWireDestination.md +++ b/docs/USWireDestination.md @@ -16,7 +16,7 @@ | Name | Value | |---- | -----| -| US_WIRE | "US_WIRE" | +| WIRE | "WIRE" | diff --git a/docs/UnstakeRequest.md b/docs/UnstakeRequest.md index 92f13f98..fd0b80b9 100644 --- a/docs/UnstakeRequest.md +++ b/docs/UnstakeRequest.md @@ -11,7 +11,7 @@ |**fee** | **String** | Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required. | [optional] | |**feeLevel** | **FeeLevel** | | [optional] | |**txNote** | **String** | The note to associate with the transactions. | [optional] | -|**amount** | **String** | 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** | **String** | 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] | diff --git a/docs/UserGroupsBetaApi.md b/docs/UserGroupsBetaApi.md index 9129f976..a273d1e9 100644 --- a/docs/UserGroupsBetaApi.md +++ b/docs/UserGroupsBetaApi.md @@ -18,7 +18,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ Create user group -Create a new user group.</br> **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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -268,7 +268,7 @@ No authorization required List user groups -Get all user groups in your workspace. </br> **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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/ValidatedTransactionsForRescan.md b/docs/ValidatedTransactionsForRescan.md deleted file mode 100644 index a482eae9..00000000 --- a/docs/ValidatedTransactionsForRescan.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# ValidatedTransactionsForRescan - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**baseAsset** | **String** | Base asset symbol BTC_TEST, ETH_TEST5) | [optional] | -|**networkProtocol** | **String** | Netowrk protocol of the blockchain (BTC, ETH) | [optional] | -|**txHashes** | **List<String>** | Blockchain TX hashes | [optional] | - - - diff --git a/docs/VaultAccountsTagAttachmentsRequest.md b/docs/VaultAccountsTagAttachmentsRequest.md deleted file mode 100644 index def5361b..00000000 --- a/docs/VaultAccountsTagAttachmentsRequest.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# VaultAccountsTagAttachmentsRequest - - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**tagIds** | **List<UUID>** | The IDs of the tags to attach | | -|**vaultAccountIds** | **List<String>** | The IDs of the vault accounts to attach tags to | | - - - diff --git a/docs/VaultsApi.md b/docs/VaultsApi.md index 114fea37..367f4d2e 100644 --- a/docs/VaultsApi.md +++ b/docs/VaultsApi.md @@ -5,32 +5,31 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**activateAssetForVaultAccount**](VaultsApi.md#activateAssetForVaultAccount) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/activate | Activate a wallet in a vault account | -| [**attachOrDetachTagsFromVaultAccounts**](VaultsApi.md#attachOrDetachTagsFromVaultAccounts) | **POST** /vault/accounts/attached_tags | Attach or detach tags from a vault accounts | -| [**attachTagsToVaultAccounts**](VaultsApi.md#attachTagsToVaultAccounts) | **POST** /vault/accounts/attached_tags/attach | Attach tags to a vault accounts (deprecated) | +| [**attachOrDetachTagsFromVaultAccounts**](VaultsApi.md#attachOrDetachTagsFromVaultAccounts) | **POST** /vault/accounts/attached_tags | Attach or detach tags from vault accounts | | [**createLegacyAddress**](VaultsApi.md#createLegacyAddress) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/create_legacy | Convert a segwit address to legacy format | | [**createMultipleAccounts**](VaultsApi.md#createMultipleAccounts) | **POST** /vault/accounts/bulk | Bulk creation of new vault accounts | | [**createMultipleDepositAddresses**](VaultsApi.md#createMultipleDepositAddresses) | **POST** /vault/accounts/addresses/bulk | Bulk creation of new deposit addresses | | [**createVaultAccount**](VaultsApi.md#createVaultAccount) | **POST** /vault/accounts | Create a new vault account | -| [**createVaultAccountAsset**](VaultsApi.md#createVaultAccountAsset) | **POST** /vault/accounts/{vaultAccountId}/{assetId} | Create a new wallet | +| [**createVaultAccountAsset**](VaultsApi.md#createVaultAccountAsset) | **POST** /vault/accounts/{vaultAccountId}/{assetId} | Create a new vault wallet | | [**createVaultAccountAssetAddress**](VaultsApi.md#createVaultAccountAssetAddress) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses | Create new asset deposit address | -| [**detachTagsFromVaultAccounts**](VaultsApi.md#detachTagsFromVaultAccounts) | **POST** /vault/accounts/attached_tags/detach | Detach tags from a vault accounts (deprecated) | -| [**getAssetWallets**](VaultsApi.md#getAssetWallets) | **GET** /vault/asset_wallets | List asset wallets (Paginated) | -| [**getCreateMultipleDepositAddressesJobStatus**](VaultsApi.md#getCreateMultipleDepositAddressesJobStatus) | **GET** /vault/accounts/addresses/bulk/{jobId} | Get job status of bulk creation of new deposit addresses | +| [**getAssetWallets**](VaultsApi.md#getAssetWallets) | **GET** /vault/asset_wallets | Get vault wallets (Paginated) | +| [**getCreateMultipleDepositAddressesJobStatus**](VaultsApi.md#getCreateMultipleDepositAddressesJobStatus) | **GET** /vault/accounts/addresses/bulk/{jobId} | Get the job status of the bulk deposit address creation | | [**getCreateMultipleVaultAccountsJobStatus**](VaultsApi.md#getCreateMultipleVaultAccountsJobStatus) | **GET** /vault/accounts/bulk/{jobId} | Get job status of bulk creation of new vault accounts | -| [**getMaxSpendableAmount**](VaultsApi.md#getMaxSpendableAmount) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_spendable_amount | Get the maximum spendable amount in a single transaction. | -| [**getPagedVaultAccounts**](VaultsApi.md#getPagedVaultAccounts) | **GET** /vault/accounts_paged | List vault accounts (Paginated) | -| [**getPublicKeyInfo**](VaultsApi.md#getPublicKeyInfo) | **GET** /vault/public_key_info | Get the public key information | -| [**getPublicKeyInfoForAddress**](VaultsApi.md#getPublicKeyInfoForAddress) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/{change}/{addressIndex}/public_key_info | Get the public key for a vault account | +| [**getMaxBipIndexUsed**](VaultsApi.md#getMaxBipIndexUsed) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_bip_index_used | Get maximum BIP44 index used | +| [**getMaxSpendableAmount**](VaultsApi.md#getMaxSpendableAmount) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_spendable_amount | Get max spendable amount in a transaction | +| [**getPagedVaultAccounts**](VaultsApi.md#getPagedVaultAccounts) | **GET** /vault/accounts_paged | Get vault accounts (Paginated) | +| [**getPublicKeyInfo**](VaultsApi.md#getPublicKeyInfo) | **GET** /vault/public_key_info | Get the public key for a derivation path | +| [**getPublicKeyInfoForAddress**](VaultsApi.md#getPublicKeyInfoForAddress) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/{change}/{addressIndex}/public_key_info | Get an asset's public key | | [**getUnspentInputs**](VaultsApi.md#getUnspentInputs) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/unspent_inputs | Get UTXO unspent inputs information | -| [**getVaultAccount**](VaultsApi.md#getVaultAccount) | **GET** /vault/accounts/{vaultAccountId} | Find a vault account by ID | +| [**getVaultAccount**](VaultsApi.md#getVaultAccount) | **GET** /vault/accounts/{vaultAccountId} | Get a vault account by ID | | [**getVaultAccountAsset**](VaultsApi.md#getVaultAccountAsset) | **GET** /vault/accounts/{vaultAccountId}/{assetId} | Get the asset balance for a vault account | -| [**getVaultAccountAssetAddressesPaginated**](VaultsApi.md#getVaultAccountAssetAddressesPaginated) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | List addresses (Paginated) | +| [**getVaultAccountAssetAddressesPaginated**](VaultsApi.md#getVaultAccountAssetAddressesPaginated) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | Get addresses (Paginated) | | [**getVaultAssets**](VaultsApi.md#getVaultAssets) | **GET** /vault/assets | Get asset balance for chosen assets | -| [**getVaultBalanceByAsset**](VaultsApi.md#getVaultBalanceByAsset) | **GET** /vault/assets/{assetId} | Get vault balance by asset | +| [**getVaultBalanceByAsset**](VaultsApi.md#getVaultBalanceByAsset) | **GET** /vault/assets/{assetId} | Get vault balance by an asset | | [**hideVaultAccount**](VaultsApi.md#hideVaultAccount) | **POST** /vault/accounts/{vaultAccountId}/hide | Hide a vault account in the console | | [**setCustomerRefIdForAddress**](VaultsApi.md#setCustomerRefIdForAddress) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/set_customer_ref_id | Assign AML customer reference ID | -| [**setVaultAccountAutoFuel**](VaultsApi.md#setVaultAccountAutoFuel) | **POST** /vault/accounts/{vaultAccountId}/set_auto_fuel | Turn autofueling on or off | -| [**setVaultAccountCustomerRefId**](VaultsApi.md#setVaultAccountCustomerRefId) | **POST** /vault/accounts/{vaultAccountId}/set_customer_ref_id | Set an AML/KYT customer reference ID for a vault account | +| [**setVaultAccountAutoFuel**](VaultsApi.md#setVaultAccountAutoFuel) | **POST** /vault/accounts/{vaultAccountId}/set_auto_fuel | Set auto fueling to on or off | +| [**setVaultAccountCustomerRefId**](VaultsApi.md#setVaultAccountCustomerRefId) | **POST** /vault/accounts/{vaultAccountId}/set_customer_ref_id | Set an AML/KYT ID for a vault account | | [**unhideVaultAccount**](VaultsApi.md#unhideVaultAccount) | **POST** /vault/accounts/{vaultAccountId}/unhide | Unhide a vault account in the console | | [**updateVaultAccount**](VaultsApi.md#updateVaultAccount) | **PUT** /vault/accounts/{vaultAccountId} | Rename a vault account | | [**updateVaultAccountAssetAddress**](VaultsApi.md#updateVaultAccountAssetAddress) | **PUT** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId} | Update address description | @@ -44,7 +43,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -129,9 +128,9 @@ No authorization required > CompletableFuture> attachOrDetachTagsFromVaultAccounts attachOrDetachTagsFromVaultAccounts(vaultAccountsTagAttachmentOperationsRequest, idempotencyKey) -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. ### Example @@ -211,96 +210,13 @@ No authorization required | **404** | - Tags with the requested ID not found. - Vault accounts with the requested ID not found. | * X-Request-ID -
    | -## attachTagsToVaultAccounts - -> CompletableFuture> attachTagsToVaultAccounts attachTagsToVaultAccounts(vaultAccountsTagAttachmentsRequest, idempotencyKey) - -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 - -```java -// Import classes: -import com.fireblocks.sdk.ApiClient; -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.BasePath; -import com.fireblocks.sdk.Fireblocks; -import com.fireblocks.sdk.ConfigurationOptions; -import com.fireblocks.sdk.model.*; -import com.fireblocks.sdk.api.VaultsApi; -import java.util.concurrent.CompletableFuture; -import java.util.concurrent.ExecutionException; - -public class Example { - public static void main(String[] args) { - ConfigurationOptions configurationOptions = new ConfigurationOptions() - .basePath(BasePath.Sandbox) - .apiKey("my-api-key") - .secretKey("my-secret-key"); - Fireblocks fireblocks = new Fireblocks(configurationOptions); - - VaultAccountsTagAttachmentsRequest vaultAccountsTagAttachmentsRequest = new VaultAccountsTagAttachmentsRequest(); // VaultAccountsTagAttachmentsRequest | - String idempotencyKey = "idempotencyKey_example"; // String | 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. - try { - CompletableFuture> response = fireblocks.vaults().attachTagsToVaultAccounts(vaultAccountsTagAttachmentsRequest, idempotencyKey); - System.out.println("Status code: " + response.get().getStatusCode()); - System.out.println("Response headers: " + response.get().getHeaders()); - } catch (InterruptedException | ExecutionException e) { - ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling VaultsApi#attachTagsToVaultAccounts"); - System.err.println("Status code: " + apiException.getCode()); - System.err.println("Response headers: " + apiException.getResponseHeaders()); - System.err.println("Reason: " + apiException.getResponseBody()); - e.printStackTrace(); - } catch (ApiException e) { - System.err.println("Exception when calling VaultsApi#attachTagsToVaultAccounts"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Response headers: " + e.getResponseHeaders()); - System.err.println("Reason: " + e.getResponseBody()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **vaultAccountsTagAttachmentsRequest** | [**VaultAccountsTagAttachmentsRequest**](VaultAccountsTagAttachmentsRequest.md)| | | -| **idempotencyKey** | **String**| 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 - - -CompletableFuture> - -### 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 | - | - - ## createLegacyAddress > CompletableFuture> createLegacyAddress createLegacyAddress(vaultAccountId, assetId, addressId, idempotencyKey) 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -389,7 +305,7 @@ No authorization required Bulk creation of new vault accounts -Create multiple vault accounts by running an async job. </br> **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 @@ -474,7 +390,7 @@ No authorization required Bulk creation of new deposit addresses -Create multiple deposit address by running an async job. </br> **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 @@ -559,7 +475,7 @@ No authorization required 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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -642,9 +558,9 @@ No authorization required > CompletableFuture> createVaultAccountAsset createVaultAccountAsset(vaultAccountId, assetId, createAssetsRequest, idempotencyKey) -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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -733,7 +649,7 @@ No authorization required 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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -816,13 +732,13 @@ No authorization required | **0** | Error Response | * X-Request-ID -
    | -## detachTagsFromVaultAccounts +## getAssetWallets -> CompletableFuture> detachTagsFromVaultAccounts detachTagsFromVaultAccounts(vaultAccountsTagAttachmentsRequest, idempotencyKey) +> CompletableFuture> getAssetWallets getAssetWallets(totalAmountLargerThan, assetId, orderBy, before, after, 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -847,21 +763,26 @@ public class Example { .secretKey("my-secret-key"); Fireblocks fireblocks = new Fireblocks(configurationOptions); - VaultAccountsTagAttachmentsRequest vaultAccountsTagAttachmentsRequest = new VaultAccountsTagAttachmentsRequest(); // VaultAccountsTagAttachmentsRequest | - String idempotencyKey = "idempotencyKey_example"; // String | 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. + BigDecimal totalAmountLargerThan = new BigDecimal(78); // BigDecimal | When specified, only vault wallets with total balance greater than this amount are returned. + String assetId = "assetId_example"; // String | When specified, only vault wallets with the specified ID are returned. + String orderBy = "ASC"; // String | + String before = "before_example"; // String | Fetches the next paginated response before this element. This element is a cursor and is returned at the response of the previous page. + String after = "after_example"; // String | Fetches the next paginated response after this element. This element is a cursor and is returned at the response of the previous page. + BigDecimal limit = new BigDecimal("200"); // BigDecimal | The maximum number of vault wallets in a single response. The default is 200 and the maximum is 1000. try { - CompletableFuture> response = fireblocks.vaults().detachTagsFromVaultAccounts(vaultAccountsTagAttachmentsRequest, idempotencyKey); + CompletableFuture> response = fireblocks.vaults().getAssetWallets(totalAmountLargerThan, assetId, orderBy, before, after, limit); System.out.println("Status code: " + response.get().getStatusCode()); System.out.println("Response headers: " + response.get().getHeaders()); + System.out.println("Response body: " + response.get().getData()); } catch (InterruptedException | ExecutionException e) { ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling VaultsApi#detachTagsFromVaultAccounts"); + System.err.println("Exception when calling VaultsApi#getAssetWallets"); System.err.println("Status code: " + apiException.getCode()); System.err.println("Response headers: " + apiException.getResponseHeaders()); System.err.println("Reason: " + apiException.getResponseBody()); e.printStackTrace(); } catch (ApiException e) { - System.err.println("Exception when calling VaultsApi#detachTagsFromVaultAccounts"); + System.err.println("Exception when calling VaultsApi#getAssetWallets"); System.err.println("Status code: " + e.getCode()); System.err.println("Response headers: " + e.getResponseHeaders()); System.err.println("Reason: " + e.getResponseBody()); @@ -876,13 +797,17 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **vaultAccountsTagAttachmentsRequest** | [**VaultAccountsTagAttachmentsRequest**](VaultAccountsTagAttachmentsRequest.md)| | | -| **idempotencyKey** | **String**| 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] | +| **totalAmountLargerThan** | **BigDecimal**| When specified, only vault wallets with total balance greater than this amount are returned. | [optional] | +| **assetId** | **String**| When specified, only vault wallets with the specified ID are returned. | [optional] | +| **orderBy** | **String**| | [optional] [default to DESC] [enum: ASC, DESC] | +| **before** | **String**| 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** | **String**| 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** | **BigDecimal**| 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 +CompletableFuture> -CompletableFuture> ### Authorization @@ -890,22 +815,22 @@ 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 -
    | -## getAssetWallets +## getCreateMultipleDepositAddressesJobStatus -> CompletableFuture> getAssetWallets getAssetWallets(totalAmountLargerThan, assetId, orderBy, before, after, limit) +> CompletableFuture> getCreateMultipleDepositAddressesJobStatus getCreateMultipleDepositAddressesJobStatus(jobId) -List asset wallets (Paginated) +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. ### Example @@ -930,26 +855,21 @@ public class Example { .secretKey("my-secret-key"); Fireblocks fireblocks = new Fireblocks(configurationOptions); - BigDecimal totalAmountLargerThan = new BigDecimal(78); // BigDecimal | When specified, only asset wallets with total balance larger than this amount are returned. - String assetId = "assetId_example"; // String | When specified, only asset wallets cross vault accounts that have this asset ID are returned. - String orderBy = "ASC"; // String | - String before = "before_example"; // String | Fetches the next paginated response before this element. This element is a cursor and is returned at the response of the previous page. - String after = "after_example"; // String | Fetches the next paginated response after this element. This element is a cursor and is returned at the response of the previous page. - BigDecimal limit = new BigDecimal("200"); // BigDecimal | The maximum number of asset wallets in a single response. The default is 200 and the maximum is 1000. + String jobId = "019681b4-107d-7243-942d-4c3c30e36fae"; // String | The ID of the job to create addresses try { - CompletableFuture> response = fireblocks.vaults().getAssetWallets(totalAmountLargerThan, assetId, orderBy, before, after, limit); + CompletableFuture> response = fireblocks.vaults().getCreateMultipleDepositAddressesJobStatus(jobId); System.out.println("Status code: " + response.get().getStatusCode()); System.out.println("Response headers: " + response.get().getHeaders()); System.out.println("Response body: " + response.get().getData()); } catch (InterruptedException | ExecutionException e) { ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling VaultsApi#getAssetWallets"); + System.err.println("Exception when calling VaultsApi#getCreateMultipleDepositAddressesJobStatus"); System.err.println("Status code: " + apiException.getCode()); System.err.println("Response headers: " + apiException.getResponseHeaders()); System.err.println("Reason: " + apiException.getResponseBody()); e.printStackTrace(); } catch (ApiException e) { - System.err.println("Exception when calling VaultsApi#getAssetWallets"); + System.err.println("Exception when calling VaultsApi#getCreateMultipleDepositAddressesJobStatus"); System.err.println("Status code: " + e.getCode()); System.err.println("Response headers: " + e.getResponseHeaders()); System.err.println("Reason: " + e.getResponseBody()); @@ -964,16 +884,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **totalAmountLargerThan** | **BigDecimal**| When specified, only asset wallets with total balance larger than this amount are returned. | [optional] | -| **assetId** | **String**| When specified, only asset wallets cross vault accounts that have this asset ID are returned. | [optional] | -| **orderBy** | **String**| | [optional] [default to DESC] [enum: ASC, DESC] | -| **before** | **String**| 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** | **String**| 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** | **BigDecimal**| The maximum number of asset wallets in a single response. The default is 200 and the maximum is 1000. | [optional] [default to 200] | +| **jobId** | **String**| The ID of the job to create addresses | | ### Return type -CompletableFuture> +CompletableFuture> ### Authorization @@ -988,16 +903,17 @@ No authorization required ### HTTP response details | 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 -
    | -## getCreateMultipleDepositAddressesJobStatus +## getCreateMultipleVaultAccountsJobStatus -> CompletableFuture> getCreateMultipleDepositAddressesJobStatus getCreateMultipleDepositAddressesJobStatus(jobId) +> CompletableFuture> getCreateMultipleVaultAccountsJobStatus getCreateMultipleVaultAccountsJobStatus(jobId) -Get job status of bulk creation of new deposit addresses +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. ### Example @@ -1024,19 +940,19 @@ public class Example { String jobId = "019681b4-107d-7243-942d-4c3c30e36fae"; // String | The ID of the job to create addresses try { - CompletableFuture> response = fireblocks.vaults().getCreateMultipleDepositAddressesJobStatus(jobId); + CompletableFuture> response = fireblocks.vaults().getCreateMultipleVaultAccountsJobStatus(jobId); System.out.println("Status code: " + response.get().getStatusCode()); System.out.println("Response headers: " + response.get().getHeaders()); System.out.println("Response body: " + response.get().getData()); } catch (InterruptedException | ExecutionException e) { ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling VaultsApi#getCreateMultipleDepositAddressesJobStatus"); + System.err.println("Exception when calling VaultsApi#getCreateMultipleVaultAccountsJobStatus"); System.err.println("Status code: " + apiException.getCode()); System.err.println("Response headers: " + apiException.getResponseHeaders()); System.err.println("Reason: " + apiException.getResponseBody()); e.printStackTrace(); } catch (ApiException e) { - System.err.println("Exception when calling VaultsApi#getCreateMultipleDepositAddressesJobStatus"); + System.err.println("Exception when calling VaultsApi#getCreateMultipleVaultAccountsJobStatus"); System.err.println("Status code: " + e.getCode()); System.err.println("Response headers: " + e.getResponseHeaders()); System.err.println("Reason: " + e.getResponseBody()); @@ -1055,7 +971,7 @@ public class Example { ### Return type -CompletableFuture> +CompletableFuture> ### Authorization @@ -1074,13 +990,13 @@ No authorization required | **0** | Error Response | * X-Request-ID -
    | -## getCreateMultipleVaultAccountsJobStatus +## getMaxBipIndexUsed -> CompletableFuture> getCreateMultipleVaultAccountsJobStatus getCreateMultipleVaultAccountsJobStatus(jobId) +> CompletableFuture> getMaxBipIndexUsed getMaxBipIndexUsed(vaultAccountId, assetId) -Get job status of bulk creation of new vault accounts +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). ### Example @@ -1105,21 +1021,22 @@ public class Example { .secretKey("my-secret-key"); Fireblocks fireblocks = new Fireblocks(configurationOptions); - String jobId = "019681b4-107d-7243-942d-4c3c30e36fae"; // String | The ID of the job to create addresses + String vaultAccountId = "vaultAccountId_example"; // String | The ID of the vault account + String assetId = "assetId_example"; // String | The ID of the asset try { - CompletableFuture> response = fireblocks.vaults().getCreateMultipleVaultAccountsJobStatus(jobId); + CompletableFuture> response = fireblocks.vaults().getMaxBipIndexUsed(vaultAccountId, assetId); System.out.println("Status code: " + response.get().getStatusCode()); System.out.println("Response headers: " + response.get().getHeaders()); System.out.println("Response body: " + response.get().getData()); } catch (InterruptedException | ExecutionException e) { ApiException apiException = (ApiException)e.getCause(); - System.err.println("Exception when calling VaultsApi#getCreateMultipleVaultAccountsJobStatus"); + System.err.println("Exception when calling VaultsApi#getMaxBipIndexUsed"); System.err.println("Status code: " + apiException.getCode()); System.err.println("Response headers: " + apiException.getResponseHeaders()); System.err.println("Reason: " + apiException.getResponseBody()); e.printStackTrace(); } catch (ApiException e) { - System.err.println("Exception when calling VaultsApi#getCreateMultipleVaultAccountsJobStatus"); + System.err.println("Exception when calling VaultsApi#getMaxBipIndexUsed"); System.err.println("Status code: " + e.getCode()); System.err.println("Response headers: " + e.getResponseHeaders()); System.err.println("Reason: " + e.getResponseBody()); @@ -1134,11 +1051,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **jobId** | **String**| The ID of the job to create addresses | | +| **vaultAccountId** | **String**| The ID of the vault account | | +| **assetId** | **String**| The ID of the asset | | ### Return type -CompletableFuture> +CompletableFuture> ### Authorization @@ -1153,7 +1071,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | A Job with status | * X-Request-ID -
    | +| **200** | OK | * X-Request-ID -
    | | **0** | Error Response | * X-Request-ID -
    | @@ -1161,9 +1079,9 @@ No authorization required > CompletableFuture> getMaxSpendableAmount getMaxSpendableAmount(vaultAccountId, assetId, manualSignging) -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. ### Example @@ -1246,11 +1164,11 @@ No authorization required ## getPagedVaultAccounts -> CompletableFuture> getPagedVaultAccounts getPagedVaultAccounts(namePrefix, nameSuffix, minAmountThreshold, assetId, orderBy, before, after, limit, tagIds) +> CompletableFuture> getPagedVaultAccounts getPagedVaultAccounts(namePrefix, nameSuffix, minAmountThreshold, assetId, orderBy, before, after, limit, tagIds, includeTagIds, excludeTagIds) -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1277,15 +1195,17 @@ public class Example { String namePrefix = "namePrefix_example"; // String | String nameSuffix = "nameSuffix_example"; // String | - BigDecimal minAmountThreshold = new BigDecimal(78); // BigDecimal | Specifying minAmountThreshold will filter accounts with balances greater than this value, otherwise, it will return all accounts. + BigDecimal minAmountThreshold = new BigDecimal("10"); // BigDecimal | 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. String assetId = "assetId_example"; // String | String orderBy = "ASC"; // String | String before = "before_example"; // String | String after = "after_example"; // String | BigDecimal limit = new BigDecimal("200"); // BigDecimal | - List tagIds = Arrays.asList(); // List | List of tag IDs to filter vault accounts. + List tagIds = Arrays.asList(); // List | DEPRECATED - use includeTagIds instead + List includeTagIds = Arrays.asList(); // List | List of tag IDs to include. Vault accounts with any of these tags will be included + List excludeTagIds = Arrays.asList(); // List | List of tag IDs to exclude. Vault accounts with any of these tags will be filtered out try { - CompletableFuture> response = fireblocks.vaults().getPagedVaultAccounts(namePrefix, nameSuffix, minAmountThreshold, assetId, orderBy, before, after, limit, tagIds); + CompletableFuture> response = fireblocks.vaults().getPagedVaultAccounts(namePrefix, nameSuffix, minAmountThreshold, assetId, orderBy, before, after, limit, tagIds, includeTagIds, excludeTagIds); System.out.println("Status code: " + response.get().getStatusCode()); System.out.println("Response headers: " + response.get().getHeaders()); System.out.println("Response body: " + response.get().getData()); @@ -1314,13 +1234,15 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **namePrefix** | **String**| | [optional] | | **nameSuffix** | **String**| | [optional] | -| **minAmountThreshold** | **BigDecimal**| Specifying minAmountThreshold will filter accounts with balances greater than this value, otherwise, it will return all accounts. | [optional] | +| **minAmountThreshold** | **BigDecimal**| 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] | | **assetId** | **String**| | [optional] | | **orderBy** | **String**| | [optional] [default to DESC] [enum: ASC, DESC] | | **before** | **String**| | [optional] | | **after** | **String**| | [optional] | | **limit** | **BigDecimal**| | [optional] [default to 200] | -| **tagIds** | [**List<UUID>**](UUID.md)| List of tag IDs to filter vault accounts. | [optional] | +| **tagIds** | [**List<UUID>**](UUID.md)| DEPRECATED - use includeTagIds instead | [optional] | +| **includeTagIds** | [**List<UUID>**](UUID.md)| List of tag IDs to include. Vault accounts with any of these tags will be included | [optional] | +| **excludeTagIds** | [**List<UUID>**](UUID.md)| List of tag IDs to exclude. Vault accounts with any of these tags will be filtered out | [optional] | ### Return type @@ -1346,9 +1268,9 @@ No authorization required > CompletableFuture> getPublicKeyInfo getPublicKeyInfo(derivationPath, algorithm, 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. +Gets the public key information based on derivation path and signing algorithm. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -1433,9 +1355,9 @@ No authorization required > CompletableFuture> getPublicKeyInfoForAddress getPublicKeyInfoForAddress(vaultAccountId, assetId, change, addressIndex, 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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -1526,7 +1448,7 @@ 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1609,9 +1531,9 @@ No authorization required > CompletableFuture> getVaultAccount getVaultAccount(vaultAccountId) -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1636,7 +1558,7 @@ public class Example { .secretKey("my-secret-key"); Fireblocks fireblocks = new Fireblocks(configurationOptions); - String vaultAccountId = "vaultAccountId_example"; // String | The ID of the vault account to return type: string + String vaultAccountId = "vaultAccountId_example"; // String | The ID of the vault account try { CompletableFuture> response = fireblocks.vaults().getVaultAccount(vaultAccountId); System.out.println("Status code: " + response.get().getStatusCode()); @@ -1665,7 +1587,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **vaultAccountId** | **String**| The ID of the vault account to return type: string | | +| **vaultAccountId** | **String**| The ID of the vault account | | ### Return type @@ -1694,7 +1616,7 @@ 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1777,9 +1699,9 @@ No authorization required > CompletableFuture> getVaultAccountAssetAddressesPaginated getVaultAccountAssetAddressesPaginated(vaultAccountId, assetId, limit, before, after) -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1870,7 +1792,7 @@ No authorization required 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1953,9 +1875,9 @@ No authorization required > CompletableFuture> getVaultBalanceByAsset getVaultBalanceByAsset(assetId) -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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -2038,7 +1960,7 @@ No authorization required 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -2123,7 +2045,7 @@ No authorization required 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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -2212,9 +2134,9 @@ No authorization required > CompletableFuture> setVaultAccountAutoFuel setVaultAccountAutoFuel(setAutoFuelRequest, vaultAccountId, idempotencyKey) -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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -2299,9 +2221,9 @@ No authorization required > CompletableFuture> setVaultAccountCustomerRefId setVaultAccountCustomerRefId(setCustomerRefIdRequest, vaultAccountId, idempotencyKey) -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). </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -2388,7 +2310,7 @@ No authorization required 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -2473,7 +2395,7 @@ No authorization required Rename a vault account -Renames the requested vault account. +Renames the requested vault account. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver. ### Example @@ -2560,7 +2482,7 @@ No authorization required 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -2651,7 +2573,7 @@ No authorization required 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/Version.md b/docs/VersionSummary.md similarity index 69% rename from docs/Version.md rename to docs/VersionSummary.md index 6bfca048..8761127c 100644 --- a/docs/Version.md +++ b/docs/VersionSummary.md @@ -1,6 +1,6 @@ -# Version +# VersionSummary ## Properties @@ -8,6 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**hash** | **String** | The version hash of the cosigner | | +|**name** | **String** | The name of the version | [optional] | diff --git a/docs/WebhooksApi.md b/docs/WebhooksApi.md index 2c5259cd..b145020c 100644 --- a/docs/WebhooksApi.md +++ b/docs/WebhooksApi.md @@ -4,7 +4,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**resendTransactionWebhooks**](WebhooksApi.md#resendTransactionWebhooks) | **POST** /webhooks/resend/{txId} | Resend failed webhooks for a transaction by ID | +| [**resendTransactionWebhooks**](WebhooksApi.md#resendTransactionWebhooks) | **POST** /webhooks/resend/{txId} | Resend webhooks for a transaction by ID | | [**resendWebhooks**](WebhooksApi.md#resendWebhooks) | **POST** /webhooks/resend | Resend failed webhooks | @@ -13,9 +13,9 @@ All URIs are relative to https://developers.fireblocks.com/reference/ > CompletableFuture> resendTransactionWebhooks resendTransactionWebhooks(resendTransactionWebhooksRequest, txId, idempotencyKey) -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. ### Example @@ -102,7 +102,7 @@ No authorization required 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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/WebhooksV2Api.md b/docs/WebhooksV2Api.md index 68a908ba..99b682b4 100644 --- a/docs/WebhooksV2Api.md +++ b/docs/WebhooksV2Api.md @@ -4,7 +4,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**createWebhook**](WebhooksV2Api.md#createWebhook) | **POST** /webhooks | Create new webhook | +| [**createWebhook**](WebhooksV2Api.md#createWebhook) | **POST** /webhooks | Create a new webhook | | [**deleteWebhook**](WebhooksV2Api.md#deleteWebhook) | **DELETE** /webhooks/{webhookId} | Delete webhook | | [**getMetrics**](WebhooksV2Api.md#getMetrics) | **GET** /webhooks/{webhookId}/metrics/{metricName} | Get webhook metrics | | [**getNotification**](WebhooksV2Api.md#getNotification) | **GET** /webhooks/{webhookId}/notifications/{notificationId} | Get notification by id | @@ -24,9 +24,9 @@ All URIs are relative to https://developers.fireblocks.com/reference/ > CompletableFuture> createWebhook createWebhook(createWebhookRequest, idempotencyKey) -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. ### Example @@ -724,7 +724,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 8b6adcea..5fdc98ef 100644 --- a/docs/WhitelistIpAddressesApi.md +++ b/docs/WhitelistIpAddressesApi.md @@ -4,7 +4,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**getWhitelistIpAddresses**](WhitelistIpAddressesApi.md#getWhitelistIpAddresses) | **GET** /management/api_users/{userId}/whitelist_ip_addresses | Gets whitelisted ip addresses | +| [**getWhitelistIpAddresses**](WhitelistIpAddressesApi.md#getWhitelistIpAddresses) | **GET** /management/api_users/{userId}/whitelist_ip_addresses | Get whitelisted ip addresses for an API Key | @@ -12,9 +12,9 @@ All URIs are relative to https://developers.fireblocks.com/reference/ > CompletableFuture> getWhitelistIpAddresses getWhitelistIpAddresses(userId) -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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/WithdrawRequest.md b/docs/WithdrawRequest.md index 25ce3874..4eb3e1d4 100644 --- a/docs/WithdrawRequest.md +++ b/docs/WithdrawRequest.md @@ -11,6 +11,7 @@ |**fee** | **String** | Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required. | [optional] | |**feeLevel** | **FeeLevel** | | [optional] | |**txNote** | **String** | The note to associate with the transactions. | [optional] | +|**amount** | **String** | 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] | diff --git a/docs/WorkspaceStatusBetaApi.md b/docs/WorkspaceStatusBetaApi.md index ac7da3c3..76f39803 100644 --- a/docs/WorkspaceStatusBetaApi.md +++ b/docs/WorkspaceStatusBetaApi.md @@ -14,7 +14,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ 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. </br>Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/pom.xml b/pom.xml index 57f18c53..89176ce6 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ fireblocks-sdk jar fireblocks-sdk - 13.0.0 + 0.0.0 https://github.com/fireblocks/java-sdk The Fireblocks Official SDK is a comprehensive software development kit that enables seamless integration and interaction with the Fireblocks platform. Fireblocks is a cutting-edge blockchain infrastructure platform that provides secure and scalable solutions for managing digital assets and transactions. This SDK empowers developers to build robust applications that can interact with the Fireblocks platform's features, including creating and managing vault accounts, initiating secure transactions, managing assets, and more. It abstracts complex interactions with the Fireblocks API, making it easier for developers to leverage the platform's capabilities while adhering to best practices in security and efficiency. diff --git a/src/main/java/com/fireblocks/sdk/AdditionalOptions.java b/src/main/java/com/fireblocks/sdk/AdditionalOptions.java index f9595c63..4259b44e 100644 --- a/src/main/java/com/fireblocks/sdk/AdditionalOptions.java +++ b/src/main/java/com/fireblocks/sdk/AdditionalOptions.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/ApiClient.java b/src/main/java/com/fireblocks/sdk/ApiClient.java index b00ef939..333061ec 100644 --- a/src/main/java/com/fireblocks/sdk/ApiClient.java +++ b/src/main/java/com/fireblocks/sdk/ApiClient.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/ApiException.java b/src/main/java/com/fireblocks/sdk/ApiException.java index 9fa8b6db..cefa94cc 100644 --- a/src/main/java/com/fireblocks/sdk/ApiException.java +++ b/src/main/java/com/fireblocks/sdk/ApiException.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/ApiResponse.java b/src/main/java/com/fireblocks/sdk/ApiResponse.java index cc9a0529..f078bf2a 100644 --- a/src/main/java/com/fireblocks/sdk/ApiResponse.java +++ b/src/main/java/com/fireblocks/sdk/ApiResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/BasePath.java b/src/main/java/com/fireblocks/sdk/BasePath.java index 0f6ae223..4b90925f 100644 --- a/src/main/java/com/fireblocks/sdk/BasePath.java +++ b/src/main/java/com/fireblocks/sdk/BasePath.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/Configuration.java b/src/main/java/com/fireblocks/sdk/Configuration.java index b3f687ea..aa53bae8 100644 --- a/src/main/java/com/fireblocks/sdk/Configuration.java +++ b/src/main/java/com/fireblocks/sdk/Configuration.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -21,7 +21,7 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class Configuration { - public static final String VERSION = "13.0.0"; + public static final String VERSION = "0.0.0"; private static final AtomicReference defaultApiClient = new AtomicReference<>(); private static volatile Supplier apiClientFactory = ApiClient::new; diff --git a/src/main/java/com/fireblocks/sdk/ConfigurationOptions.java b/src/main/java/com/fireblocks/sdk/ConfigurationOptions.java index 2f9aa0ce..d651af10 100644 --- a/src/main/java/com/fireblocks/sdk/ConfigurationOptions.java +++ b/src/main/java/com/fireblocks/sdk/ConfigurationOptions.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/Fireblocks.java b/src/main/java/com/fireblocks/sdk/Fireblocks.java index 3ea0433f..c09c79ae 100644 --- a/src/main/java/com/fireblocks/sdk/Fireblocks.java +++ b/src/main/java/com/fireblocks/sdk/Fireblocks.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -37,7 +37,6 @@ public class Fireblocks { private final String userAgent; private ApiUserApi apiUser; - private AssetsApi assets; private AuditLogsApi auditLogs; private BlockchainsAssetsApi blockchainsAssets; private ComplianceApi compliance; @@ -55,12 +54,12 @@ public class Fireblocks { private FiatAccountsApi fiatAccounts; private GasStationsApi gasStations; private InternalWalletsApi internalWallets; - private JobManagementApi jobManagement; private KeyLinkBetaApi keyLinkBeta; private KeysBetaApi keysBeta; private NetworkConnectionsApi networkConnections; private NftsApi nfts; private OffExchangesApi offExchanges; + private OnchainDataApi onchainData; private OtaBetaApi otaBeta; private PaymentsPayoutApi paymentsPayout; private PolicyEditorBetaApi policyEditorBeta; @@ -70,6 +69,7 @@ public class Fireblocks { private StakingApi staking; private TagsApi tags; private TokenizationApi tokenization; + private TrLinkApi trLink; private TradingBetaApi tradingBeta; private TransactionsApi transactions; private TravelRuleApi travelRule; @@ -227,13 +227,6 @@ public ApiUserApi apiUser() { return apiUser; } - public AssetsApi assets() { - if (assets == null) { - assets = new AssetsApi(apiClient); - } - return assets; - } - public AuditLogsApi auditLogs() { if (auditLogs == null) { auditLogs = new AuditLogsApi(apiClient); @@ -353,13 +346,6 @@ public InternalWalletsApi internalWallets() { return internalWallets; } - public JobManagementApi jobManagement() { - if (jobManagement == null) { - jobManagement = new JobManagementApi(apiClient); - } - return jobManagement; - } - public KeyLinkBetaApi keyLinkBeta() { if (keyLinkBeta == null) { keyLinkBeta = new KeyLinkBetaApi(apiClient); @@ -395,6 +381,13 @@ public OffExchangesApi offExchanges() { return offExchanges; } + public OnchainDataApi onchainData() { + if (onchainData == null) { + onchainData = new OnchainDataApi(apiClient); + } + return onchainData; + } + public OtaBetaApi otaBeta() { if (otaBeta == null) { otaBeta = new OtaBetaApi(apiClient); @@ -458,6 +451,13 @@ public TokenizationApi tokenization() { return tokenization; } + public TrLinkApi trLink() { + if (trLink == null) { + trLink = new TrLinkApi(apiClient); + } + return trLink; + } + public TradingBetaApi tradingBeta() { if (tradingBeta == null) { tradingBeta = new TradingBetaApi(apiClient); diff --git a/src/main/java/com/fireblocks/sdk/InstanceTimeWrapper.java b/src/main/java/com/fireblocks/sdk/InstanceTimeWrapper.java index 786aed7d..0f1145cd 100644 --- a/src/main/java/com/fireblocks/sdk/InstanceTimeWrapper.java +++ b/src/main/java/com/fireblocks/sdk/InstanceTimeWrapper.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/JSON.java b/src/main/java/com/fireblocks/sdk/JSON.java index c25f82ce..b92eb02b 100644 --- a/src/main/java/com/fireblocks/sdk/JSON.java +++ b/src/main/java/com/fireblocks/sdk/JSON.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/Pair.java b/src/main/java/com/fireblocks/sdk/Pair.java index 23bb7a3f..faacf06b 100644 --- a/src/main/java/com/fireblocks/sdk/Pair.java +++ b/src/main/java/com/fireblocks/sdk/Pair.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/RFC3339DateFormat.java b/src/main/java/com/fireblocks/sdk/RFC3339DateFormat.java index ff976672..13d45421 100644 --- a/src/main/java/com/fireblocks/sdk/RFC3339DateFormat.java +++ b/src/main/java/com/fireblocks/sdk/RFC3339DateFormat.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/RFC3339InstantDeserializer.java b/src/main/java/com/fireblocks/sdk/RFC3339InstantDeserializer.java index 5f00d70d..e8533c7b 100644 --- a/src/main/java/com/fireblocks/sdk/RFC3339InstantDeserializer.java +++ b/src/main/java/com/fireblocks/sdk/RFC3339InstantDeserializer.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/RFC3339JavaTimeModule.java b/src/main/java/com/fireblocks/sdk/RFC3339JavaTimeModule.java index aeb4d912..29c90107 100644 --- a/src/main/java/com/fireblocks/sdk/RFC3339JavaTimeModule.java +++ b/src/main/java/com/fireblocks/sdk/RFC3339JavaTimeModule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/ServerConfiguration.java b/src/main/java/com/fireblocks/sdk/ServerConfiguration.java index b24931cc..a123aca9 100644 --- a/src/main/java/com/fireblocks/sdk/ServerConfiguration.java +++ b/src/main/java/com/fireblocks/sdk/ServerConfiguration.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/ServerVariable.java b/src/main/java/com/fireblocks/sdk/ServerVariable.java index 33af2d59..a88eb63a 100644 --- a/src/main/java/com/fireblocks/sdk/ServerVariable.java +++ b/src/main/java/com/fireblocks/sdk/ServerVariable.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/SystemWrapper.java b/src/main/java/com/fireblocks/sdk/SystemWrapper.java index e05a3089..8f3df418 100644 --- a/src/main/java/com/fireblocks/sdk/SystemWrapper.java +++ b/src/main/java/com/fireblocks/sdk/SystemWrapper.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/UserAgentUtil.java b/src/main/java/com/fireblocks/sdk/UserAgentUtil.java index 50c2f023..27811715 100644 --- a/src/main/java/com/fireblocks/sdk/UserAgentUtil.java +++ b/src/main/java/com/fireblocks/sdk/UserAgentUtil.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/ValidationUtils.java b/src/main/java/com/fireblocks/sdk/ValidationUtils.java index 68930b1d..3026a5d7 100644 --- a/src/main/java/com/fireblocks/sdk/ValidationUtils.java +++ b/src/main/java/com/fireblocks/sdk/ValidationUtils.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/api/ApiUserApi.java b/src/main/java/com/fireblocks/sdk/api/ApiUserApi.java index 8d57d488..f12c8568 100644 --- a/src/main/java/com/fireblocks/sdk/api/ApiUserApi.java +++ b/src/main/java/com/fireblocks/sdk/api/ApiUserApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -71,7 +71,9 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Create Api user Creates Api user in your tenant + * Create API Key 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param createAPIUser (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -138,7 +140,9 @@ private HttpRequest.Builder createApiUserRequestBuilder( return localVarRequestBuilder; } /** - * Get Api users Get Api users of your tenant + * Get API Keys List all API keys in your workspace. - Please note that this endpoint is + * available only for API keys with Admin/Non Signing Admin permissions. </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @return CompletableFuture<ApiResponse<GetAPIUsersResponse>> * @throws ApiException if fails to make API call diff --git a/src/main/java/com/fireblocks/sdk/api/AssetsApi.java b/src/main/java/com/fireblocks/sdk/api/AssetsApi.java deleted file mode 100644 index ae819ecb..00000000 --- a/src/main/java/com/fireblocks/sdk/api/AssetsApi.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.api; - - -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fireblocks.sdk.ApiClient; -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.ValidationUtils; -import com.fireblocks.sdk.model.CreateAssetsBulkRequest; -import com.fireblocks.sdk.model.JobCreated; -import java.io.IOException; -import java.io.InputStream; -import java.net.URI; -import java.net.http.HttpClient; -import java.net.http.HttpRequest; -import java.net.http.HttpResponse; -import java.time.Duration; -import java.util.concurrent.CompletableFuture; -import java.util.function.Consumer; - -@jakarta.annotation.Generated( - value = "org.openapitools.codegen.languages.JavaClientCodegen", - comments = "Generator version: 7.14.0") -public class AssetsApi { - private final HttpClient memberVarHttpClient; - private final ObjectMapper memberVarObjectMapper; - private final String memberVarBaseUri; - private final Consumer memberVarInterceptor; - private final Duration memberVarReadTimeout; - private final Consumer> memberVarResponseInterceptor; - private final Consumer> memberVarAsyncResponseInterceptor; - - public AssetsApi() { - this(new ApiClient()); - } - - public AssetsApi(ApiClient apiClient) { - memberVarHttpClient = apiClient.getHttpClient(); - memberVarObjectMapper = apiClient.getObjectMapper(); - memberVarBaseUri = apiClient.getBaseUri(); - memberVarInterceptor = apiClient.getRequestInterceptor(); - memberVarReadTimeout = apiClient.getReadTimeout(); - memberVarResponseInterceptor = apiClient.getResponseInterceptor(); - memberVarAsyncResponseInterceptor = apiClient.getAsyncResponseInterceptor(); - } - - private ApiException getApiException(String operationId, HttpResponse response) { - String message = - formatExceptionMessage(operationId, response.statusCode(), response.body()); - return new ApiException( - response.statusCode(), message, response.headers(), response.body()); - } - - private String formatExceptionMessage(String operationId, int statusCode, String body) { - if (body == null || body.isEmpty()) { - body = "[no body]"; - } - return operationId + " call failed with: " + statusCode + " - " + body; - } - - /** - * Bulk creation of wallets Create multiple wallets for a given vault account by running an - * async job. </br> **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 createAssetsBulkRequest (required) - * @param idempotencyKey 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 CompletableFuture<ApiResponse<JobCreated>> - * @throws ApiException if fails to make API call - */ - public CompletableFuture> createAssetsBulk( - CreateAssetsBulkRequest createAssetsBulkRequest, String idempotencyKey) - throws ApiException { - try { - HttpRequest.Builder localVarRequestBuilder = - createAssetsBulkRequestBuilder(createAssetsBulkRequest, idempotencyKey); - return memberVarHttpClient - .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) - .thenComposeAsync( - localVarResponse -> { - if (memberVarAsyncResponseInterceptor != null) { - memberVarAsyncResponseInterceptor.accept(localVarResponse); - } - if (localVarResponse.statusCode() / 100 != 2) { - return CompletableFuture.failedFuture( - getApiException("createAssetsBulk", localVarResponse)); - } - try { - String responseBody = localVarResponse.body(); - return CompletableFuture.completedFuture( - new ApiResponse( - localVarResponse.statusCode(), - localVarResponse.headers().map(), - responseBody == null || responseBody.isBlank() - ? null - : memberVarObjectMapper.readValue( - responseBody, - new TypeReference< - JobCreated>() {}))); - } catch (IOException e) { - return CompletableFuture.failedFuture(new ApiException(e)); - } - }); - } catch (ApiException e) { - return CompletableFuture.failedFuture(e); - } - } - - private HttpRequest.Builder createAssetsBulkRequestBuilder( - CreateAssetsBulkRequest createAssetsBulkRequest, String idempotencyKey) - throws ApiException { - ValidationUtils.assertParamExists( - "createAssetsBulk", "createAssetsBulkRequest", createAssetsBulkRequest); - - HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); - - String localVarPath = "/vault/assets/bulk"; - - localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); - - if (idempotencyKey != null) { - localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); - } - localVarRequestBuilder.header("Content-Type", "application/json"); - localVarRequestBuilder.header("Accept", "application/json"); - - try { - byte[] localVarPostBody = - memberVarObjectMapper.writeValueAsBytes(createAssetsBulkRequest); - localVarRequestBuilder.method( - "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); - } catch (IOException e) { - throw new ApiException(e); - } - if (memberVarReadTimeout != null) { - localVarRequestBuilder.timeout(memberVarReadTimeout); - } - if (memberVarInterceptor != null) { - memberVarInterceptor.accept(localVarRequestBuilder); - } - return localVarRequestBuilder; - } -} diff --git a/src/main/java/com/fireblocks/sdk/api/AuditLogsApi.java b/src/main/java/com/fireblocks/sdk/api/AuditLogsApi.java index e6311dc8..c9e5c359 100644 --- a/src/main/java/com/fireblocks/sdk/api/AuditLogsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/AuditLogsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -74,7 +74,9 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Get audit logs Get all audits + * Get audit logs 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. </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @param timePeriod The last time period to fetch audit logs (optional) * @param cursor The next id to start fetch audit logs from (optional) diff --git a/src/main/java/com/fireblocks/sdk/api/BlockchainsAssetsApi.java b/src/main/java/com/fireblocks/sdk/api/BlockchainsAssetsApi.java index 1d2e17c9..8facc8ac 100644 --- a/src/main/java/com/fireblocks/sdk/api/BlockchainsAssetsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/BlockchainsAssetsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -159,7 +159,7 @@ private HttpRequest.Builder getAssetRequestBuilder(String id, String idempotency return localVarRequestBuilder; } /** - * Get an blockchain Returns an blockchain by ID or legacyID. + * Get a Blockchain by ID Returns a blockchain by ID or legacyID. * * @param id The ID or legacyId of the blockchain (required) * @return CompletableFuture<ApiResponse<BlockchainResponse>> @@ -223,12 +223,12 @@ private HttpRequest.Builder getBlockchainRequestBuilder(String id) throws ApiExc return localVarRequestBuilder; } /** - * List all asset types supported by Fireblocks - legacy endpoint Legacy Endpoint – Retrieves - * all assets supported by Fireblocks in your workspace without extended information.</br> - * **Note**: - This endpoint will remain available for the foreseeable future and is not - * deprecated.</br> - The `listAssets` endpoint provides more detailed asset - * information and improved performance.</br> - We recommend transitioning to the - * `listAssets` endpoint for better results. + * List assets (Legacy) **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. * * @return CompletableFuture<ApiResponse<List<AssetTypeResponse>>> * @throws ApiException if fails to make API call @@ -291,11 +291,10 @@ private HttpRequest.Builder getSupportedAssetsRequestBuilder() throws ApiExcepti return localVarRequestBuilder; } /** - * List assets Retrieves all assets supported by Fireblocks in your workspace, providing - * extended information and enhanced performance compared to the legacy - * `supported_assets` endpoint.</br> **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.</br> + * List assets 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 blockchainId Blockchain id of the assets (optional) * @param assetClass Assets class (optional) @@ -429,7 +428,7 @@ private HttpRequest.Builder listAssetsRequestBuilder( return localVarRequestBuilder; } /** - * List blockchains Returns all blockchains supported by Fireblocks. + * List blockchains Returns all blockchains supported by Fireblocks.</br> * * @param protocol Blockchain protocol (optional) * @param deprecated Is blockchain deprecated (optional) @@ -539,7 +538,7 @@ private HttpRequest.Builder listBlockchainsRequestBuilder( /** * 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 + * - TRON - NEAR - Solana - Sui - TON * * @param registerNewAssetRequest (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple diff --git a/src/main/java/com/fireblocks/sdk/api/ComplianceApi.java b/src/main/java/com/fireblocks/sdk/api/ComplianceApi.java index c9406418..122bb411 100644 --- a/src/main/java/com/fireblocks/sdk/api/ComplianceApi.java +++ b/src/main/java/com/fireblocks/sdk/api/ComplianceApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/api/ComplianceScreeningConfigurationApi.java b/src/main/java/com/fireblocks/sdk/api/ComplianceScreeningConfigurationApi.java index 1ba32716..528e896c 100644 --- a/src/main/java/com/fireblocks/sdk/api/ComplianceScreeningConfigurationApi.java +++ b/src/main/java/com/fireblocks/sdk/api/ComplianceScreeningConfigurationApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/api/ConnectedAccountsBetaApi.java b/src/main/java/com/fireblocks/sdk/api/ConnectedAccountsBetaApi.java index d237e8c4..55885a39 100644 --- a/src/main/java/com/fireblocks/sdk/api/ConnectedAccountsBetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/ConnectedAccountsBetaApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -25,6 +25,8 @@ import com.fireblocks.sdk.model.ConnectedAccountTradingPairsResponse; import com.fireblocks.sdk.model.ConnectedAccountsResponse; import com.fireblocks.sdk.model.ConnectedSingleAccountResponse; +import com.fireblocks.sdk.model.RenameConnectedAccountRequest; +import com.fireblocks.sdk.model.RenameConnectedAccountResponse; import java.io.IOException; import java.io.InputStream; import java.net.URI; @@ -78,9 +80,70 @@ private String formatExceptionMessage(String operationId, int statusCode, String return operationId + " call failed with: " + statusCode + " - " + body; } + /** + * Disconnect connected account Disconnect a connected account by ID. </br> **Note**: - + * This endpoint is currently in beta and might be subject to changes. + * + * @param accountId The ID of the account to disconnect. (required) + * @return CompletableFuture<ApiResponse<Void>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> disconnectConnectedAccount(String accountId) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + disconnectConnectedAccountRequestBuilder(accountId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "disconnectConnectedAccount", + localVarResponse)); + } + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + null)); + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder disconnectConnectedAccountRequestBuilder(String accountId) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "disconnectConnectedAccount", "accountId", accountId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/connected_accounts/{accountId}" + .replace("{accountId}", ApiClient.urlEncode(accountId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("DELETE", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } /** * Get connected account Retrieve detailed information about a specific connected account by ID. - * </br> **Note**: - This endpoint is currently in beta and might be subject to changes. + * **Note:** This endpoint is currently in beta and might be subject to changes. * * @param accountId The ID of the account to fetch. (required) * @return CompletableFuture<ApiResponse<ConnectedSingleAccountResponse>> @@ -149,8 +212,8 @@ private HttpRequest.Builder getConnectedAccountRequestBuilder(String accountId) } /** * Get balances for an account Retrieve current asset balances for a specific connected account - * as a flat list (one row per assetId, balanceType) </br> **Note**: - This endpoint is - * currently in beta and might be subject to changes. + * as a flat list (one row per `assetId`, `balanceType`). **Note:** This + * endpoint is currently in beta and might be subject to changes. * * @param accountId The ID of the account to fetch balances for. (required) * @param pageSize Page size for pagination. (optional) @@ -242,7 +305,8 @@ private HttpRequest.Builder getConnectedAccountBalancesRequestBuilder( } /** * Get exchange rates for an account Retrieve current exchange rates for converting between - * specific assets in a connected account. + * specific assets in a connected account. **Note:** This endpoint is currently in beta and + * might be subject to changes. * * @param accountId The ID of the account to fetch rates for. (required) * @param baseAssetId The ID of the asset to fetch rates for. (required) @@ -336,7 +400,9 @@ private HttpRequest.Builder getConnectedAccountRatesRequestBuilder( } /** * 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). + * specific connected account, including the pair type (`quote`, `market`, + * `onOffRamp`). **Note:** This endpoint is currently in beta and might be subject to + * changes. * * @param accountId The ID of the account to fetch supported pairs for. (required) * @param pageSize Page size for pagination. (optional, default to 100) @@ -427,8 +493,8 @@ private HttpRequest.Builder getConnectedAccountTradingPairsRequestBuilder( return localVarRequestBuilder; } /** - * Get connected accounts Returns all connected accounts </br> **Note**: - This endpoint - * is currently in beta and might be subject to changes. + * Get connected accounts Returns all connected accounts. **Note:** This endpoint is currently + * in beta and might be subject to changes. * * @param mainAccounts Whether to include only main accounts in the response. (optional, default * to false) @@ -515,4 +581,100 @@ private HttpRequest.Builder getConnectedAccountsRequestBuilder( } return localVarRequestBuilder; } + /** + * Rename Connected Account Rename a connected account by account ID. **Note:** This endpoint is + * currently in beta and might be subject to changes. + * + * @param renameConnectedAccountRequest (required) + * @param accountId The unique identifier of the connected account (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<RenameConnectedAccountResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> renameConnectedAccount( + RenameConnectedAccountRequest renameConnectedAccountRequest, + String accountId, + String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + renameConnectedAccountRequestBuilder( + renameConnectedAccountRequest, accountId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "renameConnectedAccount", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + RenameConnectedAccountResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder renameConnectedAccountRequestBuilder( + RenameConnectedAccountRequest renameConnectedAccountRequest, + String accountId, + String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "renameConnectedAccount", + "renameConnectedAccountRequest", + renameConnectedAccountRequest); + ValidationUtils.assertParamExistsAndNotEmpty( + "renameConnectedAccount", "accountId", accountId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/connected_accounts/{accountId}/rename" + .replace("{accountId}", ApiClient.urlEncode(accountId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes(renameConnectedAccountRequest); + localVarRequestBuilder.method( + "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } } diff --git a/src/main/java/com/fireblocks/sdk/api/ConsoleUserApi.java b/src/main/java/com/fireblocks/sdk/api/ConsoleUserApi.java index 4616e95d..9e839942 100644 --- a/src/main/java/com/fireblocks/sdk/api/ConsoleUserApi.java +++ b/src/main/java/com/fireblocks/sdk/api/ConsoleUserApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -71,7 +71,11 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Create console user Creates console user in your tenant + * Create console user 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). </br>Endpoint Permission: + * Admin, Non-Signing Admin. * * @param createConsoleUser (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -138,7 +142,9 @@ private HttpRequest.Builder createConsoleUserRequestBuilder( return localVarRequestBuilder; } /** - * Get console users Get console users for your tenant + * Get console users Get console users for your workspace. - Please note that this endpoint is + * available only for API keys with Admin/Non Signing Admin permissions. </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @return CompletableFuture<ApiResponse<GetConsoleUsersResponse>> * @throws ApiException if fails to make API call diff --git a/src/main/java/com/fireblocks/sdk/api/ContractInteractionsApi.java b/src/main/java/com/fireblocks/sdk/api/ContractInteractionsApi.java index c3e21edb..32ff70ad 100644 --- a/src/main/java/com/fireblocks/sdk/api/ContractInteractionsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/ContractInteractionsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -20,6 +20,7 @@ import com.fireblocks.sdk.ApiResponse; import com.fireblocks.sdk.ValidationUtils; import com.fireblocks.sdk.model.ContractAbiResponseDto; +import com.fireblocks.sdk.model.ContractAddressResponse; import com.fireblocks.sdk.model.ContractDataDecodeRequest; import com.fireblocks.sdk.model.ContractDataDecodedResponse; import com.fireblocks.sdk.model.ParameterWithValue; @@ -183,12 +184,92 @@ private HttpRequest.Builder decodeContractDataRequestBuilder( } return localVarRequestBuilder; } + /** + * Get contract address by transaction hash Retrieve the contract address by blockchain native + * asset ID and transaction hash + * + * @param baseAssetId The blockchain base assetId (required) + * @param txHash The transaction hash (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<ContractAddressResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getContractAddress( + String baseAssetId, String txHash, String idempotencyKey) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getContractAddressRequestBuilder(baseAssetId, txHash, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getContractAddress", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + ContractAddressResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getContractAddressRequestBuilder( + String baseAssetId, String txHash, String idempotencyKey) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getContractAddress", "baseAssetId", baseAssetId); + ValidationUtils.assertParamExistsAndNotEmpty("getContractAddress", "txHash", txHash); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash}" + .replace("{baseAssetId}", ApiClient.urlEncode(baseAssetId.toString())) + .replace("{txHash}", ApiClient.urlEncode(txHash.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } /** * Return deployed contract's ABI Return deployed contract's ABI by blockchain native - * asset id and contract address + * asset id and contract address. </br>Endpoint Permission: Admin, Non-Signing Admin, + * Signer, Approver, Editor, and Viewer. * * @param contractAddress The contract's onchain address (required) - * @param baseAssetId (required) + * @param baseAssetId The blockchain base assetId (required) * @param idempotencyKey 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) @@ -268,7 +349,9 @@ private HttpRequest.Builder getDeployedContractAbiRequestBuilder( } /** * Get transaction receipt Retrieve the transaction receipt by blockchain native asset ID and - * transaction hash + * transaction hash > **Note** > This functionality is exclusively available for EVM + * (Ethereum Virtual Machine) compatible chains. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor, and Viewer. * * @param baseAssetId The blockchain base assetId (required) * @param txHash The transaction hash (required) diff --git a/src/main/java/com/fireblocks/sdk/api/ContractTemplatesApi.java b/src/main/java/com/fireblocks/sdk/api/ContractTemplatesApi.java index 35185374..5dbd376c 100644 --- a/src/main/java/com/fireblocks/sdk/api/ContractTemplatesApi.java +++ b/src/main/java/com/fireblocks/sdk/api/ContractTemplatesApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -25,6 +25,7 @@ import com.fireblocks.sdk.model.ContractDeployResponse; import com.fireblocks.sdk.model.ContractTemplateDto; import com.fireblocks.sdk.model.ContractUploadRequest; +import com.fireblocks.sdk.model.SupportedBlockChainsResponse; import com.fireblocks.sdk.model.TemplatesPaginatedResponse; import java.io.IOException; import java.io.InputStream; @@ -400,7 +401,8 @@ private HttpRequest.Builder getContractTemplateByIdRequestBuilder(String contrac } /** * List all contract templates Return minimal representation of all the contract templates - * available for the workspace + * available for the workspace. </br>Endpoint Permission: Admin, Non-Signing Admin, + * Signer, Approver, Editor, Viewer. * * @param limit Items per page (max 100) (optional, default to 100) * @param offset Paging offset (optional, default to 0) @@ -409,7 +411,8 @@ private HttpRequest.Builder getContractTemplateByIdRequestBuilder(String contrac * (optional) * @param type The type of the contract templates you wish to retrieve. Can accept one type, * more or none (optional) - * @param initializationPhase (optional) + * @param initializationPhase For standalone contracts use ON_DEPLOYMENT and for contracts that + * are behind proxies use POST_DEPLOYMENT (optional) * @return CompletableFuture<ApiResponse<TemplatesPaginatedResponse>> * @throws ApiException if fails to make API call */ @@ -605,6 +608,78 @@ private HttpRequest.Builder getFunctionAbiByContractTemplateIdRequestBuilder( } return localVarRequestBuilder; } + /** + * Get supported blockchains for the template Get supported blockchains for the template + * + * @param contractTemplateId The Contract Template identifier (required) + * @return CompletableFuture<ApiResponse<SupportedBlockChainsResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + getSupportedBlockchainsByTemplateId(String contractTemplateId) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getSupportedBlockchainsByTemplateIdRequestBuilder(contractTemplateId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getSupportedBlockchainsByTemplateId", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + SupportedBlockChainsResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getSupportedBlockchainsByTemplateIdRequestBuilder( + String contractTemplateId) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getSupportedBlockchainsByTemplateId", "contractTemplateId", contractTemplateId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/tokenization/templates/{contractTemplateId}/supported_blockchains" + .replace( + "{contractTemplateId}", + ApiClient.urlEncode(contractTemplateId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } /** * Upload contract template Upload a new contract template. This contract template will be * available for the workspace diff --git a/src/main/java/com/fireblocks/sdk/api/ContractsApi.java b/src/main/java/com/fireblocks/sdk/api/ContractsApi.java index eb15c742..5478290f 100644 --- a/src/main/java/com/fireblocks/sdk/api/ContractsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/ContractsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -75,7 +75,8 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Add an asset to a contract Adds an asset to an existing contract. + * Add an asset to a whitelisted contract Adds an asset to a whitelisted contract. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param contractId The ID of the contract (required) * @param assetId The ID of the asset to add (required) @@ -169,7 +170,8 @@ private HttpRequest.Builder addContractAssetRequestBuilder( return localVarRequestBuilder; } /** - * Create a contract Creates a new contract. + * Add a contract Adds a contract to the workspace whitelist. </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param createContractRequest (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -249,7 +251,8 @@ private HttpRequest.Builder createContractRequestBuilder( return localVarRequestBuilder; } /** - * Delete a contract Deletes a contract by ID. + * Delete a contract Deletes a contract by ID. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @param contractId The ID of the contract to delete (required) * @return CompletableFuture<ApiResponse<Void>> @@ -305,7 +308,8 @@ private HttpRequest.Builder deleteContractRequestBuilder(String contractId) return localVarRequestBuilder; } /** - * Delete a contract asset Deletes a contract asset by ID. + * Delete an asset from a whitelisted contract Deletes a whitelisted contract asset by ID. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param contractId The ID of the contract (required) * @param assetId The ID of the asset to delete (required) @@ -367,7 +371,8 @@ private HttpRequest.Builder deleteContractAssetRequestBuilder(String contractId, return localVarRequestBuilder; } /** - * Find a specific contract Returns a contract by ID. + * Find a Specific Whitelisted Contract Returns a whitelisted contract by Fireblocks Contract + * ID. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param contractId The ID of the contract to return (required) * @return CompletableFuture<ApiResponse<UnmanagedWallet>> @@ -432,7 +437,8 @@ private HttpRequest.Builder getContractRequestBuilder(String contractId) throws return localVarRequestBuilder; } /** - * Find a contract asset Returns a contract asset by ID. + * Find a whitelisted contract's asset Returns a whitelisted contract's asset by ID. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param contractId The ID of the contract (required) * @param assetId The ID of the asset to return (required) @@ -502,7 +508,8 @@ private HttpRequest.Builder getContractAssetRequestBuilder(String contractId, St return localVarRequestBuilder; } /** - * List contracts Gets a list of contracts. + * List Whitelisted Contracts Gets a list of whitelisted contracts. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @return CompletableFuture<ApiResponse<List<UnmanagedWallet>>> * @throws ApiException if fails to make API call diff --git a/src/main/java/com/fireblocks/sdk/api/CosignersBetaApi.java b/src/main/java/com/fireblocks/sdk/api/CosignersBetaApi.java index 56c19163..c77972ff 100644 --- a/src/main/java/com/fireblocks/sdk/api/CosignersBetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/CosignersBetaApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -89,7 +89,7 @@ private String formatExceptionMessage(String operationId, int statusCode, String /** * Add cosigner Add a new cosigner. The cosigner will be pending pairing until the API key is - * manually paired + * manually paired </br>Endpoint Permission: Admin and Non-Signing Admin. * * @param addCosignerRequest (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -167,8 +167,8 @@ private HttpRequest.Builder addCosignerRequestBuilder( return localVarRequestBuilder; } /** - * Get API key Get an API key by ID **Note:** These endpoints are currently in beta and might be - * subject to changes. + * Get API key Get an API key by ID. **Note:** These endpoints are currently in beta and might + * be subject to changes. </br>Endpoint Permission: Admin and Non-Signing Admin. * * @param cosignerId The unique identifier of the cosigner (required) * @param apiKeyId The unique identifier of the API key (required) @@ -239,7 +239,9 @@ private HttpRequest.Builder getApiKeyRequestBuilder(UUID cosignerId, String apiK return localVarRequestBuilder; } /** - * Get all API keys Get all cosigner paired API keys (paginated) + * Get all API keys Get all cosigner paired API keys (paginated). **Note:** These endpoints are + * currently in beta and might be subject to changes. </br>Endpoint Permission: Admin and + * Non-Signing Admin. * * @param cosignerId The unique identifier of the cosigner (required) * @param order ASC / DESC ordering (default DESC) (optional, default to DESC) @@ -332,8 +334,8 @@ private HttpRequest.Builder getApiKeysRequestBuilder( return localVarRequestBuilder; } /** - * Get cosigner Get a cosigner by ID **Note:** These endpoints are currently in beta and might - * be subject to changes. + * Get cosigner Get a cosigner by ID. **Note:** These endpoints are currently in beta and might + * be subject to changes. </br>Endpoint Permission: Admin and Non-Signing Admin. * * @param cosignerId The unique identifier of the cosigner (required) * @return CompletableFuture<ApiResponse<Cosigner>> @@ -399,8 +401,9 @@ private HttpRequest.Builder getCosignerRequestBuilder(UUID cosignerId) throws Ap return localVarRequestBuilder; } /** - * Get all cosigners Get all workspace cosigners (paginated) **Note:** These endpoints are - * currently in beta and might be subject to changes. + * Get all cosigners Get all workspace cosigners (paginated). **Note:** These endpoints are + * currently in beta and might be subject to changes. </br>Endpoint Permission: Admin and + * Non-Signing Admin. * * @param order ASC / DESC ordering (default DESC) (optional, default to DESC) * @param pageCursor Cursor of the required page (optional) @@ -486,7 +489,8 @@ private HttpRequest.Builder getCosignersRequestBuilder( return localVarRequestBuilder; } /** - * Get request status Get the status of an asynchronous request + * Get request status Get the status of an asynchronous request </br>Endpoint Permission: + * Admin and Non-Signing Admin. * * @param cosignerId The unique identifier of the cosigner (required) * @param apiKeyId The unique identifier of the API key (required) @@ -560,7 +564,8 @@ private HttpRequest.Builder getRequestStatusRequestBuilder( return localVarRequestBuilder; } /** - * Pair API key Pair an API key to a cosigner + * Pair API key Pair an API key to a cosigner </br>Endpoint Permission: Admin and + * Non-Signing Admin. * * @param pairApiKeyRequest (required) * @param cosignerId The unique identifier of the cosigner (required) @@ -655,8 +660,8 @@ private HttpRequest.Builder pairApiKeyRequestBuilder( return localVarRequestBuilder; } /** - * Rename cosigner Rename a cosigner by ID **Note:** These endpoints are currently in beta and - * might be subject to changes. + * Rename cosigner Rename a cosigner by ID. **Note:** These endpoints are currently in beta and + * might be subject to changes. </br>Endpoint Permission: Admin and Non-Signing Admin. * * @param renameCosigner (required) * @param cosignerId The unique identifier of the cosigner (required) @@ -733,7 +738,8 @@ private HttpRequest.Builder renameCosignerRequestBuilder( return localVarRequestBuilder; } /** - * Unpair API key Unpair an API key from a cosigner + * Unpair API key Unpair an API key from a cosigner </br>Endpoint Permission: Admin and + * Non-Signing Admin. * * @param cosignerId The unique identifier of the cosigner (required) * @param apiKeyId The unique identifier of the API key (required) @@ -804,7 +810,8 @@ private HttpRequest.Builder unpairApiKeyRequestBuilder(UUID cosignerId, String a return localVarRequestBuilder; } /** - * Update API key callback handler Update the callback handler of an API key + * Update API key callback handler Update the callback handler of an API key </br>Endpoint + * Permission: Admin and Non-Signing Admin. * * @param updateCallbackHandlerRequest (required) * @param cosignerId The unique identifier of the cosigner (required) diff --git a/src/main/java/com/fireblocks/sdk/api/DeployedContractsApi.java b/src/main/java/com/fireblocks/sdk/api/DeployedContractsApi.java index b627d06d..b25cfffb 100644 --- a/src/main/java/com/fireblocks/sdk/api/DeployedContractsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/DeployedContractsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/api/EmbeddedWalletsApi.java b/src/main/java/com/fireblocks/sdk/api/EmbeddedWalletsApi.java index cdb640c3..91ec5b91 100644 --- a/src/main/java/com/fireblocks/sdk/api/EmbeddedWalletsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/EmbeddedWalletsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -30,7 +30,11 @@ import com.fireblocks.sdk.model.EmbeddedWalletLatestBackupResponse; import com.fireblocks.sdk.model.EmbeddedWalletPaginatedAddressesResponse; import com.fireblocks.sdk.model.EmbeddedWalletPaginatedAssetsResponse; +import com.fireblocks.sdk.model.EmbeddedWalletPaginatedDevicesResponse; import com.fireblocks.sdk.model.EmbeddedWalletPaginatedWalletsResponse; +import com.fireblocks.sdk.model.EmbeddedWalletSetupStatusResponse; +import com.fireblocks.sdk.model.EnableDevice; +import com.fireblocks.sdk.model.EnableWallet; import com.fireblocks.sdk.model.PublicKeyInformation; import java.io.IOException; import java.io.InputStream; @@ -173,6 +177,80 @@ private HttpRequest.Builder addEmbeddedWalletAssetRequestBuilder( } return localVarRequestBuilder; } + /** + * Assign a wallet Assign a specific Non Custodial Wallet to a user + * + * @param walletId Wallet Id (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<EmbeddedWallet>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> assignEmbeddedWallet( + String walletId, String idempotencyKey) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + assignEmbeddedWalletRequestBuilder(walletId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "assignEmbeddedWallet", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + EmbeddedWallet>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder assignEmbeddedWalletRequestBuilder( + String walletId, String idempotencyKey) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty("assignEmbeddedWallet", "walletId", walletId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/ncw/wallets/{walletId}/assign" + .replace("{walletId}", ApiClient.urlEncode(walletId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("POST", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } /** * Create a new wallet Create new Non Custodial Wallet * @@ -746,6 +824,119 @@ private HttpRequest.Builder getEmbeddedWalletAssetBalanceRequestBuilder( } return localVarRequestBuilder; } + /** + * Retrieve assets Retrieve assets for a specific account under a specific Non Custodial Wallet + * + * @param walletId Wallet Id (required) + * @param accountId The ID of the account (required) + * @param sort Sort by fields (optional + * @param pageCursor Cursor to the next page (optional) + * @param pageSize Amount of results to return in the next page (optional, default to 200) + * @param order Is the order ascending or descending (optional, default to ASC) + * @return CompletableFuture<ApiResponse<EmbeddedWalletPaginatedAssetsResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + getEmbeddedWalletAssets( + String walletId, + String accountId, + List sort, + String pageCursor, + BigDecimal pageSize, + String order) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getEmbeddedWalletAssetsRequestBuilder( + walletId, accountId, sort, pageCursor, pageSize, order); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getEmbeddedWalletAssets", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + EmbeddedWalletPaginatedAssetsResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getEmbeddedWalletAssetsRequestBuilder( + String walletId, + String accountId, + List sort, + String pageCursor, + BigDecimal pageSize, + String order) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getEmbeddedWalletAssets", "walletId", walletId); + ValidationUtils.assertParamExistsAndNotEmpty( + "getEmbeddedWalletAssets", "accountId", accountId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/ncw/wallets/{walletId}/accounts/{accountId}/assets" + .replace("{walletId}", ApiClient.urlEncode(walletId.toString())) + .replace("{accountId}", ApiClient.urlEncode(accountId.toString())); + + List localVarQueryParams = new ArrayList<>(); + StringJoiner localVarQueryStringJoiner = new StringJoiner("&"); + String localVarQueryParameterBaseName; + localVarQueryParameterBaseName = "sort"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("multi", "sort", sort)); + localVarQueryParameterBaseName = "pageCursor"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageCursor", pageCursor)); + localVarQueryParameterBaseName = "pageSize"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageSize", pageSize)); + localVarQueryParameterBaseName = "order"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("order", order)); + + if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { + StringJoiner queryJoiner = new StringJoiner("&"); + localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue())); + if (localVarQueryStringJoiner.length() != 0) { + queryJoiner.add(localVarQueryStringJoiner.toString()); + } + localVarRequestBuilder.uri( + URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString())); + } else { + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + } + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } /** * Get Embedded Wallet Device Get specific device for a specific s Wallet * @@ -895,6 +1086,115 @@ private HttpRequest.Builder getEmbeddedWalletDeviceSetupStateRequestBuilder( } return localVarRequestBuilder; } + /** + * Get registered devices - paginated Get a paginated list of registered devices for a specific + * Non Custodial Wallet + * + * @param walletId Wallet Id (required) + * @param sort Sort by fields (optional + * @param pageCursor Cursor to the next page (optional) + * @param pageSize Amount of results to return in the next page (optional, default to 200) + * @param order Is the order ascending or descending (optional, default to ASC) + * @return CompletableFuture<ApiResponse<EmbeddedWalletPaginatedDevicesResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + getEmbeddedWalletDevicesPaginated( + String walletId, + List sort, + String pageCursor, + BigDecimal pageSize, + String order) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getEmbeddedWalletDevicesPaginatedRequestBuilder( + walletId, sort, pageCursor, pageSize, order); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getEmbeddedWalletDevicesPaginated", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + EmbeddedWalletPaginatedDevicesResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getEmbeddedWalletDevicesPaginatedRequestBuilder( + String walletId, + List sort, + String pageCursor, + BigDecimal pageSize, + String order) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getEmbeddedWalletDevicesPaginated", "walletId", walletId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/ncw/wallets/{walletId}/devices_paginated" + .replace("{walletId}", ApiClient.urlEncode(walletId.toString())); + + List localVarQueryParams = new ArrayList<>(); + StringJoiner localVarQueryStringJoiner = new StringJoiner("&"); + String localVarQueryParameterBaseName; + localVarQueryParameterBaseName = "sort"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("multi", "sort", sort)); + localVarQueryParameterBaseName = "pageCursor"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageCursor", pageCursor)); + localVarQueryParameterBaseName = "pageSize"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageSize", pageSize)); + localVarQueryParameterBaseName = "order"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("order", order)); + + if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { + StringJoiner queryJoiner = new StringJoiner("&"); + localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue())); + if (localVarQueryStringJoiner.length() != 0) { + queryJoiner.add(localVarQueryStringJoiner.toString()); + } + localVarRequestBuilder.uri( + URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString())); + } else { + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + } + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } /** * Get wallet Latest Backup details Get wallet Latest Backup details, including the deviceId, * and backup time @@ -1101,6 +1401,77 @@ private HttpRequest.Builder getEmbeddedWalletPublicKeyInfoForAddressRequestBuild } return localVarRequestBuilder; } + /** + * Get wallet key setup state Get the key setup state for a specific Non Custodial Wallet, + * including required algorithms and device setup status + * + * @param walletId Wallet Id (required) + * @return CompletableFuture<ApiResponse<EmbeddedWalletSetupStatusResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + getEmbeddedWalletSetupStatus(String walletId) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getEmbeddedWalletSetupStatusRequestBuilder(walletId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getEmbeddedWalletSetupStatus", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + EmbeddedWalletSetupStatusResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getEmbeddedWalletSetupStatusRequestBuilder(String walletId) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getEmbeddedWalletSetupStatus", "walletId", walletId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/ncw/wallets/{walletId}/setup_status" + .replace("{walletId}", ApiClient.urlEncode(walletId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } /** * Retrieve supported assets Get all the available supported assets for the Non-Custodial Wallet * @@ -1495,4 +1866,165 @@ private HttpRequest.Builder refreshEmbeddedWalletAssetBalanceRequestBuilder( } return localVarRequestBuilder; } + /** + * Update device status Update the enabled/disabled status of a specific device for a Non + * Custodial Wallet + * + * @param enableDevice (required) + * @param walletId Wallet Id (required) + * @param deviceId Device Id (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<Void>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> updateEmbeddedWalletDeviceStatus( + EnableDevice enableDevice, String walletId, String deviceId, String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + updateEmbeddedWalletDeviceStatusRequestBuilder( + enableDevice, walletId, deviceId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "updateEmbeddedWalletDeviceStatus", + localVarResponse)); + } + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + null)); + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder updateEmbeddedWalletDeviceStatusRequestBuilder( + EnableDevice enableDevice, String walletId, String deviceId, String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "updateEmbeddedWalletDeviceStatus", "enableDevice", enableDevice); + ValidationUtils.assertParamExistsAndNotEmpty( + "updateEmbeddedWalletDeviceStatus", "walletId", walletId); + ValidationUtils.assertParamExistsAndNotEmpty( + "updateEmbeddedWalletDeviceStatus", "deviceId", deviceId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/ncw/wallets/{walletId}/devices/{deviceId}/status" + .replace("{walletId}", ApiClient.urlEncode(walletId.toString())) + .replace("{deviceId}", ApiClient.urlEncode(deviceId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = memberVarObjectMapper.writeValueAsBytes(enableDevice); + localVarRequestBuilder.method( + "PATCH", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Update wallet status Update the enabled/disabled status of a specific Non Custodial Wallet + * + * @param enableWallet (required) + * @param walletId Wallet Id (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<Void>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> updateEmbeddedWalletStatus( + EnableWallet enableWallet, String walletId, String idempotencyKey) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + updateEmbeddedWalletStatusRequestBuilder( + enableWallet, walletId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "updateEmbeddedWalletStatus", + localVarResponse)); + } + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + null)); + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder updateEmbeddedWalletStatusRequestBuilder( + EnableWallet enableWallet, String walletId, String idempotencyKey) throws ApiException { + ValidationUtils.assertParamExists( + "updateEmbeddedWalletStatus", "enableWallet", enableWallet); + ValidationUtils.assertParamExistsAndNotEmpty( + "updateEmbeddedWalletStatus", "walletId", walletId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/ncw/wallets/{walletId}/status" + .replace("{walletId}", ApiClient.urlEncode(walletId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = memberVarObjectMapper.writeValueAsBytes(enableWallet); + localVarRequestBuilder.method( + "PATCH", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } } diff --git a/src/main/java/com/fireblocks/sdk/api/ExchangeAccountsApi.java b/src/main/java/com/fireblocks/sdk/api/ExchangeAccountsApi.java index 5cc6d2ab..ec0d8ce9 100644 --- a/src/main/java/com/fireblocks/sdk/api/ExchangeAccountsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/ExchangeAccountsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -85,7 +85,13 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Add an exchange account Add an exchange account to exchanges. + * Add an exchange account 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 addExchangeAccountRequest (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -168,9 +174,11 @@ private HttpRequest.Builder addExchangeAccountRequestBuilder( return localVarRequestBuilder; } /** - * Convert exchange account funds from the source asset to the destination asset. 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 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param exchangeAccountId 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. @@ -263,7 +271,8 @@ private HttpRequest.Builder convertAssetsRequestBuilder( return localVarRequestBuilder; } /** - * Find a specific exchange account Returns an exchange account by ID. + * Get a specific exchange account Returns an exchange account by ID. </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @param exchangeAccountId The ID of the exchange account to return (required) * @return CompletableFuture<ApiResponse<ExchangeAccount>> @@ -334,7 +343,8 @@ private HttpRequest.Builder getExchangeAccountRequestBuilder(String exchangeAcco return localVarRequestBuilder; } /** - * Find an asset for an exchange account Returns an asset for an exchange account. + * Get an asset for an exchange account Returns an asset for an exchange account. + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param exchangeAccountId The ID of the exchange account to return (required) * @param assetId The ID of the asset to return (required) @@ -475,7 +485,8 @@ private HttpRequest.Builder getExchangeAccountsCredentialsPublicKeyRequestBuilde return localVarRequestBuilder; } /** - * Pagination list exchange accounts Returns a page include exchange accounts. + * List connected exchange accounts Returns a list of the connected exchange accounts in your + * workspace. </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param limit number of exchanges per page (required) * @param before (optional) @@ -565,7 +576,9 @@ private HttpRequest.Builder getPagedExchangeAccountsRequestBuilder( } /** * Internal transfer for exchange accounts Transfers funds between trading accounts under the - * same exchange account. + * same exchange account. Learn more about Fireblocks Exchange Connectivity in the following + * [guide](https://developers.fireblocks.com/docs/connect-to-exchanges-and-fiat-providers). + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param exchangeAccountId The ID of the exchange account to return (required) * @param createInternalTransferRequest (optional) diff --git a/src/main/java/com/fireblocks/sdk/api/ExternalWalletsApi.java b/src/main/java/com/fireblocks/sdk/api/ExternalWalletsApi.java index 18d51f6f..1d1746cf 100644 --- a/src/main/java/com/fireblocks/sdk/api/ExternalWalletsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/ExternalWalletsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -77,6 +77,7 @@ private String formatExceptionMessage(String operationId, int statusCode, String /** * Add an asset to an external wallet. Adds an asset to an existing external wallet. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param walletId The ID of the wallet (required) * @param assetId The ID of the asset to add (required) @@ -173,7 +174,11 @@ private HttpRequest.Builder addAssetToExternalWalletRequestBuilder( return localVarRequestBuilder; } /** - * Create an external wallet Creates a new external wallet with the requested name. + * 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. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @param createWalletRequest (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -251,7 +256,9 @@ private HttpRequest.Builder createExternalWalletRequestBuilder( return localVarRequestBuilder; } /** - * Delete an external wallet Deletes an external wallet by ID. + * Delete an external wallet Deletes an external wallet by ID. External Wallet is a whitelisted + * address of a wallet that belongs to your users/counterparties. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param walletId The ID of the wallet to delete (required) * @return CompletableFuture<ApiResponse<Void>> @@ -309,7 +316,9 @@ private HttpRequest.Builder deleteExternalWalletRequestBuilder(String walletId) return localVarRequestBuilder; } /** - * Find an external wallet Returns an external wallet by ID. + * Find an external wallet Returns an external wallet by ID. External Wallet is a whitelisted + * address of a wallet that belongs to your users/counterparties. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @param walletId The ID of the wallet to return (required) * @return CompletableFuture<ApiResponse<UnmanagedWallet>> @@ -376,6 +385,9 @@ private HttpRequest.Builder getExternalWalletRequestBuilder(String walletId) } /** * Get an asset from an external wallet 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, + * Approver, Editor, Viewer. * * @param walletId The ID of the wallet (required) * @param assetId The ID of the asset to return (required) @@ -447,7 +459,11 @@ private HttpRequest.Builder getExternalWalletAssetRequestBuilder( return localVarRequestBuilder; } /** - * List external wallets Gets a list of external wallets under the workspace. + * 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. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor, Viewer. * * @return CompletableFuture<ApiResponse<List<UnmanagedWallet>>> * @throws ApiException if fails to make API call @@ -511,6 +527,7 @@ private HttpRequest.Builder getExternalWalletsRequestBuilder() throws ApiExcepti } /** * Delete an asset from an external wallet Deletes an external wallet asset by ID. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param walletId The ID of the wallet (required) * @param assetId The ID of the asset to delete (required) @@ -575,7 +592,9 @@ private HttpRequest.Builder removeAssetFromExternalWalletRequestBuilder( } /** * Set an AML customer reference ID for an external wallet Sets an AML/KYT customer reference ID - * for the specific external wallet. + * for the specific external wallet. External Wallet is a whitelisted address of a wallet that + * belongs to your users/counterparties. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor. * * @param setCustomerRefIdRequest (required) * @param walletId The wallet ID (required) diff --git a/src/main/java/com/fireblocks/sdk/api/FiatAccountsApi.java b/src/main/java/com/fireblocks/sdk/api/FiatAccountsApi.java index f1cbd984..bc2c37f7 100644 --- a/src/main/java/com/fireblocks/sdk/api/FiatAccountsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/FiatAccountsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -159,7 +159,8 @@ private HttpRequest.Builder depositFundsFromLinkedDDARequestBuilder( return localVarRequestBuilder; } /** - * Find a specific fiat account Returns a fiat account by ID. + * Find a specific fiat account Returns a fiat account by ID. </br>Endpoint Permission: + * Admin, Non-Signing Admin. * * @param accountId The ID of the fiat account to return (required) * @return CompletableFuture<ApiResponse<FiatAccount>> @@ -224,7 +225,8 @@ private HttpRequest.Builder getFiatAccountRequestBuilder(String accountId) throw return localVarRequestBuilder; } /** - * List fiat accounts Returns all fiat accounts. + * List fiat accounts Returns all fiat accounts. </br>Endpoint Permission: Admin, + * Non-Signing Admin. * * @return CompletableFuture<ApiResponse<List<FiatAccount>>> * @throws ApiException if fails to make API call diff --git a/src/main/java/com/fireblocks/sdk/api/GasStationsApi.java b/src/main/java/com/fireblocks/sdk/api/GasStationsApi.java index ecf6e47e..5fbc3506 100644 --- a/src/main/java/com/fireblocks/sdk/api/GasStationsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/GasStationsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -74,7 +74,7 @@ private String formatExceptionMessage(String operationId, int statusCode, String /** * Get gas station settings by asset Returns gas station settings and balances for a requested - * asset. + * asset. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param assetId The ID of the asset (required) * @return CompletableFuture<ApiResponse<GasStationPropertiesResponse>> @@ -142,7 +142,8 @@ private HttpRequest.Builder getGasStationByAssetIdRequestBuilder(String assetId) return localVarRequestBuilder; } /** - * Get gas station settings Returns gas station settings and ETH balance. + * Get gas station settings Returns gas station settings and ETH balance. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @return CompletableFuture<ApiResponse<GasStationPropertiesResponse>> * @throws ApiException if fails to make API call @@ -203,7 +204,10 @@ private HttpRequest.Builder getGasStationInfoRequestBuilder() throws ApiExceptio return localVarRequestBuilder; } /** - * Edit gas station settings Configures gas station settings for ETH. + * 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param gasStationConfiguration (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -292,6 +296,9 @@ private HttpRequest.Builder updateGasStationConfigurationRequestBuilder( } /** * 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param gasStationConfiguration (required) * @param assetId The ID of the asset (required) diff --git a/src/main/java/com/fireblocks/sdk/api/InternalWalletsApi.java b/src/main/java/com/fireblocks/sdk/api/InternalWalletsApi.java index b3bd6130..d8d7766d 100644 --- a/src/main/java/com/fireblocks/sdk/api/InternalWalletsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/InternalWalletsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -83,8 +83,7 @@ private String formatExceptionMessage(String operationId, int statusCode, String /** * 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. + * [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) * * @param createWalletRequest (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -162,12 +161,7 @@ private HttpRequest.Builder createInternalWalletRequestBuilder( return localVarRequestBuilder; } /** - * 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. + * Add an asset to an internal wallet Adds an asset to an existing internal wallet. * * @param walletId The ID of the wallet (required) * @param assetId The ID of the asset to add (required) @@ -264,10 +258,7 @@ private HttpRequest.Builder createInternalWalletAssetRequestBuilder( return localVarRequestBuilder; } /** - * 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. + * Delete an internal wallet Deletes an internal wallet by ID. * * @param walletId The ID of the wallet to delete (required) * @return CompletableFuture<ApiResponse<Void>> @@ -326,11 +317,7 @@ private HttpRequest.Builder deleteInternalWalletRequestBuilder(String walletId) } /** * 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. + * wallet. * * @param walletId The ID of the wallet (required) * @param assetId The ID of the asset to delete (required) @@ -393,13 +380,7 @@ private HttpRequest.Builder deleteInternalWalletAssetRequestBuilder( return localVarRequestBuilder; } /** - * Get an asset from an internal wallet Returns information for an asset in an internal wallet. - * This endpoint will be deprecated after 6 months. </br>As part of the depreciation - * process this endpoint will no longer return balances, only addresses. </br>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. + * Get assets for internal wallet Returns information for an internal wallet. * * @param walletId The ID of the wallet to return (required) * @return CompletableFuture<ApiResponse<UnmanagedWallet>> @@ -466,11 +447,6 @@ private HttpRequest.Builder getInternalWalletRequestBuilder(String walletId) } /** * 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. * * @param walletId The ID of the wallet (required) * @param assetId The ID of the asset to return (required) @@ -543,14 +519,7 @@ private HttpRequest.Builder getInternalWalletAssetRequestBuilder( } /** * 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. </br>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. + * internal wallet. * * @param walletId The ID of the internal wallet to return assets for (required) * @param pageSize (optional, default to 50) @@ -640,16 +609,7 @@ private HttpRequest.Builder getInternalWalletAssetsPaginatedRequestBuilder( return localVarRequestBuilder; } /** - * 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. - * </br>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. + * List internal wallets Gets a list of internal wallets. * * @return CompletableFuture<ApiResponse<List<UnmanagedWallet>>> * @throws ApiException if fails to make API call @@ -712,13 +672,8 @@ private HttpRequest.Builder getInternalWalletsRequestBuilder() throws ApiExcepti return localVarRequestBuilder; } /** - * Set an AML/KYT customer reference ID for an 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. + * Set an AML/KYT customer reference ID for internal wallet Sets an AML/KYT customer reference + * ID for the specific internal wallet. * * @param setCustomerRefIdRequest (required) * @param walletId The wallet ID (required) diff --git a/src/main/java/com/fireblocks/sdk/api/JobManagementApi.java b/src/main/java/com/fireblocks/sdk/api/JobManagementApi.java deleted file mode 100644 index 0bbd57c9..00000000 --- a/src/main/java/com/fireblocks/sdk/api/JobManagementApi.java +++ /dev/null @@ -1,476 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.api; - - -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fireblocks.sdk.ApiClient; -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.Pair; -import com.fireblocks.sdk.ValidationUtils; -import com.fireblocks.sdk.model.Job; -import com.fireblocks.sdk.model.Task; -import java.io.IOException; -import java.io.InputStream; -import java.net.URI; -import java.net.http.HttpClient; -import java.net.http.HttpRequest; -import java.net.http.HttpResponse; -import java.time.Duration; -import java.util.ArrayList; -import java.util.List; -import java.util.StringJoiner; -import java.util.concurrent.CompletableFuture; -import java.util.function.Consumer; - -@jakarta.annotation.Generated( - value = "org.openapitools.codegen.languages.JavaClientCodegen", - comments = "Generator version: 7.14.0") -public class JobManagementApi { - private final HttpClient memberVarHttpClient; - private final ObjectMapper memberVarObjectMapper; - private final String memberVarBaseUri; - private final Consumer memberVarInterceptor; - private final Duration memberVarReadTimeout; - private final Consumer> memberVarResponseInterceptor; - private final Consumer> memberVarAsyncResponseInterceptor; - - public JobManagementApi() { - this(new ApiClient()); - } - - public JobManagementApi(ApiClient apiClient) { - memberVarHttpClient = apiClient.getHttpClient(); - memberVarObjectMapper = apiClient.getObjectMapper(); - memberVarBaseUri = apiClient.getBaseUri(); - memberVarInterceptor = apiClient.getRequestInterceptor(); - memberVarReadTimeout = apiClient.getReadTimeout(); - memberVarResponseInterceptor = apiClient.getResponseInterceptor(); - memberVarAsyncResponseInterceptor = apiClient.getAsyncResponseInterceptor(); - } - - private ApiException getApiException(String operationId, HttpResponse response) { - String message = - formatExceptionMessage(operationId, response.statusCode(), response.body()); - return new ApiException( - response.statusCode(), message, response.headers(), response.body()); - } - - private String formatExceptionMessage(String operationId, int statusCode, String body) { - if (body == null || body.isEmpty()) { - body = "[no body]"; - } - return operationId + " call failed with: " + statusCode + " - " + body; - } - - /** - * 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 jobId The requested job id (required) - * @param idempotencyKey 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 CompletableFuture<ApiResponse<Void>> - * @throws ApiException if fails to make API call - */ - public CompletableFuture> cancelJob(String jobId, String idempotencyKey) - throws ApiException { - try { - HttpRequest.Builder localVarRequestBuilder = - cancelJobRequestBuilder(jobId, idempotencyKey); - return memberVarHttpClient - .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) - .thenComposeAsync( - localVarResponse -> { - if (memberVarAsyncResponseInterceptor != null) { - memberVarAsyncResponseInterceptor.accept(localVarResponse); - } - if (localVarResponse.statusCode() / 100 != 2) { - return CompletableFuture.failedFuture( - getApiException("cancelJob", localVarResponse)); - } - return CompletableFuture.completedFuture( - new ApiResponse( - localVarResponse.statusCode(), - localVarResponse.headers().map(), - null)); - }); - } catch (ApiException e) { - return CompletableFuture.failedFuture(e); - } - } - - private HttpRequest.Builder cancelJobRequestBuilder(String jobId, String idempotencyKey) - throws ApiException { - ValidationUtils.assertParamExistsAndNotEmpty("cancelJob", "jobId", jobId); - - HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); - - String localVarPath = - "/batch/{jobId}/cancel".replace("{jobId}", ApiClient.urlEncode(jobId.toString())); - - localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); - - if (idempotencyKey != null) { - localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); - } - localVarRequestBuilder.header("Accept", "application/json"); - - localVarRequestBuilder.method("POST", HttpRequest.BodyPublishers.noBody()); - if (memberVarReadTimeout != null) { - localVarRequestBuilder.timeout(memberVarReadTimeout); - } - if (memberVarInterceptor != null) { - memberVarInterceptor.accept(localVarRequestBuilder); - } - return localVarRequestBuilder; - } - /** - * Continue a paused job Continue the given paused job. - * - * @param jobId The requested job id (required) - * @param idempotencyKey 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 CompletableFuture<ApiResponse<Void>> - * @throws ApiException if fails to make API call - */ - public CompletableFuture> continueJob(String jobId, String idempotencyKey) - throws ApiException { - try { - HttpRequest.Builder localVarRequestBuilder = - continueJobRequestBuilder(jobId, idempotencyKey); - return memberVarHttpClient - .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) - .thenComposeAsync( - localVarResponse -> { - if (memberVarAsyncResponseInterceptor != null) { - memberVarAsyncResponseInterceptor.accept(localVarResponse); - } - if (localVarResponse.statusCode() / 100 != 2) { - return CompletableFuture.failedFuture( - getApiException("continueJob", localVarResponse)); - } - return CompletableFuture.completedFuture( - new ApiResponse( - localVarResponse.statusCode(), - localVarResponse.headers().map(), - null)); - }); - } catch (ApiException e) { - return CompletableFuture.failedFuture(e); - } - } - - private HttpRequest.Builder continueJobRequestBuilder(String jobId, String idempotencyKey) - throws ApiException { - ValidationUtils.assertParamExistsAndNotEmpty("continueJob", "jobId", jobId); - - HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); - - String localVarPath = - "/batch/{jobId}/continue".replace("{jobId}", ApiClient.urlEncode(jobId.toString())); - - localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); - - if (idempotencyKey != null) { - localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); - } - localVarRequestBuilder.header("Accept", "application/json"); - - localVarRequestBuilder.method("POST", HttpRequest.BodyPublishers.noBody()); - if (memberVarReadTimeout != null) { - localVarRequestBuilder.timeout(memberVarReadTimeout); - } - if (memberVarInterceptor != null) { - memberVarInterceptor.accept(localVarRequestBuilder); - } - return localVarRequestBuilder; - } - /** - * Get job details Get an object describing the given job - * - * @param jobId The requested job id (required) - * @return CompletableFuture<ApiResponse<Job>> - * @throws ApiException if fails to make API call - */ - public CompletableFuture> getJob(String jobId) throws ApiException { - try { - HttpRequest.Builder localVarRequestBuilder = getJobRequestBuilder(jobId); - return memberVarHttpClient - .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) - .thenComposeAsync( - localVarResponse -> { - if (memberVarAsyncResponseInterceptor != null) { - memberVarAsyncResponseInterceptor.accept(localVarResponse); - } - if (localVarResponse.statusCode() / 100 != 2) { - return CompletableFuture.failedFuture( - getApiException("getJob", localVarResponse)); - } - try { - String responseBody = localVarResponse.body(); - return CompletableFuture.completedFuture( - new ApiResponse( - localVarResponse.statusCode(), - localVarResponse.headers().map(), - responseBody == null || responseBody.isBlank() - ? null - : memberVarObjectMapper.readValue( - responseBody, - new TypeReference() {}))); - } catch (IOException e) { - return CompletableFuture.failedFuture(new ApiException(e)); - } - }); - } catch (ApiException e) { - return CompletableFuture.failedFuture(e); - } - } - - private HttpRequest.Builder getJobRequestBuilder(String jobId) throws ApiException { - ValidationUtils.assertParamExistsAndNotEmpty("getJob", "jobId", jobId); - - HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); - - String localVarPath = - "/batch/{jobId}".replace("{jobId}", ApiClient.urlEncode(jobId.toString())); - - localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); - - localVarRequestBuilder.header("Accept", "application/json"); - - localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); - if (memberVarReadTimeout != null) { - localVarRequestBuilder.timeout(memberVarReadTimeout); - } - if (memberVarInterceptor != null) { - memberVarInterceptor.accept(localVarRequestBuilder); - } - return localVarRequestBuilder; - } - /** - * Return a list of tasks for given job Return a list of tasks for given job - * - * @param jobId The requested job id (required) - * @return CompletableFuture<ApiResponse<List<Task>>> - * @throws ApiException if fails to make API call - */ - public CompletableFuture>> getJobTasks(String jobId) - throws ApiException { - try { - HttpRequest.Builder localVarRequestBuilder = getJobTasksRequestBuilder(jobId); - return memberVarHttpClient - .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) - .thenComposeAsync( - localVarResponse -> { - if (memberVarAsyncResponseInterceptor != null) { - memberVarAsyncResponseInterceptor.accept(localVarResponse); - } - if (localVarResponse.statusCode() / 100 != 2) { - return CompletableFuture.failedFuture( - getApiException("getJobTasks", localVarResponse)); - } - try { - String responseBody = localVarResponse.body(); - return CompletableFuture.completedFuture( - new ApiResponse>( - localVarResponse.statusCode(), - localVarResponse.headers().map(), - responseBody == null || responseBody.isBlank() - ? null - : memberVarObjectMapper.readValue( - responseBody, - new TypeReference< - List>() {}))); - } catch (IOException e) { - return CompletableFuture.failedFuture(new ApiException(e)); - } - }); - } catch (ApiException e) { - return CompletableFuture.failedFuture(e); - } - } - - private HttpRequest.Builder getJobTasksRequestBuilder(String jobId) throws ApiException { - ValidationUtils.assertParamExistsAndNotEmpty("getJobTasks", "jobId", jobId); - - HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); - - String localVarPath = - "/batch/{jobId}/tasks".replace("{jobId}", ApiClient.urlEncode(jobId.toString())); - - localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); - - localVarRequestBuilder.header("Accept", "application/json"); - - localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); - if (memberVarReadTimeout != null) { - localVarRequestBuilder.timeout(memberVarReadTimeout); - } - if (memberVarInterceptor != null) { - memberVarInterceptor.accept(localVarRequestBuilder); - } - return localVarRequestBuilder; - } - /** - * 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 fromTime Start of time range in ms since 1970 (optional) - * @param toTime End of time range in ms since 1970 (optional) - * @return CompletableFuture<ApiResponse<List<Job>>> - * @throws ApiException if fails to make API call - */ - public CompletableFuture>> getJobs(Integer fromTime, Integer toTime) - throws ApiException { - try { - HttpRequest.Builder localVarRequestBuilder = getJobsRequestBuilder(fromTime, toTime); - return memberVarHttpClient - .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) - .thenComposeAsync( - localVarResponse -> { - if (memberVarAsyncResponseInterceptor != null) { - memberVarAsyncResponseInterceptor.accept(localVarResponse); - } - if (localVarResponse.statusCode() / 100 != 2) { - return CompletableFuture.failedFuture( - getApiException("getJobs", localVarResponse)); - } - try { - String responseBody = localVarResponse.body(); - return CompletableFuture.completedFuture( - new ApiResponse>( - localVarResponse.statusCode(), - localVarResponse.headers().map(), - responseBody == null || responseBody.isBlank() - ? null - : memberVarObjectMapper.readValue( - responseBody, - new TypeReference< - List>() {}))); - } catch (IOException e) { - return CompletableFuture.failedFuture(new ApiException(e)); - } - }); - } catch (ApiException e) { - return CompletableFuture.failedFuture(e); - } - } - - private HttpRequest.Builder getJobsRequestBuilder(Integer fromTime, Integer toTime) - throws ApiException { - - HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); - - String localVarPath = "/batch/jobs"; - - List localVarQueryParams = new ArrayList<>(); - StringJoiner localVarQueryStringJoiner = new StringJoiner("&"); - String localVarQueryParameterBaseName; - localVarQueryParameterBaseName = "fromTime"; - localVarQueryParams.addAll(ApiClient.parameterToPairs("fromTime", fromTime)); - localVarQueryParameterBaseName = "toTime"; - localVarQueryParams.addAll(ApiClient.parameterToPairs("toTime", toTime)); - - if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { - StringJoiner queryJoiner = new StringJoiner("&"); - localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue())); - if (localVarQueryStringJoiner.length() != 0) { - queryJoiner.add(localVarQueryStringJoiner.toString()); - } - localVarRequestBuilder.uri( - URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString())); - } else { - localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); - } - - localVarRequestBuilder.header("Accept", "application/json"); - - localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); - if (memberVarReadTimeout != null) { - localVarRequestBuilder.timeout(memberVarReadTimeout); - } - if (memberVarInterceptor != null) { - memberVarInterceptor.accept(localVarRequestBuilder); - } - return localVarRequestBuilder; - } - /** - * 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 jobId The requested job id (required) - * @param idempotencyKey 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 CompletableFuture<ApiResponse<Void>> - * @throws ApiException if fails to make API call - */ - public CompletableFuture> pauseJob(String jobId, String idempotencyKey) - throws ApiException { - try { - HttpRequest.Builder localVarRequestBuilder = - pauseJobRequestBuilder(jobId, idempotencyKey); - return memberVarHttpClient - .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) - .thenComposeAsync( - localVarResponse -> { - if (memberVarAsyncResponseInterceptor != null) { - memberVarAsyncResponseInterceptor.accept(localVarResponse); - } - if (localVarResponse.statusCode() / 100 != 2) { - return CompletableFuture.failedFuture( - getApiException("pauseJob", localVarResponse)); - } - return CompletableFuture.completedFuture( - new ApiResponse( - localVarResponse.statusCode(), - localVarResponse.headers().map(), - null)); - }); - } catch (ApiException e) { - return CompletableFuture.failedFuture(e); - } - } - - private HttpRequest.Builder pauseJobRequestBuilder(String jobId, String idempotencyKey) - throws ApiException { - ValidationUtils.assertParamExistsAndNotEmpty("pauseJob", "jobId", jobId); - - HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); - - String localVarPath = - "/batch/{jobId}/pause".replace("{jobId}", ApiClient.urlEncode(jobId.toString())); - - localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); - - if (idempotencyKey != null) { - localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); - } - localVarRequestBuilder.header("Accept", "application/json"); - - localVarRequestBuilder.method("POST", HttpRequest.BodyPublishers.noBody()); - if (memberVarReadTimeout != null) { - localVarRequestBuilder.timeout(memberVarReadTimeout); - } - if (memberVarInterceptor != null) { - memberVarInterceptor.accept(localVarRequestBuilder); - } - return localVarRequestBuilder; - } -} diff --git a/src/main/java/com/fireblocks/sdk/api/KeyLinkBetaApi.java b/src/main/java/com/fireblocks/sdk/api/KeyLinkBetaApi.java index 7de7767f..ac8427ea 100644 --- a/src/main/java/com/fireblocks/sdk/api/KeyLinkBetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/KeyLinkBetaApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -87,11 +87,7 @@ private String formatExceptionMessage(String operationId, int statusCode, String /** * 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. + * message to be signed, and upon successful proof, the key will become enabled. * * @param createSigningKeyDto (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -171,11 +167,7 @@ private HttpRequest.Builder createSigningKeyRequestBuilder( } /** * 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. + * validation key will undergo an approval process by the workspace quorum. * * @param createValidationKeyDto (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -260,10 +252,7 @@ private HttpRequest.Builder createValidationKeyRequestBuilder( /** * 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. + * validations. * * @param modifyValidationKeyDto (required) * @param keyId The unique identifier for the validation key provided by Fireblocks (required) @@ -343,11 +332,7 @@ private HttpRequest.Builder disableValidationKeyRequestBuilder( } /** * 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. + * specified `keyId`. * * @param keyId The unique identifier for the signing key provided by Fireblocks (required) * @return CompletableFuture<ApiResponse<SigningKeyDto>> @@ -412,11 +397,7 @@ private HttpRequest.Builder getSigningKeyRequestBuilder(String keyId) throws Api return localVarRequestBuilder; } /** - * 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. + * Get list of signing keys Returns the list of signing keys in the workspace * * @param pageCursor Cursor to the next page (optional) * @param pageSize Amount of results to return in the next page (optional, default to 10) @@ -563,10 +544,7 @@ private HttpRequest.Builder getSigningKeysListRequestBuilder( } /** * 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. + * by the specified `keyId`. * * @param keyId (required) * @return CompletableFuture<ApiResponse<ValidationKeyDto>> @@ -632,10 +610,6 @@ private HttpRequest.Builder getValidationKeyRequestBuilder(String keyId) throws } /** * 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. * * @param pageCursor Cursor to the next page (optional) * @param pageSize Amount of results to return in the next page (optional, default to 10) @@ -727,14 +701,9 @@ private HttpRequest.Builder getValidationKeysListRequestBuilder( return localVarRequestBuilder; } /** - * Set agent user id that can sign with the signing key identified by the Fireblocks provided - * `keyId` Can modify existing signing key id if the key is not enabled. The change + * 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. + * of ownership) the user cannot be changed. * * @param modifySigningKeyAgentIdDto (required) * @param keyId The unique identifier for the signing key provided by Fireblocks (required) @@ -804,12 +773,8 @@ private HttpRequest.Builder setAgentIdRequestBuilder( return localVarRequestBuilder; } /** - * Modify the signing by Fireblocks provided `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. + * 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. * * @param modifySigningKeyDto (required) * @param keyId The unique identifier for the signing key provided by Fireblocks (required) diff --git a/src/main/java/com/fireblocks/sdk/api/KeysBetaApi.java b/src/main/java/com/fireblocks/sdk/api/KeysBetaApi.java index 5d675ecd..44e35a86 100644 --- a/src/main/java/com/fireblocks/sdk/api/KeysBetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/KeysBetaApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/api/NetworkConnectionsApi.java b/src/main/java/com/fireblocks/sdk/api/NetworkConnectionsApi.java index 38b5cf70..9f5eb767 100644 --- a/src/main/java/com/fireblocks/sdk/api/NetworkConnectionsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/NetworkConnectionsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -89,10 +89,10 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Retrieve third-party network routing validation by asset type. 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. + * 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. * * @param connectionId The ID of the network connection (required) * @param assetType The destination asset type (required) @@ -165,7 +165,7 @@ private HttpRequest.Builder checkThirdPartyRoutingRequestBuilder( return localVarRequestBuilder; } /** - * Creates a new network connection Initiates a new network connection. **Note:** This API call + * 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 @@ -256,20 +256,7 @@ private HttpRequest.Builder createNetworkConnectionRequestBuilder( return localVarRequestBuilder; } /** - * 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 Creates a new Network ID. * * @param createNetworkIdRequest (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -350,18 +337,7 @@ private HttpRequest.Builder createNetworkIdRequestBuilder( } /** * 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`). + * connection ID. * * @param connectionId The ID of the network connection to delete (required) * @return CompletableFuture<ApiResponse<DeleteNetworkConnectionResponse>> @@ -430,18 +406,7 @@ private HttpRequest.Builder deleteNetworkConnectionRequestBuilder(String connect return localVarRequestBuilder; } /** - * 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 specific network ID. Deletes a network by its ID. * * @param networkId The ID of the network (required) * @return CompletableFuture<ApiResponse<DeleteNetworkIdResponse>> @@ -507,18 +472,7 @@ private HttpRequest.Builder deleteNetworkIdRequestBuilder(String networkId) return localVarRequestBuilder; } /** - * 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`). + * Get a network connection Gets a network connection by ID. * * @param connectionId The ID of the connection (required) * @return CompletableFuture<ApiResponse<NetworkConnectionResponse>> @@ -592,9 +546,7 @@ private HttpRequest.Builder getNetworkRequestBuilder(String connectionId) throws * 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`). + * Network Connection Crypto → **Default** - Network Connection FIAT → **Default** * * @return CompletableFuture<ApiResponse<List<NetworkConnectionResponse>>> * @throws ApiException if fails to make API call @@ -657,18 +609,7 @@ private HttpRequest.Builder getNetworkConnectionsRequestBuilder() throws ApiExce return localVarRequestBuilder; } /** - * 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. Returns specific network ID. * * @param networkId The ID of the network (required) * @return CompletableFuture<ApiResponse<NetworkIdResponse>> @@ -733,19 +674,7 @@ private HttpRequest.Builder getNetworkIdRequestBuilder(String networkId) throws return localVarRequestBuilder; } /** - * Returns all network IDs, both local IDs and discoverable remote 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`). + * Get all network IDs Retrieves a list of all local and discoverable remote network IDs. * * @return CompletableFuture<ApiResponse<List<NetworkIdResponse>>> * @throws ApiException if fails to make API call @@ -809,10 +738,8 @@ private HttpRequest.Builder getNetworkIdsRequestBuilder() throws ApiException { return localVarRequestBuilder; } /** - * 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 Returns all enabled routing policy asset + * groups * * @return CompletableFuture<ApiResponse<List<String>>> * @throws ApiException if fails to make API call @@ -876,19 +803,8 @@ private HttpRequest.Builder getRoutingPolicyAssetGroupsRequestBuilder() throws A return localVarRequestBuilder; } /** - * Search network IDs, 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`). + * Get both local IDs and discoverable remote IDs Retrieves a list of all local and discoverable + * remote network IDs. Can be filtered. * * @param search Search string - displayName networkId. Optional (optional) * @param excludeSelf Exclude your networkIds. Optional, default false (optional) @@ -998,18 +914,7 @@ private HttpRequest.Builder searchNetworkIdsRequestBuilder( } /** * 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`). + * by others. * * @param setNetworkIdDiscoverabilityRequest (required) * @param networkId The ID of the network (required) @@ -1095,18 +1000,7 @@ private HttpRequest.Builder setNetworkIdDiscoverabilityRequestBuilder( return localVarRequestBuilder; } /** - * 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`). + * Update network ID's name. Updates name of a specified network ID. * * @param setNetworkIdNameRequest (required) * @param networkId The ID of the network (required) @@ -1185,19 +1079,6 @@ private HttpRequest.Builder setNetworkIdNameRequestBuilder( } /** * 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`). * * @param networkId The ID of the network (required) * @param setNetworkIdRoutingPolicyRequest (optional) @@ -1279,19 +1160,7 @@ private HttpRequest.Builder setNetworkIdRoutingPolicyRequestBuilder( } /** * 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`). + * routing policy. * * @param connectionId The ID of the network connection (required) * @param setRoutingPolicyRequest (optional) diff --git a/src/main/java/com/fireblocks/sdk/api/NftsApi.java b/src/main/java/com/fireblocks/sdk/api/NftsApi.java index 57a2eaca..4fb1835f 100644 --- a/src/main/java/com/fireblocks/sdk/api/NftsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/NftsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -746,7 +746,9 @@ private HttpRequest.Builder refreshNFTMetadataRequestBuilder( } /** * Refresh vault account tokens Updates all tokens and balances per blockchain and vault - * account. + * account. Learn more about Fireblocks NFT management in the following + * [guide](https://developers.fireblocks.com/reference/deploy-an-nft-collection). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param blockchainDescriptor Blockchain descriptor filter (required) * @param vaultAccountId Vault account filter (required) diff --git a/src/main/java/com/fireblocks/sdk/api/OffExchangesApi.java b/src/main/java/com/fireblocks/sdk/api/OffExchangesApi.java index ec6e8a6d..c0878845 100644 --- a/src/main/java/com/fireblocks/sdk/api/OffExchangesApi.java +++ b/src/main/java/com/fireblocks/sdk/api/OffExchangesApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -81,7 +81,9 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * add collateral add collateral, create deposit request + * Add Collateral Add collateral and create deposit request. Learn more about Fireblocks Off + * Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param addCollateralRequestBody (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -162,7 +164,9 @@ private HttpRequest.Builder addOffExchangeRequestBuilder( } /** * Find a specific collateral exchange account Returns a collateral account by - * mainExchangeAccountId. + * mainExchangeAccountId. Learn more about Fireblocks Off Exchange in the following + * [guide](https://developers.fireblocks.com/docs/off-exchange). </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param mainExchangeAccountId The id of the main exchange account for which the requested * collateral account is associated with (required) @@ -235,7 +239,10 @@ private HttpRequest.Builder getOffExchangeCollateralAccountsRequestBuilder( return localVarRequestBuilder; } /** - * get settlements transactions from exchange get settlements transactions from exchange + * Get Settlements Transactions Get settlements transactions from exchange. Learn more about + * Fireblocks Off Exchange in the following + * [guide](https://developers.fireblocks.com/docs/off-exchange). </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param mainExchangeAccountId (required) * @return CompletableFuture<ApiResponse<ExchangeSettlementTransactionsResponse>> @@ -322,7 +329,9 @@ private HttpRequest.Builder getOffExchangeSettlementTransactionsRequestBuilder( return localVarRequestBuilder; } /** - * remove collateral remove collateral, create withdraw request + * Remove Collateral Remove collateral, create withdraw request. Learn more about Fireblocks Off + * Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param removeCollateralRequestBody (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -402,7 +411,9 @@ private HttpRequest.Builder removeOffExchangeRequestBuilder( return localVarRequestBuilder; } /** - * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param settlementRequestBody (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple diff --git a/src/main/java/com/fireblocks/sdk/api/OnchainDataApi.java b/src/main/java/com/fireblocks/sdk/api/OnchainDataApi.java new file mode 100644 index 00000000..40647e62 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/api/OnchainDataApi.java @@ -0,0 +1,993 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.api; + + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.Pair; +import com.fireblocks.sdk.ValidationUtils; +import com.fireblocks.sdk.model.AccessRegistryCurrentStateResponse; +import com.fireblocks.sdk.model.AccessRegistrySummaryResponse; +import com.fireblocks.sdk.model.AddressBalancePagedResponse; +import com.fireblocks.sdk.model.BalanceHistoryPagedResponse; +import com.fireblocks.sdk.model.OnchainTransactionsPagedResponse; +import com.fireblocks.sdk.model.RoleDetails; +import com.fireblocks.sdk.model.TokenContractSummaryResponse; +import com.fireblocks.sdk.model.TotalSupplyPagedResponse; +import java.io.IOException; +import java.io.InputStream; +import java.net.URI; +import java.net.http.HttpClient; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.time.Duration; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.StringJoiner; +import java.util.concurrent.CompletableFuture; +import java.util.function.Consumer; + +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class OnchainDataApi { + private final HttpClient memberVarHttpClient; + private final ObjectMapper memberVarObjectMapper; + private final String memberVarBaseUri; + private final Consumer memberVarInterceptor; + private final Duration memberVarReadTimeout; + private final Consumer> memberVarResponseInterceptor; + private final Consumer> memberVarAsyncResponseInterceptor; + + public OnchainDataApi() { + this(new ApiClient()); + } + + public OnchainDataApi(ApiClient apiClient) { + memberVarHttpClient = apiClient.getHttpClient(); + memberVarObjectMapper = apiClient.getObjectMapper(); + memberVarBaseUri = apiClient.getBaseUri(); + memberVarInterceptor = apiClient.getRequestInterceptor(); + memberVarReadTimeout = apiClient.getReadTimeout(); + memberVarResponseInterceptor = apiClient.getResponseInterceptor(); + memberVarAsyncResponseInterceptor = apiClient.getAsyncResponseInterceptor(); + } + + private ApiException getApiException(String operationId, HttpResponse response) { + String message = + formatExceptionMessage(operationId, response.statusCode(), response.body()); + return new ApiException( + response.statusCode(), message, response.headers(), response.body()); + } + + private String formatExceptionMessage(String operationId, int statusCode, String body) { + if (body == null || body.isEmpty()) { + body = "[no body]"; + } + return operationId + " call failed with: " + statusCode + " - " + body; + } + + /** + * 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 baseAssetId The blockchain base assetId (required) + * @param accessRegistryAddress The access registry address (required) + * @param pageCursor Page cursor to get the next page\" (optional) + * @param pageSize Number of items per page (max 100), requesting more then 100 will return 100 + * items (optional) + * @param sortBy Sorting field (enum). (optional, default to dateAdded) + * @param order ASC / DESC ordering (default DESC) (optional, default to DESC) + * @return CompletableFuture<ApiResponse<AccessRegistryCurrentStateResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + getAccessRegistryCurrentState( + String baseAssetId, + String accessRegistryAddress, + String pageCursor, + Integer pageSize, + String sortBy, + String order) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getAccessRegistryCurrentStateRequestBuilder( + baseAssetId, + accessRegistryAddress, + pageCursor, + pageSize, + sortBy, + order); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getAccessRegistryCurrentState", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + AccessRegistryCurrentStateResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getAccessRegistryCurrentStateRequestBuilder( + String baseAssetId, + String accessRegistryAddress, + String pageCursor, + Integer pageSize, + String sortBy, + String order) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getAccessRegistryCurrentState", "baseAssetId", baseAssetId); + ValidationUtils.assertParamExistsAndNotEmpty( + "getAccessRegistryCurrentState", "accessRegistryAddress", accessRegistryAddress); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/list" + .replace("{baseAssetId}", ApiClient.urlEncode(baseAssetId.toString())) + .replace( + "{accessRegistryAddress}", + ApiClient.urlEncode(accessRegistryAddress.toString())); + + List localVarQueryParams = new ArrayList<>(); + StringJoiner localVarQueryStringJoiner = new StringJoiner("&"); + String localVarQueryParameterBaseName; + localVarQueryParameterBaseName = "pageCursor"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageCursor", pageCursor)); + localVarQueryParameterBaseName = "pageSize"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageSize", pageSize)); + localVarQueryParameterBaseName = "sortBy"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("sortBy", sortBy)); + localVarQueryParameterBaseName = "order"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("order", order)); + + if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { + StringJoiner queryJoiner = new StringJoiner("&"); + localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue())); + if (localVarQueryStringJoiner.length() != 0) { + queryJoiner.add(localVarQueryStringJoiner.toString()); + } + localVarRequestBuilder.uri( + URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString())); + } else { + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + } + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Summary of access registry state Returns a summary of the current state of the access + * registry for the specified baseAssetId and accessRegistryAddress. + * + * @param baseAssetId The blockchain base assetId (required) + * @param accessRegistryAddress The access registry address (required) + * @return CompletableFuture<ApiResponse<AccessRegistrySummaryResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getAccessRegistrySummary( + String baseAssetId, String accessRegistryAddress) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getAccessRegistrySummaryRequestBuilder(baseAssetId, accessRegistryAddress); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getAccessRegistrySummary", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + AccessRegistrySummaryResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getAccessRegistrySummaryRequestBuilder( + String baseAssetId, String accessRegistryAddress) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getAccessRegistrySummary", "baseAssetId", baseAssetId); + ValidationUtils.assertParamExistsAndNotEmpty( + "getAccessRegistrySummary", "accessRegistryAddress", accessRegistryAddress); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/summary" + .replace("{baseAssetId}", ApiClient.urlEncode(baseAssetId.toString())) + .replace( + "{accessRegistryAddress}", + ApiClient.urlEncode(accessRegistryAddress.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 baseAssetId The blockchain base assetId (required) + * @param contractAddress The contract address (required) + * @return CompletableFuture<ApiResponse<Map<String, RoleDetails>>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture>> getActiveRolesForContract( + String baseAssetId, String contractAddress) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getActiveRolesForContractRequestBuilder(baseAssetId, contractAddress); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getActiveRolesForContract", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse>( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + Map< + String, + RoleDetails>>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getActiveRolesForContractRequestBuilder( + String baseAssetId, String contractAddress) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getActiveRolesForContract", "baseAssetId", baseAssetId); + ValidationUtils.assertParamExistsAndNotEmpty( + "getActiveRolesForContract", "contractAddress", contractAddress); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/roles" + .replace("{baseAssetId}", ApiClient.urlEncode(baseAssetId.toString())) + .replace( + "{contractAddress}", + ApiClient.urlEncode(contractAddress.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 baseAssetId The blockchain base assetId (required) + * @param contractAddress The contract address (required) + * @param accountAddress The account address to get balance history for (required) + * @param startDate Start date of the time range in ISO 8601 format (optional) + * @param endDate End date of the time range in ISO 8601 format (optional) + * @param interval Time interval for grouping data (optional, default to day) + * @param pageCursor Page cursor to get the next page\" (optional) + * @param pageSize Number of items per page (max 100), requesting more then 100 will return 100 + * items (optional) + * @param sortBy Sorting field (enum). Sorting only supported by 'blockTimestamp' + * (optional, default to blockTimestamp) + * @param order ASC / DESC ordering (default DESC) (optional, default to DESC) + * @return CompletableFuture<ApiResponse<BalanceHistoryPagedResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getContractBalanceHistory( + String baseAssetId, + String contractAddress, + String accountAddress, + OffsetDateTime startDate, + OffsetDateTime endDate, + String interval, + String pageCursor, + Integer pageSize, + String sortBy, + String order) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getContractBalanceHistoryRequestBuilder( + baseAssetId, + contractAddress, + accountAddress, + startDate, + endDate, + interval, + pageCursor, + pageSize, + sortBy, + order); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getContractBalanceHistory", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + BalanceHistoryPagedResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getContractBalanceHistoryRequestBuilder( + String baseAssetId, + String contractAddress, + String accountAddress, + OffsetDateTime startDate, + OffsetDateTime endDate, + String interval, + String pageCursor, + Integer pageSize, + String sortBy, + String order) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getContractBalanceHistory", "baseAssetId", baseAssetId); + ValidationUtils.assertParamExistsAndNotEmpty( + "getContractBalanceHistory", "contractAddress", contractAddress); + ValidationUtils.assertParamExistsAndNotEmpty( + "getContractBalanceHistory", "accountAddress", accountAddress); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/account_address/{accountAddress}/balance_history" + .replace("{baseAssetId}", ApiClient.urlEncode(baseAssetId.toString())) + .replace( + "{contractAddress}", + ApiClient.urlEncode(contractAddress.toString())) + .replace( + "{accountAddress}", ApiClient.urlEncode(accountAddress.toString())); + + List localVarQueryParams = new ArrayList<>(); + StringJoiner localVarQueryStringJoiner = new StringJoiner("&"); + String localVarQueryParameterBaseName; + localVarQueryParameterBaseName = "startDate"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("startDate", startDate)); + localVarQueryParameterBaseName = "endDate"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("endDate", endDate)); + localVarQueryParameterBaseName = "interval"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("interval", interval)); + localVarQueryParameterBaseName = "pageCursor"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageCursor", pageCursor)); + localVarQueryParameterBaseName = "pageSize"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageSize", pageSize)); + localVarQueryParameterBaseName = "sortBy"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("sortBy", sortBy)); + localVarQueryParameterBaseName = "order"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("order", order)); + + if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { + StringJoiner queryJoiner = new StringJoiner("&"); + localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue())); + if (localVarQueryStringJoiner.length() != 0) { + queryJoiner.add(localVarQueryStringJoiner.toString()); + } + localVarRequestBuilder.uri( + URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString())); + } else { + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + } + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Get summary for the token contract Returns the total number of unique addresses holding + * balances and the total supply for the specified contract. + * + * @param baseAssetId The blockchain base assetId (required) + * @param contractAddress The contract address (required) + * @return CompletableFuture<ApiResponse<TokenContractSummaryResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getContractBalancesSummary( + String baseAssetId, String contractAddress) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getContractBalancesSummaryRequestBuilder(baseAssetId, contractAddress); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getContractBalancesSummary", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TokenContractSummaryResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getContractBalancesSummaryRequestBuilder( + String baseAssetId, String contractAddress) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getContractBalancesSummary", "baseAssetId", baseAssetId); + ValidationUtils.assertParamExistsAndNotEmpty( + "getContractBalancesSummary", "contractAddress", contractAddress); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/summary" + .replace("{baseAssetId}", ApiClient.urlEncode(baseAssetId.toString())) + .replace( + "{contractAddress}", + ApiClient.urlEncode(contractAddress.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 baseAssetId The blockchain base assetId (required) + * @param contractAddress The contract address (required) + * @param startDate Start date of the time range in ISO 8601 format (optional) + * @param endDate End date of the time range in ISO 8601 format (optional) + * @param interval Time interval for grouping data (optional, default to day) + * @param pageCursor Page cursor to get the next page\" (optional) + * @param pageSize Number of items per page (max 100), requesting more then 100 will return 100 + * items (optional) + * @param sortBy Sorting field (enum). Sorting only supported by 'blockTimestamp' + * (optional, default to blockTimestamp) + * @param order ASC / DESC ordering (default DESC) (optional, default to DESC) + * @return CompletableFuture<ApiResponse<TotalSupplyPagedResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getContractTotalSupply( + String baseAssetId, + String contractAddress, + OffsetDateTime startDate, + OffsetDateTime endDate, + String interval, + String pageCursor, + Integer pageSize, + String sortBy, + String order) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getContractTotalSupplyRequestBuilder( + baseAssetId, + contractAddress, + startDate, + endDate, + interval, + pageCursor, + pageSize, + sortBy, + order); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getContractTotalSupply", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TotalSupplyPagedResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getContractTotalSupplyRequestBuilder( + String baseAssetId, + String contractAddress, + OffsetDateTime startDate, + OffsetDateTime endDate, + String interval, + String pageCursor, + Integer pageSize, + String sortBy, + String order) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getContractTotalSupply", "baseAssetId", baseAssetId); + ValidationUtils.assertParamExistsAndNotEmpty( + "getContractTotalSupply", "contractAddress", contractAddress); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/total_supply" + .replace("{baseAssetId}", ApiClient.urlEncode(baseAssetId.toString())) + .replace( + "{contractAddress}", + ApiClient.urlEncode(contractAddress.toString())); + + List localVarQueryParams = new ArrayList<>(); + StringJoiner localVarQueryStringJoiner = new StringJoiner("&"); + String localVarQueryParameterBaseName; + localVarQueryParameterBaseName = "startDate"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("startDate", startDate)); + localVarQueryParameterBaseName = "endDate"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("endDate", endDate)); + localVarQueryParameterBaseName = "interval"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("interval", interval)); + localVarQueryParameterBaseName = "pageCursor"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageCursor", pageCursor)); + localVarQueryParameterBaseName = "pageSize"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageSize", pageSize)); + localVarQueryParameterBaseName = "sortBy"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("sortBy", sortBy)); + localVarQueryParameterBaseName = "order"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("order", order)); + + if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { + StringJoiner queryJoiner = new StringJoiner("&"); + localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue())); + if (localVarQueryStringJoiner.length() != 0) { + queryJoiner.add(localVarQueryStringJoiner.toString()); + } + localVarRequestBuilder.uri( + URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString())); + } else { + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + } + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 baseAssetId The blockchain base assetId (required) + * @param contractAddress The contract address (required) + * @param accountAddress Optional filter to get balance for a specific account address + * (optional) + * @param pageCursor Page cursor to get the next page\" (optional) + * @param pageSize Number of items per page (max 100), requesting more then 100 will return 100 + * items (optional) + * @param sortBy Sorting field for balances (optional, default to blockTimestamp) + * @param order ASC / DESC ordering (default DESC) (optional, default to DESC) + * @return CompletableFuture<ApiResponse<AddressBalancePagedResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getLatestBalancesForContract( + String baseAssetId, + String contractAddress, + String accountAddress, + String pageCursor, + Integer pageSize, + String sortBy, + String order) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getLatestBalancesForContractRequestBuilder( + baseAssetId, + contractAddress, + accountAddress, + pageCursor, + pageSize, + sortBy, + order); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getLatestBalancesForContract", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + AddressBalancePagedResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getLatestBalancesForContractRequestBuilder( + String baseAssetId, + String contractAddress, + String accountAddress, + String pageCursor, + Integer pageSize, + String sortBy, + String order) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getLatestBalancesForContract", "baseAssetId", baseAssetId); + ValidationUtils.assertParamExistsAndNotEmpty( + "getLatestBalancesForContract", "contractAddress", contractAddress); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/balances" + .replace("{baseAssetId}", ApiClient.urlEncode(baseAssetId.toString())) + .replace( + "{contractAddress}", + ApiClient.urlEncode(contractAddress.toString())); + + List localVarQueryParams = new ArrayList<>(); + StringJoiner localVarQueryStringJoiner = new StringJoiner("&"); + String localVarQueryParameterBaseName; + localVarQueryParameterBaseName = "accountAddress"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("accountAddress", accountAddress)); + localVarQueryParameterBaseName = "pageCursor"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageCursor", pageCursor)); + localVarQueryParameterBaseName = "pageSize"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageSize", pageSize)); + localVarQueryParameterBaseName = "sortBy"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("sortBy", sortBy)); + localVarQueryParameterBaseName = "order"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("order", order)); + + if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { + StringJoiner queryJoiner = new StringJoiner("&"); + localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue())); + if (localVarQueryStringJoiner.length() != 0) { + queryJoiner.add(localVarQueryStringJoiner.toString()); + } + localVarRequestBuilder.uri( + URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString())); + } else { + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + } + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 baseAssetId The blockchain base assetId (required) + * @param contractAddress The contract address (required) + * @param startDate Start date of the time range in ISO 8601 format (optional) + * @param endDate End date of the time range in ISO 8601 format (optional) + * @param pageCursor Page cursor to get the next page\" (optional) + * @param pageSize Number of items per page (max 100), requesting more then 100 will return 100 + * items (optional) + * @param sortBy Sorting field (enum). (optional, default to blockTimestamp) + * @param order ASC / DESC ordering (default DESC) (optional, default to DESC) + * @return CompletableFuture<ApiResponse<OnchainTransactionsPagedResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getOnchainTransactions( + String baseAssetId, + String contractAddress, + OffsetDateTime startDate, + OffsetDateTime endDate, + String pageCursor, + Integer pageSize, + String sortBy, + String order) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getOnchainTransactionsRequestBuilder( + baseAssetId, + contractAddress, + startDate, + endDate, + pageCursor, + pageSize, + sortBy, + order); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getOnchainTransactions", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + OnchainTransactionsPagedResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getOnchainTransactionsRequestBuilder( + String baseAssetId, + String contractAddress, + OffsetDateTime startDate, + OffsetDateTime endDate, + String pageCursor, + Integer pageSize, + String sortBy, + String order) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getOnchainTransactions", "baseAssetId", baseAssetId); + ValidationUtils.assertParamExistsAndNotEmpty( + "getOnchainTransactions", "contractAddress", contractAddress); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/transactions" + .replace("{baseAssetId}", ApiClient.urlEncode(baseAssetId.toString())) + .replace( + "{contractAddress}", + ApiClient.urlEncode(contractAddress.toString())); + + List localVarQueryParams = new ArrayList<>(); + StringJoiner localVarQueryStringJoiner = new StringJoiner("&"); + String localVarQueryParameterBaseName; + localVarQueryParameterBaseName = "startDate"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("startDate", startDate)); + localVarQueryParameterBaseName = "endDate"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("endDate", endDate)); + localVarQueryParameterBaseName = "pageCursor"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageCursor", pageCursor)); + localVarQueryParameterBaseName = "pageSize"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageSize", pageSize)); + localVarQueryParameterBaseName = "sortBy"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("sortBy", sortBy)); + localVarQueryParameterBaseName = "order"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("order", order)); + + if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { + StringJoiner queryJoiner = new StringJoiner("&"); + localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue())); + if (localVarQueryStringJoiner.length() != 0) { + queryJoiner.add(localVarQueryStringJoiner.toString()); + } + localVarRequestBuilder.uri( + URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString())); + } else { + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + } + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } +} diff --git a/src/main/java/com/fireblocks/sdk/api/OtaBetaApi.java b/src/main/java/com/fireblocks/sdk/api/OtaBetaApi.java index 680bbef9..f5e44f51 100644 --- a/src/main/java/com/fireblocks/sdk/api/OtaBetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/OtaBetaApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -133,7 +133,9 @@ private HttpRequest.Builder getOtaStatusRequestBuilder() throws ApiException { return localVarRequestBuilder; } /** - * Enable or disable transactions to OTA 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 setOtaStatusRequest (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple diff --git a/src/main/java/com/fireblocks/sdk/api/PaymentsPayoutApi.java b/src/main/java/com/fireblocks/sdk/api/PaymentsPayoutApi.java index a8f1f518..1531a152 100644 --- a/src/main/java/com/fireblocks/sdk/api/PaymentsPayoutApi.java +++ b/src/main/java/com/fireblocks/sdk/api/PaymentsPayoutApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -85,7 +85,9 @@ private String formatExceptionMessage(String operationId, int statusCode, String * payment account and its account type (vault, exchange, or fiat). </li> <li>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.</li> </ul> + * account.</li> </ul> Learn more about Fireblocks Payments - Payouts in the + * following [guide](https://developers.fireblocks.com/docs/create-payouts). </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @param createPayoutRequest (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -254,6 +256,7 @@ private HttpRequest.Builder executePayoutActionRequestBuilder( * </br>These endpoints are currently in beta and might be subject to changes.</br> * </br>If you want to learn more about Fireblocks Payments Engine, please contact your * Fireblocks Customer Success Manager or email CSM@fireblocks.com. </br> + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param payoutId the payout id received from the creation of the payout instruction set * (required) diff --git a/src/main/java/com/fireblocks/sdk/api/PolicyEditorBetaApi.java b/src/main/java/com/fireblocks/sdk/api/PolicyEditorBetaApi.java index 4c5bee9e..7599e817 100644 --- a/src/main/java/com/fireblocks/sdk/api/PolicyEditorBetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/PolicyEditorBetaApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/api/PolicyEditorV2BetaApi.java b/src/main/java/com/fireblocks/sdk/api/PolicyEditorV2BetaApi.java index 3c4f34c8..6b403879 100644 --- a/src/main/java/com/fireblocks/sdk/api/PolicyEditorV2BetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/PolicyEditorV2BetaApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -81,8 +81,10 @@ private String formatExceptionMessage(String operationId, int statusCode, String /** * Get the active policy and its validation by policy type Returns the active policy and its - * validation for a specific policy type. </br> **Note:** These endpoints are currently in - * beta and might be subject to changes. + * 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 policyType The policy type(s) to retrieve. Can be a single type or multiple types by * repeating the parameter (e.g., ?policyType=TRANSFER&policyType=MINT). diff --git a/src/main/java/com/fireblocks/sdk/api/ResetDeviceApi.java b/src/main/java/com/fireblocks/sdk/api/ResetDeviceApi.java index 221041d8..28332aa5 100644 --- a/src/main/java/com/fireblocks/sdk/api/ResetDeviceApi.java +++ b/src/main/java/com/fireblocks/sdk/api/ResetDeviceApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -69,7 +69,9 @@ private String formatExceptionMessage(String operationId, int statusCode, String /** * Resets device Resets mobile device for given console user, that user will need to do mobile - * onboarding again. + * onboarding again. - Please note that this endpoint is available only for API keys with + * Admin/Non Signing Admin permissions. </br>Endpoint Permission: Admin, Non-Signing + * Admin. * * @param id The ID of the console user (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple diff --git a/src/main/java/com/fireblocks/sdk/api/SmartTransferApi.java b/src/main/java/com/fireblocks/sdk/api/SmartTransferApi.java index 5a7ab8ba..909ac365 100644 --- a/src/main/java/com/fireblocks/sdk/api/SmartTransferApi.java +++ b/src/main/java/com/fireblocks/sdk/api/SmartTransferApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -92,8 +92,8 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Define funding source and give approve to contract to transfer asset Set funding source for - * ticket term and creating approving transaction for contract to transfer asset + * Set funding source and approval Set funding source for ticket term and creating approving + * transaction for contract to transfer asset * * @param smartTransferApproveTerm (required) * @param ticketId (required) @@ -190,7 +190,8 @@ private HttpRequest.Builder approveDvPTicketTermRequestBuilder( return localVarRequestBuilder; } /** - * Cancel Ticket Cancel Smart Transfer ticket + * Cancel Ticket Cancel Smart Transfer ticket. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @param ticketId (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -263,7 +264,11 @@ private HttpRequest.Builder cancelTicketRequestBuilder(String ticketId, String i return localVarRequestBuilder; } /** - * Create Ticket Creates new Smart Transfer ticket + * Create 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 smartTransferCreateTicket (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -345,7 +350,10 @@ private HttpRequest.Builder createTicketRequestBuilder( return localVarRequestBuilder; } /** - * Create leg (term) Creates new smart transfer ticket term (when the ticket status is DRAFT) + * Create leg (term) 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param smartTransferCreateTicketTerm (required) * @param ticketId (required) @@ -436,7 +444,8 @@ private HttpRequest.Builder createTicketTermRequestBuilder( return localVarRequestBuilder; } /** - * Search Tickets by ID Find Smart Transfer ticket by id + * Search Ticket by ID Find Smart Transfer ticket by id. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @param ticketId (required) * @return CompletableFuture<ApiResponse<SmartTransferTicketResponse>> @@ -501,7 +510,8 @@ private HttpRequest.Builder findTicketByIdRequestBuilder(String ticketId) throws return localVarRequestBuilder; } /** - * Search ticket by leg (term) ID Find Smart Transfer ticket term by id + * Get Smart Transfer ticket term Find a specific term of a specific Smart Transfer ticket. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @param ticketId (required) * @param termId (required) @@ -573,7 +583,7 @@ private HttpRequest.Builder findTicketTermByIdRequestBuilder(String ticketId, St } /** * Fund ticket manually Manually fulfill ticket, in case when all terms (legs) are funded - * manually + * manually. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param ticketId (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -738,7 +748,8 @@ private HttpRequest.Builder fundDvpTicketRequestBuilder( } /** * Define funding source Set funding source for ticket term (in case of ASYNC tickets, this will - * execute transfer immediately) + * execute transfer immediately). </br>Endpoint Permission: Admin, Non-Signing Admin, + * Signer, Approver, Editor. * * @param smartTransferFundTerm (required) * @param ticketId (required) @@ -896,7 +907,8 @@ private HttpRequest.Builder getSmartTransferStatisticRequestBuilder() throws Api return localVarRequestBuilder; } /** - * Get user group Get Smart Transfer user groups + * Get user group Get Smart Transfer user groups. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @return CompletableFuture<ApiResponse<SmartTransferUserGroupsResponse>> * @throws ApiException if fails to make API call @@ -959,7 +971,8 @@ private HttpRequest.Builder getSmartTransferUserGroupsRequestBuilder() throws Ap return localVarRequestBuilder; } /** - * Manually add term transaction Manually set ticket term transaction + * Manually add term transaction Manually set ticket term transaction. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param smartTransferManuallyFundTerm (required) * @param ticketId (required) @@ -1119,7 +1132,9 @@ private HttpRequest.Builder removeTicketTermRequestBuilder(String ticketId, Stri return localVarRequestBuilder; } /** - * Find Ticket Finds Smart Transfer tickets that match the submitted criteria + * Find Ticket 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 (optional) * @param statuses Ticket statuses for Smart Transfer tickets. Optional (optional @@ -1271,7 +1286,8 @@ private HttpRequest.Builder searchTicketsRequestBuilder( return localVarRequestBuilder; } /** - * Add external ref. ID Set external id Smart Transfer ticket + * Add external ref. ID Set external id Smart Transfer ticket. </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param smartTransferSetTicketExternalId (required) * @param ticketId (required) @@ -1364,7 +1380,8 @@ private HttpRequest.Builder setExternalRefIdRequestBuilder( return localVarRequestBuilder; } /** - * Set expiration Set expiration date on Smart Transfer ticket + * Set expiration Set expiration date on Smart Transfer ticket. </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param smartTransferSetTicketExpiration (required) * @param ticketId (required) @@ -1458,7 +1475,9 @@ private HttpRequest.Builder setTicketExpirationRequestBuilder( return localVarRequestBuilder; } /** - * Set user group Set Smart Transfer user group + * Set user group Set Smart Transfers user group to receive email notifications for Smart + * Transfers. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, + * Editor. * * @param smartTransferSetUserGroups (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -1541,7 +1560,8 @@ private HttpRequest.Builder setUserGroupsRequestBuilder( } /** * 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 + * approval is not turned on, or OPEN if auto approval is on. </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param smartTransferSubmitTicket (required) * @param ticketId (required) diff --git a/src/main/java/com/fireblocks/sdk/api/StakingApi.java b/src/main/java/com/fireblocks/sdk/api/StakingApi.java index 7adbf50e..97d0c26a 100644 --- a/src/main/java/com/fireblocks/sdk/api/StakingApi.java +++ b/src/main/java/com/fireblocks/sdk/api/StakingApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -90,10 +90,10 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Approve staking 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. + * Approve provider terms of service Approves the provider's terms of service. Must be + * called once before performing any staking operation with this provider. * - * @param providerId The unique identifier of the staking provider (required) + * @param providerId Unique identifier of the staking provider. (required) * @param idempotencyKey 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) @@ -157,11 +157,13 @@ private HttpRequest.Builder approveTermsOfServiceByProviderIdRequestBuilder( return localVarRequestBuilder; } /** - * Execute a Claim Rewards operation Perform a chain-specific Claim Rewards. + * Claim accrued rewards Claims available staking rewards for the specified chain and vault. + * Supported chains: Solana and Polygon (Matic). Behavior depends on protocol reward + * distribution. * * @param claimRewardsRequest (required) - * @param chainDescriptor The protocol identifier (e.g. \"MATIC\"/\"SOL\") - * to use (required) + * @param chainDescriptor Protocol identifier for the claim rewards staking operation (e.g., + * MATIC/SOL). (required) * @param idempotencyKey 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) @@ -237,13 +239,13 @@ private HttpRequest.Builder claimRewardsRequestBuilder( return localVarRequestBuilder; } /** - * List staking positions details Return detailed information on all staking positions, - * including the staked amount, rewards, status and more. + * List staking positions Returns all staking positions with core details: amounts, rewards, + * status, chain, and vault. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, + * Approver, Editor. * - * @param 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) + * @param chainDescriptor Protocol identifier to filter positions (e.g., + * ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. + * (optional) * @return CompletableFuture<ApiResponse<List<Delegation>>> * @throws ApiException if fails to make API call */ @@ -322,12 +324,12 @@ private HttpRequest.Builder getAllDelegationsRequestBuilder(ChainDescriptor chai return localVarRequestBuilder; } /** - * Get chain-specific staking summary Return chain-specific, staking-related information summary - * (e.g. epoch details, lockup durations, estimated rewards, etc.) + * Get chain-level staking parameters Returns chain-specific staking information such as + * epoch/slot cadence, lockup or unbonding periods, fee/reward mechanics, and other operational + * constraints. * - * @param chainDescriptor The protocol identifier (e.g. - * \"ETH\"/\"SOL\"/\"MATIC\"/\"STETH_ETH\") to use - * (required) + * @param chainDescriptor Protocol identifier for the chain info staking operation (e.g., + * ETH/MATIC/SOL). (required) * @return CompletableFuture<ApiResponse<ChainInfoResponse>> * @throws ApiException if fails to make API call */ @@ -394,7 +396,9 @@ private HttpRequest.Builder getChainInfoRequestBuilder(ChainDescriptor chainDesc return localVarRequestBuilder; } /** - * List staking supported chains Return an alphabetical list of supported chains. + * List supported staking chains Returns an alphabetical list of blockchains supported for + * staking by the current workspace context. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor. * * @return CompletableFuture<ApiResponse<List<ChainDescriptor>>> * @throws ApiException if fails to make API call @@ -455,10 +459,10 @@ private HttpRequest.Builder getChainsRequestBuilder() throws ApiException { return localVarRequestBuilder; } /** - * Get staking position details Return detailed information on a staking position, including the - * staked amount, rewards, status and more. + * Get position details 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) * @return CompletableFuture<ApiResponse<Delegation>> * @throws ApiException if fails to make API call */ @@ -520,7 +524,9 @@ private HttpRequest.Builder getDelegationByIdRequestBuilder(String id) throws Ap return localVarRequestBuilder; } /** - * List staking providers details Return information on all the available staking providers. + * List staking providers Returns all available staking providers with metadata such as name, + * ID, and supported chains. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, + * Approver, Editor. * * @return CompletableFuture<ApiResponse<List<Provider>>> * @throws ApiException if fails to make API call @@ -580,8 +586,8 @@ private HttpRequest.Builder getProvidersRequestBuilder() throws ApiException { return localVarRequestBuilder; } /** - * Get staking summary details Return a summary of all vaults, categorized by their status - * (active, inactive), the total amounts staked and total rewards per-chain. + * Get positions summary Returns an aggregated cross-vault summary: active/inactive counts, + * total staked, and total rewards per chain. * * @return CompletableFuture<ApiResponse<DelegationSummary>> * @throws ApiException if fails to make API call @@ -641,8 +647,8 @@ private HttpRequest.Builder getSummaryRequestBuilder() throws ApiException { return localVarRequestBuilder; } /** - * Get staking summary details by vault Return a summary for each vault, categorized by their - * status (active, inactive), the total amounts staked and total rewards per-chain. + * Get positions summary by vault Returns per-vault aggregates: status breakdown, total staked, + * and total rewards per chain. * * @return CompletableFuture<ApiResponse<Map<String, DelegationSummary>>> * @throws ApiException if fails to make API call @@ -705,12 +711,15 @@ private HttpRequest.Builder getSummaryByVaultRequestBuilder() throws ApiExceptio return localVarRequestBuilder; } /** - * Merge Solana on stake accounts Perform a Solana Merge of two active stake accounts into one. - * Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + * Merge staking positions 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). </br>Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, + * Editor. * * @param mergeStakeAccountsRequest (required) - * @param chainDescriptor The protocol identifier (e.g. - * \"SOL\"/\"SOL_TEST\") to use (required) + * @param chainDescriptor Protocol identifier for the merge staking operation (e.g., SOL). + * (required) * @param idempotencyKey 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) @@ -802,11 +811,12 @@ private HttpRequest.Builder mergeStakeAccountsRequestBuilder( return localVarRequestBuilder; } /** - * Execute a Split operation on SOL/SOL_TEST stake account Perform a Solana Split stake account. + * Split a staking position 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 splitRequest (required) - * @param chainDescriptor The protocol identifier (e.g. - * \"SOL\"/\"SOL_TEST\") to use (required) + * @param chainDescriptor Protocol identifier for the staking operation (e.g., SOL). (required) * @param idempotencyKey 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) @@ -889,11 +899,18 @@ private HttpRequest.Builder splitRequestBuilder( return localVarRequestBuilder; } /** - * Initiate Stake Operation Perform a chain-specific Stake. + * Initiate or add to existing 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 stakeRequest (required) - * @param chainDescriptor The protocol identifier (e.g. - * \"ETH\"/\"SOL\"/\"MATIC\") to use (required) + * @param chainDescriptor Protocol identifier for the stake staking operation (e.g., + * ATOM_COS/AXL/CELESTIA). (required) * @param idempotencyKey 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) @@ -976,11 +993,11 @@ private HttpRequest.Builder stakeRequestBuilder( return localVarRequestBuilder; } /** - * Execute an Unstake operation Execute an Unstake operation + * Initiate unstake Submits a chain-specific unstake request. * * @param unstakeRequest (required) - * @param chainDescriptor The protocol identifier (e.g. - * \"ETH\"/\"SOL\"/\"MATIC\") to use (required) + * @param chainDescriptor Protocol identifier for the unstake staking operation (e.g., + * SOL/SOL_TEST/MATIC). (required) * @param idempotencyKey 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) @@ -1053,11 +1070,13 @@ private HttpRequest.Builder unstakeRequestBuilder( return localVarRequestBuilder; } /** - * Execute a Withdraw operation Perform a chain-specific Withdraw. + * Withdraw staked funds 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 withdrawRequest (required) - * @param chainDescriptor The protocol identifier (e.g. - * \"ETH\"/\"SOL\"/\"MATIC\") to use (required) + * @param chainDescriptor Protocol identifier for the withdraw staking operation (e.g., + * ATOM_COS/ETH/STETH_ETH). (required) * @param idempotencyKey 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) diff --git a/src/main/java/com/fireblocks/sdk/api/TagsApi.java b/src/main/java/com/fireblocks/sdk/api/TagsApi.java index a7f47c52..5be9c521 100644 --- a/src/main/java/com/fireblocks/sdk/api/TagsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/TagsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -20,6 +20,7 @@ import com.fireblocks.sdk.ApiResponse; import com.fireblocks.sdk.Pair; import com.fireblocks.sdk.ValidationUtils; +import com.fireblocks.sdk.model.ApprovalRequest; import com.fireblocks.sdk.model.CreateTagRequest; import com.fireblocks.sdk.model.Tag; import com.fireblocks.sdk.model.TagsPagedResponse; @@ -80,7 +81,74 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Create a tag Create a new tag. + * 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) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<Void>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> cancelApprovalRequest( + String id, String idempotencyKey) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + cancelApprovalRequestRequestBuilder(id, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "cancelApprovalRequest", localVarResponse)); + } + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + null)); + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder cancelApprovalRequestRequestBuilder( + String id, String idempotencyKey) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty("cancelApprovalRequest", "id", id); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/tags/approval_requests/{id}/cancel" + .replace("{id}", ApiClient.urlEncode(id.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("POST", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 createTagRequest (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -157,7 +225,9 @@ private HttpRequest.Builder createTagRequestBuilder( return localVarRequestBuilder; } /** - * Delete a tag Delete the specified tag. + * 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. * * @param tagId The ID of the tag to retrieve (required) * @return CompletableFuture<ApiResponse<Void>> @@ -209,6 +279,71 @@ private HttpRequest.Builder deleteTagRequestBuilder(UUID tagId) throws ApiExcept } return localVarRequestBuilder; } + /** + * Get an approval request by id Get an approval request by id + * + * @param id (required) + * @return CompletableFuture<ApiResponse<ApprovalRequest>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getApprovalRequest(String id) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = getApprovalRequestRequestBuilder(id); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getApprovalRequest", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + ApprovalRequest>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getApprovalRequestRequestBuilder(String id) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty("getApprovalRequest", "id", id); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/tags/approval_requests/{id}".replace("{id}", ApiClient.urlEncode(id.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } /** * Get a tag Retrieve an existing tag by ID. * @@ -278,15 +413,29 @@ private HttpRequest.Builder getTagRequestBuilder(UUID tagId) throws ApiException * @param pageSize Maximum number of items in the page (optional, default to 100) * @param label Label prefix to filter by. (optional) * @param tagIds List of tag IDs to filter by. (optional + * @param includePendingApprovalsInfo Whether to include pending approval requests info. + * (optional, default to false) + * @param isProtected (optional) * @return CompletableFuture<ApiResponse<TagsPagedResponse>> * @throws ApiException if fails to make API call */ public CompletableFuture> getTags( - String pageCursor, BigDecimal pageSize, String label, List tagIds) + String pageCursor, + BigDecimal pageSize, + String label, + List tagIds, + Boolean includePendingApprovalsInfo, + Boolean isProtected) throws ApiException { try { HttpRequest.Builder localVarRequestBuilder = - getTagsRequestBuilder(pageCursor, pageSize, label, tagIds); + getTagsRequestBuilder( + pageCursor, + pageSize, + label, + tagIds, + includePendingApprovalsInfo, + isProtected); return memberVarHttpClient .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) .thenComposeAsync( @@ -320,7 +469,12 @@ public CompletableFuture> getTags( } private HttpRequest.Builder getTagsRequestBuilder( - String pageCursor, BigDecimal pageSize, String label, List tagIds) + String pageCursor, + BigDecimal pageSize, + String label, + List tagIds, + Boolean includePendingApprovalsInfo, + Boolean isProtected) throws ApiException { HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); @@ -338,6 +492,12 @@ private HttpRequest.Builder getTagsRequestBuilder( localVarQueryParams.addAll(ApiClient.parameterToPairs("label", label)); localVarQueryParameterBaseName = "tagIds"; localVarQueryParams.addAll(ApiClient.parameterToPairs("multi", "tagIds", tagIds)); + localVarQueryParameterBaseName = "includePendingApprovalsInfo"; + localVarQueryParams.addAll( + ApiClient.parameterToPairs( + "includePendingApprovalsInfo", includePendingApprovalsInfo)); + localVarQueryParameterBaseName = "isProtected"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("isProtected", isProtected)); if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { StringJoiner queryJoiner = new StringJoiner("&"); @@ -363,7 +523,9 @@ private HttpRequest.Builder getTagsRequestBuilder( return localVarRequestBuilder; } /** - * Update a tag Update an existing specified tag. + * 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. * * @param updateTagRequest (required) * @param tagId The ID of the tag to update (required) diff --git a/src/main/java/com/fireblocks/sdk/api/TokenizationApi.java b/src/main/java/com/fireblocks/sdk/api/TokenizationApi.java index 41d479d7..7d3b0bb6 100644 --- a/src/main/java/com/fireblocks/sdk/api/TokenizationApi.java +++ b/src/main/java/com/fireblocks/sdk/api/TokenizationApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,6 +35,7 @@ import com.fireblocks.sdk.model.GetLayerZeroDvnConfigResponse; import com.fireblocks.sdk.model.GetLayerZeroPeersResponse; import com.fireblocks.sdk.model.GetLinkedCollectionsPaginatedResponse; +import com.fireblocks.sdk.model.LinkedTokensCount; import com.fireblocks.sdk.model.ReissueMultichainTokenRequest; import com.fireblocks.sdk.model.RemoveLayerZeroAdaptersRequest; import com.fireblocks.sdk.model.RemoveLayerZeroAdaptersResponse; @@ -191,7 +192,8 @@ private HttpRequest.Builder burnCollectionTokenRequestBuilder( return localVarRequestBuilder; } /** - * Create a new collection Create a new collection and link it as a token + * Create a new collection Create a new collection and link it as a token. </br>Endpoint + * Permission: Owner, Admin, Non-Signing Admin, Signer, and Editor. * * @param collectionDeployRequestDto (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -839,7 +841,8 @@ private HttpRequest.Builder getLayerZeroPeersRequestBuilder(UUID adapterTokenLin return localVarRequestBuilder; } /** - * Get collections Get collections (paginated) + * Get collections Get collections (paginated). </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @param pageCursor Page cursor to get the next page, for example - * \"MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==\" (optional) @@ -1081,13 +1084,76 @@ private HttpRequest.Builder getLinkedTokensRequestBuilder( } return localVarRequestBuilder; } + /** + * Get the total count of linked tokens Get the total count of linked tokens + * + * @return CompletableFuture<ApiResponse<LinkedTokensCount>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getLinkedTokensCount() + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = getLinkedTokensCountRequestBuilder(); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getLinkedTokensCount", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + LinkedTokensCount>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getLinkedTokensCountRequestBuilder() throws ApiException { + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = "/tokenization/tokens/count"; + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } /** * 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. + * deployment is needed. </br>Endpoint Permission: Owner, Admin, Non-Signing Admin, + * Signer, and Editor. * * @param createTokenRequestDto (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple diff --git a/src/main/java/com/fireblocks/sdk/api/TrLinkApi.java b/src/main/java/com/fireblocks/sdk/api/TrLinkApi.java new file mode 100644 index 00000000..ecc566de --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/api/TrLinkApi.java @@ -0,0 +1,2193 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.api; + + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fireblocks.sdk.ApiClient; +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.Pair; +import com.fireblocks.sdk.ValidationUtils; +import com.fireblocks.sdk.model.TRLinkAPIPagedResponse; +import com.fireblocks.sdk.model.TRLinkAssessTravelRuleRequest; +import com.fireblocks.sdk.model.TRLinkAssessTravelRuleResponse; +import com.fireblocks.sdk.model.TRLinkAssetsListPagedResponse; +import com.fireblocks.sdk.model.TRLinkCancelTrmRequest; +import com.fireblocks.sdk.model.TRLinkConnectIntegrationRequest; +import com.fireblocks.sdk.model.TRLinkCreateCustomerRequest; +import com.fireblocks.sdk.model.TRLinkCreateIntegrationRequest; +import com.fireblocks.sdk.model.TRLinkCreateTrmRequest; +import com.fireblocks.sdk.model.TRLinkCustomerIntegrationResponse; +import com.fireblocks.sdk.model.TRLinkCustomerResponse; +import com.fireblocks.sdk.model.TRLinkGetSupportedAssetResponse; +import com.fireblocks.sdk.model.TRLinkPartnerResponse; +import com.fireblocks.sdk.model.TRLinkPolicyResponse; +import com.fireblocks.sdk.model.TRLinkPublicKeyResponse; +import com.fireblocks.sdk.model.TRLinkRedirectTrmRequest; +import com.fireblocks.sdk.model.TRLinkSetDestinationTravelRuleMessageIdRequest; +import com.fireblocks.sdk.model.TRLinkSetDestinationTravelRuleMessageIdResponse; +import com.fireblocks.sdk.model.TRLinkSetTransactionTravelRuleMessageIdRequest; +import com.fireblocks.sdk.model.TRLinkSetTransactionTravelRuleMessageIdResponse; +import com.fireblocks.sdk.model.TRLinkTestConnectionResponse; +import com.fireblocks.sdk.model.TRLinkTrmInfoResponse; +import com.fireblocks.sdk.model.TRLinkUpdateCustomerRequest; +import com.fireblocks.sdk.model.TRLinkVaspDto; +import java.io.IOException; +import java.io.InputStream; +import java.net.URI; +import java.net.http.HttpClient; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.time.Duration; +import java.util.ArrayList; +import java.util.List; +import java.util.StringJoiner; +import java.util.UUID; +import java.util.concurrent.CompletableFuture; +import java.util.function.Consumer; + +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TrLinkApi { + private final HttpClient memberVarHttpClient; + private final ObjectMapper memberVarObjectMapper; + private final String memberVarBaseUri; + private final Consumer memberVarInterceptor; + private final Duration memberVarReadTimeout; + private final Consumer> memberVarResponseInterceptor; + private final Consumer> memberVarAsyncResponseInterceptor; + + public TrLinkApi() { + this(new ApiClient()); + } + + public TrLinkApi(ApiClient apiClient) { + memberVarHttpClient = apiClient.getHttpClient(); + memberVarObjectMapper = apiClient.getObjectMapper(); + memberVarBaseUri = apiClient.getBaseUri(); + memberVarInterceptor = apiClient.getRequestInterceptor(); + memberVarReadTimeout = apiClient.getReadTimeout(); + memberVarResponseInterceptor = apiClient.getResponseInterceptor(); + memberVarAsyncResponseInterceptor = apiClient.getAsyncResponseInterceptor(); + } + + private ApiException getApiException(String operationId, HttpResponse response) { + String message = + formatExceptionMessage(operationId, response.statusCode(), response.body()); + return new ApiException( + response.statusCode(), message, response.headers(), response.body()); + } + + private String formatExceptionMessage(String operationId, int statusCode, String body) { + if (body == null || body.isEmpty()) { + body = "[no body]"; + } + return operationId + " call failed with: " + statusCode + " - " + body; + } + + /** + * 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 trLinkAssessTravelRuleRequest (required) + * @param customerIntegrationId Customer integration unique identifier (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<TRLinkAssessTravelRuleResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + assessTRLinkTravelRuleRequirement( + TRLinkAssessTravelRuleRequest trLinkAssessTravelRuleRequest, + UUID customerIntegrationId, + String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + assessTRLinkTravelRuleRequirementRequestBuilder( + trLinkAssessTravelRuleRequest, customerIntegrationId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "assessTRLinkTravelRuleRequirement", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkAssessTravelRuleResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder assessTRLinkTravelRuleRequirementRequestBuilder( + TRLinkAssessTravelRuleRequest trLinkAssessTravelRuleRequest, + UUID customerIntegrationId, + String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "assessTRLinkTravelRuleRequirement", + "trLinkAssessTravelRuleRequest", + trLinkAssessTravelRuleRequest); + ValidationUtils.assertParamExistsAndNotEmpty( + "assessTRLinkTravelRuleRequirement", + "customerIntegrationId", + customerIntegrationId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}/trm/assess" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes(trLinkAssessTravelRuleRequest); + localVarRequestBuilder.method( + "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Cancel Travel Rule Message Cancels a travel rule message. The TRM status will be updated to + * cancelled and the partner will be notified. + * + * @param trLinkCancelTrmRequest (required) + * @param customerIntegrationId Customer integration unique identifier (required) + * @param trmId Travel Rule Message unique identifier (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<TRLinkTrmInfoResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> cancelTRLinkTrm( + TRLinkCancelTrmRequest trLinkCancelTrmRequest, + UUID customerIntegrationId, + String trmId, + String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + cancelTRLinkTrmRequestBuilder( + trLinkCancelTrmRequest, customerIntegrationId, trmId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException("cancelTRLinkTrm", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkTrmInfoResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder cancelTRLinkTrmRequestBuilder( + TRLinkCancelTrmRequest trLinkCancelTrmRequest, + UUID customerIntegrationId, + String trmId, + String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "cancelTRLinkTrm", "trLinkCancelTrmRequest", trLinkCancelTrmRequest); + ValidationUtils.assertParamExistsAndNotEmpty( + "cancelTRLinkTrm", "customerIntegrationId", customerIntegrationId.toString()); + ValidationUtils.assertParamExistsAndNotEmpty("cancelTRLinkTrm", "trmId", trmId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/cancel" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())) + .replace("{trmId}", ApiClient.urlEncode(trmId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes(trLinkCancelTrmRequest); + localVarRequestBuilder.method( + "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Connect customer integration Connects a customer integration by providing API credentials. + * Stores encrypted credentials and enables the integration for use. + * + * @param trLinkConnectIntegrationRequest (required) + * @param customerIntegrationId Customer integration unique identifier (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<TRLinkCustomerIntegrationResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + connectTRLinkIntegration( + TRLinkConnectIntegrationRequest trLinkConnectIntegrationRequest, + UUID customerIntegrationId, + String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + connectTRLinkIntegrationRequestBuilder( + trLinkConnectIntegrationRequest, customerIntegrationId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "connectTRLinkIntegration", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkCustomerIntegrationResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder connectTRLinkIntegrationRequestBuilder( + TRLinkConnectIntegrationRequest trLinkConnectIntegrationRequest, + UUID customerIntegrationId, + String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "connectTRLinkIntegration", + "trLinkConnectIntegrationRequest", + trLinkConnectIntegrationRequest); + ValidationUtils.assertParamExistsAndNotEmpty( + "connectTRLinkIntegration", + "customerIntegrationId", + customerIntegrationId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes(trLinkConnectIntegrationRequest); + localVarRequestBuilder.method( + "PUT", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 trLinkCreateCustomerRequest (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<TRLinkCustomerResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> createTRLinkCustomer( + TRLinkCreateCustomerRequest trLinkCreateCustomerRequest, String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + createTRLinkCustomerRequestBuilder(trLinkCreateCustomerRequest, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "createTRLinkCustomer", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkCustomerResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder createTRLinkCustomerRequestBuilder( + TRLinkCreateCustomerRequest trLinkCreateCustomerRequest, String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "createTRLinkCustomer", "trLinkCreateCustomerRequest", trLinkCreateCustomerRequest); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = "/screening/trlink/customers"; + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes(trLinkCreateCustomerRequest); + localVarRequestBuilder.method( + "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 trLinkCreateIntegrationRequest (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<TRLinkCustomerIntegrationResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + createTRLinkIntegration( + TRLinkCreateIntegrationRequest trLinkCreateIntegrationRequest, + String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + createTRLinkIntegrationRequestBuilder( + trLinkCreateIntegrationRequest, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "createTRLinkIntegration", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkCustomerIntegrationResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder createTRLinkIntegrationRequestBuilder( + TRLinkCreateIntegrationRequest trLinkCreateIntegrationRequest, String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "createTRLinkIntegration", + "trLinkCreateIntegrationRequest", + trLinkCreateIntegrationRequest); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = "/screening/trlink/customers/integration"; + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes(trLinkCreateIntegrationRequest); + localVarRequestBuilder.method( + "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 trLinkCreateTrmRequest (required) + * @param customerIntegrationId Customer integration unique identifier (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<TRLinkTrmInfoResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> createTRLinkTrm( + TRLinkCreateTrmRequest trLinkCreateTrmRequest, + UUID customerIntegrationId, + String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + createTRLinkTrmRequestBuilder( + trLinkCreateTrmRequest, customerIntegrationId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException("createTRLinkTrm", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkTrmInfoResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder createTRLinkTrmRequestBuilder( + TRLinkCreateTrmRequest trLinkCreateTrmRequest, + UUID customerIntegrationId, + String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "createTRLinkTrm", "trLinkCreateTrmRequest", trLinkCreateTrmRequest); + ValidationUtils.assertParamExistsAndNotEmpty( + "createTRLinkTrm", "customerIntegrationId", customerIntegrationId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}/trm" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes(trLinkCreateTrmRequest); + localVarRequestBuilder.method( + "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Delete customer Deletes a customer and all associated integrations. This action cannot be + * undone. + * + * @param customerId Customer unique identifier (required) + * @return CompletableFuture<ApiResponse<Void>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> deleteTRLinkCustomer(UUID customerId) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + deleteTRLinkCustomerRequestBuilder(customerId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "deleteTRLinkCustomer", localVarResponse)); + } + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + null)); + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder deleteTRLinkCustomerRequestBuilder(UUID customerId) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "deleteTRLinkCustomer", "customerId", customerId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/{customerId}" + .replace("{customerId}", ApiClient.urlEncode(customerId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("DELETE", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Disconnect customer integration Disconnects a customer integration by removing stored + * credentials. The integration record is deleted and cannot be recovered. + * + * @param customerIntegrationId Customer integration unique identifier (required) + * @return CompletableFuture<ApiResponse<Void>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> disconnectTRLinkIntegration( + UUID customerIntegrationId) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + disconnectTRLinkIntegrationRequestBuilder(customerIntegrationId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "disconnectTRLinkIntegration", + localVarResponse)); + } + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + null)); + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder disconnectTRLinkIntegrationRequestBuilder( + UUID customerIntegrationId) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "disconnectTRLinkIntegration", + "customerIntegrationId", + customerIntegrationId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("DELETE", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Get customer by ID Retrieves detailed information about a specific customer by their unique + * identifier. + * + * @param customerId Customer unique identifier (required) + * @return CompletableFuture<ApiResponse<TRLinkCustomerResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getTRLinkCustomerById( + UUID customerId) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getTRLinkCustomerByIdRequestBuilder(customerId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getTRLinkCustomerById", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkCustomerResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getTRLinkCustomerByIdRequestBuilder(UUID customerId) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getTRLinkCustomerById", "customerId", customerId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/{customerId}" + .replace("{customerId}", ApiClient.urlEncode(customerId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Get customer integration by ID Retrieves detailed information about a specific customer + * integration. + * + * @param customerId Customer unique identifier (required) + * @param customerIntegrationId Customer integration unique identifier (required) + * @return CompletableFuture<ApiResponse<TRLinkCustomerIntegrationResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + getTRLinkCustomerIntegrationById(UUID customerId, UUID customerIntegrationId) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getTRLinkCustomerIntegrationByIdRequestBuilder( + customerId, customerIntegrationId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getTRLinkCustomerIntegrationById", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkCustomerIntegrationResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getTRLinkCustomerIntegrationByIdRequestBuilder( + UUID customerId, UUID customerIntegrationId) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getTRLinkCustomerIntegrationById", "customerId", customerId.toString()); + ValidationUtils.assertParamExistsAndNotEmpty( + "getTRLinkCustomerIntegrationById", + "customerIntegrationId", + customerIntegrationId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/{customerId}/integrations/{customerIntegrationId}" + .replace("{customerId}", ApiClient.urlEncode(customerId.toString())) + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Get customer integrations Retrieves all TRLink integrations for a specific customer. Returns + * a list of partner integrations configured for Travel Rule compliance. + * + * @param customerId Customer unique identifier (required) + * @return + * CompletableFuture<ApiResponse<List<TRLinkCustomerIntegrationResponse>>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture>> + getTRLinkCustomerIntegrations(UUID customerId) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getTRLinkCustomerIntegrationsRequestBuilder(customerId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getTRLinkCustomerIntegrations", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse< + List>( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + List< + TRLinkCustomerIntegrationResponse>>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getTRLinkCustomerIntegrationsRequestBuilder(UUID customerId) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getTRLinkCustomerIntegrations", "customerId", customerId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/{customerId}/integrations" + .replace("{customerId}", ApiClient.urlEncode(customerId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Get all customers Retrieves all customers associated with the authenticated tenant. Returns a + * list of legal entities configured for Travel Rule compliance. + * + * @return CompletableFuture<ApiResponse<List<TRLinkCustomerResponse>>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture>> getTRLinkCustomers() + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = getTRLinkCustomersRequestBuilder(); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getTRLinkCustomers", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse>( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + List< + TRLinkCustomerResponse>>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getTRLinkCustomersRequestBuilder() throws ApiException { + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = "/screening/trlink/customers"; + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 customerIntegrationId Customer integration unique identifier (required) + * @return CompletableFuture<ApiResponse<TRLinkPublicKeyResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getTRLinkIntegrationPublicKey( + UUID customerIntegrationId) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getTRLinkIntegrationPublicKeyRequestBuilder(customerIntegrationId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getTRLinkIntegrationPublicKey", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkPublicKeyResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getTRLinkIntegrationPublicKeyRequestBuilder( + UUID customerIntegrationId) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getTRLinkIntegrationPublicKey", + "customerIntegrationId", + customerIntegrationId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}/public_key" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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. + * + * @return CompletableFuture<ApiResponse<List<TRLinkPartnerResponse>>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture>> getTRLinkPartners() + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = getTRLinkPartnersRequestBuilder(); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException("getTRLinkPartners", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse>( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + List< + TRLinkPartnerResponse>>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getTRLinkPartnersRequestBuilder() throws ApiException { + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = "/screening/trlink/partners"; + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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. + * + * @return CompletableFuture<ApiResponse<TRLinkPolicyResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getTRLinkPolicy() + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = getTRLinkPolicyRequestBuilder(); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException("getTRLinkPolicy", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkPolicyResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getTRLinkPolicyRequestBuilder() throws ApiException { + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = "/screening/trlink/policy"; + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 customerIntegrationId Customer integration unique identifier (required) + * @param assetId Fireblocks asset ID (required) + * @return CompletableFuture<ApiResponse<TRLinkGetSupportedAssetResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getTRLinkSupportedAsset( + UUID customerIntegrationId, String assetId) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getTRLinkSupportedAssetRequestBuilder(customerIntegrationId, assetId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getTRLinkSupportedAsset", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkGetSupportedAssetResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getTRLinkSupportedAssetRequestBuilder( + UUID customerIntegrationId, String assetId) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getTRLinkSupportedAsset", + "customerIntegrationId", + customerIntegrationId.toString()); + ValidationUtils.assertParamExistsAndNotEmpty("getTRLinkSupportedAsset", "assetId", assetId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}/assets/{assetId}" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())) + .replace("{assetId}", ApiClient.urlEncode(assetId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 customerIntegrationId Customer integration unique identifier (required) + * @param trmId Travel Rule Message unique identifier (required) + * @return CompletableFuture<ApiResponse<TRLinkTrmInfoResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getTRLinkTrmById( + UUID customerIntegrationId, String trmId) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getTRLinkTrmByIdRequestBuilder(customerIntegrationId, trmId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException("getTRLinkTrmById", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkTrmInfoResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getTRLinkTrmByIdRequestBuilder( + UUID customerIntegrationId, String trmId) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getTRLinkTrmById", "customerIntegrationId", customerIntegrationId.toString()); + ValidationUtils.assertParamExistsAndNotEmpty("getTRLinkTrmById", "trmId", trmId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())) + .replace("{trmId}", ApiClient.urlEncode(trmId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Get VASP by ID Retrieves detailed information about a specific VASP by its unique identifier. + * Returns VASP details including public key if available. + * + * @param customerIntegrationId Customer integration unique identifier (required) + * @param vaspId VASP unique identifier (DID format) (required) + * @return CompletableFuture<ApiResponse<TRLinkVaspDto>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getTRLinkVaspById( + UUID customerIntegrationId, String vaspId) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getTRLinkVaspByIdRequestBuilder(customerIntegrationId, vaspId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException("getTRLinkVaspById", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkVaspDto>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getTRLinkVaspByIdRequestBuilder( + UUID customerIntegrationId, String vaspId) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getTRLinkVaspById", "customerIntegrationId", customerIntegrationId.toString()); + ValidationUtils.assertParamExistsAndNotEmpty("getTRLinkVaspById", "vaspId", vaspId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}/vasps/{vaspId}" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())) + .replace("{vaspId}", ApiClient.urlEncode(vaspId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 customerIntegrationId Customer integration unique identifier (required) + * @param pageSize Number of results per page (max 100) (optional, default to 100) + * @param pageCursor Cursor for pagination (from previous response) (optional) + * @return CompletableFuture<ApiResponse<TRLinkAssetsListPagedResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> listTRLinkSupportedAssets( + UUID customerIntegrationId, Integer pageSize, String pageCursor) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + listTRLinkSupportedAssetsRequestBuilder( + customerIntegrationId, pageSize, pageCursor); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "listTRLinkSupportedAssets", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkAssetsListPagedResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder listTRLinkSupportedAssetsRequestBuilder( + UUID customerIntegrationId, Integer pageSize, String pageCursor) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "listTRLinkSupportedAssets", + "customerIntegrationId", + customerIntegrationId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}/assets" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())); + + List localVarQueryParams = new ArrayList<>(); + StringJoiner localVarQueryStringJoiner = new StringJoiner("&"); + String localVarQueryParameterBaseName; + localVarQueryParameterBaseName = "pageSize"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageSize", pageSize)); + localVarQueryParameterBaseName = "pageCursor"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageCursor", pageCursor)); + + if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { + StringJoiner queryJoiner = new StringJoiner("&"); + localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue())); + if (localVarQueryStringJoiner.length() != 0) { + queryJoiner.add(localVarQueryStringJoiner.toString()); + } + localVarRequestBuilder.uri( + URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString())); + } else { + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + } + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * List VASPs Retrieves a paginated list of VASPs (Virtual Asset Service Providers) available + * through the partner integration. Supports cursor-based pagination. + * + * @param customerIntegrationId Customer integration unique identifier (required) + * @param pageSize Number of results per page (max 100) (optional, default to 100) + * @param pageCursor Cursor for pagination (from previous response) (optional) + * @return CompletableFuture<ApiResponse<TRLinkAPIPagedResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> listTRLinkVasps( + UUID customerIntegrationId, Integer pageSize, String pageCursor) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + listTRLinkVaspsRequestBuilder(customerIntegrationId, pageSize, pageCursor); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException("listTRLinkVasps", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkAPIPagedResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder listTRLinkVaspsRequestBuilder( + UUID customerIntegrationId, Integer pageSize, String pageCursor) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "listTRLinkVasps", "customerIntegrationId", customerIntegrationId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}/vasps" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())); + + List localVarQueryParams = new ArrayList<>(); + StringJoiner localVarQueryStringJoiner = new StringJoiner("&"); + String localVarQueryParameterBaseName; + localVarQueryParameterBaseName = "pageSize"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageSize", pageSize)); + localVarQueryParameterBaseName = "pageCursor"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("pageCursor", pageCursor)); + + if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { + StringJoiner queryJoiner = new StringJoiner("&"); + localVarQueryParams.forEach(p -> queryJoiner.add(p.getName() + '=' + p.getValue())); + if (localVarQueryStringJoiner.length() != 0) { + queryJoiner.add(localVarQueryStringJoiner.toString()); + } + localVarRequestBuilder.uri( + URI.create(memberVarBaseUri + localVarPath + '?' + queryJoiner.toString())); + } else { + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + } + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Redirect Travel Rule Message Redirects a Travel Rule Message to a subsidiary VASP. This + * operation requires the partner to support nested VASPs functionality. + * + * @param trLinkRedirectTrmRequest (required) + * @param customerIntegrationId Customer integration unique identifier (required) + * @param trmId Travel Rule Message unique identifier (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<TRLinkTrmInfoResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> redirectTRLinkTrm( + TRLinkRedirectTrmRequest trLinkRedirectTrmRequest, + UUID customerIntegrationId, + String trmId, + String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + redirectTRLinkTrmRequestBuilder( + trLinkRedirectTrmRequest, customerIntegrationId, trmId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException("redirectTRLinkTrm", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkTrmInfoResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder redirectTRLinkTrmRequestBuilder( + TRLinkRedirectTrmRequest trLinkRedirectTrmRequest, + UUID customerIntegrationId, + String trmId, + String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "redirectTRLinkTrm", "trLinkRedirectTrmRequest", trLinkRedirectTrmRequest); + ValidationUtils.assertParamExistsAndNotEmpty( + "redirectTRLinkTrm", "customerIntegrationId", customerIntegrationId.toString()); + ValidationUtils.assertParamExistsAndNotEmpty("redirectTRLinkTrm", "trmId", trmId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/redirect" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())) + .replace("{trmId}", ApiClient.urlEncode(trmId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes(trLinkRedirectTrmRequest); + localVarRequestBuilder.method( + "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 trLinkSetDestinationTravelRuleMessageIdRequest (required) + * @param txId Fireblocks transaction unique identifier (required) + * @param idempotencyKey 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 + * CompletableFuture<ApiResponse<TRLinkSetDestinationTravelRuleMessageIdResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + setTRLinkDestinationTravelRuleMessageId( + TRLinkSetDestinationTravelRuleMessageIdRequest + trLinkSetDestinationTravelRuleMessageIdRequest, + UUID txId, + String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + setTRLinkDestinationTravelRuleMessageIdRequestBuilder( + trLinkSetDestinationTravelRuleMessageIdRequest, txId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "setTRLinkDestinationTravelRuleMessageId", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse< + TRLinkSetDestinationTravelRuleMessageIdResponse>( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkSetDestinationTravelRuleMessageIdResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder setTRLinkDestinationTravelRuleMessageIdRequestBuilder( + TRLinkSetDestinationTravelRuleMessageIdRequest + trLinkSetDestinationTravelRuleMessageIdRequest, + UUID txId, + String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "setTRLinkDestinationTravelRuleMessageId", + "trLinkSetDestinationTravelRuleMessageIdRequest", + trLinkSetDestinationTravelRuleMessageIdRequest); + ValidationUtils.assertParamExistsAndNotEmpty( + "setTRLinkDestinationTravelRuleMessageId", "txId", txId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/transaction/{txId}/destination/travel_rule_message_id" + .replace("{txId}", ApiClient.urlEncode(txId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes( + trLinkSetDestinationTravelRuleMessageIdRequest); + localVarRequestBuilder.method( + "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 trLinkSetTransactionTravelRuleMessageIdRequest (required) + * @param txId Fireblocks transaction unique identifier (required) + * @param idempotencyKey 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 + * CompletableFuture<ApiResponse<TRLinkSetTransactionTravelRuleMessageIdResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + setTRLinkTransactionTravelRuleMessageId( + TRLinkSetTransactionTravelRuleMessageIdRequest + trLinkSetTransactionTravelRuleMessageIdRequest, + UUID txId, + String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + setTRLinkTransactionTravelRuleMessageIdRequestBuilder( + trLinkSetTransactionTravelRuleMessageIdRequest, txId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "setTRLinkTransactionTravelRuleMessageId", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse< + TRLinkSetTransactionTravelRuleMessageIdResponse>( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkSetTransactionTravelRuleMessageIdResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder setTRLinkTransactionTravelRuleMessageIdRequestBuilder( + TRLinkSetTransactionTravelRuleMessageIdRequest + trLinkSetTransactionTravelRuleMessageIdRequest, + UUID txId, + String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "setTRLinkTransactionTravelRuleMessageId", + "trLinkSetTransactionTravelRuleMessageIdRequest", + trLinkSetTransactionTravelRuleMessageIdRequest); + ValidationUtils.assertParamExistsAndNotEmpty( + "setTRLinkTransactionTravelRuleMessageId", "txId", txId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/transaction/{txId}/travel_rule_message_id" + .replace("{txId}", ApiClient.urlEncode(txId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes( + trLinkSetTransactionTravelRuleMessageIdRequest); + localVarRequestBuilder.method( + "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 customerIntegrationId Customer integration unique identifier (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<TRLinkTestConnectionResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + testTRLinkIntegrationConnection(UUID customerIntegrationId, String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + testTRLinkIntegrationConnectionRequestBuilder( + customerIntegrationId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "testTRLinkIntegrationConnection", + localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkTestConnectionResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder testTRLinkIntegrationConnectionRequestBuilder( + UUID customerIntegrationId, String idempotencyKey) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "testTRLinkIntegrationConnection", + "customerIntegrationId", + customerIntegrationId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/integration/{customerIntegrationId}/test_connection" + .replace( + "{customerIntegrationId}", + ApiClient.urlEncode(customerIntegrationId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("POST", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * Update customer Updates an existing customer's information. All fields are optional - + * only provided fields will be updated. + * + * @param trLinkUpdateCustomerRequest (required) + * @param customerId Customer unique identifier (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<TRLinkCustomerResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> updateTRLinkCustomer( + TRLinkUpdateCustomerRequest trLinkUpdateCustomerRequest, + UUID customerId, + String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + updateTRLinkCustomerRequestBuilder( + trLinkUpdateCustomerRequest, customerId, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "updateTRLinkCustomer", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TRLinkCustomerResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder updateTRLinkCustomerRequestBuilder( + TRLinkUpdateCustomerRequest trLinkUpdateCustomerRequest, + UUID customerId, + String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "updateTRLinkCustomer", "trLinkUpdateCustomerRequest", trLinkUpdateCustomerRequest); + ValidationUtils.assertParamExistsAndNotEmpty( + "updateTRLinkCustomer", "customerId", customerId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/trlink/customers/{customerId}" + .replace("{customerId}", ApiClient.urlEncode(customerId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes(trLinkUpdateCustomerRequest); + localVarRequestBuilder.method( + "PUT", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } +} diff --git a/src/main/java/com/fireblocks/sdk/api/TradingBetaApi.java b/src/main/java/com/fireblocks/sdk/api/TradingBetaApi.java index a1a23ca2..f69cbdbf 100644 --- a/src/main/java/com/fireblocks/sdk/api/TradingBetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/TradingBetaApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -85,7 +85,9 @@ private String formatExceptionMessage(String operationId, int statusCode, String * 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. + * 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 createOrderRequest (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -167,7 +169,9 @@ private HttpRequest.Builder createOrderRequestBuilder( * 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. + * 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 createQuote (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -249,7 +253,9 @@ private HttpRequest.Builder createQuoteRequestBuilder( * 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. + * 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 orderId The ID of the order to fetch. (required) * @return CompletableFuture<ApiResponse<OrderDetails>> @@ -318,7 +324,9 @@ private HttpRequest.Builder getOrderRequestBuilder(String orderId) throws ApiExc * 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. + * 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 pageSize pageSize for pagination. (required) * @param pageCursor (optional) @@ -452,11 +460,13 @@ private HttpRequest.Builder getOrdersRequestBuilder( } /** * 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 + * 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. + * 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 pageSize Page size for pagination. (optional, default to 20) * @param pageCursor Page cursor for pagination. (optional) diff --git a/src/main/java/com/fireblocks/sdk/api/TransactionsApi.java b/src/main/java/com/fireblocks/sdk/api/TransactionsApi.java index 2893dd10..0c50404e 100644 --- a/src/main/java/com/fireblocks/sdk/api/TransactionsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/TransactionsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -27,14 +27,12 @@ import com.fireblocks.sdk.model.EstimatedNetworkFeeResponse; import com.fireblocks.sdk.model.EstimatedTransactionFeeResponse; import com.fireblocks.sdk.model.FreezeTransactionResponse; -import com.fireblocks.sdk.model.RescanTransaction; import com.fireblocks.sdk.model.SetConfirmationsThresholdRequest; import com.fireblocks.sdk.model.SetConfirmationsThresholdResponse; import com.fireblocks.sdk.model.TransactionRequest; import com.fireblocks.sdk.model.TransactionResponse; import com.fireblocks.sdk.model.UnfreezeTransactionResponse; import com.fireblocks.sdk.model.ValidateAddressResponse; -import com.fireblocks.sdk.model.ValidatedTransactionsForRescan; import java.io.IOException; import java.io.InputStream; import java.net.URI; @@ -90,7 +88,9 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Cancel a transaction Cancels a transaction by ID. + * Cancel a transaction Cancels a transaction by Fireblocks Transaction ID. Can be used only for + * transactions that did not get to the BROADCASTING state. </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param txId The ID of the transaction to cancel (required) * @param xEndUserWalletId Unique ID of the End-User wallet to the API request. Required for @@ -168,7 +168,11 @@ private HttpRequest.Builder cancelTransactionRequestBuilder( return localVarRequestBuilder; } /** - * Create a new transaction Creates a new transaction. + * Create 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 transactionRequest (optional) * @param xEndUserWalletId Unique ID of the End-User wallet to the API request. Required for @@ -253,8 +257,9 @@ private HttpRequest.Builder createTransactionRequestBuilder( return localVarRequestBuilder; } /** - * Drop ETH transaction by ID Drops a stuck ETH transaction and creates a replacement - * transaction. + * Drop ETH (EVM) transaction by ID Drops a stuck ETH (EVM) transaction and creates a + * replacement transaction with 0 amount. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor. * * @param txId The ID of the transaction (required) * @param dropTransactionRequest (optional) @@ -349,9 +354,22 @@ private HttpRequest.Builder dropTransactionRequestBuilder( return localVarRequestBuilder; } /** - * 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. + * Estimate the required fee for an asset 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param assetId The asset for which to estimate the fee (required) * @return CompletableFuture<ApiResponse<EstimatedNetworkFeeResponse>> @@ -432,8 +450,12 @@ private HttpRequest.Builder estimateNetworkFeeRequestBuilder(String assetId) return localVarRequestBuilder; } /** - * Estimate transaction fee Estimates the transaction fee for a transaction request. * Note: - * Supports all Fireblocks assets except ZCash (ZEC). + * Estimate transaction fee 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). + * </br>Endpoint Permission: Admin, Signer, Approver, Editor. * * @param transactionRequest (optional) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -511,7 +533,10 @@ private HttpRequest.Builder estimateTransactionFeeRequestBuilder( return localVarRequestBuilder; } /** - * Freeze a transaction Freezes a transaction by ID. + * 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 </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param txId The ID of the transaction to freeze (required) * @param xEndUserWalletId Unique ID of the End-User wallet to the API request. Required for @@ -589,7 +614,9 @@ private HttpRequest.Builder freezeTransactionRequestBuilder( return localVarRequestBuilder; } /** - * Find a specific transaction by Fireblocks transaction ID Returns a transaction by ID. + * Get a specific transaction by Fireblocks transaction ID Get a specific transaction data by + * Fireblocks Transaction ID </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, + * Approver, Editor, Viewer. * * @param txId The ID of the transaction to return (required) * @return CompletableFuture<ApiResponse<TransactionResponse>> @@ -653,8 +680,9 @@ private HttpRequest.Builder getTransactionRequestBuilder(String txId) throws Api return localVarRequestBuilder; } /** - * Find a specific transaction by external transaction ID Returns transaction by external - * transaction ID. + * Get a specific transaction by external transaction ID Returns transaction by external + * transaction ID. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, + * Editor, Viewer. * * @param externalTxId The external ID of the transaction to return (required) * @return CompletableFuture<ApiResponse<TransactionResponse>> @@ -724,20 +752,25 @@ private HttpRequest.Builder getTransactionByExternalIdRequestBuilder(String exte return localVarRequestBuilder; } /** - * List transaction history Lists the transaction history for your workspace. + * Get transaction history 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 (optional) * @param prev Cursor returned in prev-page header that can be used to fetch the previous page * of results (optional) * @param before Unix timestamp in milliseconds. Returns only transactions created before the - * specified date (optional) + * 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) * @param after Unix timestamp in milliseconds. Returns only transactions created after the - * specified date (optional) + * 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) * @param status You can filter by one of the statuses. (optional) - * @param orderBy 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) + * @param orderBy 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) * @param sort The direction to order the results by (optional) * @param limit 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) @@ -906,94 +939,10 @@ private HttpRequest.Builder getTransactionsRequestBuilder( } return localVarRequestBuilder; } - /** - * rescan array of transactions rescan transaction by running an async job. </br> - * **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 rescanTransaction (required) - * @param idempotencyKey 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 - * CompletableFuture<ApiResponse<List<ValidatedTransactionsForRescan>>> - * @throws ApiException if fails to make API call - */ - public CompletableFuture>> - rescanTransactionsBeta(List rescanTransaction, String idempotencyKey) - throws ApiException { - try { - HttpRequest.Builder localVarRequestBuilder = - rescanTransactionsBetaRequestBuilder(rescanTransaction, idempotencyKey); - return memberVarHttpClient - .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) - .thenComposeAsync( - localVarResponse -> { - if (memberVarAsyncResponseInterceptor != null) { - memberVarAsyncResponseInterceptor.accept(localVarResponse); - } - if (localVarResponse.statusCode() / 100 != 2) { - return CompletableFuture.failedFuture( - getApiException( - "rescanTransactionsBeta", localVarResponse)); - } - try { - String responseBody = localVarResponse.body(); - return CompletableFuture.completedFuture( - new ApiResponse>( - localVarResponse.statusCode(), - localVarResponse.headers().map(), - responseBody == null || responseBody.isBlank() - ? null - : memberVarObjectMapper.readValue( - responseBody, - new TypeReference< - List< - ValidatedTransactionsForRescan>>() {}))); - } catch (IOException e) { - return CompletableFuture.failedFuture(new ApiException(e)); - } - }); - } catch (ApiException e) { - return CompletableFuture.failedFuture(e); - } - } - - private HttpRequest.Builder rescanTransactionsBetaRequestBuilder( - List rescanTransaction, String idempotencyKey) throws ApiException { - ValidationUtils.assertParamExists( - "rescanTransactionsBeta", "rescanTransaction", rescanTransaction); - - HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); - - String localVarPath = "/transactions/rescan"; - - localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); - - if (idempotencyKey != null) { - localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); - } - localVarRequestBuilder.header("Content-Type", "application/json"); - localVarRequestBuilder.header("Accept", "application/json"); - - try { - byte[] localVarPostBody = memberVarObjectMapper.writeValueAsBytes(rescanTransaction); - localVarRequestBuilder.method( - "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); - } catch (IOException e) { - throw new ApiException(e); - } - if (memberVarReadTimeout != null) { - localVarRequestBuilder.timeout(memberVarReadTimeout); - } - if (memberVarInterceptor != null) { - memberVarInterceptor.accept(localVarRequestBuilder); - } - return localVarRequestBuilder; - } /** * Set confirmation threshold by transaction hash Overrides the required number of confirmations - * for transaction completion by transaction hash. + * for transaction completion by transaction hash. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @param txHash The TxHash (required) * @param setConfirmationsThresholdRequest (optional) @@ -1086,8 +1035,9 @@ private HttpRequest.Builder setConfirmationThresholdByTransactionHashRequestBuil return localVarRequestBuilder; } /** - * Set confirmation threshold by transaction ID Overrides the required number of confirmations - * for transaction completion by transaction ID. + * Set confirmation threshold by Fireblocks Transaction ID Overrides the required number of + * confirmations for transaction completion Fireblocks Transaction ID. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param txId The ID of the transaction (required) * @param setConfirmationsThresholdRequest (optional) @@ -1180,8 +1130,8 @@ private HttpRequest.Builder setTransactionConfirmationThresholdRequestBuilder( return localVarRequestBuilder; } /** - * Unfreeze a transaction Unfreezes a transaction by ID and makes the transaction available - * again. + * Unfreeze a transaction Unfreezes a transaction by Fireblocks Transaction ID and makes the + * transaction available again. </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param txId The ID of the transaction to unfreeze (required) * @param xEndUserWalletId Unique ID of the End-User wallet to the API request. Required for @@ -1260,7 +1210,8 @@ private HttpRequest.Builder unfreezeTransactionRequestBuilder( return localVarRequestBuilder; } /** - * Validate destination address Checks if an address is valid (for XRP, DOT, XLM, and EOS). + * Validate destination address Checks if an address is valid and active (for XRP, DOT, XLM, and + * EOS). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param assetId The asset of the address (required) * @param address The address to validate (required) diff --git a/src/main/java/com/fireblocks/sdk/api/TravelRuleApi.java b/src/main/java/com/fireblocks/sdk/api/TravelRuleApi.java index 114a70fe..1ff1658b 100644 --- a/src/main/java/com/fireblocks/sdk/api/TravelRuleApi.java +++ b/src/main/java/com/fireblocks/sdk/api/TravelRuleApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -26,6 +26,9 @@ import com.fireblocks.sdk.model.TravelRuleValidateFullTransactionRequest; import com.fireblocks.sdk.model.TravelRuleValidateTransactionResponse; import com.fireblocks.sdk.model.TravelRuleVaspForVault; +import com.fireblocks.sdk.model.TrustProofOfAddressCreateResponse; +import com.fireblocks.sdk.model.TrustProofOfAddressRequest; +import com.fireblocks.sdk.model.TrustProofOfAddressResponse; import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; @@ -37,6 +40,7 @@ import java.util.ArrayList; import java.util.List; import java.util.StringJoiner; +import java.util.UUID; import java.util.concurrent.CompletableFuture; import java.util.function.Consumer; @@ -80,6 +84,165 @@ private String formatExceptionMessage(String operationId, int statusCode, String return operationId + " call failed with: " + statusCode + " - " + body; } + /** + * Create Trust Network Proof of Address Creates a cryptographic proof of address ownership for + * TRUST network. + * + * @param trustProofOfAddressRequest (required) + * @param idempotencyKey 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 CompletableFuture<ApiResponse<TrustProofOfAddressCreateResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> + createTrustProofOfAddress( + TrustProofOfAddressRequest trustProofOfAddressRequest, String idempotencyKey) + throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + createTrustProofOfAddressRequestBuilder( + trustProofOfAddressRequest, idempotencyKey); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "createTrustProofOfAddress", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TrustProofOfAddressCreateResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder createTrustProofOfAddressRequestBuilder( + TrustProofOfAddressRequest trustProofOfAddressRequest, String idempotencyKey) + throws ApiException { + ValidationUtils.assertParamExists( + "createTrustProofOfAddress", + "trustProofOfAddressRequest", + trustProofOfAddressRequest); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = "/screening/travel_rule/providers/trust/proof_of_address"; + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + if (idempotencyKey != null) { + localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); + } + localVarRequestBuilder.header("Content-Type", "application/json"); + localVarRequestBuilder.header("Accept", "application/json"); + + try { + byte[] localVarPostBody = + memberVarObjectMapper.writeValueAsBytes(trustProofOfAddressRequest); + localVarRequestBuilder.method( + "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); + } catch (IOException e) { + throw new ApiException(e); + } + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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 transactionId Fireblocks transaction ID (UUID format) (required) + * @return CompletableFuture<ApiResponse<TrustProofOfAddressResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getTrustProofOfAddress( + UUID transactionId) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getTrustProofOfAddressRequestBuilder(transactionId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getTrustProofOfAddress", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + TrustProofOfAddressResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getTrustProofOfAddressRequestBuilder(UUID transactionId) + throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getTrustProofOfAddress", "transactionId", transactionId.toString()); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/screening/travel_rule/providers/trust/proof_of_address/{transactionId}" + .replace("{transactionId}", ApiClient.urlEncode(transactionId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } /** * Get VASP details Get VASP Details. Returns information about a VASP that has the specified * DID. diff --git a/src/main/java/com/fireblocks/sdk/api/UserGroupsBetaApi.java b/src/main/java/com/fireblocks/sdk/api/UserGroupsBetaApi.java index 2335530e..827f4a33 100644 --- a/src/main/java/com/fireblocks/sdk/api/UserGroupsBetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/UserGroupsBetaApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -76,9 +76,8 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Create user group Create a new user group.</br> **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 user group Create a new user group. Users with the Viewer role cannot be added to + * groups. </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param userGroupCreateRequest (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -284,9 +283,9 @@ private HttpRequest.Builder getUserGroupRequestBuilder(String groupId) throws Ap return localVarRequestBuilder; } /** - * List user groups Get all user groups in your workspace. </br> **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. + * List user groups Get all user groups in your workspace - Please note that this endpoint is + * available only for API keys with Admin/Non Signing Admin permissions. </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @return CompletableFuture<ApiResponse<List<UserGroupResponse>>> * @throws ApiException if fails to make API call diff --git a/src/main/java/com/fireblocks/sdk/api/UsersApi.java b/src/main/java/com/fireblocks/sdk/api/UsersApi.java index 12c1c708..a8c03797 100644 --- a/src/main/java/com/fireblocks/sdk/api/UsersApi.java +++ b/src/main/java/com/fireblocks/sdk/api/UsersApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/api/VaultsApi.java b/src/main/java/com/fireblocks/sdk/api/VaultsApi.java index fcfd90cc..85bb65cb 100644 --- a/src/main/java/com/fireblocks/sdk/api/VaultsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/VaultsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -29,6 +29,7 @@ import com.fireblocks.sdk.model.CreateMultipleVaultAccountsJobStatus; import com.fireblocks.sdk.model.CreateVaultAccountRequest; import com.fireblocks.sdk.model.CreateVaultAssetResponse; +import com.fireblocks.sdk.model.GetMaxBipIndexUsedResponse; import com.fireblocks.sdk.model.GetMaxSpendableAmountResponse; import com.fireblocks.sdk.model.JobCreated; import com.fireblocks.sdk.model.PaginatedAddressResponse; @@ -45,7 +46,6 @@ import com.fireblocks.sdk.model.VaultAccountsPagedResponse; import com.fireblocks.sdk.model.VaultAccountsTagAttachmentOperationsRequest; import com.fireblocks.sdk.model.VaultAccountsTagAttachmentOperationsResponse; -import com.fireblocks.sdk.model.VaultAccountsTagAttachmentsRequest; import com.fireblocks.sdk.model.VaultActionStatus; import com.fireblocks.sdk.model.VaultAsset; import java.io.IOException; @@ -105,6 +105,9 @@ private String formatExceptionMessage(String operationId, int statusCode, String /** * Activate 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). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, + * Editor. * * @param vaultAccountId The ID of the vault account to return, or 'default' for the * default vault account (required) @@ -186,8 +189,9 @@ private HttpRequest.Builder activateAssetForVaultAccountRequestBuilder( return localVarRequestBuilder; } /** - * Attach or detach tags from a vault accounts Attach or detach one or more tags from the - * requested 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. * * @param vaultAccountsTagAttachmentOperationsRequest (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -280,88 +284,9 @@ private HttpRequest.Builder attachOrDetachTagsFromVaultAccountsRequestBuilder( } return localVarRequestBuilder; } - /** - * 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 vaultAccountsTagAttachmentsRequest (required) - * @param idempotencyKey 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 CompletableFuture<ApiResponse<Void>> - * @throws ApiException if fails to make API call - */ - public CompletableFuture> attachTagsToVaultAccounts( - VaultAccountsTagAttachmentsRequest vaultAccountsTagAttachmentsRequest, - String idempotencyKey) - throws ApiException { - try { - HttpRequest.Builder localVarRequestBuilder = - attachTagsToVaultAccountsRequestBuilder( - vaultAccountsTagAttachmentsRequest, idempotencyKey); - return memberVarHttpClient - .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) - .thenComposeAsync( - localVarResponse -> { - if (memberVarAsyncResponseInterceptor != null) { - memberVarAsyncResponseInterceptor.accept(localVarResponse); - } - if (localVarResponse.statusCode() / 100 != 2) { - return CompletableFuture.failedFuture( - getApiException( - "attachTagsToVaultAccounts", localVarResponse)); - } - return CompletableFuture.completedFuture( - new ApiResponse( - localVarResponse.statusCode(), - localVarResponse.headers().map(), - null)); - }); - } catch (ApiException e) { - return CompletableFuture.failedFuture(e); - } - } - - private HttpRequest.Builder attachTagsToVaultAccountsRequestBuilder( - VaultAccountsTagAttachmentsRequest vaultAccountsTagAttachmentsRequest, - String idempotencyKey) - throws ApiException { - ValidationUtils.assertParamExists( - "attachTagsToVaultAccounts", - "vaultAccountsTagAttachmentsRequest", - vaultAccountsTagAttachmentsRequest); - - HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); - - String localVarPath = "/vault/accounts/attached_tags/attach"; - - localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); - - if (idempotencyKey != null) { - localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); - } - localVarRequestBuilder.header("Content-Type", "application/json"); - localVarRequestBuilder.header("Accept", "application/json"); - - try { - byte[] localVarPostBody = - memberVarObjectMapper.writeValueAsBytes(vaultAccountsTagAttachmentsRequest); - localVarRequestBuilder.method( - "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); - } catch (IOException e) { - throw new ApiException(e); - } - if (memberVarReadTimeout != null) { - localVarRequestBuilder.timeout(memberVarReadTimeout); - } - if (memberVarInterceptor != null) { - memberVarInterceptor.accept(localVarRequestBuilder); - } - return localVarRequestBuilder; - } /** * Convert a segwit address to legacy format Converts an existing segwit address to the legacy - * format. + * format. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param vaultAccountId The ID of the vault account (required) * @param assetId The ID of the asset (required) @@ -445,10 +370,10 @@ private HttpRequest.Builder createLegacyAddressRequestBuilder( return localVarRequestBuilder; } /** - * Bulk creation of new vault accounts Create multiple vault accounts by running an async job. - * </br> **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. + * Bulk creation of new vault accounts 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 createMultipleAccountsRequest (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -534,9 +459,11 @@ private HttpRequest.Builder createMultipleAccountsRequestBuilder( return localVarRequestBuilder; } /** - * Bulk creation of new deposit addresses Create multiple deposit address by running an async - * job. </br> **Note**: - We limit accounts to 10k per operation. Endpoint Permission: - * Admin, Non-Signing Admin. + * Bulk creation of new deposit addresses **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 createMultipleDepositAddressesRequest (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -625,7 +552,11 @@ private HttpRequest.Builder createMultipleDepositAddressesRequestBuilder( return localVarRequestBuilder; } /** - * Create a new vault account Creates a new vault account with the requested name. + * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param createVaultAccountRequest (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -708,7 +639,10 @@ private HttpRequest.Builder createVaultAccountRequestBuilder( return localVarRequestBuilder; } /** - * Create a new wallet Creates a wallet for a specific asset in a vault account. + * 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param vaultAccountId The ID of the vault account to return, or 'default' for the * default vault account (required) @@ -805,7 +739,8 @@ private HttpRequest.Builder createVaultAccountAssetRequestBuilder( } /** * Create new asset deposit address Creates a new deposit address for an asset of a vault - * account. + * account. Should be used for UTXO or Tag/Memo based assets ONLY. Requests with account based + * assets will fail. </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param vaultAccountId The ID of the vault account to return (required) * @param assetId The ID of the asset (required) @@ -902,100 +837,21 @@ private HttpRequest.Builder createVaultAccountAssetAddressRequestBuilder( return localVarRequestBuilder; } /** - * Detach tags from a vault accounts (deprecated) Detach one or more tags from the requested - * vault account. This endpoint is deprecated. Please use /vault/accounts/attached_tags instead. - * - * @param vaultAccountsTagAttachmentsRequest (required) - * @param idempotencyKey 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 CompletableFuture<ApiResponse<Void>> - * @throws ApiException if fails to make API call - */ - public CompletableFuture> detachTagsFromVaultAccounts( - VaultAccountsTagAttachmentsRequest vaultAccountsTagAttachmentsRequest, - String idempotencyKey) - throws ApiException { - try { - HttpRequest.Builder localVarRequestBuilder = - detachTagsFromVaultAccountsRequestBuilder( - vaultAccountsTagAttachmentsRequest, idempotencyKey); - return memberVarHttpClient - .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) - .thenComposeAsync( - localVarResponse -> { - if (memberVarAsyncResponseInterceptor != null) { - memberVarAsyncResponseInterceptor.accept(localVarResponse); - } - if (localVarResponse.statusCode() / 100 != 2) { - return CompletableFuture.failedFuture( - getApiException( - "detachTagsFromVaultAccounts", - localVarResponse)); - } - return CompletableFuture.completedFuture( - new ApiResponse( - localVarResponse.statusCode(), - localVarResponse.headers().map(), - null)); - }); - } catch (ApiException e) { - return CompletableFuture.failedFuture(e); - } - } - - private HttpRequest.Builder detachTagsFromVaultAccountsRequestBuilder( - VaultAccountsTagAttachmentsRequest vaultAccountsTagAttachmentsRequest, - String idempotencyKey) - throws ApiException { - ValidationUtils.assertParamExists( - "detachTagsFromVaultAccounts", - "vaultAccountsTagAttachmentsRequest", - vaultAccountsTagAttachmentsRequest); - - HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); - - String localVarPath = "/vault/accounts/attached_tags/detach"; - - localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); - - if (idempotencyKey != null) { - localVarRequestBuilder.header("Idempotency-Key", idempotencyKey.toString()); - } - localVarRequestBuilder.header("Content-Type", "application/json"); - localVarRequestBuilder.header("Accept", "application/json"); - - try { - byte[] localVarPostBody = - memberVarObjectMapper.writeValueAsBytes(vaultAccountsTagAttachmentsRequest); - localVarRequestBuilder.method( - "POST", HttpRequest.BodyPublishers.ofByteArray(localVarPostBody)); - } catch (IOException e) { - throw new ApiException(e); - } - if (memberVarReadTimeout != null) { - localVarRequestBuilder.timeout(memberVarReadTimeout); - } - if (memberVarInterceptor != null) { - memberVarInterceptor.accept(localVarRequestBuilder); - } - return localVarRequestBuilder; - } - /** - * List asset wallets (Paginated) 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. + * Get vault wallets (Paginated) 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, + * Editor, Viewer. * - * @param totalAmountLargerThan When specified, only asset wallets with total balance larger + * @param totalAmountLargerThan When specified, only vault wallets with total balance greater * than this amount are returned. (optional) - * @param assetId When specified, only asset wallets cross vault accounts that have this asset - * ID are returned. (optional) + * @param assetId When specified, only vault wallets with the specified ID are returned. + * (optional) * @param orderBy (optional, default to DESC) * @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. (optional) * @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. (optional) - * @param limit The maximum number of asset wallets in a single response. The default is 200 and + * @param limit The maximum number of vault wallets in a single response. The default is 200 and * the maximum is 1000. (optional, default to 200) * @return CompletableFuture<ApiResponse<PaginatedAssetWalletResponse>> * @throws ApiException if fails to make API call @@ -1098,9 +954,9 @@ private HttpRequest.Builder getAssetWalletsRequestBuilder( return localVarRequestBuilder; } /** - * Get job status of bulk creation of new deposit addresses 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. + * Get the job status of the bulk deposit address creation 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 jobId The ID of the job to create addresses (required) * @return CompletableFuture<ApiResponse<CreateMultipleDepositAddressesJobStatus>> @@ -1171,9 +1027,9 @@ private HttpRequest.Builder getCreateMultipleDepositAddressesJobStatusRequestBui return localVarRequestBuilder; } /** - * Get job status of bulk creation of new vault accounts 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 job status of bulk creation of new vault accounts 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 jobId The ID of the job to create addresses (required) * @return CompletableFuture<ApiResponse<CreateMultipleVaultAccountsJobStatus>> @@ -1243,10 +1099,83 @@ private HttpRequest.Builder getCreateMultipleVaultAccountsJobStatusRequestBuilde return localVarRequestBuilder; } /** - * Get the maximum spendable amount in a single 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. + * 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). + * + * @param vaultAccountId The ID of the vault account (required) + * @param assetId The ID of the asset (required) + * @return CompletableFuture<ApiResponse<GetMaxBipIndexUsedResponse>> + * @throws ApiException if fails to make API call + */ + public CompletableFuture> getMaxBipIndexUsed( + String vaultAccountId, String assetId) throws ApiException { + try { + HttpRequest.Builder localVarRequestBuilder = + getMaxBipIndexUsedRequestBuilder(vaultAccountId, assetId); + return memberVarHttpClient + .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) + .thenComposeAsync( + localVarResponse -> { + if (memberVarAsyncResponseInterceptor != null) { + memberVarAsyncResponseInterceptor.accept(localVarResponse); + } + if (localVarResponse.statusCode() / 100 != 2) { + return CompletableFuture.failedFuture( + getApiException( + "getMaxBipIndexUsed", localVarResponse)); + } + try { + String responseBody = localVarResponse.body(); + return CompletableFuture.completedFuture( + new ApiResponse( + localVarResponse.statusCode(), + localVarResponse.headers().map(), + responseBody == null || responseBody.isBlank() + ? null + : memberVarObjectMapper.readValue( + responseBody, + new TypeReference< + GetMaxBipIndexUsedResponse>() {}))); + } catch (IOException e) { + return CompletableFuture.failedFuture(new ApiException(e)); + } + }); + } catch (ApiException e) { + return CompletableFuture.failedFuture(e); + } + } + + private HttpRequest.Builder getMaxBipIndexUsedRequestBuilder( + String vaultAccountId, String assetId) throws ApiException { + ValidationUtils.assertParamExistsAndNotEmpty( + "getMaxBipIndexUsed", "vaultAccountId", vaultAccountId); + ValidationUtils.assertParamExistsAndNotEmpty("getMaxBipIndexUsed", "assetId", assetId); + + HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); + + String localVarPath = + "/vault/accounts/{vaultAccountId}/{assetId}/max_bip_index_used" + .replace("{vaultAccountId}", ApiClient.urlEncode(vaultAccountId.toString())) + .replace("{assetId}", ApiClient.urlEncode(assetId.toString())); + + localVarRequestBuilder.uri(URI.create(memberVarBaseUri + localVarPath)); + + localVarRequestBuilder.header("Accept", "application/json"); + + localVarRequestBuilder.method("GET", HttpRequest.BodyPublishers.noBody()); + if (memberVarReadTimeout != null) { + localVarRequestBuilder.timeout(memberVarReadTimeout); + } + if (memberVarInterceptor != null) { + memberVarInterceptor.accept(localVarRequestBuilder); + } + return localVarRequestBuilder; + } + /** + * 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. * * @param vaultAccountId The ID of the vault account, or 'default' for the default vault * account (required) @@ -1338,19 +1267,25 @@ private HttpRequest.Builder getMaxSpendableAmountRequestBuilder( return localVarRequestBuilder; } /** - * List vault accounts (Paginated) Gets all vault accounts in your workspace. This endpoint - * returns a limited amount of results with a quick response time. + * Get vault accounts (Paginated) Gets all vault accounts in your workspace. This endpoint + * returns a limited amount of results with a quick response time. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @param namePrefix (optional) * @param nameSuffix (optional) * @param minAmountThreshold Specifying minAmountThreshold will filter accounts with balances - * greater than this value, otherwise, it will return all accounts. (optional) + * 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) * @param assetId (optional) * @param orderBy (optional, default to DESC) * @param before (optional) * @param after (optional) * @param limit (optional, default to 200) - * @param tagIds List of tag IDs to filter vault accounts. (optional + * @param tagIds DEPRECATED - use includeTagIds instead (optional + * @param includeTagIds List of tag IDs to include. Vault accounts with any of these tags will + * be included (optional + * @param excludeTagIds List of tag IDs to exclude. Vault accounts with any of these tags will + * be filtered out (optional * @return CompletableFuture<ApiResponse<VaultAccountsPagedResponse>> * @throws ApiException if fails to make API call */ @@ -1363,7 +1298,9 @@ public CompletableFuture> getPagedVaultA String before, String after, BigDecimal limit, - List tagIds) + List tagIds, + List includeTagIds, + List excludeTagIds) throws ApiException { try { HttpRequest.Builder localVarRequestBuilder = @@ -1376,7 +1313,9 @@ public CompletableFuture> getPagedVaultA before, after, limit, - tagIds); + tagIds, + includeTagIds, + excludeTagIds); return memberVarHttpClient .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) .thenComposeAsync( @@ -1419,7 +1358,9 @@ private HttpRequest.Builder getPagedVaultAccountsRequestBuilder( String before, String after, BigDecimal limit, - List tagIds) + List tagIds, + List includeTagIds, + List excludeTagIds) throws ApiException { HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); @@ -1448,6 +1389,12 @@ private HttpRequest.Builder getPagedVaultAccountsRequestBuilder( localVarQueryParams.addAll(ApiClient.parameterToPairs("limit", limit)); localVarQueryParameterBaseName = "tagIds"; localVarQueryParams.addAll(ApiClient.parameterToPairs("multi", "tagIds", tagIds)); + localVarQueryParameterBaseName = "includeTagIds"; + localVarQueryParams.addAll( + ApiClient.parameterToPairs("multi", "includeTagIds", includeTagIds)); + localVarQueryParameterBaseName = "excludeTagIds"; + localVarQueryParams.addAll( + ApiClient.parameterToPairs("multi", "excludeTagIds", excludeTagIds)); if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { StringJoiner queryJoiner = new StringJoiner("&"); @@ -1473,8 +1420,8 @@ private HttpRequest.Builder getPagedVaultAccountsRequestBuilder( return localVarRequestBuilder; } /** - * Get the public key information Gets the public key information based on derivation path and - * signing algorithm. + * Get the public key for a derivation path Gets the public key information based on derivation + * path and signing algorithm. </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param derivationPath (required) * @param algorithm (required) @@ -1563,7 +1510,8 @@ private HttpRequest.Builder getPublicKeyInfoRequestBuilder( return localVarRequestBuilder; } /** - * Get the public key for a vault account Gets the public key information for the vault account. + * Get an asset's public key Get the public key information for a specific asset in a vault + * account. </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param vaultAccountId (required) * @param assetId (required) @@ -1672,8 +1620,9 @@ private HttpRequest.Builder getPublicKeyInfoForAddressRequestBuilder( return localVarRequestBuilder; } /** - * Get UTXO unspent inputs information Returns unspent inputs information of an asset in a vault - * account. + * Get UTXO unspent inputs information Returns unspent inputs information of an UTXO asset in a + * vault account. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, + * Editor, Viewer. * * @param vaultAccountId The ID of the vault account (required) * @param assetId The ID of the asset (required) @@ -1745,9 +1694,10 @@ private HttpRequest.Builder getUnspentInputsRequestBuilder( return localVarRequestBuilder; } /** - * Find a vault account by ID Returns the requested vault account. + * Get a vault account by ID Get a vault account by its unique ID. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * - * @param vaultAccountId The ID of the vault account to return type: string (required) + * @param vaultAccountId The ID of the vault account (required) * @return CompletableFuture<ApiResponse<VaultAccount>> * @throws ApiException if fails to make API call */ @@ -1814,8 +1764,9 @@ private HttpRequest.Builder getVaultAccountRequestBuilder(String vaultAccountId) return localVarRequestBuilder; } /** - * Get the asset balance for a vault account Returns a wallet for a specific asset of a vault - * account. + * Get the asset balance for a vault account Returns a specific vault wallet balance information + * for a specific asset. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, + * Approver, Editor, Viewer. * * @param vaultAccountId The ID of the vault account to return (required) * @param assetId The ID of the asset (required) @@ -1887,8 +1838,9 @@ private HttpRequest.Builder getVaultAccountAssetRequestBuilder( return localVarRequestBuilder; } /** - * List addresses (Paginated) Returns a paginated response of the addresses for a given vault - * account and asset. + * Get addresses (Paginated) Returns a paginated response of the addresses for a given vault + * account and asset. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, + * Approver, Editor, Viewer. * * @param vaultAccountId The ID of the vault account to return (required) * @param assetId The ID of the asset (required) @@ -1994,7 +1946,8 @@ private HttpRequest.Builder getVaultAccountAssetAddressesPaginatedRequestBuilder } /** * Get asset balance for chosen assets Gets the assets amount summary for all accounts or - * filtered accounts. + * filtered accounts. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, + * Approver, Editor, Viewer. * * @param accountNamePrefix (optional) * @param accountNameSuffix (optional) @@ -2080,7 +2033,9 @@ private HttpRequest.Builder getVaultAssetsRequestBuilder( return localVarRequestBuilder; } /** - * Get vault balance by asset Gets the vault balance summary for an asset. + * Get vault balance by an asset Get the total balance of an asset across all the vault + * accounts. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, + * Viewer. * * @param assetId (required) * @return CompletableFuture<ApiResponse<VaultAsset>> @@ -2149,7 +2104,13 @@ private HttpRequest.Builder getVaultBalanceByAssetRequestBuilder(String assetId) } /** * Hide a vault account in the console Hides the requested vault account from the web console - * view. + * 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. </br>Endpoint Permission: Admin, Non-Signing Admin, + * Signer, Approver, Editor. * * @param vaultAccountId The vault account to hide (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -2225,7 +2186,7 @@ private HttpRequest.Builder hideVaultAccountRequestBuilder( } /** * Assign AML customer reference ID Sets an AML/KYT customer reference ID for a specific - * address. + * address. </br>Endpoint Permission: Admin, Non-Signing Admin. * * @param setCustomerRefIdForAddressRequest (required) * @param vaultAccountId The ID of the vault account (required) @@ -2338,8 +2299,11 @@ private HttpRequest.Builder setCustomerRefIdForAddressRequestBuilder( return localVarRequestBuilder; } /** - * Turn autofueling on or off Sets the autofueling property of the vault account to enabled or - * disabled. + * Set auto fueling to on or off 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param setAutoFuelRequest (required) * @param vaultAccountId The vault account ID (required) @@ -2428,8 +2392,10 @@ private HttpRequest.Builder setVaultAccountAutoFuelRequestBuilder( return localVarRequestBuilder; } /** - * Set an AML/KYT customer reference ID for a vault account Assigns an AML/KYT customer - * reference ID for the vault account. + * Set an AML/KYT ID for a 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @param setCustomerRefIdRequest (required) * @param vaultAccountId The vault account ID (required) @@ -2525,7 +2491,7 @@ private HttpRequest.Builder setVaultAccountCustomerRefIdRequestBuilder( } /** * Unhide a vault account in the console Makes a hidden vault account visible in web console - * view. + * view. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param vaultAccountId The vault account to unhide (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -2601,7 +2567,8 @@ private HttpRequest.Builder unhideVaultAccountRequestBuilder( return localVarRequestBuilder; } /** - * Rename a vault account Renames the requested vault account. + * Rename a vault account Renames the requested vault account. </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver. * * @param updateVaultAccountRequest (required) * @param vaultAccountId The ID of the vault account to edit (required) @@ -2696,7 +2663,8 @@ private HttpRequest.Builder updateVaultAccountRequestBuilder( } /** * Update address description Updates the description of an existing address of an asset in a - * vault account. + * vault account. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, + * Editor. * * @param vaultAccountId The ID of the vault account (required) * @param assetId The ID of the asset (required) @@ -2805,7 +2773,10 @@ private HttpRequest.Builder updateVaultAccountAssetAddressRequestBuilder( return localVarRequestBuilder; } /** - * Refresh asset balance data Updates the balance of a specific asset in a vault account. + * 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, + * Editor. * * @param vaultAccountId The ID of the vault account to return (required) * @param assetId The ID of the asset (required) diff --git a/src/main/java/com/fireblocks/sdk/api/Web3ConnectionsApi.java b/src/main/java/com/fireblocks/sdk/api/Web3ConnectionsApi.java index 483c8f66..0b1973e7 100644 --- a/src/main/java/com/fireblocks/sdk/api/Web3ConnectionsApi.java +++ b/src/main/java/com/fireblocks/sdk/api/Web3ConnectionsApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/api/WebhooksApi.java b/src/main/java/com/fireblocks/sdk/api/WebhooksApi.java index c5ec85fd..8d1a304f 100644 --- a/src/main/java/com/fireblocks/sdk/api/WebhooksApi.java +++ b/src/main/java/com/fireblocks/sdk/api/WebhooksApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -73,8 +73,10 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Resend failed webhooks for a transaction by ID Resends failed webhook notifications 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. * * @param resendTransactionWebhooksRequest (required) * @param txId The ID of the transaction for webhooks (required) @@ -168,7 +170,9 @@ private HttpRequest.Builder resendTransactionWebhooksRequestBuilder( return localVarRequestBuilder; } /** - * Resend failed webhooks Resends all failed webhook notifications. + * Resend failed webhooks Resends all failed webhook notifications. Learn more about Fireblocks + * Webhooks in the following [guide](https://developers.fireblocks.com/docs/configure-webhooks). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @param idempotencyKey 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 diff --git a/src/main/java/com/fireblocks/sdk/api/WebhooksV2Api.java b/src/main/java/com/fireblocks/sdk/api/WebhooksV2Api.java index a793029f..e131e9ee 100644 --- a/src/main/java/com/fireblocks/sdk/api/WebhooksV2Api.java +++ b/src/main/java/com/fireblocks/sdk/api/WebhooksV2Api.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -90,8 +90,8 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Create new webhook Creates a new webhook, which will be triggered on the specified events - * Endpoint Permission: Owner, Admin, Non-Signing Admin. + * Create a new webhook Creates a new webhook, which will be triggered on the specified events + * **Endpoint Permissions:** Owner, Admin, Non-Signing Admin. * * @param createWebhookRequest (required) * @param idempotencyKey A unique identifier for the request. If the request is sent multiple @@ -774,7 +774,7 @@ private HttpRequest.Builder getWebhookRequestBuilder(UUID webhookId) throws ApiE return localVarRequestBuilder; } /** - * Get all webhooks Get all webhooks (paginated) + * Get all webhooks Get all webhooks (paginated). * * @param order ASC / DESC ordering (default DESC) (optional, default to DESC) * @param pageCursor Cursor of the required page (optional) diff --git a/src/main/java/com/fireblocks/sdk/api/WhitelistIpAddressesApi.java b/src/main/java/com/fireblocks/sdk/api/WhitelistIpAddressesApi.java index 18e92175..a82c5e05 100644 --- a/src/main/java/com/fireblocks/sdk/api/WhitelistIpAddressesApi.java +++ b/src/main/java/com/fireblocks/sdk/api/WhitelistIpAddressesApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -71,7 +71,10 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Gets whitelisted ip addresses Gets whitelisted ip addresses for given Api user. + * Get whitelisted ip addresses for an API Key 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. </br>Endpoint Permission: Admin, Non-Signing + * Admin. * * @param userId The ID of the api user (required) * @return CompletableFuture<ApiResponse<GetWhitelistIpAddressesResponse>> diff --git a/src/main/java/com/fireblocks/sdk/api/WorkspaceStatusBetaApi.java b/src/main/java/com/fireblocks/sdk/api/WorkspaceStatusBetaApi.java index 54ee18dc..9f212c4b 100644 --- a/src/main/java/com/fireblocks/sdk/api/WorkspaceStatusBetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/WorkspaceStatusBetaApi.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -70,7 +70,10 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Returns current workspace status 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @return CompletableFuture<ApiResponse<GetWorkspaceStatusResponse>> * @throws ApiException if fails to make API call diff --git a/src/main/java/com/fireblocks/sdk/model/APIUser.java b/src/main/java/com/fireblocks/sdk/model/APIUser.java index c0e0f5f3..3b6e0533 100644 --- a/src/main/java/com/fireblocks/sdk/model/APIUser.java +++ b/src/main/java/com/fireblocks/sdk/model/APIUser.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AbaPaymentInfo.java b/src/main/java/com/fireblocks/sdk/model/AbaPaymentInfo.java index ae9087bc..5d8a67c4 100644 --- a/src/main/java/com/fireblocks/sdk/model/AbaPaymentInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/AbaPaymentInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AbiFunction.java b/src/main/java/com/fireblocks/sdk/model/AbiFunction.java index affaa0fb..17786cd6 100644 --- a/src/main/java/com/fireblocks/sdk/model/AbiFunction.java +++ b/src/main/java/com/fireblocks/sdk/model/AbiFunction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AbstractOpenApiSchema.java b/src/main/java/com/fireblocks/sdk/model/AbstractOpenApiSchema.java index 817ef498..368cdb6d 100644 --- a/src/main/java/com/fireblocks/sdk/model/AbstractOpenApiSchema.java +++ b/src/main/java/com/fireblocks/sdk/model/AbstractOpenApiSchema.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AccessRegistryAddressItem.java b/src/main/java/com/fireblocks/sdk/model/AccessRegistryAddressItem.java new file mode 100644 index 00000000..cb1daeb4 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/AccessRegistryAddressItem.java @@ -0,0 +1,192 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.StringJoiner; + +/** AccessRegistryAddressItem */ +@JsonPropertyOrder({ + AccessRegistryAddressItem.JSON_PROPERTY_ADDRESS, + AccessRegistryAddressItem.JSON_PROPERTY_DATE_ADDED +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class AccessRegistryAddressItem { + public static final String JSON_PROPERTY_ADDRESS = "address"; + @jakarta.annotation.Nonnull private String address; + + public static final String JSON_PROPERTY_DATE_ADDED = "dateAdded"; + @jakarta.annotation.Nonnull private OffsetDateTime dateAdded; + + public AccessRegistryAddressItem() {} + + @JsonCreator + public AccessRegistryAddressItem( + @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) String address, + @JsonProperty(value = JSON_PROPERTY_DATE_ADDED, required = true) + OffsetDateTime dateAdded) { + this.address = address; + this.dateAdded = dateAdded; + } + + public AccessRegistryAddressItem address(@jakarta.annotation.Nonnull String address) { + this.address = address; + return this; + } + + /** + * The address that was added to the access registry + * + * @return address + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAddress() { + return address; + } + + @JsonProperty(JSON_PROPERTY_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAddress(@jakarta.annotation.Nonnull String address) { + this.address = address; + } + + public AccessRegistryAddressItem dateAdded( + @jakarta.annotation.Nonnull OffsetDateTime dateAdded) { + this.dateAdded = dateAdded; + return this; + } + + /** + * The date when the address was added to the access registry + * + * @return dateAdded + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATE_ADDED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getDateAdded() { + return dateAdded; + } + + @JsonProperty(JSON_PROPERTY_DATE_ADDED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDateAdded(@jakarta.annotation.Nonnull OffsetDateTime dateAdded) { + this.dateAdded = dateAdded; + } + + /** Return true if this AccessRegistryAddressItem object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AccessRegistryAddressItem accessRegistryAddressItem = (AccessRegistryAddressItem) o; + return Objects.equals(this.address, accessRegistryAddressItem.address) + && Objects.equals(this.dateAdded, accessRegistryAddressItem.dateAdded); + } + + @Override + public int hashCode() { + return Objects.hash(address, dateAdded); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccessRegistryAddressItem {\n"); + sb.append(" address: ").append(toIndentedString(address)).append("\n"); + sb.append(" dateAdded: ").append(toIndentedString(dateAdded)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `address` to the URL query string + if (getAddress() != null) { + joiner.add( + String.format( + "%saddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAddress())))); + } + + // add `dateAdded` to the URL query string + if (getDateAdded() != null) { + joiner.add( + String.format( + "%sdateAdded%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDateAdded())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/AccessRegistryCurrentStateResponse.java b/src/main/java/com/fireblocks/sdk/model/AccessRegistryCurrentStateResponse.java new file mode 100644 index 00000000..4f11d613 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/AccessRegistryCurrentStateResponse.java @@ -0,0 +1,292 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** AccessRegistryCurrentStateResponse */ +@JsonPropertyOrder({ + AccessRegistryCurrentStateResponse.JSON_PROPERTY_DATA, + AccessRegistryCurrentStateResponse.JSON_PROPERTY_NEXT, + AccessRegistryCurrentStateResponse.JSON_PROPERTY_PREV, + AccessRegistryCurrentStateResponse.JSON_PROPERTY_TOTAL +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class AccessRegistryCurrentStateResponse { + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nonnull private List data; + + public static final String JSON_PROPERTY_NEXT = "next"; + @jakarta.annotation.Nullable private String next; + + public static final String JSON_PROPERTY_PREV = "prev"; + @jakarta.annotation.Nullable private String prev; + + public static final String JSON_PROPERTY_TOTAL = "total"; + @jakarta.annotation.Nullable private BigDecimal total; + + public AccessRegistryCurrentStateResponse() {} + + @JsonCreator + public AccessRegistryCurrentStateResponse( + @JsonProperty(value = JSON_PROPERTY_DATA, required = true) + List data) { + this.data = data; + } + + public AccessRegistryCurrentStateResponse data( + @jakarta.annotation.Nonnull List data) { + this.data = data; + return this; + } + + public AccessRegistryCurrentStateResponse addDataItem(AccessRegistryAddressItem dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Array of active addresses in the access registry + * + * @return data + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setData(@jakarta.annotation.Nonnull List data) { + this.data = data; + } + + public AccessRegistryCurrentStateResponse next(@jakarta.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * Cursor for next page + * + * @return next + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNext() { + return next; + } + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(@jakarta.annotation.Nullable String next) { + this.next = next; + } + + public AccessRegistryCurrentStateResponse prev(@jakarta.annotation.Nullable String prev) { + this.prev = prev; + return this; + } + + /** + * Cursor for previous page + * + * @return prev + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PREV) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPrev() { + return prev; + } + + @JsonProperty(JSON_PROPERTY_PREV) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPrev(@jakarta.annotation.Nullable String prev) { + this.prev = prev; + } + + public AccessRegistryCurrentStateResponse total(@jakarta.annotation.Nullable BigDecimal total) { + this.total = total; + return this; + } + + /** + * Total count of active addresses in the access registry + * + * @return total + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public BigDecimal getTotal() { + return total; + } + + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTotal(@jakarta.annotation.Nullable BigDecimal total) { + this.total = total; + } + + /** Return true if this AccessRegistryCurrentStateResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AccessRegistryCurrentStateResponse accessRegistryCurrentStateResponse = + (AccessRegistryCurrentStateResponse) o; + return Objects.equals(this.data, accessRegistryCurrentStateResponse.data) + && Objects.equals(this.next, accessRegistryCurrentStateResponse.next) + && Objects.equals(this.prev, accessRegistryCurrentStateResponse.prev) + && Objects.equals(this.total, accessRegistryCurrentStateResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(data, next, prev, total); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccessRegistryCurrentStateResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" prev: ").append(toIndentedString(prev)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `data` to the URL query string + if (getData() != null) { + for (int i = 0; i < getData().size(); i++) { + if (getData().get(i) != null) { + joiner.add( + getData() + .get(i) + .toUrlQueryString( + String.format( + "%sdata%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + // add `next` to the URL query string + if (getNext() != null) { + joiner.add( + String.format( + "%snext%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNext())))); + } + + // add `prev` to the URL query string + if (getPrev() != null) { + joiner.add( + String.format( + "%sprev%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPrev())))); + } + + // add `total` to the URL query string + if (getTotal() != null) { + joiner.add( + String.format( + "%stotal%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTotal())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/AccessRegistrySummaryResponse.java b/src/main/java/com/fireblocks/sdk/model/AccessRegistrySummaryResponse.java new file mode 100644 index 00000000..a5f66191 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/AccessRegistrySummaryResponse.java @@ -0,0 +1,155 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.Objects; +import java.util.StringJoiner; + +/** AccessRegistrySummaryResponse */ +@JsonPropertyOrder({AccessRegistrySummaryResponse.JSON_PROPERTY_TOTAL_ACTIVE_ADDRESSES}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class AccessRegistrySummaryResponse { + public static final String JSON_PROPERTY_TOTAL_ACTIVE_ADDRESSES = "totalActiveAddresses"; + @jakarta.annotation.Nonnull private BigDecimal totalActiveAddresses; + + public AccessRegistrySummaryResponse() {} + + @JsonCreator + public AccessRegistrySummaryResponse( + @JsonProperty(value = JSON_PROPERTY_TOTAL_ACTIVE_ADDRESSES, required = true) + BigDecimal totalActiveAddresses) { + this.totalActiveAddresses = totalActiveAddresses; + } + + public AccessRegistrySummaryResponse totalActiveAddresses( + @jakarta.annotation.Nonnull BigDecimal totalActiveAddresses) { + this.totalActiveAddresses = totalActiveAddresses; + return this; + } + + /** + * The total number of active addresses in the access registry + * + * @return totalActiveAddresses + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TOTAL_ACTIVE_ADDRESSES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public BigDecimal getTotalActiveAddresses() { + return totalActiveAddresses; + } + + @JsonProperty(JSON_PROPERTY_TOTAL_ACTIVE_ADDRESSES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTotalActiveAddresses( + @jakarta.annotation.Nonnull BigDecimal totalActiveAddresses) { + this.totalActiveAddresses = totalActiveAddresses; + } + + /** Return true if this AccessRegistrySummaryResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AccessRegistrySummaryResponse accessRegistrySummaryResponse = + (AccessRegistrySummaryResponse) o; + return Objects.equals( + this.totalActiveAddresses, accessRegistrySummaryResponse.totalActiveAddresses); + } + + @Override + public int hashCode() { + return Objects.hash(totalActiveAddresses); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccessRegistrySummaryResponse {\n"); + sb.append(" totalActiveAddresses: ") + .append(toIndentedString(totalActiveAddresses)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `totalActiveAddresses` to the URL query string + if (getTotalActiveAddresses() != null) { + joiner.add( + String.format( + "%stotalActiveAddresses%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getTotalActiveAddresses())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/AccessType.java b/src/main/java/com/fireblocks/sdk/model/AccessType.java index 3e20aa97..69bebebd 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccessType.java +++ b/src/main/java/com/fireblocks/sdk/model/AccessType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Account.java b/src/main/java/com/fireblocks/sdk/model/Account.java index cca16aa4..49acaffd 100644 --- a/src/main/java/com/fireblocks/sdk/model/Account.java +++ b/src/main/java/com/fireblocks/sdk/model/Account.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AccountAccess.java b/src/main/java/com/fireblocks/sdk/model/AccountAccess.java index 1611e981..d50c9034 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccountAccess.java +++ b/src/main/java/com/fireblocks/sdk/model/AccountAccess.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AccountBase.java b/src/main/java/com/fireblocks/sdk/model/AccountBase.java index d16ee78e..8a08dc8f 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccountBase.java +++ b/src/main/java/com/fireblocks/sdk/model/AccountBase.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AccountBasedAccessProvider.java b/src/main/java/com/fireblocks/sdk/model/AccountBasedAccessProvider.java index f2b414be..7ec25548 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccountBasedAccessProvider.java +++ b/src/main/java/com/fireblocks/sdk/model/AccountBasedAccessProvider.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetails.java b/src/main/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetails.java index 31d5e850..8895cc19 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AccountConfig.java b/src/main/java/com/fireblocks/sdk/model/AccountConfig.java index fd84f181..01e06819 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccountConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/AccountConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AccountHolderDetails.java b/src/main/java/com/fireblocks/sdk/model/AccountHolderDetails.java index 82f8d48d..10e295c6 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccountHolderDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/AccountHolderDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AccountIdentifier.java b/src/main/java/com/fireblocks/sdk/model/AccountIdentifier.java index b89a63bb..f36f933b 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccountIdentifier.java +++ b/src/main/java/com/fireblocks/sdk/model/AccountIdentifier.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AccountReference.java b/src/main/java/com/fireblocks/sdk/model/AccountReference.java index d43facba..c91088c8 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccountReference.java +++ b/src/main/java/com/fireblocks/sdk/model/AccountReference.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -212,10 +212,9 @@ public AccountReference(OneTimeAddressReference o) { // Initialize and register the discriminator mappings. Map> mappings = new HashMap>(); mappings.put("EXCHANGE_ACCOUNT", InternalReference.class); - mappings.put("EXTERNAL_WALLET", InternalReference.class); mappings.put("FIAT_ACCOUNT", InternalReference.class); - mappings.put("INTERNAL_WALLET", InternalReference.class); mappings.put("ONE_TIME_ADDRESS", OneTimeAddressReference.class); + mappings.put("UNMANAGED_WALLET", InternalReference.class); mappings.put("VAULT_ACCOUNT", InternalReference.class); mappings.put("InternalReference", InternalReference.class); mappings.put("OneTimeAddressReference", OneTimeAddressReference.class); diff --git a/src/main/java/com/fireblocks/sdk/model/AccountType.java b/src/main/java/com/fireblocks/sdk/model/AccountType.java index 97f4a159..935c90f4 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccountType.java +++ b/src/main/java/com/fireblocks/sdk/model/AccountType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AccountType2.java b/src/main/java/com/fireblocks/sdk/model/AccountType2.java index 1414b340..08931d9c 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccountType2.java +++ b/src/main/java/com/fireblocks/sdk/model/AccountType2.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AchAccountType.java b/src/main/java/com/fireblocks/sdk/model/AchAccountType.java index f3705788..28b44d90 100644 --- a/src/main/java/com/fireblocks/sdk/model/AchAccountType.java +++ b/src/main/java/com/fireblocks/sdk/model/AchAccountType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AchAddress.java b/src/main/java/com/fireblocks/sdk/model/AchAddress.java index bf0dfb18..221e9555 100644 --- a/src/main/java/com/fireblocks/sdk/model/AchAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/AchAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AchDestination.java b/src/main/java/com/fireblocks/sdk/model/AchDestination.java index cfcee2d1..c79c88e5 100644 --- a/src/main/java/com/fireblocks/sdk/model/AchDestination.java +++ b/src/main/java/com/fireblocks/sdk/model/AchDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AchPaymentInfo.java b/src/main/java/com/fireblocks/sdk/model/AchPaymentInfo.java index 0e3c5af4..84d5ce8e 100644 --- a/src/main/java/com/fireblocks/sdk/model/AchPaymentInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/AchPaymentInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AdapterProcessingResult.java b/src/main/java/com/fireblocks/sdk/model/AdapterProcessingResult.java index 37efe762..823ca861 100644 --- a/src/main/java/com/fireblocks/sdk/model/AdapterProcessingResult.java +++ b/src/main/java/com/fireblocks/sdk/model/AdapterProcessingResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AddAbiRequestDto.java b/src/main/java/com/fireblocks/sdk/model/AddAbiRequestDto.java index e6505a32..cd169c55 100644 --- a/src/main/java/com/fireblocks/sdk/model/AddAbiRequestDto.java +++ b/src/main/java/com/fireblocks/sdk/model/AddAbiRequestDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AddAssetToExternalWalletRequest.java b/src/main/java/com/fireblocks/sdk/model/AddAssetToExternalWalletRequest.java index 1af1273e..8ab11df8 100644 --- a/src/main/java/com/fireblocks/sdk/model/AddAssetToExternalWalletRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/AddAssetToExternalWalletRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AddCollateralRequestBody.java b/src/main/java/com/fireblocks/sdk/model/AddCollateralRequestBody.java index f8193c16..26e36edb 100644 --- a/src/main/java/com/fireblocks/sdk/model/AddCollateralRequestBody.java +++ b/src/main/java/com/fireblocks/sdk/model/AddCollateralRequestBody.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AddContractAssetRequest.java b/src/main/java/com/fireblocks/sdk/model/AddContractAssetRequest.java index 9caede30..0e3079b6 100644 --- a/src/main/java/com/fireblocks/sdk/model/AddContractAssetRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/AddContractAssetRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AddCosignerRequest.java b/src/main/java/com/fireblocks/sdk/model/AddCosignerRequest.java index c75a07f1..344813d9 100644 --- a/src/main/java/com/fireblocks/sdk/model/AddCosignerRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/AddCosignerRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AddCosignerResponse.java b/src/main/java/com/fireblocks/sdk/model/AddCosignerResponse.java index 8947f0a4..bd6ce140 100644 --- a/src/main/java/com/fireblocks/sdk/model/AddCosignerResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AddCosignerResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AddExchangeAccountRequest.java b/src/main/java/com/fireblocks/sdk/model/AddExchangeAccountRequest.java index af1d9adf..2b8e2fbe 100644 --- a/src/main/java/com/fireblocks/sdk/model/AddExchangeAccountRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/AddExchangeAccountRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AddExchangeAccountResponse.java b/src/main/java/com/fireblocks/sdk/model/AddExchangeAccountResponse.java index 3dbd29cf..fc255ee4 100644 --- a/src/main/java/com/fireblocks/sdk/model/AddExchangeAccountResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AddExchangeAccountResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AdditionalInfo.java b/src/main/java/com/fireblocks/sdk/model/AdditionalInfo.java index 9dce42d9..47cb8943 100644 --- a/src/main/java/com/fireblocks/sdk/model/AdditionalInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/AdditionalInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -70,7 +70,9 @@ public AdditionalInfo estimatedAnnualReward( * value. * * @return estimatedAnnualReward + * @deprecated */ + @Deprecated @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ESTIMATED_ANNUAL_REWARD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/src/main/java/com/fireblocks/sdk/model/AdditionalInfoRequest.java b/src/main/java/com/fireblocks/sdk/model/AdditionalInfoRequest.java index 25ea936a..2fd92e85 100644 --- a/src/main/java/com/fireblocks/sdk/model/AdditionalInfoRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/AdditionalInfoRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AdditionalInfoRequestAdditionalInfo.java b/src/main/java/com/fireblocks/sdk/model/AdditionalInfoRequestAdditionalInfo.java index 43814474..ccdd8622 100644 --- a/src/main/java/com/fireblocks/sdk/model/AdditionalInfoRequestAdditionalInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/AdditionalInfoRequestAdditionalInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AddressBalanceItemDto.java b/src/main/java/com/fireblocks/sdk/model/AddressBalanceItemDto.java new file mode 100644 index 00000000..f455d2ad --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/AddressBalanceItemDto.java @@ -0,0 +1,234 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.StringJoiner; + +/** AddressBalanceItemDto */ +@JsonPropertyOrder({ + AddressBalanceItemDto.JSON_PROPERTY_ACCOUNT_ADDRESS, + AddressBalanceItemDto.JSON_PROPERTY_BALANCE, + AddressBalanceItemDto.JSON_PROPERTY_LAST_UPDATED +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class AddressBalanceItemDto { + public static final String JSON_PROPERTY_ACCOUNT_ADDRESS = "accountAddress"; + @jakarta.annotation.Nonnull private String accountAddress; + + public static final String JSON_PROPERTY_BALANCE = "balance"; + @jakarta.annotation.Nonnull private String balance; + + public static final String JSON_PROPERTY_LAST_UPDATED = "lastUpdated"; + @jakarta.annotation.Nonnull private OffsetDateTime lastUpdated; + + public AddressBalanceItemDto() {} + + @JsonCreator + public AddressBalanceItemDto( + @JsonProperty(value = JSON_PROPERTY_ACCOUNT_ADDRESS, required = true) + String accountAddress, + @JsonProperty(value = JSON_PROPERTY_BALANCE, required = true) String balance, + @JsonProperty(value = JSON_PROPERTY_LAST_UPDATED, required = true) + OffsetDateTime lastUpdated) { + this.accountAddress = accountAddress; + this.balance = balance; + this.lastUpdated = lastUpdated; + } + + public AddressBalanceItemDto accountAddress(@jakarta.annotation.Nonnull String accountAddress) { + this.accountAddress = accountAddress; + return this; + } + + /** + * The account address + * + * @return accountAddress + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ACCOUNT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAccountAddress() { + return accountAddress; + } + + @JsonProperty(JSON_PROPERTY_ACCOUNT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAccountAddress(@jakarta.annotation.Nonnull String accountAddress) { + this.accountAddress = accountAddress; + } + + public AddressBalanceItemDto balance(@jakarta.annotation.Nonnull String balance) { + this.balance = balance; + return this; + } + + /** + * The current balance of the account + * + * @return balance + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BALANCE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBalance() { + return balance; + } + + @JsonProperty(JSON_PROPERTY_BALANCE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBalance(@jakarta.annotation.Nonnull String balance) { + this.balance = balance; + } + + public AddressBalanceItemDto lastUpdated( + @jakarta.annotation.Nonnull OffsetDateTime lastUpdated) { + this.lastUpdated = lastUpdated; + return this; + } + + /** + * The timestamp when this balance was last updated + * + * @return lastUpdated + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_LAST_UPDATED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getLastUpdated() { + return lastUpdated; + } + + @JsonProperty(JSON_PROPERTY_LAST_UPDATED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setLastUpdated(@jakarta.annotation.Nonnull OffsetDateTime lastUpdated) { + this.lastUpdated = lastUpdated; + } + + /** Return true if this AddressBalanceItemDto object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddressBalanceItemDto addressBalanceItemDto = (AddressBalanceItemDto) o; + return Objects.equals(this.accountAddress, addressBalanceItemDto.accountAddress) + && Objects.equals(this.balance, addressBalanceItemDto.balance) + && Objects.equals(this.lastUpdated, addressBalanceItemDto.lastUpdated); + } + + @Override + public int hashCode() { + return Objects.hash(accountAddress, balance, lastUpdated); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddressBalanceItemDto {\n"); + sb.append(" accountAddress: ").append(toIndentedString(accountAddress)).append("\n"); + sb.append(" balance: ").append(toIndentedString(balance)).append("\n"); + sb.append(" lastUpdated: ").append(toIndentedString(lastUpdated)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `accountAddress` to the URL query string + if (getAccountAddress() != null) { + joiner.add( + String.format( + "%saccountAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAccountAddress())))); + } + + // add `balance` to the URL query string + if (getBalance() != null) { + joiner.add( + String.format( + "%sbalance%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBalance())))); + } + + // add `lastUpdated` to the URL query string + if (getLastUpdated() != null) { + joiner.add( + String.format( + "%slastUpdated%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getLastUpdated())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/AddressBalancePagedResponse.java b/src/main/java/com/fireblocks/sdk/model/AddressBalancePagedResponse.java new file mode 100644 index 00000000..4d9ef8f4 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/AddressBalancePagedResponse.java @@ -0,0 +1,291 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** AddressBalancePagedResponse */ +@JsonPropertyOrder({ + AddressBalancePagedResponse.JSON_PROPERTY_DATA, + AddressBalancePagedResponse.JSON_PROPERTY_NEXT, + AddressBalancePagedResponse.JSON_PROPERTY_PREV, + AddressBalancePagedResponse.JSON_PROPERTY_TOTAL +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class AddressBalancePagedResponse { + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nonnull private List data; + + public static final String JSON_PROPERTY_NEXT = "next"; + @jakarta.annotation.Nullable private String next; + + public static final String JSON_PROPERTY_PREV = "prev"; + @jakarta.annotation.Nullable private String prev; + + public static final String JSON_PROPERTY_TOTAL = "total"; + @jakarta.annotation.Nullable private BigDecimal total; + + public AddressBalancePagedResponse() {} + + @JsonCreator + public AddressBalancePagedResponse( + @JsonProperty(value = JSON_PROPERTY_DATA, required = true) + List data) { + this.data = data; + } + + public AddressBalancePagedResponse data( + @jakarta.annotation.Nonnull List data) { + this.data = data; + return this; + } + + public AddressBalancePagedResponse addDataItem(AddressBalanceItemDto dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Array of address balance data + * + * @return data + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setData(@jakarta.annotation.Nonnull List data) { + this.data = data; + } + + public AddressBalancePagedResponse next(@jakarta.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * Cursor for next page + * + * @return next + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNext() { + return next; + } + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(@jakarta.annotation.Nullable String next) { + this.next = next; + } + + public AddressBalancePagedResponse prev(@jakarta.annotation.Nullable String prev) { + this.prev = prev; + return this; + } + + /** + * Cursor for previous page (reserved for future support) + * + * @return prev + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PREV) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPrev() { + return prev; + } + + @JsonProperty(JSON_PROPERTY_PREV) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPrev(@jakarta.annotation.Nullable String prev) { + this.prev = prev; + } + + public AddressBalancePagedResponse total(@jakarta.annotation.Nullable BigDecimal total) { + this.total = total; + return this; + } + + /** + * Total count of items + * + * @return total + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public BigDecimal getTotal() { + return total; + } + + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTotal(@jakarta.annotation.Nullable BigDecimal total) { + this.total = total; + } + + /** Return true if this AddressBalancePagedResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddressBalancePagedResponse addressBalancePagedResponse = (AddressBalancePagedResponse) o; + return Objects.equals(this.data, addressBalancePagedResponse.data) + && Objects.equals(this.next, addressBalancePagedResponse.next) + && Objects.equals(this.prev, addressBalancePagedResponse.prev) + && Objects.equals(this.total, addressBalancePagedResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(data, next, prev, total); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddressBalancePagedResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" prev: ").append(toIndentedString(prev)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `data` to the URL query string + if (getData() != null) { + for (int i = 0; i < getData().size(); i++) { + if (getData().get(i) != null) { + joiner.add( + getData() + .get(i) + .toUrlQueryString( + String.format( + "%sdata%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + // add `next` to the URL query string + if (getNext() != null) { + joiner.add( + String.format( + "%snext%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNext())))); + } + + // add `prev` to the URL query string + if (getPrev() != null) { + joiner.add( + String.format( + "%sprev%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPrev())))); + } + + // add `total` to the URL query string + if (getTotal() != null) { + joiner.add( + String.format( + "%stotal%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTotal())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/AddressNotAvailableError.java b/src/main/java/com/fireblocks/sdk/model/AddressNotAvailableError.java index 2e0c03c7..b728b355 100644 --- a/src/main/java/com/fireblocks/sdk/model/AddressNotAvailableError.java +++ b/src/main/java/com/fireblocks/sdk/model/AddressNotAvailableError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AlertExposureTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/AlertExposureTypeEnum.java index e780b95c..481b472c 100644 --- a/src/main/java/com/fireblocks/sdk/model/AlertExposureTypeEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/AlertExposureTypeEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AlertLevelEnum.java b/src/main/java/com/fireblocks/sdk/model/AlertLevelEnum.java index 01e0289a..eef8e2e4 100644 --- a/src/main/java/com/fireblocks/sdk/model/AlertLevelEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/AlertLevelEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmlAlert.java b/src/main/java/com/fireblocks/sdk/model/AmlAlert.java index 5ee6a592..28885ece 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmlAlert.java +++ b/src/main/java/com/fireblocks/sdk/model/AmlAlert.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmlMatchedRule.java b/src/main/java/com/fireblocks/sdk/model/AmlMatchedRule.java index 7e5f8f79..c6b4a6b8 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmlMatchedRule.java +++ b/src/main/java/com/fireblocks/sdk/model/AmlMatchedRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmlRegistrationResult.java b/src/main/java/com/fireblocks/sdk/model/AmlRegistrationResult.java index 426e1490..2fafb59a 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmlRegistrationResult.java +++ b/src/main/java/com/fireblocks/sdk/model/AmlRegistrationResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmlRegistrationResultFullPayload.java b/src/main/java/com/fireblocks/sdk/model/AmlRegistrationResultFullPayload.java index 9440d3be..722e7e32 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmlRegistrationResultFullPayload.java +++ b/src/main/java/com/fireblocks/sdk/model/AmlRegistrationResultFullPayload.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmlResult.java b/src/main/java/com/fireblocks/sdk/model/AmlResult.java index 91791806..65d3f647 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmlResult.java +++ b/src/main/java/com/fireblocks/sdk/model/AmlResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmlScreeningResult.java b/src/main/java/com/fireblocks/sdk/model/AmlScreeningResult.java index 7705af55..1591f6c9 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmlScreeningResult.java +++ b/src/main/java/com/fireblocks/sdk/model/AmlScreeningResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmlStatusEnum.java b/src/main/java/com/fireblocks/sdk/model/AmlStatusEnum.java index e60ba6d8..a8e8d8a6 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmlStatusEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/AmlStatusEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmlVerdictManualRequest.java b/src/main/java/com/fireblocks/sdk/model/AmlVerdictManualRequest.java index 355b21eb..b77dc401 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmlVerdictManualRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/AmlVerdictManualRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmlVerdictManualResponse.java b/src/main/java/com/fireblocks/sdk/model/AmlVerdictManualResponse.java index 333a68d3..a3fd9e25 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmlVerdictManualResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AmlVerdictManualResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmountAndChainDescriptor.java b/src/main/java/com/fireblocks/sdk/model/AmountAndChainDescriptor.java index b2b27e31..567b223b 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmountAndChainDescriptor.java +++ b/src/main/java/com/fireblocks/sdk/model/AmountAndChainDescriptor.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmountConfig.java b/src/main/java/com/fireblocks/sdk/model/AmountConfig.java index accc45e9..811b945d 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmountConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/AmountConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmountConfigCurrency.java b/src/main/java/com/fireblocks/sdk/model/AmountConfigCurrency.java index 639d2485..e6cfcddd 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmountConfigCurrency.java +++ b/src/main/java/com/fireblocks/sdk/model/AmountConfigCurrency.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmountInfo.java b/src/main/java/com/fireblocks/sdk/model/AmountInfo.java index 2e2aedea..e7ac5381 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmountInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/AmountInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmountOverTimeConfig.java b/src/main/java/com/fireblocks/sdk/model/AmountOverTimeConfig.java index 62a85b5e..df166fdb 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmountOverTimeConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/AmountOverTimeConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmountRange.java b/src/main/java/com/fireblocks/sdk/model/AmountRange.java index 598a192f..a02d72f3 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmountRange.java +++ b/src/main/java/com/fireblocks/sdk/model/AmountRange.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmountRangeMinMax.java b/src/main/java/com/fireblocks/sdk/model/AmountRangeMinMax.java index 4b077d85..cb018046 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmountRangeMinMax.java +++ b/src/main/java/com/fireblocks/sdk/model/AmountRangeMinMax.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AmountRangeMinMax2.java b/src/main/java/com/fireblocks/sdk/model/AmountRangeMinMax2.java index 5bf2f74c..b16cc13c 100644 --- a/src/main/java/com/fireblocks/sdk/model/AmountRangeMinMax2.java +++ b/src/main/java/com/fireblocks/sdk/model/AmountRangeMinMax2.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ApiKey.java b/src/main/java/com/fireblocks/sdk/model/ApiKey.java index 7cb2e64c..b4ce1ad1 100644 --- a/src/main/java/com/fireblocks/sdk/model/ApiKey.java +++ b/src/main/java/com/fireblocks/sdk/model/ApiKey.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ApiKeysPaginatedResponse.java b/src/main/java/com/fireblocks/sdk/model/ApiKeysPaginatedResponse.java index e1927cae..26fdc859 100644 --- a/src/main/java/com/fireblocks/sdk/model/ApiKeysPaginatedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ApiKeysPaginatedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ApprovalRequest.java b/src/main/java/com/fireblocks/sdk/model/ApprovalRequest.java new file mode 100644 index 00000000..741c8254 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/ApprovalRequest.java @@ -0,0 +1,305 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** Approval request details */ +@JsonPropertyOrder({ + ApprovalRequest.JSON_PROPERTY_ID, + ApprovalRequest.JSON_PROPERTY_TYPE, + ApprovalRequest.JSON_PROPERTY_STATE +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class ApprovalRequest { + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nonnull private String id; + + /** The approval request type */ + public enum TypeEnum { + TAG_UPDATE(String.valueOf("TAG_UPDATE")), + + TAG_DELETE(String.valueOf("TAG_DELETE")), + + TAG_ATTACH_DETACH(String.valueOf("TAG_ATTACH_DETACH")); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_TYPE = "type"; + @jakarta.annotation.Nonnull private TypeEnum type; + + /** The approval request state */ + public enum StateEnum { + PENDING(String.valueOf("PENDING")), + + APPROVED(String.valueOf("APPROVED")), + + REJECTED(String.valueOf("REJECTED")), + + FAILED(String.valueOf("FAILED")), + + CANCELLED(String.valueOf("CANCELLED")), + + EXPIRED(String.valueOf("EXPIRED")); + + private String value; + + StateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static StateEnum fromValue(String value) { + for (StateEnum b : StateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_STATE = "state"; + @jakarta.annotation.Nonnull private StateEnum state; + + public ApprovalRequest() {} + + @JsonCreator + public ApprovalRequest( + @JsonProperty(value = JSON_PROPERTY_ID, required = true) String id, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, + @JsonProperty(value = JSON_PROPERTY_STATE, required = true) StateEnum state) { + this.id = id; + this.type = type; + this.state = state; + } + + public ApprovalRequest id(@jakarta.annotation.Nonnull String id) { + this.id = id; + return this; + } + + /** + * The approval request identifier + * + * @return id + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setId(@jakarta.annotation.Nonnull String id) { + this.id = id; + } + + public ApprovalRequest type(@jakarta.annotation.Nonnull TypeEnum type) { + this.type = type; + return this; + } + + /** + * The approval request type + * + * @return type + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TypeEnum getType() { + return type; + } + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + this.type = type; + } + + public ApprovalRequest state(@jakarta.annotation.Nonnull StateEnum state) { + this.state = state; + return this; + } + + /** + * The approval request state + * + * @return state + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public StateEnum getState() { + return state; + } + + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setState(@jakarta.annotation.Nonnull StateEnum state) { + this.state = state; + } + + /** Return true if this ApprovalRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ApprovalRequest approvalRequest = (ApprovalRequest) o; + return Objects.equals(this.id, approvalRequest.id) + && Objects.equals(this.type, approvalRequest.type) + && Objects.equals(this.state, approvalRequest.state); + } + + @Override + public int hashCode() { + return Objects.hash(id, type, state); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ApprovalRequest {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `type` to the URL query string + if (getType() != null) { + joiner.add( + String.format( + "%stype%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getType())))); + } + + // add `state` to the URL query string + if (getState() != null) { + joiner.add( + String.format( + "%sstate%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getState())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ApproversConfig.java b/src/main/java/com/fireblocks/sdk/model/ApproversConfig.java index 1aa5f472..33482364 100644 --- a/src/main/java/com/fireblocks/sdk/model/ApproversConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/ApproversConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ApproversConfigApprovalGroupsInner.java b/src/main/java/com/fireblocks/sdk/model/ApproversConfigApprovalGroupsInner.java index 28c2edc9..6197802e 100644 --- a/src/main/java/com/fireblocks/sdk/model/ApproversConfigApprovalGroupsInner.java +++ b/src/main/java/com/fireblocks/sdk/model/ApproversConfigApprovalGroupsInner.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Asset.java b/src/main/java/com/fireblocks/sdk/model/Asset.java index cc50c1c5..183590c5 100644 --- a/src/main/java/com/fireblocks/sdk/model/Asset.java +++ b/src/main/java/com/fireblocks/sdk/model/Asset.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,6 +18,9 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; import java.util.StringJoiner; @@ -28,7 +31,11 @@ Asset.JSON_PROPERTY_BLOCKCHAIN_ID, Asset.JSON_PROPERTY_DISPLAY_NAME, Asset.JSON_PROPERTY_DISPLAY_SYMBOL, + Asset.JSON_PROPERTY_PROVIDER_ID, + Asset.JSON_PROPERTY_PEGGED_ASSET_ID, + Asset.JSON_PROPERTY_ASSETS, Asset.JSON_PROPERTY_ASSET_CLASS, + Asset.JSON_PROPERTY_DECIMALS, Asset.JSON_PROPERTY_ONCHAIN, Asset.JSON_PROPERTY_METADATA }) @@ -51,9 +58,21 @@ public class Asset { public static final String JSON_PROPERTY_DISPLAY_SYMBOL = "displaySymbol"; @jakarta.annotation.Nonnull private String displaySymbol; + public static final String JSON_PROPERTY_PROVIDER_ID = "providerId"; + @jakarta.annotation.Nullable private String providerId; + + public static final String JSON_PROPERTY_PEGGED_ASSET_ID = "peggedAssetId"; + @jakarta.annotation.Nullable private String peggedAssetId; + + public static final String JSON_PROPERTY_ASSETS = "assets"; + @jakarta.annotation.Nullable private List assets; + public static final String JSON_PROPERTY_ASSET_CLASS = "assetClass"; @jakarta.annotation.Nonnull private AssetClass assetClass; + public static final String JSON_PROPERTY_DECIMALS = "decimals"; + @jakarta.annotation.Nullable private BigDecimal decimals; + public static final String JSON_PROPERTY_ONCHAIN = "onchain"; @jakarta.annotation.Nullable private AssetDetailsOnchain onchain; @@ -195,6 +214,83 @@ public void setDisplaySymbol(@jakarta.annotation.Nonnull String displaySymbol) { this.displaySymbol = displaySymbol; } + public Asset providerId(@jakarta.annotation.Nullable String providerId) { + this.providerId = providerId; + return this; + } + + /** + * The ID of the asset provider + * + * @return providerId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PROVIDER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getProviderId() { + return providerId; + } + + @JsonProperty(JSON_PROPERTY_PROVIDER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setProviderId(@jakarta.annotation.Nullable String providerId) { + this.providerId = providerId; + } + + public Asset peggedAssetId(@jakarta.annotation.Nullable String peggedAssetId) { + this.peggedAssetId = peggedAssetId; + return this; + } + + /** + * The ID of the pegged asset + * + * @return peggedAssetId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PEGGED_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPeggedAssetId() { + return peggedAssetId; + } + + @JsonProperty(JSON_PROPERTY_PEGGED_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPeggedAssetId(@jakarta.annotation.Nullable String peggedAssetId) { + this.peggedAssetId = peggedAssetId; + } + + public Asset assets(@jakarta.annotation.Nullable List assets) { + this.assets = assets; + return this; + } + + public Asset addAssetsItem(String assetsItem) { + if (this.assets == null) { + this.assets = new ArrayList<>(); + } + this.assets.add(assetsItem); + return this; + } + + /** + * List of asset IDs for virtual assets + * + * @return assets + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ASSETS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getAssets() { + return assets; + } + + @JsonProperty(JSON_PROPERTY_ASSETS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAssets(@jakarta.annotation.Nullable List assets) { + this.assets = assets; + } + public Asset assetClass(@jakarta.annotation.Nonnull AssetClass assetClass) { this.assetClass = assetClass; return this; @@ -218,6 +314,29 @@ public void setAssetClass(@jakarta.annotation.Nonnull AssetClass assetClass) { this.assetClass = assetClass; } + public Asset decimals(@jakarta.annotation.Nullable BigDecimal decimals) { + this.decimals = decimals; + return this; + } + + /** + * Number of decimals for FIAT assets + * + * @return decimals + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DECIMALS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public BigDecimal getDecimals() { + return decimals; + } + + @JsonProperty(JSON_PROPERTY_DECIMALS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDecimals(@jakarta.annotation.Nullable BigDecimal decimals) { + this.decimals = decimals; + } + public Asset onchain(@jakarta.annotation.Nullable AssetDetailsOnchain onchain) { this.onchain = onchain; return this; @@ -279,7 +398,11 @@ public boolean equals(Object o) { && Objects.equals(this.blockchainId, asset.blockchainId) && Objects.equals(this.displayName, asset.displayName) && Objects.equals(this.displaySymbol, asset.displaySymbol) + && Objects.equals(this.providerId, asset.providerId) + && Objects.equals(this.peggedAssetId, asset.peggedAssetId) + && Objects.equals(this.assets, asset.assets) && Objects.equals(this.assetClass, asset.assetClass) + && Objects.equals(this.decimals, asset.decimals) && Objects.equals(this.onchain, asset.onchain) && Objects.equals(this.metadata, asset.metadata); } @@ -292,7 +415,11 @@ public int hashCode() { blockchainId, displayName, displaySymbol, + providerId, + peggedAssetId, + assets, assetClass, + decimals, onchain, metadata); } @@ -306,7 +433,11 @@ public String toString() { sb.append(" blockchainId: ").append(toIndentedString(blockchainId)).append("\n"); sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); sb.append(" displaySymbol: ").append(toIndentedString(displaySymbol)).append("\n"); + sb.append(" providerId: ").append(toIndentedString(providerId)).append("\n"); + sb.append(" peggedAssetId: ").append(toIndentedString(peggedAssetId)).append("\n"); + sb.append(" assets: ").append(toIndentedString(assets)).append("\n"); sb.append(" assetClass: ").append(toIndentedString(assetClass)).append("\n"); + sb.append(" decimals: ").append(toIndentedString(decimals)).append("\n"); sb.append(" onchain: ").append(toIndentedString(onchain)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append("}"); @@ -404,6 +535,42 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getDisplaySymbol())))); } + // add `providerId` to the URL query string + if (getProviderId() != null) { + joiner.add( + String.format( + "%sproviderId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getProviderId())))); + } + + // add `peggedAssetId` to the URL query string + if (getPeggedAssetId() != null) { + joiner.add( + String.format( + "%speggedAssetId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPeggedAssetId())))); + } + + // add `assets` to the URL query string + if (getAssets() != null) { + for (int i = 0; i < getAssets().size(); i++) { + joiner.add( + String.format( + "%sassets%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode(ApiClient.valueToString(getAssets().get(i))))); + } + } + // add `assetClass` to the URL query string if (getAssetClass() != null) { joiner.add( @@ -414,6 +581,16 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getAssetClass())))); } + // add `decimals` to the URL query string + if (getDecimals() != null) { + joiner.add( + String.format( + "%sdecimals%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDecimals())))); + } + // add `onchain` to the URL query string if (getOnchain() != null) { joiner.add(getOnchain().toUrlQueryString(prefix + "onchain" + suffix)); diff --git a/src/main/java/com/fireblocks/sdk/model/AssetAlreadyExistHttpError.java b/src/main/java/com/fireblocks/sdk/model/AssetAlreadyExistHttpError.java index b21d0371..b0fb8c8b 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetAlreadyExistHttpError.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetAlreadyExistHttpError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetAmount.java b/src/main/java/com/fireblocks/sdk/model/AssetAmount.java index 87edd9d9..6696db18 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetAmount.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetAmount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetBadRequestErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/AssetBadRequestErrorResponse.java index 92306750..32912d8d 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetBadRequestErrorResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetBadRequestErrorResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetClass.java b/src/main/java/com/fireblocks/sdk/model/AssetClass.java index 32c863ca..fdf017aa 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetClass.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetClass.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -26,7 +26,9 @@ public enum AssetClass { NFT("NFT"), - SFT("SFT"); + SFT("SFT"), + + VIRTUAL("VIRTUAL"); private String value; diff --git a/src/main/java/com/fireblocks/sdk/model/AssetConfig.java b/src/main/java/com/fireblocks/sdk/model/AssetConfig.java index 07b0f4ae..c0d858ad 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetConflictErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/AssetConflictErrorResponse.java index 43b0b9d1..9b9c8aa0 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetConflictErrorResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetConflictErrorResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetDetailsMetadata.java b/src/main/java/com/fireblocks/sdk/model/AssetDetailsMetadata.java index b205933e..ac0f0610 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetDetailsMetadata.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetDetailsMetadata.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetDetailsOnchain.java b/src/main/java/com/fireblocks/sdk/model/AssetDetailsOnchain.java index e7719255..e6ea6b23 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetDetailsOnchain.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetDetailsOnchain.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetFeature.java b/src/main/java/com/fireblocks/sdk/model/AssetFeature.java index ac789633..fb1533a2 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetFeature.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetFeature.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetForbiddenErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/AssetForbiddenErrorResponse.java index 88499ba5..805a91e8 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetForbiddenErrorResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetForbiddenErrorResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetInternalServerErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/AssetInternalServerErrorResponse.java index 6f96ebac..ece4ce83 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetInternalServerErrorResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetInternalServerErrorResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetMedia.java b/src/main/java/com/fireblocks/sdk/model/AssetMedia.java index 14561495..15f71f6f 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetMedia.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetMedia.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetMediaAttributes.java b/src/main/java/com/fireblocks/sdk/model/AssetMediaAttributes.java index a8709b85..79049db7 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetMediaAttributes.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetMediaAttributes.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetMetadata.java b/src/main/java/com/fireblocks/sdk/model/AssetMetadata.java index 260d24ff..e653b089 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetMetadata.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetMetadata.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetMetadataDto.java b/src/main/java/com/fireblocks/sdk/model/AssetMetadataDto.java index 48085e1d..94ad68ff 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetMetadataDto.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetMetadataDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetMetadataRequest.java b/src/main/java/com/fireblocks/sdk/model/AssetMetadataRequest.java index 77804276..dbece8e4 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetMetadataRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetMetadataRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetNotFoundErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/AssetNotFoundErrorResponse.java index d74d3f83..4498f1eb 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetNotFoundErrorResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetNotFoundErrorResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetNote.java b/src/main/java/com/fireblocks/sdk/model/AssetNote.java index 24e047c9..014b1278 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetNote.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetNote.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetNoteRequest.java b/src/main/java/com/fireblocks/sdk/model/AssetNoteRequest.java index 8acec6be..48e448c3 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetNoteRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetNoteRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetOnchain.java b/src/main/java/com/fireblocks/sdk/model/AssetOnchain.java index 3080ad33..dd8e74e3 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetOnchain.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetOnchain.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetPriceForbiddenErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/AssetPriceForbiddenErrorResponse.java index 5e5f026c..1e96a56e 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetPriceForbiddenErrorResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetPriceForbiddenErrorResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetPriceNotFoundErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/AssetPriceNotFoundErrorResponse.java index 38cde82d..8217ad52 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetPriceNotFoundErrorResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetPriceNotFoundErrorResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetPriceResponse.java b/src/main/java/com/fireblocks/sdk/model/AssetPriceResponse.java index 4703a1be..005a45cd 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetPriceResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetPriceResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetResponse.java b/src/main/java/com/fireblocks/sdk/model/AssetResponse.java index c49bacf2..91bf05b1 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetScope.java b/src/main/java/com/fireblocks/sdk/model/AssetScope.java index ec07d078..0c13e819 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetScope.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetScope.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/AssetTypeEnum.java new file mode 100644 index 00000000..54eb178f --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/AssetTypeEnum.java @@ -0,0 +1,64 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets AssetTypeEnum */ +public enum AssetTypeEnum { + DIGITAL("DIGITAL"), + + FIAT("FIAT"); + + private String value; + + AssetTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static AssetTypeEnum fromValue(String value) { + for (AssetTypeEnum b : AssetTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/AssetTypeResponse.java b/src/main/java/com/fireblocks/sdk/model/AssetTypeResponse.java index 47ce7e85..8a173c17 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetTypeResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetTypeResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetTypesConfigInner.java b/src/main/java/com/fireblocks/sdk/model/AssetTypesConfigInner.java index 3d763477..4857b88f 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetTypesConfigInner.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetTypesConfigInner.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AssetWallet.java b/src/main/java/com/fireblocks/sdk/model/AssetWallet.java index c523cecf..b810faf0 100644 --- a/src/main/java/com/fireblocks/sdk/model/AssetWallet.java +++ b/src/main/java/com/fireblocks/sdk/model/AssetWallet.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AuditLogData.java b/src/main/java/com/fireblocks/sdk/model/AuditLogData.java index 8005dc57..9e84ff63 100644 --- a/src/main/java/com/fireblocks/sdk/model/AuditLogData.java +++ b/src/main/java/com/fireblocks/sdk/model/AuditLogData.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AuditorData.java b/src/main/java/com/fireblocks/sdk/model/AuditorData.java index a668c36f..fef665da 100644 --- a/src/main/java/com/fireblocks/sdk/model/AuditorData.java +++ b/src/main/java/com/fireblocks/sdk/model/AuditorData.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AuthorizationGroups.java b/src/main/java/com/fireblocks/sdk/model/AuthorizationGroups.java index 8559724c..20ca2cb8 100644 --- a/src/main/java/com/fireblocks/sdk/model/AuthorizationGroups.java +++ b/src/main/java/com/fireblocks/sdk/model/AuthorizationGroups.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AuthorizationInfo.java b/src/main/java/com/fireblocks/sdk/model/AuthorizationInfo.java index 7bf8f90e..026f35f4 100644 --- a/src/main/java/com/fireblocks/sdk/model/AuthorizationInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/AuthorizationInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BalanceHistoryItemDto.java b/src/main/java/com/fireblocks/sdk/model/BalanceHistoryItemDto.java new file mode 100644 index 00000000..5328ad07 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/BalanceHistoryItemDto.java @@ -0,0 +1,191 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.StringJoiner; + +/** BalanceHistoryItemDto */ +@JsonPropertyOrder({ + BalanceHistoryItemDto.JSON_PROPERTY_TIMESTAMP, + BalanceHistoryItemDto.JSON_PROPERTY_BALANCE +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class BalanceHistoryItemDto { + public static final String JSON_PROPERTY_TIMESTAMP = "timestamp"; + @jakarta.annotation.Nonnull private OffsetDateTime timestamp; + + public static final String JSON_PROPERTY_BALANCE = "balance"; + @jakarta.annotation.Nonnull private String balance; + + public BalanceHistoryItemDto() {} + + @JsonCreator + public BalanceHistoryItemDto( + @JsonProperty(value = JSON_PROPERTY_TIMESTAMP, required = true) + OffsetDateTime timestamp, + @JsonProperty(value = JSON_PROPERTY_BALANCE, required = true) String balance) { + this.timestamp = timestamp; + this.balance = balance; + } + + public BalanceHistoryItemDto timestamp(@jakarta.annotation.Nonnull OffsetDateTime timestamp) { + this.timestamp = timestamp; + return this; + } + + /** + * Timestamp of the data point + * + * @return timestamp + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getTimestamp() { + return timestamp; + } + + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTimestamp(@jakarta.annotation.Nonnull OffsetDateTime timestamp) { + this.timestamp = timestamp; + } + + public BalanceHistoryItemDto balance(@jakarta.annotation.Nonnull String balance) { + this.balance = balance; + return this; + } + + /** + * Balance at the given timestamp + * + * @return balance + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BALANCE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBalance() { + return balance; + } + + @JsonProperty(JSON_PROPERTY_BALANCE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBalance(@jakarta.annotation.Nonnull String balance) { + this.balance = balance; + } + + /** Return true if this BalanceHistoryItemDto object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BalanceHistoryItemDto balanceHistoryItemDto = (BalanceHistoryItemDto) o; + return Objects.equals(this.timestamp, balanceHistoryItemDto.timestamp) + && Objects.equals(this.balance, balanceHistoryItemDto.balance); + } + + @Override + public int hashCode() { + return Objects.hash(timestamp, balance); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BalanceHistoryItemDto {\n"); + sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); + sb.append(" balance: ").append(toIndentedString(balance)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `timestamp` to the URL query string + if (getTimestamp() != null) { + joiner.add( + String.format( + "%stimestamp%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTimestamp())))); + } + + // add `balance` to the URL query string + if (getBalance() != null) { + joiner.add( + String.format( + "%sbalance%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBalance())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/BalanceHistoryPagedResponse.java b/src/main/java/com/fireblocks/sdk/model/BalanceHistoryPagedResponse.java new file mode 100644 index 00000000..12401b86 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/BalanceHistoryPagedResponse.java @@ -0,0 +1,291 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** BalanceHistoryPagedResponse */ +@JsonPropertyOrder({ + BalanceHistoryPagedResponse.JSON_PROPERTY_DATA, + BalanceHistoryPagedResponse.JSON_PROPERTY_NEXT, + BalanceHistoryPagedResponse.JSON_PROPERTY_PREV, + BalanceHistoryPagedResponse.JSON_PROPERTY_TOTAL +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class BalanceHistoryPagedResponse { + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nonnull private List data; + + public static final String JSON_PROPERTY_NEXT = "next"; + @jakarta.annotation.Nullable private String next; + + public static final String JSON_PROPERTY_PREV = "prev"; + @jakarta.annotation.Nullable private String prev; + + public static final String JSON_PROPERTY_TOTAL = "total"; + @jakarta.annotation.Nullable private BigDecimal total; + + public BalanceHistoryPagedResponse() {} + + @JsonCreator + public BalanceHistoryPagedResponse( + @JsonProperty(value = JSON_PROPERTY_DATA, required = true) + List data) { + this.data = data; + } + + public BalanceHistoryPagedResponse data( + @jakarta.annotation.Nonnull List data) { + this.data = data; + return this; + } + + public BalanceHistoryPagedResponse addDataItem(BalanceHistoryItemDto dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Array of balance history data points + * + * @return data + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setData(@jakarta.annotation.Nonnull List data) { + this.data = data; + } + + public BalanceHistoryPagedResponse next(@jakarta.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * Cursor for next page + * + * @return next + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNext() { + return next; + } + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(@jakarta.annotation.Nullable String next) { + this.next = next; + } + + public BalanceHistoryPagedResponse prev(@jakarta.annotation.Nullable String prev) { + this.prev = prev; + return this; + } + + /** + * Cursor for previous page + * + * @return prev + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PREV) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPrev() { + return prev; + } + + @JsonProperty(JSON_PROPERTY_PREV) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPrev(@jakarta.annotation.Nullable String prev) { + this.prev = prev; + } + + public BalanceHistoryPagedResponse total(@jakarta.annotation.Nullable BigDecimal total) { + this.total = total; + return this; + } + + /** + * Total count of items + * + * @return total + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public BigDecimal getTotal() { + return total; + } + + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTotal(@jakarta.annotation.Nullable BigDecimal total) { + this.total = total; + } + + /** Return true if this BalanceHistoryPagedResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BalanceHistoryPagedResponse balanceHistoryPagedResponse = (BalanceHistoryPagedResponse) o; + return Objects.equals(this.data, balanceHistoryPagedResponse.data) + && Objects.equals(this.next, balanceHistoryPagedResponse.next) + && Objects.equals(this.prev, balanceHistoryPagedResponse.prev) + && Objects.equals(this.total, balanceHistoryPagedResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(data, next, prev, total); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BalanceHistoryPagedResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" prev: ").append(toIndentedString(prev)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `data` to the URL query string + if (getData() != null) { + for (int i = 0; i < getData().size(); i++) { + if (getData().get(i) != null) { + joiner.add( + getData() + .get(i) + .toUrlQueryString( + String.format( + "%sdata%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + // add `next` to the URL query string + if (getNext() != null) { + joiner.add( + String.format( + "%snext%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNext())))); + } + + // add `prev` to the URL query string + if (getPrev() != null) { + joiner.add( + String.format( + "%sprev%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPrev())))); + } + + // add `total` to the URL query string + if (getTotal() != null) { + joiner.add( + String.format( + "%stotal%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTotal())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/BankAddress.java b/src/main/java/com/fireblocks/sdk/model/BankAddress.java new file mode 100644 index 00000000..952c1bfa --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/BankAddress.java @@ -0,0 +1,376 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** Address of the bank. */ +@JsonPropertyOrder({ + BankAddress.JSON_PROPERTY_STREET_NAME, + BankAddress.JSON_PROPERTY_BUILDING_NUMBER, + BankAddress.JSON_PROPERTY_POSTAL_CODE, + BankAddress.JSON_PROPERTY_CITY, + BankAddress.JSON_PROPERTY_SUBDIVISION, + BankAddress.JSON_PROPERTY_DISTRICT, + BankAddress.JSON_PROPERTY_COUNTRY +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class BankAddress { + public static final String JSON_PROPERTY_STREET_NAME = "streetName"; + @jakarta.annotation.Nullable private String streetName; + + public static final String JSON_PROPERTY_BUILDING_NUMBER = "buildingNumber"; + @jakarta.annotation.Nullable private String buildingNumber; + + public static final String JSON_PROPERTY_POSTAL_CODE = "postalCode"; + @jakarta.annotation.Nullable private String postalCode; + + public static final String JSON_PROPERTY_CITY = "city"; + @jakarta.annotation.Nullable private String city; + + public static final String JSON_PROPERTY_SUBDIVISION = "subdivision"; + @jakarta.annotation.Nullable private String subdivision; + + public static final String JSON_PROPERTY_DISTRICT = "district"; + @jakarta.annotation.Nullable private String district; + + public static final String JSON_PROPERTY_COUNTRY = "country"; + @jakarta.annotation.Nullable private String country; + + public BankAddress() {} + + public BankAddress streetName(@jakarta.annotation.Nullable String streetName) { + this.streetName = streetName; + return this; + } + + /** + * Get streetName + * + * @return streetName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STREET_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getStreetName() { + return streetName; + } + + @JsonProperty(JSON_PROPERTY_STREET_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStreetName(@jakarta.annotation.Nullable String streetName) { + this.streetName = streetName; + } + + public BankAddress buildingNumber(@jakarta.annotation.Nullable String buildingNumber) { + this.buildingNumber = buildingNumber; + return this; + } + + /** + * Get buildingNumber + * + * @return buildingNumber + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BUILDING_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBuildingNumber() { + return buildingNumber; + } + + @JsonProperty(JSON_PROPERTY_BUILDING_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBuildingNumber(@jakarta.annotation.Nullable String buildingNumber) { + this.buildingNumber = buildingNumber; + } + + public BankAddress postalCode(@jakarta.annotation.Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Get postalCode + * + * @return postalCode + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_POSTAL_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPostalCode() { + return postalCode; + } + + @JsonProperty(JSON_PROPERTY_POSTAL_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPostalCode(@jakarta.annotation.Nullable String postalCode) { + this.postalCode = postalCode; + } + + public BankAddress city(@jakarta.annotation.Nullable String city) { + this.city = city; + return this; + } + + /** + * Get city + * + * @return city + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCity() { + return city; + } + + @JsonProperty(JSON_PROPERTY_CITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCity(@jakarta.annotation.Nullable String city) { + this.city = city; + } + + public BankAddress subdivision(@jakarta.annotation.Nullable String subdivision) { + this.subdivision = subdivision; + return this; + } + + /** + * Get subdivision + * + * @return subdivision + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SUBDIVISION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSubdivision() { + return subdivision; + } + + @JsonProperty(JSON_PROPERTY_SUBDIVISION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSubdivision(@jakarta.annotation.Nullable String subdivision) { + this.subdivision = subdivision; + } + + public BankAddress district(@jakarta.annotation.Nullable String district) { + this.district = district; + return this; + } + + /** + * Get district + * + * @return district + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DISTRICT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDistrict() { + return district; + } + + @JsonProperty(JSON_PROPERTY_DISTRICT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDistrict(@jakarta.annotation.Nullable String district) { + this.district = district; + } + + public BankAddress country(@jakarta.annotation.Nullable String country) { + this.country = country; + return this; + } + + /** + * Get country + * + * @return country + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COUNTRY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCountry() { + return country; + } + + @JsonProperty(JSON_PROPERTY_COUNTRY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCountry(@jakarta.annotation.Nullable String country) { + this.country = country; + } + + /** Return true if this BankAddress object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BankAddress bankAddress = (BankAddress) o; + return Objects.equals(this.streetName, bankAddress.streetName) + && Objects.equals(this.buildingNumber, bankAddress.buildingNumber) + && Objects.equals(this.postalCode, bankAddress.postalCode) + && Objects.equals(this.city, bankAddress.city) + && Objects.equals(this.subdivision, bankAddress.subdivision) + && Objects.equals(this.district, bankAddress.district) + && Objects.equals(this.country, bankAddress.country); + } + + @Override + public int hashCode() { + return Objects.hash( + streetName, buildingNumber, postalCode, city, subdivision, district, country); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BankAddress {\n"); + sb.append(" streetName: ").append(toIndentedString(streetName)).append("\n"); + sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append(" city: ").append(toIndentedString(city)).append("\n"); + sb.append(" subdivision: ").append(toIndentedString(subdivision)).append("\n"); + sb.append(" district: ").append(toIndentedString(district)).append("\n"); + sb.append(" country: ").append(toIndentedString(country)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `streetName` to the URL query string + if (getStreetName() != null) { + joiner.add( + String.format( + "%sstreetName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getStreetName())))); + } + + // add `buildingNumber` to the URL query string + if (getBuildingNumber() != null) { + joiner.add( + String.format( + "%sbuildingNumber%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBuildingNumber())))); + } + + // add `postalCode` to the URL query string + if (getPostalCode() != null) { + joiner.add( + String.format( + "%spostalCode%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPostalCode())))); + } + + // add `city` to the URL query string + if (getCity() != null) { + joiner.add( + String.format( + "%scity%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCity())))); + } + + // add `subdivision` to the URL query string + if (getSubdivision() != null) { + joiner.add( + String.format( + "%ssubdivision%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSubdivision())))); + } + + // add `district` to the URL query string + if (getDistrict() != null) { + joiner.add( + String.format( + "%sdistrict%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDistrict())))); + } + + // add `country` to the URL query string + if (getCountry() != null) { + joiner.add( + String.format( + "%scountry%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCountry())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/BaseProvider.java b/src/main/java/com/fireblocks/sdk/model/BaseProvider.java index 13511bdb..3c7e8694 100644 --- a/src/main/java/com/fireblocks/sdk/model/BaseProvider.java +++ b/src/main/java/com/fireblocks/sdk/model/BaseProvider.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BasicAddressRequest.java b/src/main/java/com/fireblocks/sdk/model/BasicAddressRequest.java index ff1fc883..b807184b 100644 --- a/src/main/java/com/fireblocks/sdk/model/BasicAddressRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/BasicAddressRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BlockInfo.java b/src/main/java/com/fireblocks/sdk/model/BlockInfo.java index 142d573e..c25a6630 100644 --- a/src/main/java/com/fireblocks/sdk/model/BlockInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/BlockInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BlockchainAddress.java b/src/main/java/com/fireblocks/sdk/model/BlockchainAddress.java new file mode 100644 index 00000000..5650d9f5 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/BlockchainAddress.java @@ -0,0 +1,192 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** The blockchain address information. */ +@JsonPropertyOrder({ + BlockchainAddress.JSON_PROPERTY_BLOCKCHAIN_ADDRESS, + BlockchainAddress.JSON_PROPERTY_TAG +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class BlockchainAddress { + public static final String JSON_PROPERTY_BLOCKCHAIN_ADDRESS = "blockchainAddress"; + @jakarta.annotation.Nonnull private String blockchainAddress; + + public static final String JSON_PROPERTY_TAG = "tag"; + @jakarta.annotation.Nullable private String tag; + + public BlockchainAddress() {} + + @JsonCreator + public BlockchainAddress( + @JsonProperty(value = JSON_PROPERTY_BLOCKCHAIN_ADDRESS, required = true) + String blockchainAddress) { + this.blockchainAddress = blockchainAddress; + } + + public BlockchainAddress blockchainAddress( + @jakarta.annotation.Nonnull String blockchainAddress) { + this.blockchainAddress = blockchainAddress; + return this; + } + + /** + * The blockchain address. + * + * @return blockchainAddress + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BLOCKCHAIN_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBlockchainAddress() { + return blockchainAddress; + } + + @JsonProperty(JSON_PROPERTY_BLOCKCHAIN_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBlockchainAddress(@jakarta.annotation.Nonnull String blockchainAddress) { + this.blockchainAddress = blockchainAddress; + } + + public BlockchainAddress tag(@jakarta.annotation.Nullable String tag) { + this.tag = tag; + return this; + } + + /** + * The tag of the blockchain address. It is used to identify the address in the blockchain. It + * is optional. + * + * @return tag + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TAG) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTag() { + return tag; + } + + @JsonProperty(JSON_PROPERTY_TAG) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTag(@jakarta.annotation.Nullable String tag) { + this.tag = tag; + } + + /** Return true if this BlockchainAddress object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BlockchainAddress blockchainAddress = (BlockchainAddress) o; + return Objects.equals(this.blockchainAddress, blockchainAddress.blockchainAddress) + && Objects.equals(this.tag, blockchainAddress.tag); + } + + @Override + public int hashCode() { + return Objects.hash(blockchainAddress, tag); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BlockchainAddress {\n"); + sb.append(" blockchainAddress: ") + .append(toIndentedString(blockchainAddress)) + .append("\n"); + sb.append(" tag: ").append(toIndentedString(tag)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `blockchainAddress` to the URL query string + if (getBlockchainAddress() != null) { + joiner.add( + String.format( + "%sblockchainAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBlockchainAddress())))); + } + + // add `tag` to the URL query string + if (getTag() != null) { + joiner.add( + String.format( + "%stag%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTag())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/LimitTypeDetails.java b/src/main/java/com/fireblocks/sdk/model/BlockchainDestination.java similarity index 55% rename from src/main/java/com/fireblocks/sdk/model/LimitTypeDetails.java rename to src/main/java/com/fireblocks/sdk/model/BlockchainDestination.java index 117023d1..e288673e 100644 --- a/src/main/java/com/fireblocks/sdk/model/LimitTypeDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/BlockchainDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -22,19 +22,20 @@ import java.util.Objects; import java.util.StringJoiner; -/** LimitTypeDetails */ +/** BlockchainDestination */ @JsonPropertyOrder({ - LimitTypeDetails.JSON_PROPERTY_TYPE, - LimitTypeDetails.JSON_PROPERTY_TIME_IN_FORCE, - LimitTypeDetails.JSON_PROPERTY_LIMIT_PRICE + BlockchainDestination.JSON_PROPERTY_TYPE, + BlockchainDestination.JSON_PROPERTY_ADDRESS }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class LimitTypeDetails { - /** Order type for limit orders */ +public class BlockchainDestination { + /** + * The type of destination. Use \"BLOCKCHAIN\" for blockchain address destinations. + */ public enum TypeEnum { - LIMIT(String.valueOf("LIMIT")); + BLOCKCHAIN(String.valueOf("BLOCKCHAIN")); private String value; @@ -66,32 +67,27 @@ public static TypeEnum fromValue(String value) { public static final String JSON_PROPERTY_TYPE = "type"; @jakarta.annotation.Nonnull private TypeEnum type; - public static final String JSON_PROPERTY_TIME_IN_FORCE = "timeInForce"; - @jakarta.annotation.Nonnull private TimeInForce timeInForce; + public static final String JSON_PROPERTY_ADDRESS = "address"; + @jakarta.annotation.Nonnull private BlockchainAddress address; - public static final String JSON_PROPERTY_LIMIT_PRICE = "limitPrice"; - @jakarta.annotation.Nonnull private String limitPrice; - - public LimitTypeDetails() {} + public BlockchainDestination() {} @JsonCreator - public LimitTypeDetails( + public BlockchainDestination( @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, - @JsonProperty(value = JSON_PROPERTY_TIME_IN_FORCE, required = true) - TimeInForce timeInForce, - @JsonProperty(value = JSON_PROPERTY_LIMIT_PRICE, required = true) String limitPrice) { + @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) + BlockchainAddress address) { this.type = type; - this.timeInForce = timeInForce; - this.limitPrice = limitPrice; + this.address = address; } - public LimitTypeDetails type(@jakarta.annotation.Nonnull TypeEnum type) { + public BlockchainDestination type(@jakarta.annotation.Nonnull TypeEnum type) { this.type = type; return this; } /** - * Order type for limit orders + * The type of destination. Use \"BLOCKCHAIN\" for blockchain address destinations. * * @return type */ @@ -108,53 +104,30 @@ public void setType(@jakarta.annotation.Nonnull TypeEnum type) { this.type = type; } - public LimitTypeDetails timeInForce(@jakarta.annotation.Nonnull TimeInForce timeInForce) { - this.timeInForce = timeInForce; - return this; - } - - /** - * Get timeInForce - * - * @return timeInForce - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TimeInForce getTimeInForce() { - return timeInForce; - } - - @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setTimeInForce(@jakarta.annotation.Nonnull TimeInForce timeInForce) { - this.timeInForce = timeInForce; - } - - public LimitTypeDetails limitPrice(@jakarta.annotation.Nonnull String limitPrice) { - this.limitPrice = limitPrice; + public BlockchainDestination address(@jakarta.annotation.Nonnull BlockchainAddress address) { + this.address = address; return this; } /** - * Price for limit orders + * Get address * - * @return limitPrice + * @return address */ @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_LIMIT_PRICE) + @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getLimitPrice() { - return limitPrice; + public BlockchainAddress getAddress() { + return address; } - @JsonProperty(JSON_PROPERTY_LIMIT_PRICE) + @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setLimitPrice(@jakarta.annotation.Nonnull String limitPrice) { - this.limitPrice = limitPrice; + public void setAddress(@jakarta.annotation.Nonnull BlockchainAddress address) { + this.address = address; } - /** Return true if this LimitTypeDetails object is equal to o. */ + /** Return true if this BlockchainDestination object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -163,24 +136,22 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - LimitTypeDetails limitTypeDetails = (LimitTypeDetails) o; - return Objects.equals(this.type, limitTypeDetails.type) - && Objects.equals(this.timeInForce, limitTypeDetails.timeInForce) - && Objects.equals(this.limitPrice, limitTypeDetails.limitPrice); + BlockchainDestination blockchainDestination = (BlockchainDestination) o; + return Objects.equals(this.type, blockchainDestination.type) + && Objects.equals(this.address, blockchainDestination.address); } @Override public int hashCode() { - return Objects.hash(type, timeInForce, limitPrice); + return Objects.hash(type, address); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class LimitTypeDetails {\n"); + sb.append("class BlockchainDestination {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" timeInForce: ").append(toIndentedString(timeInForce)).append("\n"); - sb.append(" limitPrice: ").append(toIndentedString(limitPrice)).append("\n"); + sb.append(" address: ").append(toIndentedString(address)).append("\n"); sb.append("}"); return sb.toString(); } @@ -238,24 +209,9 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getType())))); } - // add `timeInForce` to the URL query string - if (getTimeInForce() != null) { - joiner.add( - String.format( - "%stimeInForce%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getTimeInForce())))); - } - - // add `limitPrice` to the URL query string - if (getLimitPrice() != null) { - joiner.add( - String.format( - "%slimitPrice%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getLimitPrice())))); + // add `address` to the URL query string + if (getAddress() != null) { + joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix)); } return joiner.toString(); diff --git a/src/main/java/com/fireblocks/sdk/model/BlockchainExplorer.java b/src/main/java/com/fireblocks/sdk/model/BlockchainExplorer.java index 48cb511a..054846d1 100644 --- a/src/main/java/com/fireblocks/sdk/model/BlockchainExplorer.java +++ b/src/main/java/com/fireblocks/sdk/model/BlockchainExplorer.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BlockchainMedia.java b/src/main/java/com/fireblocks/sdk/model/BlockchainMedia.java index cee4c0e9..6d8c7efe 100644 --- a/src/main/java/com/fireblocks/sdk/model/BlockchainMedia.java +++ b/src/main/java/com/fireblocks/sdk/model/BlockchainMedia.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BlockchainMetadata.java b/src/main/java/com/fireblocks/sdk/model/BlockchainMetadata.java index b46cf81f..22c82fe4 100644 --- a/src/main/java/com/fireblocks/sdk/model/BlockchainMetadata.java +++ b/src/main/java/com/fireblocks/sdk/model/BlockchainMetadata.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BlockchainNotFoundErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/BlockchainNotFoundErrorResponse.java index 67ddd875..a36703a6 100644 --- a/src/main/java/com/fireblocks/sdk/model/BlockchainNotFoundErrorResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/BlockchainNotFoundErrorResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BlockchainOnchain.java b/src/main/java/com/fireblocks/sdk/model/BlockchainOnchain.java index 44ee3c26..31cdb07e 100644 --- a/src/main/java/com/fireblocks/sdk/model/BlockchainOnchain.java +++ b/src/main/java/com/fireblocks/sdk/model/BlockchainOnchain.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BlockchainResponse.java b/src/main/java/com/fireblocks/sdk/model/BlockchainResponse.java index 5c75e609..8e70bd7c 100644 --- a/src/main/java/com/fireblocks/sdk/model/BlockchainResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/BlockchainResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BlockchainTransfer.java b/src/main/java/com/fireblocks/sdk/model/BlockchainTransfer.java index e408f50b..95965e8e 100644 --- a/src/main/java/com/fireblocks/sdk/model/BlockchainTransfer.java +++ b/src/main/java/com/fireblocks/sdk/model/BlockchainTransfer.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BpsFee.java b/src/main/java/com/fireblocks/sdk/model/BpsFee.java index 38743066..d3cb8a83 100644 --- a/src/main/java/com/fireblocks/sdk/model/BpsFee.java +++ b/src/main/java/com/fireblocks/sdk/model/BpsFee.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/BusinessEntityTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/BusinessEntityTypeEnum.java new file mode 100644 index 00000000..efad11e2 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/BusinessEntityTypeEnum.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets BusinessEntityTypeEnum */ +public enum BusinessEntityTypeEnum { + BUSINESS("BUSINESS"); + + private String value; + + BusinessEntityTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static BusinessEntityTypeEnum fromValue(String value) { + for (BusinessEntityTypeEnum b : BusinessEntityTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/BusinessIdentification.java b/src/main/java/com/fireblocks/sdk/model/BusinessIdentification.java index f773d609..9b603016 100644 --- a/src/main/java/com/fireblocks/sdk/model/BusinessIdentification.java +++ b/src/main/java/com/fireblocks/sdk/model/BusinessIdentification.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -29,7 +28,9 @@ BusinessIdentification.JSON_PROPERTY_PARTICIPANT_RELATIONSHIP_TYPE, BusinessIdentification.JSON_PROPERTY_BUSINESS_NAME, BusinessIdentification.JSON_PROPERTY_REGISTRATION_NUMBER, - BusinessIdentification.JSON_PROPERTY_POSTAL_ADDRESS + BusinessIdentification.JSON_PROPERTY_POSTAL_ADDRESS, + BusinessIdentification.JSON_PROPERTY_EMAIL, + BusinessIdentification.JSON_PROPERTY_PHONE }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -38,39 +39,8 @@ public class BusinessIdentification { public static final String JSON_PROPERTY_EXTERNAL_REFERENCE_ID = "externalReferenceId"; @jakarta.annotation.Nonnull private String externalReferenceId; - /** Gets or Sets entityType */ - public enum EntityTypeEnum { - BUSINESS(String.valueOf("BUSINESS")); - - private String value; - - EntityTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static EntityTypeEnum fromValue(String value) { - for (EntityTypeEnum b : EntityTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_ENTITY_TYPE = "entityType"; - @jakarta.annotation.Nonnull private EntityTypeEnum entityType; + @jakarta.annotation.Nonnull private BusinessEntityTypeEnum entityType; public static final String JSON_PROPERTY_PARTICIPANT_RELATIONSHIP_TYPE = "participantRelationshipType"; @@ -85,6 +55,12 @@ public static EntityTypeEnum fromValue(String value) { public static final String JSON_PROPERTY_POSTAL_ADDRESS = "postalAddress"; @jakarta.annotation.Nonnull private PostalAddress postalAddress; + public static final String JSON_PROPERTY_EMAIL = "email"; + @jakarta.annotation.Nullable private String email; + + public static final String JSON_PROPERTY_PHONE = "phone"; + @jakarta.annotation.Nullable private String phone; + public BusinessIdentification() {} @JsonCreator @@ -92,7 +68,7 @@ public BusinessIdentification( @JsonProperty(value = JSON_PROPERTY_EXTERNAL_REFERENCE_ID, required = true) String externalReferenceId, @JsonProperty(value = JSON_PROPERTY_ENTITY_TYPE, required = true) - EntityTypeEnum entityType, + BusinessEntityTypeEnum entityType, @JsonProperty(value = JSON_PROPERTY_PARTICIPANT_RELATIONSHIP_TYPE, required = true) ParticipantRelationshipType participantRelationshipType, @JsonProperty(value = JSON_PROPERTY_BUSINESS_NAME, required = true) String businessName, @@ -133,7 +109,7 @@ public void setExternalReferenceId(@jakarta.annotation.Nonnull String externalRe } public BusinessIdentification entityType( - @jakarta.annotation.Nonnull EntityTypeEnum entityType) { + @jakarta.annotation.Nonnull BusinessEntityTypeEnum entityType) { this.entityType = entityType; return this; } @@ -146,13 +122,13 @@ public BusinessIdentification entityType( @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public EntityTypeEnum getEntityType() { + public BusinessEntityTypeEnum getEntityType() { return entityType; } @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setEntityType(@jakarta.annotation.Nonnull EntityTypeEnum entityType) { + public void setEntityType(@jakarta.annotation.Nonnull BusinessEntityTypeEnum entityType) { this.entityType = entityType; } @@ -252,6 +228,52 @@ public void setPostalAddress(@jakarta.annotation.Nonnull PostalAddress postalAdd this.postalAddress = postalAddress; } + public BusinessIdentification email(@jakarta.annotation.Nullable String email) { + this.email = email; + return this; + } + + /** + * Get email + * + * @return email + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_EMAIL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getEmail() { + return email; + } + + @JsonProperty(JSON_PROPERTY_EMAIL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEmail(@jakarta.annotation.Nullable String email) { + this.email = email; + } + + public BusinessIdentification phone(@jakarta.annotation.Nullable String phone) { + this.phone = phone; + return this; + } + + /** + * Mobile phone number in E.164 format + * + * @return phone + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PHONE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPhone() { + return phone; + } + + @JsonProperty(JSON_PROPERTY_PHONE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPhone(@jakarta.annotation.Nullable String phone) { + this.phone = phone; + } + /** Return true if this BusinessIdentification object is equal to o. */ @Override public boolean equals(Object o) { @@ -270,7 +292,9 @@ public boolean equals(Object o) { && Objects.equals(this.businessName, businessIdentification.businessName) && Objects.equals( this.registrationNumber, businessIdentification.registrationNumber) - && Objects.equals(this.postalAddress, businessIdentification.postalAddress); + && Objects.equals(this.postalAddress, businessIdentification.postalAddress) + && Objects.equals(this.email, businessIdentification.email) + && Objects.equals(this.phone, businessIdentification.phone); } @Override @@ -281,7 +305,9 @@ public int hashCode() { participantRelationshipType, businessName, registrationNumber, - postalAddress); + postalAddress, + email, + phone); } @Override @@ -300,6 +326,8 @@ public String toString() { .append(toIndentedString(registrationNumber)) .append("\n"); sb.append(" postalAddress: ").append(toIndentedString(postalAddress)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append("}"); return sb.toString(); } @@ -404,6 +432,26 @@ public String toUrlQueryString(String prefix) { joiner.add(getPostalAddress().toUrlQueryString(prefix + "postalAddress" + suffix)); } + // add `email` to the URL query string + if (getEmail() != null) { + joiner.add( + String.format( + "%semail%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getEmail())))); + } + + // add `phone` to the URL query string + if (getPhone() != null) { + joiner.add( + String.format( + "%sphone%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPhone())))); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/CallbackHandler.java b/src/main/java/com/fireblocks/sdk/model/CallbackHandler.java index 1041f80a..a22e8390 100644 --- a/src/main/java/com/fireblocks/sdk/model/CallbackHandler.java +++ b/src/main/java/com/fireblocks/sdk/model/CallbackHandler.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CallbackHandlerRequest.java b/src/main/java/com/fireblocks/sdk/model/CallbackHandlerRequest.java index 3d1aa75a..867545a3 100644 --- a/src/main/java/com/fireblocks/sdk/model/CallbackHandlerRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CallbackHandlerRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CancelTransactionResponse.java b/src/main/java/com/fireblocks/sdk/model/CancelTransactionResponse.java index 059875cb..019d3183 100644 --- a/src/main/java/com/fireblocks/sdk/model/CancelTransactionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/CancelTransactionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Capability.java b/src/main/java/com/fireblocks/sdk/model/Capability.java index a515b093..87d18749 100644 --- a/src/main/java/com/fireblocks/sdk/model/Capability.java +++ b/src/main/java/com/fireblocks/sdk/model/Capability.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ChainDescriptor.java b/src/main/java/com/fireblocks/sdk/model/ChainDescriptor.java index 3233a90a..01783797 100644 --- a/src/main/java/com/fireblocks/sdk/model/ChainDescriptor.java +++ b/src/main/java/com/fireblocks/sdk/model/ChainDescriptor.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -16,19 +16,41 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Gets or Sets ChainDescriptor */ +/** Protocol identifier for the staking operation. */ public enum ChainDescriptor { + ATOM_COS("ATOM_COS"), + + AXL("AXL"), + + AXL_TEST("AXL_TEST"), + + CELESTIA("CELESTIA"), + + DYDX_DYDX("DYDX_DYDX"), + ETH("ETH"), - SOL("SOL"), + ETH_TEST6("ETH_TEST6"), + + ETH_TEST_HOODI("ETH_TEST_HOODI"), + + INJ_INJ("INJ_INJ"), + + MANTRA("MANTRA"), MATIC("MATIC"), - ETH_TEST_HOODI("ETH_TEST_HOODI"), + OSMO("OSMO"), - ETH_TEST6("ETH_TEST6"), + SOL("SOL"), + + SOL_TEST("SOL_TEST"), + + STETH_ETH("STETH_ETH"), + + STETH_ETH_TEST6_DZFA("STETH_ETH_TEST6_DZFA"), - SOL_TEST("SOL_TEST"); + STETH_ETH_TEST_HOODI("STETH_ETH_TEST_HOODI"); private String value; diff --git a/src/main/java/com/fireblocks/sdk/model/ChainInfoResponse.java b/src/main/java/com/fireblocks/sdk/model/ChainInfoResponse.java index cc4a3424..368bcdc6 100644 --- a/src/main/java/com/fireblocks/sdk/model/ChainInfoResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ChainInfoResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -28,7 +28,8 @@ ChainInfoResponse.JSON_PROPERTY_CURRENT_EPOCH, ChainInfoResponse.JSON_PROPERTY_EPOCH_ELAPSED, ChainInfoResponse.JSON_PROPERTY_EPOCH_DURATION, - ChainInfoResponse.JSON_PROPERTY_ADDITIONAL_INFO + ChainInfoResponse.JSON_PROPERTY_ADDITIONAL_INFO, + ChainInfoResponse.JSON_PROPERTY_LAST_UPDATED }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -49,6 +50,9 @@ public class ChainInfoResponse { public static final String JSON_PROPERTY_ADDITIONAL_INFO = "additionalInfo"; @jakarta.annotation.Nonnull private AdditionalInfo additionalInfo; + public static final String JSON_PROPERTY_LAST_UPDATED = "lastUpdated"; + @jakarta.annotation.Nonnull private BigDecimal lastUpdated; + public ChainInfoResponse() {} @JsonCreator @@ -62,12 +66,15 @@ public ChainInfoResponse( @JsonProperty(value = JSON_PROPERTY_EPOCH_DURATION, required = true) BigDecimal epochDuration, @JsonProperty(value = JSON_PROPERTY_ADDITIONAL_INFO, required = true) - AdditionalInfo additionalInfo) { + AdditionalInfo additionalInfo, + @JsonProperty(value = JSON_PROPERTY_LAST_UPDATED, required = true) + BigDecimal lastUpdated) { this.chainDescriptor = chainDescriptor; this.currentEpoch = currentEpoch; this.epochElapsed = epochElapsed; this.epochDuration = epochDuration; this.additionalInfo = additionalInfo; + this.lastUpdated = lastUpdated; } public ChainInfoResponse chainDescriptor(@jakarta.annotation.Nonnull String chainDescriptor) { @@ -187,6 +194,29 @@ public void setAdditionalInfo(@jakarta.annotation.Nonnull AdditionalInfo additio this.additionalInfo = additionalInfo; } + public ChainInfoResponse lastUpdated(@jakarta.annotation.Nonnull BigDecimal lastUpdated) { + this.lastUpdated = lastUpdated; + return this; + } + + /** + * timestamp (in milliseconds) of last update time + * + * @return lastUpdated + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_LAST_UPDATED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public BigDecimal getLastUpdated() { + return lastUpdated; + } + + @JsonProperty(JSON_PROPERTY_LAST_UPDATED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setLastUpdated(@jakarta.annotation.Nonnull BigDecimal lastUpdated) { + this.lastUpdated = lastUpdated; + } + /** Return true if this ChainInfoResponse object is equal to o. */ @Override public boolean equals(Object o) { @@ -201,13 +231,19 @@ public boolean equals(Object o) { && Objects.equals(this.currentEpoch, chainInfoResponse.currentEpoch) && Objects.equals(this.epochElapsed, chainInfoResponse.epochElapsed) && Objects.equals(this.epochDuration, chainInfoResponse.epochDuration) - && Objects.equals(this.additionalInfo, chainInfoResponse.additionalInfo); + && Objects.equals(this.additionalInfo, chainInfoResponse.additionalInfo) + && Objects.equals(this.lastUpdated, chainInfoResponse.lastUpdated); } @Override public int hashCode() { return Objects.hash( - chainDescriptor, currentEpoch, epochElapsed, epochDuration, additionalInfo); + chainDescriptor, + currentEpoch, + epochElapsed, + epochDuration, + additionalInfo, + lastUpdated); } @Override @@ -219,6 +255,7 @@ public String toString() { sb.append(" epochElapsed: ").append(toIndentedString(epochElapsed)).append("\n"); sb.append(" epochDuration: ").append(toIndentedString(epochDuration)).append("\n"); sb.append(" additionalInfo: ").append(toIndentedString(additionalInfo)).append("\n"); + sb.append(" lastUpdated: ").append(toIndentedString(lastUpdated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -311,6 +348,16 @@ public String toUrlQueryString(String prefix) { joiner.add(getAdditionalInfo().toUrlQueryString(prefix + "additionalInfo" + suffix)); } + // add `lastUpdated` to the URL query string + if (getLastUpdated() != null) { + joiner.add( + String.format( + "%slastUpdated%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getLastUpdated())))); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/ChannelDvnConfigWithConfirmations.java b/src/main/java/com/fireblocks/sdk/model/ChannelDvnConfigWithConfirmations.java index d5039a5c..e27d6e67 100644 --- a/src/main/java/com/fireblocks/sdk/model/ChannelDvnConfigWithConfirmations.java +++ b/src/main/java/com/fireblocks/sdk/model/ChannelDvnConfigWithConfirmations.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ClaimRewardsRequest.java b/src/main/java/com/fireblocks/sdk/model/ClaimRewardsRequest.java index 42cc2ed0..e1bbb2c1 100644 --- a/src/main/java/com/fireblocks/sdk/model/ClaimRewardsRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/ClaimRewardsRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionBurnRequestDto.java b/src/main/java/com/fireblocks/sdk/model/CollectionBurnRequestDto.java index 55082352..e237e245 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionBurnRequestDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionBurnRequestDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionBurnResponseDto.java b/src/main/java/com/fireblocks/sdk/model/CollectionBurnResponseDto.java index 0a244953..cecdd317 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionBurnResponseDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionBurnResponseDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionDeployRequestDto.java b/src/main/java/com/fireblocks/sdk/model/CollectionDeployRequestDto.java index c5882039..d6671489 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionDeployRequestDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionDeployRequestDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionLinkDto.java b/src/main/java/com/fireblocks/sdk/model/CollectionLinkDto.java index e4b00ee7..dd5ced9f 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionLinkDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionLinkDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionMetadataDto.java b/src/main/java/com/fireblocks/sdk/model/CollectionMetadataDto.java index 7a40a8c6..8a501ed5 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionMetadataDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionMetadataDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionMintRequestDto.java b/src/main/java/com/fireblocks/sdk/model/CollectionMintRequestDto.java index 7443b7ad..b132f0d4 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionMintRequestDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionMintRequestDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionMintResponseDto.java b/src/main/java/com/fireblocks/sdk/model/CollectionMintResponseDto.java index d328a351..704dc64d 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionMintResponseDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionMintResponseDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionOwnershipResponse.java b/src/main/java/com/fireblocks/sdk/model/CollectionOwnershipResponse.java index b7cc3907..f3f0e3e7 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionOwnershipResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionOwnershipResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionTokenMetadataAttributeDto.java b/src/main/java/com/fireblocks/sdk/model/CollectionTokenMetadataAttributeDto.java index ce8f2622..159e6c2f 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionTokenMetadataAttributeDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionTokenMetadataAttributeDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionTokenMetadataDto.java b/src/main/java/com/fireblocks/sdk/model/CollectionTokenMetadataDto.java index 339489da..c3efec7d 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionTokenMetadataDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionTokenMetadataDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionType.java b/src/main/java/com/fireblocks/sdk/model/CollectionType.java index fb92340c..db2e2fdb 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionType.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CommittedQuoteEnum.java b/src/main/java/com/fireblocks/sdk/model/CommittedQuoteEnum.java new file mode 100644 index 00000000..758ff4c0 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/CommittedQuoteEnum.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Indicates this is a committed quote */ +public enum CommittedQuoteEnum { + COMMITTED("COMMITTED"); + + private String value; + + CommittedQuoteEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static CommittedQuoteEnum fromValue(String value) { + for (CommittedQuoteEnum b : CommittedQuoteEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/CommittedQuoteType.java b/src/main/java/com/fireblocks/sdk/model/CommittedQuoteType.java index b4acda06..4d5f3056 100644 --- a/src/main/java/com/fireblocks/sdk/model/CommittedQuoteType.java +++ b/src/main/java/com/fireblocks/sdk/model/CommittedQuoteType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,115 +17,50 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; -import java.time.OffsetDateTime; import java.util.Objects; import java.util.StringJoiner; /** CommittedQuoteType */ -@JsonPropertyOrder({ - CommittedQuoteType.JSON_PROPERTY_TYPE, - CommittedQuoteType.JSON_PROPERTY_EXPIRES_AT -}) +@JsonPropertyOrder({CommittedQuoteType.JSON_PROPERTY_TYPE}) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class CommittedQuoteType { - /** Indicates this is a committed quote */ - public enum TypeEnum { - COMMITTED(String.valueOf("COMMITTED")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; - - public static final String JSON_PROPERTY_EXPIRES_AT = "expiresAt"; - @jakarta.annotation.Nonnull private OffsetDateTime expiresAt; + @jakarta.annotation.Nonnull private CommittedQuoteEnum type; public CommittedQuoteType() {} @JsonCreator public CommittedQuoteType( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, - @JsonProperty(value = JSON_PROPERTY_EXPIRES_AT, required = true) - OffsetDateTime expiresAt) { + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) CommittedQuoteEnum type) { this.type = type; - this.expiresAt = expiresAt; } - public CommittedQuoteType type(@jakarta.annotation.Nonnull TypeEnum type) { + public CommittedQuoteType type(@jakarta.annotation.Nonnull CommittedQuoteEnum type) { this.type = type; return this; } /** - * Indicates this is a committed quote + * Get type * * @return type */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public CommittedQuoteEnum getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull CommittedQuoteEnum type) { this.type = type; } - public CommittedQuoteType expiresAt(@jakarta.annotation.Nonnull OffsetDateTime expiresAt) { - this.expiresAt = expiresAt; - return this; - } - - /** - * ISO 8601 timestamp of the expiration time of the quote. - * - * @return expiresAt - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_EXPIRES_AT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public OffsetDateTime getExpiresAt() { - return expiresAt; - } - - @JsonProperty(JSON_PROPERTY_EXPIRES_AT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setExpiresAt(@jakarta.annotation.Nonnull OffsetDateTime expiresAt) { - this.expiresAt = expiresAt; - } - /** Return true if this CommittedQuoteType object is equal to o. */ @Override public boolean equals(Object o) { @@ -136,13 +71,12 @@ public boolean equals(Object o) { return false; } CommittedQuoteType committedQuoteType = (CommittedQuoteType) o; - return Objects.equals(this.type, committedQuoteType.type) - && Objects.equals(this.expiresAt, committedQuoteType.expiresAt); + return Objects.equals(this.type, committedQuoteType.type); } @Override public int hashCode() { - return Objects.hash(type, expiresAt); + return Objects.hash(type); } @Override @@ -150,7 +84,6 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CommittedQuoteType {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -208,16 +141,6 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getType())))); } - // add `expiresAt` to the URL query string - if (getExpiresAt() != null) { - joiner.add( - String.format( - "%sexpiresAt%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getExpiresAt())))); - } - return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/ComplianceResultFullPayload.java b/src/main/java/com/fireblocks/sdk/model/ComplianceResultFullPayload.java index 718d42e1..5465fe28 100644 --- a/src/main/java/com/fireblocks/sdk/model/ComplianceResultFullPayload.java +++ b/src/main/java/com/fireblocks/sdk/model/ComplianceResultFullPayload.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnum.java b/src/main/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnum.java index f1562ea3..b815d2cf 100644 --- a/src/main/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ComplianceResults.java b/src/main/java/com/fireblocks/sdk/model/ComplianceResults.java index 96c62770..29908235 100644 --- a/src/main/java/com/fireblocks/sdk/model/ComplianceResults.java +++ b/src/main/java/com/fireblocks/sdk/model/ComplianceResults.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ComplianceScreeningResult.java b/src/main/java/com/fireblocks/sdk/model/ComplianceScreeningResult.java index 902f8e57..698e1684 100644 --- a/src/main/java/com/fireblocks/sdk/model/ComplianceScreeningResult.java +++ b/src/main/java/com/fireblocks/sdk/model/ComplianceScreeningResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayload.java b/src/main/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayload.java index 6fe22c4e..001efc58 100644 --- a/src/main/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayload.java +++ b/src/main/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayload.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConfigChangeRequestStatus.java b/src/main/java/com/fireblocks/sdk/model/ConfigChangeRequestStatus.java index cbd63e2c..e03b3a41 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConfigChangeRequestStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/ConfigChangeRequestStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConfigConversionOperationSnapshot.java b/src/main/java/com/fireblocks/sdk/model/ConfigConversionOperationSnapshot.java index 93b38ab7..2f525784 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConfigConversionOperationSnapshot.java +++ b/src/main/java/com/fireblocks/sdk/model/ConfigConversionOperationSnapshot.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConfigDisbursementOperationSnapshot.java b/src/main/java/com/fireblocks/sdk/model/ConfigDisbursementOperationSnapshot.java index 67729704..d9295f2f 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConfigDisbursementOperationSnapshot.java +++ b/src/main/java/com/fireblocks/sdk/model/ConfigDisbursementOperationSnapshot.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConfigOperation.java b/src/main/java/com/fireblocks/sdk/model/ConfigOperation.java index ab7b68b1..03ee83dc 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConfigOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/ConfigOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConfigOperationSnapshot.java b/src/main/java/com/fireblocks/sdk/model/ConfigOperationSnapshot.java index 119c4fba..4ad94f0f 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConfigOperationSnapshot.java +++ b/src/main/java/com/fireblocks/sdk/model/ConfigOperationSnapshot.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConfigOperationStatus.java b/src/main/java/com/fireblocks/sdk/model/ConfigOperationStatus.java index ded58942..5931de3d 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConfigOperationStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/ConfigOperationStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConfigTransferOperationSnapshot.java b/src/main/java/com/fireblocks/sdk/model/ConfigTransferOperationSnapshot.java index cf62869b..413f5a99 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConfigTransferOperationSnapshot.java +++ b/src/main/java/com/fireblocks/sdk/model/ConfigTransferOperationSnapshot.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccount.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccount.java index fbc8fb4b..39820043 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountApprovalStatus.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountApprovalStatus.java index 77243cc3..f568692b 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountApprovalStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountApprovalStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountAssetType.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountAssetType.java index e3fb244f..8907c2b4 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountAssetType.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountAssetType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountBalances.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountBalances.java index a8d90641..3f7585bb 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountBalances.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountBalances.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountBalancesResponse.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountBalancesResponse.java index 288b7fd3..1297c025 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountBalancesResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountBalancesResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountCapability.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountCapability.java index dee3e902..113eec9a 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountCapability.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountCapability.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountErrorResponse.java new file mode 100644 index 00000000..2b21ed75 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountErrorResponse.java @@ -0,0 +1,191 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** ConnectedAccountErrorResponse */ +@JsonPropertyOrder({ + ConnectedAccountErrorResponse.JSON_PROPERTY_ERROR_MESSAGE, + ConnectedAccountErrorResponse.JSON_PROPERTY_ERROR_CODE +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class ConnectedAccountErrorResponse { + public static final String JSON_PROPERTY_ERROR_MESSAGE = "errorMessage"; + @jakarta.annotation.Nonnull private String errorMessage; + + public static final String JSON_PROPERTY_ERROR_CODE = "errorCode"; + @jakarta.annotation.Nonnull private String errorCode; + + public ConnectedAccountErrorResponse() {} + + @JsonCreator + public ConnectedAccountErrorResponse( + @JsonProperty(value = JSON_PROPERTY_ERROR_MESSAGE, required = true) String errorMessage, + @JsonProperty(value = JSON_PROPERTY_ERROR_CODE, required = true) String errorCode) { + this.errorMessage = errorMessage; + this.errorCode = errorCode; + } + + public ConnectedAccountErrorResponse errorMessage( + @jakarta.annotation.Nonnull String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + * Error message describing what went wrong + * + * @return errorMessage + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ERROR_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getErrorMessage() { + return errorMessage; + } + + @JsonProperty(JSON_PROPERTY_ERROR_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setErrorMessage(@jakarta.annotation.Nonnull String errorMessage) { + this.errorMessage = errorMessage; + } + + public ConnectedAccountErrorResponse errorCode(@jakarta.annotation.Nonnull String errorCode) { + this.errorCode = errorCode; + return this; + } + + /** + * Error code identifying the type of error + * + * @return errorCode + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ERROR_CODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getErrorCode() { + return errorCode; + } + + @JsonProperty(JSON_PROPERTY_ERROR_CODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setErrorCode(@jakarta.annotation.Nonnull String errorCode) { + this.errorCode = errorCode; + } + + /** Return true if this ConnectedAccountErrorResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectedAccountErrorResponse connectedAccountErrorResponse = + (ConnectedAccountErrorResponse) o; + return Objects.equals(this.errorMessage, connectedAccountErrorResponse.errorMessage) + && Objects.equals(this.errorCode, connectedAccountErrorResponse.errorCode); + } + + @Override + public int hashCode() { + return Objects.hash(errorMessage, errorCode); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectedAccountErrorResponse {\n"); + sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n"); + sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `errorMessage` to the URL query string + if (getErrorMessage() != null) { + joiner.add( + String.format( + "%serrorMessage%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getErrorMessage())))); + } + + // add `errorCode` to the URL query string + if (getErrorCode() != null) { + joiner.add( + String.format( + "%serrorCode%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getErrorCode())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountManifest.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountManifest.java index 1e879c4d..3a71c110 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountManifest.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountManifest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountRateResponse.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountRateResponse.java index 418fedf8..2f74ecbf 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountRateResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountRateResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTotalBalance.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTotalBalance.java index dd88a792..44f96cf7 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTotalBalance.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTotalBalance.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPair.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPair.java index 34c14174..8601838e 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPair.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPair.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairSupportedType.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairSupportedType.java index 8f863c7c..8c8e73f9 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairSupportedType.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairSupportedType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairsResponse.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairsResponse.java index bfdc2465..c68f938a 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountsResponse.java b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountsResponse.java index b0b44071..29074adb 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedAccountsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedAccountsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedSingleAccount.java b/src/main/java/com/fireblocks/sdk/model/ConnectedSingleAccount.java index 732edb05..fe5574ec 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedSingleAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedSingleAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConnectedSingleAccountResponse.java b/src/main/java/com/fireblocks/sdk/model/ConnectedSingleAccountResponse.java index 0dc1f660..a6fac90d 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConnectedSingleAccountResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ConnectedSingleAccountResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConsoleUser.java b/src/main/java/com/fireblocks/sdk/model/ConsoleUser.java index f55bc9a9..b8dc3b4f 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConsoleUser.java +++ b/src/main/java/com/fireblocks/sdk/model/ConsoleUser.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractAbiResponseDto.java b/src/main/java/com/fireblocks/sdk/model/ContractAbiResponseDto.java index 862bfc6b..61207e56 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractAbiResponseDto.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractAbiResponseDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractAbiResponseDtoAbiInner.java b/src/main/java/com/fireblocks/sdk/model/ContractAbiResponseDtoAbiInner.java index 64af9163..77783b61 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractAbiResponseDtoAbiInner.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractAbiResponseDtoAbiInner.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractAddressResponse.java b/src/main/java/com/fireblocks/sdk/model/ContractAddressResponse.java new file mode 100644 index 00000000..9b624dfb --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/ContractAddressResponse.java @@ -0,0 +1,148 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** ContractAddressResponse */ +@JsonPropertyOrder({ContractAddressResponse.JSON_PROPERTY_CONTRACT_ADDRESS}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class ContractAddressResponse { + public static final String JSON_PROPERTY_CONTRACT_ADDRESS = "contractAddress"; + @jakarta.annotation.Nonnull private String contractAddress; + + public ContractAddressResponse() {} + + @JsonCreator + public ContractAddressResponse( + @JsonProperty(value = JSON_PROPERTY_CONTRACT_ADDRESS, required = true) + String contractAddress) { + this.contractAddress = contractAddress; + } + + public ContractAddressResponse contractAddress( + @jakarta.annotation.Nonnull String contractAddress) { + this.contractAddress = contractAddress; + return this; + } + + /** + * The contract's onchain address + * + * @return contractAddress + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CONTRACT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getContractAddress() { + return contractAddress; + } + + @JsonProperty(JSON_PROPERTY_CONTRACT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setContractAddress(@jakarta.annotation.Nonnull String contractAddress) { + this.contractAddress = contractAddress; + } + + /** Return true if this ContractAddressResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ContractAddressResponse contractAddressResponse = (ContractAddressResponse) o; + return Objects.equals(this.contractAddress, contractAddressResponse.contractAddress); + } + + @Override + public int hashCode() { + return Objects.hash(contractAddress); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ContractAddressResponse {\n"); + sb.append(" contractAddress: ").append(toIndentedString(contractAddress)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `contractAddress` to the URL query string + if (getContractAddress() != null) { + joiner.add( + String.format( + "%scontractAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getContractAddress())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ContractAttributes.java b/src/main/java/com/fireblocks/sdk/model/ContractAttributes.java index c9704cae..c9db77d2 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractAttributes.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractAttributes.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeDataType.java b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeDataType.java index eb5d9444..3a17578e 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeDataType.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeDataType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeError.java b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeError.java index d27edb2d..416f56cc 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeError.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeRequest.java b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeRequest.java index a69b9b55..a2abc759 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeRequestData.java b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeRequestData.java index 16089f40..89b55401 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeRequestData.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeRequestData.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeResponseParams.java b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeResponseParams.java index 5c64c555..19aea8a7 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeResponseParams.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodeResponseParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodedResponse.java b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodedResponse.java index f30626ae..73a6e347 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractDataDecodedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractDataDecodedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractDataLogDataParam.java b/src/main/java/com/fireblocks/sdk/model/ContractDataLogDataParam.java index 9a63b48e..5581169b 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractDataLogDataParam.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractDataLogDataParam.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractDeployRequest.java b/src/main/java/com/fireblocks/sdk/model/ContractDeployRequest.java index 8b5c3731..c4eea197 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractDeployRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractDeployRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractDeployResponse.java b/src/main/java/com/fireblocks/sdk/model/ContractDeployResponse.java index caf766c0..8c45c122 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractDeployResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractDeployResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractDoc.java b/src/main/java/com/fireblocks/sdk/model/ContractDoc.java index 31e5f65e..9e95d621 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractDoc.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractDoc.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractMetadataDto.java b/src/main/java/com/fireblocks/sdk/model/ContractMetadataDto.java index 59596030..2cb7483d 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractMetadataDto.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractMetadataDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractMethodConfig.java b/src/main/java/com/fireblocks/sdk/model/ContractMethodConfig.java index e83fe726..74316451 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractMethodConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractMethodConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractMethodPattern.java b/src/main/java/com/fireblocks/sdk/model/ContractMethodPattern.java index 5ae7df13..bd455a2b 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractMethodPattern.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractMethodPattern.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractTemplateDto.java b/src/main/java/com/fireblocks/sdk/model/ContractTemplateDto.java index 0489218e..f9430718 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractTemplateDto.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractTemplateDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractUploadRequest.java b/src/main/java/com/fireblocks/sdk/model/ContractUploadRequest.java index cdf3a881..746c6f18 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractUploadRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractUploadRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ContractWithAbiDto.java b/src/main/java/com/fireblocks/sdk/model/ContractWithAbiDto.java index 1c4182c3..3f52f403 100644 --- a/src/main/java/com/fireblocks/sdk/model/ContractWithAbiDto.java +++ b/src/main/java/com/fireblocks/sdk/model/ContractWithAbiDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConversionConfigOperation.java b/src/main/java/com/fireblocks/sdk/model/ConversionConfigOperation.java index 95fa38dc..427f0589 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConversionConfigOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/ConversionConfigOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConversionOperationConfigParams.java b/src/main/java/com/fireblocks/sdk/model/ConversionOperationConfigParams.java index 2cd14adf..03dc910d 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConversionOperationConfigParams.java +++ b/src/main/java/com/fireblocks/sdk/model/ConversionOperationConfigParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecution.java b/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecution.java index c4d44f13..6af02b74 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecution.java +++ b/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecution.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionOutput.java b/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionOutput.java index ffdf829c..3085d3dd 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionOutput.java +++ b/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionOutput.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionParams.java b/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionParams.java index aa84705c..208d0acd 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionParams.java +++ b/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsExecutionParams.java b/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsExecutionParams.java index 56898caa..cb1036b2 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsExecutionParams.java +++ b/src/main/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsExecutionParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConversionOperationFailure.java b/src/main/java/com/fireblocks/sdk/model/ConversionOperationFailure.java index 4824458e..1e37cf90 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConversionOperationFailure.java +++ b/src/main/java/com/fireblocks/sdk/model/ConversionOperationFailure.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConversionOperationPreview.java b/src/main/java/com/fireblocks/sdk/model/ConversionOperationPreview.java index 0426ceda..df1b70e3 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConversionOperationPreview.java +++ b/src/main/java/com/fireblocks/sdk/model/ConversionOperationPreview.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConversionOperationPreviewOutput.java b/src/main/java/com/fireblocks/sdk/model/ConversionOperationPreviewOutput.java index b3489a28..89e53dd5 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConversionOperationPreviewOutput.java +++ b/src/main/java/com/fireblocks/sdk/model/ConversionOperationPreviewOutput.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConversionOperationType.java b/src/main/java/com/fireblocks/sdk/model/ConversionOperationType.java index 616e4fe0..ababdcd4 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConversionOperationType.java +++ b/src/main/java/com/fireblocks/sdk/model/ConversionOperationType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConversionValidationFailure.java b/src/main/java/com/fireblocks/sdk/model/ConversionValidationFailure.java index 1c3a609b..ba9f4f3f 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConversionValidationFailure.java +++ b/src/main/java/com/fireblocks/sdk/model/ConversionValidationFailure.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConvertAssetsRequest.java b/src/main/java/com/fireblocks/sdk/model/ConvertAssetsRequest.java index f7992601..890b65b5 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConvertAssetsRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/ConvertAssetsRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ConvertAssetsResponse.java b/src/main/java/com/fireblocks/sdk/model/ConvertAssetsResponse.java index b7929947..0ff3136b 100644 --- a/src/main/java/com/fireblocks/sdk/model/ConvertAssetsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ConvertAssetsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Cosigner.java b/src/main/java/com/fireblocks/sdk/model/Cosigner.java index a03b64c9..53fcd4b9 100644 --- a/src/main/java/com/fireblocks/sdk/model/Cosigner.java +++ b/src/main/java/com/fireblocks/sdk/model/Cosigner.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -87,7 +87,7 @@ public static TypeEnum fromValue(String value) { @jakarta.annotation.Nullable private TypeEnum type; public static final String JSON_PROPERTY_VERSION = "version"; - @jakarta.annotation.Nullable private Version version; + @jakarta.annotation.Nullable private VersionSummary version; public Cosigner() {} @@ -191,7 +191,7 @@ public void setType(@jakarta.annotation.Nullable TypeEnum type) { this.type = type; } - public Cosigner version(@jakarta.annotation.Nullable Version version) { + public Cosigner version(@jakarta.annotation.Nullable VersionSummary version) { this.version = version; return this; } @@ -204,13 +204,13 @@ public Cosigner version(@jakarta.annotation.Nullable Version version) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Version getVersion() { + public VersionSummary getVersion() { return version; } @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVersion(@jakarta.annotation.Nullable Version version) { + public void setVersion(@jakarta.annotation.Nullable VersionSummary version) { this.version = version; } diff --git a/src/main/java/com/fireblocks/sdk/model/CosignersPaginatedResponse.java b/src/main/java/com/fireblocks/sdk/model/CosignersPaginatedResponse.java index a2f7be27..9698691f 100644 --- a/src/main/java/com/fireblocks/sdk/model/CosignersPaginatedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/CosignersPaginatedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateAPIUser.java b/src/main/java/com/fireblocks/sdk/model/CreateAPIUser.java index e1ff7ae3..b995b6d3 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateAPIUser.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateAPIUser.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateAddressRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateAddressRequest.java index ab6af970..a91a28a0 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateAddressRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateAddressRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateAddressResponse.java b/src/main/java/com/fireblocks/sdk/model/CreateAddressResponse.java index ae8bf8a8..d2789b7f 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateAddressResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateAddressResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateAssetsBulkRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateAssetsBulkRequest.java deleted file mode 100644 index 7c3ac6a4..00000000 --- a/src/main/java/com/fireblocks/sdk/model/CreateAssetsBulkRequest.java +++ /dev/null @@ -1,224 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fireblocks.sdk.ApiClient; -import java.util.Objects; -import java.util.StringJoiner; - -/** CreateAssetsBulkRequest */ -@JsonPropertyOrder({ - CreateAssetsBulkRequest.JSON_PROPERTY_ASSET_ID, - CreateAssetsBulkRequest.JSON_PROPERTY_VAULT_ACCOUNT_ID_FROM, - CreateAssetsBulkRequest.JSON_PROPERTY_VAULT_ACCOUNT_ID_TO -}) -@jakarta.annotation.Generated( - value = "org.openapitools.codegen.languages.JavaClientCodegen", - comments = "Generator version: 7.14.0") -public class CreateAssetsBulkRequest { - public static final String JSON_PROPERTY_ASSET_ID = "assetId"; - @jakarta.annotation.Nullable private String assetId; - - public static final String JSON_PROPERTY_VAULT_ACCOUNT_ID_FROM = "vaultAccountIdFrom"; - @jakarta.annotation.Nullable private String vaultAccountIdFrom; - - public static final String JSON_PROPERTY_VAULT_ACCOUNT_ID_TO = "vaultAccountIdTo"; - @jakarta.annotation.Nullable private String vaultAccountIdTo; - - public CreateAssetsBulkRequest() {} - - public CreateAssetsBulkRequest assetId(@jakarta.annotation.Nullable String assetId) { - this.assetId = assetId; - return this; - } - - /** - * The ID of the new asset - * - * @return assetId - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAssetId() { - return assetId; - } - - @JsonProperty(JSON_PROPERTY_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAssetId(@jakarta.annotation.Nullable String assetId) { - this.assetId = assetId; - } - - public CreateAssetsBulkRequest vaultAccountIdFrom( - @jakarta.annotation.Nullable String vaultAccountIdFrom) { - this.vaultAccountIdFrom = vaultAccountIdFrom; - return this; - } - - /** - * The smallest vault account ID in the range - * - * @return vaultAccountIdFrom - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_ID_FROM) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVaultAccountIdFrom() { - return vaultAccountIdFrom; - } - - @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_ID_FROM) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVaultAccountIdFrom(@jakarta.annotation.Nullable String vaultAccountIdFrom) { - this.vaultAccountIdFrom = vaultAccountIdFrom; - } - - public CreateAssetsBulkRequest vaultAccountIdTo( - @jakarta.annotation.Nullable String vaultAccountIdTo) { - this.vaultAccountIdTo = vaultAccountIdTo; - return this; - } - - /** - * The largest vault account ID in the range - * - * @return vaultAccountIdTo - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_ID_TO) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getVaultAccountIdTo() { - return vaultAccountIdTo; - } - - @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_ID_TO) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setVaultAccountIdTo(@jakarta.annotation.Nullable String vaultAccountIdTo) { - this.vaultAccountIdTo = vaultAccountIdTo; - } - - /** Return true if this CreateAssetsBulkRequest object is equal to o. */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CreateAssetsBulkRequest createAssetsBulkRequest = (CreateAssetsBulkRequest) o; - return Objects.equals(this.assetId, createAssetsBulkRequest.assetId) - && Objects.equals( - this.vaultAccountIdFrom, createAssetsBulkRequest.vaultAccountIdFrom) - && Objects.equals(this.vaultAccountIdTo, createAssetsBulkRequest.vaultAccountIdTo); - } - - @Override - public int hashCode() { - return Objects.hash(assetId, vaultAccountIdFrom, vaultAccountIdTo); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CreateAssetsBulkRequest {\n"); - sb.append(" assetId: ").append(toIndentedString(assetId)).append("\n"); - sb.append(" vaultAccountIdFrom: ") - .append(toIndentedString(vaultAccountIdFrom)) - .append("\n"); - sb.append(" vaultAccountIdTo: ").append(toIndentedString(vaultAccountIdTo)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first - * line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `assetId` to the URL query string - if (getAssetId() != null) { - joiner.add( - String.format( - "%sassetId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getAssetId())))); - } - - // add `vaultAccountIdFrom` to the URL query string - if (getVaultAccountIdFrom() != null) { - joiner.add( - String.format( - "%svaultAccountIdFrom%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getVaultAccountIdFrom())))); - } - - // add `vaultAccountIdTo` to the URL query string - if (getVaultAccountIdTo() != null) { - joiner.add( - String.format( - "%svaultAccountIdTo%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getVaultAccountIdTo())))); - } - - return joiner.toString(); - } -} diff --git a/src/main/java/com/fireblocks/sdk/model/CreateAssetsRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateAssetsRequest.java index 739060e1..af978c25 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateAssetsRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateAssetsRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateConfigOperationRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateConfigOperationRequest.java index 01431811..3ef7f59f 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateConfigOperationRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateConfigOperationRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateConnectionRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateConnectionRequest.java index aa8c24fa..70c643bc 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateConnectionRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateConnectionRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateConnectionResponse.java b/src/main/java/com/fireblocks/sdk/model/CreateConnectionResponse.java index 6f5acd81..33e73703 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateConnectionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateConnectionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateConsoleUser.java b/src/main/java/com/fireblocks/sdk/model/CreateConsoleUser.java index df4d57c4..9ca92baf 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateConsoleUser.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateConsoleUser.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateContractRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateContractRequest.java index 5163745d..ce0eddb2 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateContractRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateContractRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateConversionConfigOperationRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateConversionConfigOperationRequest.java index 84f5ee4b..6456008d 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateConversionConfigOperationRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateConversionConfigOperationRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateDisbursementConfigOperationRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateDisbursementConfigOperationRequest.java index 571b9bae..8a832907 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateDisbursementConfigOperationRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateDisbursementConfigOperationRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateInternalTransferRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateInternalTransferRequest.java index 5401abd6..543d0434 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateInternalTransferRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateInternalTransferRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateInternalWalletAssetRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateInternalWalletAssetRequest.java index f7ea5e1b..9fb28493 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateInternalWalletAssetRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateInternalWalletAssetRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateMultichainTokenRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateMultichainTokenRequest.java index 6cda8a27..add7b152 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateMultichainTokenRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateMultichainTokenRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateMultipleAccountsRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateMultipleAccountsRequest.java index d2e2fc6c..1db21134 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateMultipleAccountsRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateMultipleAccountsRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatus.java b/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatus.java index e59dc553..cf2e7e91 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequest.java index 5244d6b6..4a4552f1 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateMultipleVaultAccountsJobStatus.java b/src/main/java/com/fireblocks/sdk/model/CreateMultipleVaultAccountsJobStatus.java index 2bc8af59..1c16e7b6 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateMultipleVaultAccountsJobStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateMultipleVaultAccountsJobStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateNcwConnectionRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateNcwConnectionRequest.java index cdc5a439..b225fec4 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateNcwConnectionRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateNcwConnectionRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateNetworkIdRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateNetworkIdRequest.java index f87b13a7..3a570a69 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateNetworkIdRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateNetworkIdRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateOrderRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateOrderRequest.java index 5f274578..d563b6f2 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateOrderRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateOrderRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreatePayoutRequest.java b/src/main/java/com/fireblocks/sdk/model/CreatePayoutRequest.java index 695f054b..c0b9d424 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreatePayoutRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreatePayoutRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateQuote.java b/src/main/java/com/fireblocks/sdk/model/CreateQuote.java index 3be3e8ed..7f59d729 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateQuote.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateQuote.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.math.BigDecimal; import java.util.ArrayList; @@ -29,9 +28,7 @@ @JsonPropertyOrder({ CreateQuote.JSON_PROPERTY_SCOPE, CreateQuote.JSON_PROPERTY_BASE_ASSET_ID, - CreateQuote.JSON_PROPERTY_BASE_ASSET_RAIL, CreateQuote.JSON_PROPERTY_QUOTE_ASSET_ID, - CreateQuote.JSON_PROPERTY_QUOTE_ASSET_RAIL, CreateQuote.JSON_PROPERTY_BASE_AMOUNT, CreateQuote.JSON_PROPERTY_SLIPPAGE_BPS, CreateQuote.JSON_PROPERTY_SETTLEMENT, @@ -47,15 +44,9 @@ public class CreateQuote { public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId"; @jakarta.annotation.Nonnull private String baseAssetId; - public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail"; - @jakarta.annotation.Nullable private TransferRail baseAssetRail; - public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId"; @jakarta.annotation.Nonnull private String quoteAssetId; - public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail"; - @jakarta.annotation.Nullable private TransferRail quoteAssetRail; - public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount"; @jakarta.annotation.Nonnull private String baseAmount; @@ -65,41 +56,8 @@ public class CreateQuote { public static final String JSON_PROPERTY_SETTLEMENT = "settlement"; @jakarta.annotation.Nullable private DVPSettlement settlement; - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side; + @jakarta.annotation.Nonnull private Side side; public CreateQuote() {} @@ -111,7 +69,7 @@ public CreateQuote( @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) String quoteAssetId, @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side) { + @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) Side side) { this.scope = scope; this.baseAssetId = baseAssetId; this.quoteAssetId = quoteAssetId; @@ -173,29 +131,6 @@ public void setBaseAssetId(@jakarta.annotation.Nonnull String baseAssetId) { this.baseAssetId = baseAssetId; } - public CreateQuote baseAssetRail(@jakarta.annotation.Nullable TransferRail baseAssetRail) { - this.baseAssetRail = baseAssetRail; - return this; - } - - /** - * Get baseAssetRail - * - * @return baseAssetRail - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BASE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferRail getBaseAssetRail() { - return baseAssetRail; - } - - @JsonProperty(JSON_PROPERTY_BASE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBaseAssetRail(@jakarta.annotation.Nullable TransferRail baseAssetRail) { - this.baseAssetRail = baseAssetRail; - } - public CreateQuote quoteAssetId(@jakarta.annotation.Nonnull String quoteAssetId) { this.quoteAssetId = quoteAssetId; return this; @@ -219,29 +154,6 @@ public void setQuoteAssetId(@jakarta.annotation.Nonnull String quoteAssetId) { this.quoteAssetId = quoteAssetId; } - public CreateQuote quoteAssetRail(@jakarta.annotation.Nullable TransferRail quoteAssetRail) { - this.quoteAssetRail = quoteAssetRail; - return this; - } - - /** - * Get quoteAssetRail - * - * @return quoteAssetRail - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferRail getQuoteAssetRail() { - return quoteAssetRail; - } - - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setQuoteAssetRail(@jakarta.annotation.Nullable TransferRail quoteAssetRail) { - this.quoteAssetRail = quoteAssetRail; - } - public CreateQuote baseAmount(@jakarta.annotation.Nonnull String baseAmount) { this.baseAmount = baseAmount; return this; @@ -312,26 +224,26 @@ public void setSettlement(@jakarta.annotation.Nullable DVPSettlement settlement) this.settlement = settlement; } - public CreateQuote side(@jakarta.annotation.Nonnull SideEnum side) { + public CreateQuote side(@jakarta.annotation.Nonnull Side side) { this.side = side; return this; } /** - * Side of the order + * Get side * * @return side */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { + public Side getSide() { return side; } @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { + public void setSide(@jakarta.annotation.Nonnull Side side) { this.side = side; } @@ -347,9 +259,7 @@ public boolean equals(Object o) { CreateQuote createQuote = (CreateQuote) o; return Objects.equals(this.scope, createQuote.scope) && Objects.equals(this.baseAssetId, createQuote.baseAssetId) - && Objects.equals(this.baseAssetRail, createQuote.baseAssetRail) && Objects.equals(this.quoteAssetId, createQuote.quoteAssetId) - && Objects.equals(this.quoteAssetRail, createQuote.quoteAssetRail) && Objects.equals(this.baseAmount, createQuote.baseAmount) && Objects.equals(this.slippageBps, createQuote.slippageBps) && Objects.equals(this.settlement, createQuote.settlement) @@ -359,15 +269,7 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - scope, - baseAssetId, - baseAssetRail, - quoteAssetId, - quoteAssetRail, - baseAmount, - slippageBps, - settlement, - side); + scope, baseAssetId, quoteAssetId, baseAmount, slippageBps, settlement, side); } @Override @@ -376,9 +278,7 @@ public String toString() { sb.append("class CreateQuote {\n"); sb.append(" scope: ").append(toIndentedString(scope)).append("\n"); sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n"); - sb.append(" baseAssetRail: ").append(toIndentedString(baseAssetRail)).append("\n"); sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n"); - sb.append(" quoteAssetRail: ").append(toIndentedString(quoteAssetRail)).append("\n"); sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n"); sb.append(" slippageBps: ").append(toIndentedString(slippageBps)).append("\n"); sb.append(" settlement: ").append(toIndentedString(settlement)).append("\n"); @@ -463,16 +363,6 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getBaseAssetId())))); } - // add `baseAssetRail` to the URL query string - if (getBaseAssetRail() != null) { - joiner.add( - String.format( - "%sbaseAssetRail%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBaseAssetRail())))); - } - // add `quoteAssetId` to the URL query string if (getQuoteAssetId() != null) { joiner.add( @@ -483,16 +373,6 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetId())))); } - // add `quoteAssetRail` to the URL query string - if (getQuoteAssetRail() != null) { - joiner.add( - String.format( - "%squoteAssetRail%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetRail())))); - } - // add `baseAmount` to the URL query string if (getBaseAmount() != null) { joiner.add( diff --git a/src/main/java/com/fireblocks/sdk/model/CreateQuoteScopeInner.java b/src/main/java/com/fireblocks/sdk/model/CreateQuoteScopeInner.java index 98b6c41d..6e532fd6 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateQuoteScopeInner.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateQuoteScopeInner.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -80,89 +80,46 @@ public CreateQuoteScopeInner deserialize(JsonParser jp, DeserializationContext c boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); int match = 0; JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize AccountProviderID + // deserialize ScopeItem try { boolean attemptParsing = true; // ensure that we respect type coercion as set on the client ObjectMapper - if (AccountProviderID.class.equals(Integer.class) - || AccountProviderID.class.equals(Long.class) - || AccountProviderID.class.equals(Float.class) - || AccountProviderID.class.equals(Double.class) - || AccountProviderID.class.equals(Boolean.class) - || AccountProviderID.class.equals(String.class)) { + if (ScopeItem.class.equals(Integer.class) + || ScopeItem.class.equals(Long.class) + || ScopeItem.class.equals(Float.class) + || ScopeItem.class.equals(Double.class) + || ScopeItem.class.equals(Boolean.class) + || ScopeItem.class.equals(String.class)) { attemptParsing = typeCoercion; if (!attemptParsing) { attemptParsing |= - ((AccountProviderID.class.equals(Integer.class) - || AccountProviderID.class.equals(Long.class)) + ((ScopeItem.class.equals(Integer.class) + || ScopeItem.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); attemptParsing |= - ((AccountProviderID.class.equals(Float.class) - || AccountProviderID.class.equals(Double.class)) + ((ScopeItem.class.equals(Float.class) + || ScopeItem.class.equals(Double.class)) && token == JsonToken.VALUE_NUMBER_FLOAT); attemptParsing |= - (AccountProviderID.class.equals(Boolean.class) + (ScopeItem.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); attemptParsing |= - (AccountProviderID.class.equals(String.class) + (ScopeItem.class.equals(String.class) && token == JsonToken.VALUE_STRING); } } if (attemptParsing) { - deserialized = - tree.traverse(jp.getCodec()).readValueAs(AccountProviderID.class); + deserialized = tree.traverse(jp.getCodec()).readValueAs(ScopeItem.class); // TODO: there is no validation against JSON schema constraints // (min, max, enum, pattern...), this does not perform a strict JSON // validation, which means the 'match' count may be higher than it should be. match++; - log.log(Level.FINER, "Input data matches schema 'AccountProviderID'"); + log.log(Level.FINER, "Input data matches schema 'ScopeItem'"); } } catch (Exception e) { // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'AccountProviderID'", e); - } - - // deserialize ProviderID - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (ProviderID.class.equals(Integer.class) - || ProviderID.class.equals(Long.class) - || ProviderID.class.equals(Float.class) - || ProviderID.class.equals(Double.class) - || ProviderID.class.equals(Boolean.class) - || ProviderID.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= - ((ProviderID.class.equals(Integer.class) - || ProviderID.class.equals(Long.class)) - && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= - ((ProviderID.class.equals(Float.class) - || ProviderID.class.equals(Double.class)) - && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= - (ProviderID.class.equals(Boolean.class) - && (token == JsonToken.VALUE_FALSE - || token == JsonToken.VALUE_TRUE)); - attemptParsing |= - (ProviderID.class.equals(String.class) - && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = tree.traverse(jp.getCodec()).readValueAs(ProviderID.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'ProviderID'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'ProviderID'", e); + log.log(Level.FINER, "Input data does not match schema 'ScopeItem'", e); } if (match == 1) { @@ -193,19 +150,13 @@ public CreateQuoteScopeInner() { super("oneOf", Boolean.FALSE); } - public CreateQuoteScopeInner(AccountProviderID o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public CreateQuoteScopeInner(ProviderID o) { + public CreateQuoteScopeInner(ScopeItem o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } static { - schemas.put("AccountProviderID", AccountProviderID.class); - schemas.put("ProviderID", ProviderID.class); + schemas.put("ScopeItem", ScopeItem.class); JSON.registerDescendants(CreateQuoteScopeInner.class, Collections.unmodifiableMap(schemas)); } @@ -216,30 +167,25 @@ public Map> getSchemas() { /** * Set the instance that matches the oneOf child schema, check the instance parameter is valid - * against the oneOf child schemas: AccountProviderID, ProviderID + * against the oneOf child schemas: ScopeItem * *

    It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be * a composed schema (allOf, anyOf, oneOf). */ @Override public void setActualInstance(Object instance) { - if (JSON.isInstanceOf(AccountProviderID.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - - if (JSON.isInstanceOf(ProviderID.class, instance, new HashSet>())) { + if (JSON.isInstanceOf(ScopeItem.class, instance, new HashSet>())) { super.setActualInstance(instance); return; } - throw new RuntimeException("Invalid instance type. Must be AccountProviderID, ProviderID"); + throw new RuntimeException("Invalid instance type. Must be ScopeItem"); } /** - * Get the actual instance, which can be the following: AccountProviderID, ProviderID + * Get the actual instance, which can be the following: ScopeItem * - * @return The actual instance (AccountProviderID, ProviderID) + * @return The actual instance (ScopeItem) */ @Override public Object getActualInstance() { @@ -247,25 +193,14 @@ public Object getActualInstance() { } /** - * Get the actual instance of `AccountProviderID`. If the actual instance is not - * `AccountProviderID`, the ClassCastException will be thrown. - * - * @return The actual instance of `AccountProviderID` - * @throws ClassCastException if the instance is not `AccountProviderID` - */ - public AccountProviderID getAccountProviderID() throws ClassCastException { - return (AccountProviderID) super.getActualInstance(); - } - - /** - * Get the actual instance of `ProviderID`. If the actual instance is not `ProviderID`, the + * Get the actual instance of `ScopeItem`. If the actual instance is not `ScopeItem`, the * ClassCastException will be thrown. * - * @return The actual instance of `ProviderID` - * @throws ClassCastException if the instance is not `ProviderID` + * @return The actual instance of `ScopeItem` + * @throws ClassCastException if the instance is not `ScopeItem` */ - public ProviderID getProviderID() throws ClassCastException { - return (ProviderID) super.getActualInstance(); + public ScopeItem getScopeItem() throws ClassCastException { + return (ScopeItem) super.getActualInstance(); } /** @@ -300,22 +235,14 @@ public String toUrlQueryString(String prefix) { StringJoiner joiner = new StringJoiner("&"); - if (getActualInstance() instanceof AccountProviderID) { + if (getActualInstance() instanceof ScopeItem) { if (getActualInstance() != null) { joiner.add( - ((AccountProviderID) getActualInstance()) + ((ScopeItem) getActualInstance()) .toUrlQueryString(prefix + "one_of_0" + suffix)); } return joiner.toString(); } - if (getActualInstance() instanceof ProviderID) { - if (getActualInstance() != null) { - joiner.add( - ((ProviderID) getActualInstance()) - .toUrlQueryString(prefix + "one_of_1" + suffix)); - } - return joiner.toString(); - } return null; } } diff --git a/src/main/java/com/fireblocks/sdk/model/CreateSigningKeyDto.java b/src/main/java/com/fireblocks/sdk/model/CreateSigningKeyDto.java index b0b84cbb..9162b3ee 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateSigningKeyDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateSigningKeyDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateSigningKeyDtoProofOfOwnership.java b/src/main/java/com/fireblocks/sdk/model/CreateSigningKeyDtoProofOfOwnership.java index 75b1c6d5..9f01f874 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateSigningKeyDtoProofOfOwnership.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateSigningKeyDtoProofOfOwnership.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateTagRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateTagRequest.java index ba144520..68aea052 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateTagRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateTagRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -24,7 +24,9 @@ /** CreateTagRequest */ @JsonPropertyOrder({ CreateTagRequest.JSON_PROPERTY_LABEL, - CreateTagRequest.JSON_PROPERTY_DESCRIPTION + CreateTagRequest.JSON_PROPERTY_DESCRIPTION, + CreateTagRequest.JSON_PROPERTY_COLOR, + CreateTagRequest.JSON_PROPERTY_IS_PROTECTED }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -36,6 +38,12 @@ public class CreateTagRequest { public static final String JSON_PROPERTY_DESCRIPTION = "description"; @jakarta.annotation.Nullable private String description; + public static final String JSON_PROPERTY_COLOR = "color"; + @jakarta.annotation.Nullable private String color; + + public static final String JSON_PROPERTY_IS_PROTECTED = "isProtected"; + @jakarta.annotation.Nullable private Boolean isProtected = false; + public CreateTagRequest() {} @JsonCreator @@ -90,6 +98,52 @@ public void setDescription(@jakarta.annotation.Nullable String description) { this.description = description; } + public CreateTagRequest color(@jakarta.annotation.Nullable String color) { + this.color = color; + return this; + } + + /** + * The tag color in hex format + * + * @return color + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COLOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getColor() { + return color; + } + + @JsonProperty(JSON_PROPERTY_COLOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setColor(@jakarta.annotation.Nullable String color) { + this.color = color; + } + + public CreateTagRequest isProtected(@jakarta.annotation.Nullable Boolean isProtected) { + this.isProtected = isProtected; + return this; + } + + /** + * Indication if the tag is protected tag + * + * @return isProtected + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IS_PROTECTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIsProtected() { + return isProtected; + } + + @JsonProperty(JSON_PROPERTY_IS_PROTECTED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsProtected(@jakarta.annotation.Nullable Boolean isProtected) { + this.isProtected = isProtected; + } + /** Return true if this CreateTagRequest object is equal to o. */ @Override public boolean equals(Object o) { @@ -101,12 +155,14 @@ public boolean equals(Object o) { } CreateTagRequest createTagRequest = (CreateTagRequest) o; return Objects.equals(this.label, createTagRequest.label) - && Objects.equals(this.description, createTagRequest.description); + && Objects.equals(this.description, createTagRequest.description) + && Objects.equals(this.color, createTagRequest.color) + && Objects.equals(this.isProtected, createTagRequest.isProtected); } @Override public int hashCode() { - return Objects.hash(label, description); + return Objects.hash(label, description, color, isProtected); } @Override @@ -115,6 +171,8 @@ public String toString() { sb.append("class CreateTagRequest {\n"); sb.append(" label: ").append(toIndentedString(label)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" color: ").append(toIndentedString(color)).append("\n"); + sb.append(" isProtected: ").append(toIndentedString(isProtected)).append("\n"); sb.append("}"); return sb.toString(); } @@ -182,6 +240,26 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getDescription())))); } + // add `color` to the URL query string + if (getColor() != null) { + joiner.add( + String.format( + "%scolor%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getColor())))); + } + + // add `isProtected` to the URL query string + if (getIsProtected() != null) { + joiner.add( + String.format( + "%sisProtected%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getIsProtected())))); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/CreateTokenRequestDto.java b/src/main/java/com/fireblocks/sdk/model/CreateTokenRequestDto.java index 4a66f604..b51b015c 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateTokenRequestDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateTokenRequestDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParams.java b/src/main/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParams.java index 4e54e1e7..568816fe 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParams.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateTransactionResponse.java b/src/main/java/com/fireblocks/sdk/model/CreateTransactionResponse.java index 0284de9c..33429f0c 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateTransactionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateTransactionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,6 +17,8 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fireblocks.sdk.ApiClient; +import java.util.ArrayList; +import java.util.List; import java.util.Objects; import java.util.StringJoiner; @@ -37,7 +39,7 @@ public class CreateTransactionResponse { @jakarta.annotation.Nullable private String status; public static final String JSON_PROPERTY_SYSTEM_MESSAGES = "systemMessages"; - @jakarta.annotation.Nullable private SystemMessageInfo systemMessages; + @jakarta.annotation.Nullable private List systemMessages; public CreateTransactionResponse() {} @@ -89,11 +91,19 @@ public void setStatus(@jakarta.annotation.Nullable String status) { } public CreateTransactionResponse systemMessages( - @jakarta.annotation.Nullable SystemMessageInfo systemMessages) { + @jakarta.annotation.Nullable List systemMessages) { this.systemMessages = systemMessages; return this; } + public CreateTransactionResponse addSystemMessagesItem(SystemMessageInfo systemMessagesItem) { + if (this.systemMessages == null) { + this.systemMessages = new ArrayList<>(); + } + this.systemMessages.add(systemMessagesItem); + return this; + } + /** * Get systemMessages * @@ -102,13 +112,14 @@ public CreateTransactionResponse systemMessages( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SYSTEM_MESSAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SystemMessageInfo getSystemMessages() { + public List getSystemMessages() { return systemMessages; } @JsonProperty(JSON_PROPERTY_SYSTEM_MESSAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSystemMessages(@jakarta.annotation.Nullable SystemMessageInfo systemMessages) { + public void setSystemMessages( + @jakarta.annotation.Nullable List systemMessages) { this.systemMessages = systemMessages; } @@ -206,7 +217,25 @@ public String toUrlQueryString(String prefix) { // add `systemMessages` to the URL query string if (getSystemMessages() != null) { - joiner.add(getSystemMessages().toUrlQueryString(prefix + "systemMessages" + suffix)); + for (int i = 0; i < getSystemMessages().size(); i++) { + if (getSystemMessages().get(i) != null) { + joiner.add( + getSystemMessages() + .get(i) + .toUrlQueryString( + String.format( + "%ssystemMessages%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } } return joiner.toString(); diff --git a/src/main/java/com/fireblocks/sdk/model/CreateTransferConfigOperationRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateTransferConfigOperationRequest.java index 9619d678..7cf9ad29 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateTransferConfigOperationRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateTransferConfigOperationRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateUserGroupResponse.java b/src/main/java/com/fireblocks/sdk/model/CreateUserGroupResponse.java index 81d4c2ec..ab58da48 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateUserGroupResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateUserGroupResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateValidationKeyDto.java b/src/main/java/com/fireblocks/sdk/model/CreateValidationKeyDto.java index 998e5d52..033389cd 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateValidationKeyDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateValidationKeyDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateValidationKeyResponseDto.java b/src/main/java/com/fireblocks/sdk/model/CreateValidationKeyResponseDto.java index 095a253b..8077da79 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateValidationKeyResponseDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateValidationKeyResponseDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateVaultAccountConnectionRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateVaultAccountConnectionRequest.java index da16a076..a73905e4 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateVaultAccountConnectionRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateVaultAccountConnectionRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateVaultAccountRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateVaultAccountRequest.java index 95710c03..9556c55c 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateVaultAccountRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateVaultAccountRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateVaultAssetResponse.java b/src/main/java/com/fireblocks/sdk/model/CreateVaultAssetResponse.java index fc6a1b98..b1b5b611 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateVaultAssetResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateVaultAssetResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateWalletRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateWalletRequest.java index b6a63f18..b13d76d9 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateWalletRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateWalletRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateWebhookRequest.java b/src/main/java/com/fireblocks/sdk/model/CreateWebhookRequest.java index a5d4b054..b9a04dde 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateWebhookRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateWebhookRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CreateWorkflowExecutionRequestParamsInner.java b/src/main/java/com/fireblocks/sdk/model/CreateWorkflowExecutionRequestParamsInner.java index 9ba7676d..886a363c 100644 --- a/src/main/java/com/fireblocks/sdk/model/CreateWorkflowExecutionRequestParamsInner.java +++ b/src/main/java/com/fireblocks/sdk/model/CreateWorkflowExecutionRequestParamsInner.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/CustomRoutingDest.java b/src/main/java/com/fireblocks/sdk/model/CustomRoutingDest.java index ffafb1f2..d67938a4 100644 --- a/src/main/java/com/fireblocks/sdk/model/CustomRoutingDest.java +++ b/src/main/java/com/fireblocks/sdk/model/CustomRoutingDest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DAppAddressConfig.java b/src/main/java/com/fireblocks/sdk/model/DAppAddressConfig.java index 807daef9..5c230ae9 100644 --- a/src/main/java/com/fireblocks/sdk/model/DAppAddressConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/DAppAddressConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DVPSettlement.java b/src/main/java/com/fireblocks/sdk/model/DVPSettlement.java index cdd22f37..a80b1529 100644 --- a/src/main/java/com/fireblocks/sdk/model/DVPSettlement.java +++ b/src/main/java/com/fireblocks/sdk/model/DVPSettlement.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -32,39 +31,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class DVPSettlement { - /** Gets or Sets type */ - public enum TypeEnum { - DVP(String.valueOf("DVP")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private DVPSettlementType type; public static final String JSON_PROPERTY_SOURCE_ACCOUNT = "sourceAccount"; @jakarta.annotation.Nonnull private SettlementSourceAccount sourceAccount; @@ -76,7 +44,7 @@ public DVPSettlement() {} @JsonCreator public DVPSettlement( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) DVPSettlementType type, @JsonProperty(value = JSON_PROPERTY_SOURCE_ACCOUNT, required = true) SettlementSourceAccount sourceAccount, @JsonProperty(value = JSON_PROPERTY_DESTINATION_ACCOUNT, required = true) @@ -86,7 +54,7 @@ public DVPSettlement( this.destinationAccount = destinationAccount; } - public DVPSettlement type(@jakarta.annotation.Nonnull TypeEnum type) { + public DVPSettlement type(@jakarta.annotation.Nonnull DVPSettlementType type) { this.type = type; return this; } @@ -99,13 +67,13 @@ public DVPSettlement type(@jakarta.annotation.Nonnull TypeEnum type) { @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public DVPSettlementType getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull DVPSettlementType type) { this.type = type; } diff --git a/src/main/java/com/fireblocks/sdk/model/DVPSettlementType.java b/src/main/java/com/fireblocks/sdk/model/DVPSettlementType.java new file mode 100644 index 00000000..527f258f --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/DVPSettlementType.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets DVPSettlementType */ +public enum DVPSettlementType { + DVP("DVP"); + + private String value; + + DVPSettlementType(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static DVPSettlementType fromValue(String value) { + for (DVPSettlementType b : DVPSettlementType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/DecodedLog.java b/src/main/java/com/fireblocks/sdk/model/DecodedLog.java new file mode 100644 index 00000000..1a241bc9 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/DecodedLog.java @@ -0,0 +1,316 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** + * Decoded event log from a blockchain transaction. Note - Additional dynamic properties may be + * present beyond the required ones. + */ +@JsonPropertyOrder({ + DecodedLog.JSON_PROPERTY_ADDRESS, + DecodedLog.JSON_PROPERTY_BLOCK_HASH, + DecodedLog.JSON_PROPERTY_BLOCK_NUMBER, + DecodedLog.JSON_PROPERTY_TRANSACTION_HASH, + DecodedLog.JSON_PROPERTY_LOG_INDEX +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class DecodedLog { + public static final String JSON_PROPERTY_ADDRESS = "address"; + @jakarta.annotation.Nonnull private String address; + + public static final String JSON_PROPERTY_BLOCK_HASH = "blockHash"; + @jakarta.annotation.Nonnull private String blockHash; + + public static final String JSON_PROPERTY_BLOCK_NUMBER = "blockNumber"; + @jakarta.annotation.Nonnull private String blockNumber; + + public static final String JSON_PROPERTY_TRANSACTION_HASH = "transactionHash"; + @jakarta.annotation.Nonnull private String transactionHash; + + public static final String JSON_PROPERTY_LOG_INDEX = "logIndex"; + @jakarta.annotation.Nonnull private String logIndex; + + public DecodedLog() {} + + @JsonCreator + public DecodedLog( + @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) String address, + @JsonProperty(value = JSON_PROPERTY_BLOCK_HASH, required = true) String blockHash, + @JsonProperty(value = JSON_PROPERTY_BLOCK_NUMBER, required = true) String blockNumber, + @JsonProperty(value = JSON_PROPERTY_TRANSACTION_HASH, required = true) + String transactionHash, + @JsonProperty(value = JSON_PROPERTY_LOG_INDEX, required = true) String logIndex) { + this.address = address; + this.blockHash = blockHash; + this.blockNumber = blockNumber; + this.transactionHash = transactionHash; + this.logIndex = logIndex; + } + + public DecodedLog address(@jakarta.annotation.Nonnull String address) { + this.address = address; + return this; + } + + /** + * Contract address that emitted the log + * + * @return address + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAddress() { + return address; + } + + @JsonProperty(JSON_PROPERTY_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAddress(@jakarta.annotation.Nonnull String address) { + this.address = address; + } + + public DecodedLog blockHash(@jakarta.annotation.Nonnull String blockHash) { + this.blockHash = blockHash; + return this; + } + + /** + * Hash of the block containing this log + * + * @return blockHash + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BLOCK_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBlockHash() { + return blockHash; + } + + @JsonProperty(JSON_PROPERTY_BLOCK_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBlockHash(@jakarta.annotation.Nonnull String blockHash) { + this.blockHash = blockHash; + } + + public DecodedLog blockNumber(@jakarta.annotation.Nonnull String blockNumber) { + this.blockNumber = blockNumber; + return this; + } + + /** + * Block number containing this log + * + * @return blockNumber + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BLOCK_NUMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBlockNumber() { + return blockNumber; + } + + @JsonProperty(JSON_PROPERTY_BLOCK_NUMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBlockNumber(@jakarta.annotation.Nonnull String blockNumber) { + this.blockNumber = blockNumber; + } + + public DecodedLog transactionHash(@jakarta.annotation.Nonnull String transactionHash) { + this.transactionHash = transactionHash; + return this; + } + + /** + * Hash of the transaction that generated this log + * + * @return transactionHash + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TRANSACTION_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getTransactionHash() { + return transactionHash; + } + + @JsonProperty(JSON_PROPERTY_TRANSACTION_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTransactionHash(@jakarta.annotation.Nonnull String transactionHash) { + this.transactionHash = transactionHash; + } + + public DecodedLog logIndex(@jakarta.annotation.Nonnull String logIndex) { + this.logIndex = logIndex; + return this; + } + + /** + * Index of the log in the transaction + * + * @return logIndex + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_LOG_INDEX) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getLogIndex() { + return logIndex; + } + + @JsonProperty(JSON_PROPERTY_LOG_INDEX) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setLogIndex(@jakarta.annotation.Nonnull String logIndex) { + this.logIndex = logIndex; + } + + /** Return true if this DecodedLog object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DecodedLog decodedLog = (DecodedLog) o; + return Objects.equals(this.address, decodedLog.address) + && Objects.equals(this.blockHash, decodedLog.blockHash) + && Objects.equals(this.blockNumber, decodedLog.blockNumber) + && Objects.equals(this.transactionHash, decodedLog.transactionHash) + && Objects.equals(this.logIndex, decodedLog.logIndex); + } + + @Override + public int hashCode() { + return Objects.hash(address, blockHash, blockNumber, transactionHash, logIndex); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DecodedLog {\n"); + sb.append(" address: ").append(toIndentedString(address)).append("\n"); + sb.append(" blockHash: ").append(toIndentedString(blockHash)).append("\n"); + sb.append(" blockNumber: ").append(toIndentedString(blockNumber)).append("\n"); + sb.append(" transactionHash: ").append(toIndentedString(transactionHash)).append("\n"); + sb.append(" logIndex: ").append(toIndentedString(logIndex)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `address` to the URL query string + if (getAddress() != null) { + joiner.add( + String.format( + "%saddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAddress())))); + } + + // add `blockHash` to the URL query string + if (getBlockHash() != null) { + joiner.add( + String.format( + "%sblockHash%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBlockHash())))); + } + + // add `blockNumber` to the URL query string + if (getBlockNumber() != null) { + joiner.add( + String.format( + "%sblockNumber%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBlockNumber())))); + } + + // add `transactionHash` to the URL query string + if (getTransactionHash() != null) { + joiner.add( + String.format( + "%stransactionHash%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTransactionHash())))); + } + + // add `logIndex` to the URL query string + if (getLogIndex() != null) { + joiner.add( + String.format( + "%slogIndex%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getLogIndex())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/DefaultNetworkRoutingDest.java b/src/main/java/com/fireblocks/sdk/model/DefaultNetworkRoutingDest.java index e870a27f..3ab747ff 100644 --- a/src/main/java/com/fireblocks/sdk/model/DefaultNetworkRoutingDest.java +++ b/src/main/java/com/fireblocks/sdk/model/DefaultNetworkRoutingDest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Delegation.java b/src/main/java/com/fireblocks/sdk/model/Delegation.java index e9429971..0450777d 100644 --- a/src/main/java/com/fireblocks/sdk/model/Delegation.java +++ b/src/main/java/com/fireblocks/sdk/model/Delegation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -98,7 +98,7 @@ public class Delegation { @jakarta.annotation.Nullable private String inProgressTxId; public static final String JSON_PROPERTY_BLOCKCHAIN_POSITION_INFO = "blockchainPositionInfo"; - @jakarta.annotation.Nonnull private SolanaBlockchainData blockchainPositionInfo; + @jakarta.annotation.Nonnull private DelegationBlockchainPositionInfo blockchainPositionInfo; public static final String JSON_PROPERTY_RELATED_REQUESTS = "relatedRequests"; @jakarta.annotation.Nullable private List relatedRequests; @@ -133,7 +133,7 @@ public Delegation( List availableActions, @JsonProperty(value = JSON_PROPERTY_IN_PROGRESS, required = true) Boolean inProgress, @JsonProperty(value = JSON_PROPERTY_BLOCKCHAIN_POSITION_INFO, required = true) - SolanaBlockchainData blockchainPositionInfo) { + DelegationBlockchainPositionInfo blockchainPositionInfo) { this.id = id; this.vaultAccountId = vaultAccountId; this.validatorName = validatorName; @@ -273,7 +273,9 @@ public Delegation amount(@jakarta.annotation.Nonnull String amount) { } /** - * Amount of tokens to stake, measured in the staked asset unit. + * 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. * * @return amount */ @@ -501,8 +503,7 @@ public Delegation inProgress(@jakarta.annotation.Nonnull Boolean inProgress) { } /** - * Indicates whether there is an ongoing action for this position (true if ongoing, false if - * not). + * Indicates whether there is an ongoing action for this position related to this request * * @return inProgress */ @@ -525,7 +526,8 @@ public Delegation inProgressTxId(@jakarta.annotation.Nullable String inProgressT } /** - * The transaction ID of the ongoing request + * The transaction ID of the initial stake position request only. Only present when there is an + * active initial stake transaction. * * @return inProgressTxId */ @@ -543,7 +545,7 @@ public void setInProgressTxId(@jakarta.annotation.Nullable String inProgressTxId } public Delegation blockchainPositionInfo( - @jakarta.annotation.Nonnull SolanaBlockchainData blockchainPositionInfo) { + @jakarta.annotation.Nonnull DelegationBlockchainPositionInfo blockchainPositionInfo) { this.blockchainPositionInfo = blockchainPositionInfo; return this; } @@ -556,14 +558,14 @@ public Delegation blockchainPositionInfo( @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BLOCKCHAIN_POSITION_INFO) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SolanaBlockchainData getBlockchainPositionInfo() { + public DelegationBlockchainPositionInfo getBlockchainPositionInfo() { return blockchainPositionInfo; } @JsonProperty(JSON_PROPERTY_BLOCKCHAIN_POSITION_INFO) @JsonInclude(value = JsonInclude.Include.ALWAYS) public void setBlockchainPositionInfo( - @jakarta.annotation.Nonnull SolanaBlockchainData blockchainPositionInfo) { + @jakarta.annotation.Nonnull DelegationBlockchainPositionInfo blockchainPositionInfo) { this.blockchainPositionInfo = blockchainPositionInfo; } @@ -582,11 +584,7 @@ public Delegation addRelatedRequestsItem(RelatedRequest relatedRequestsItem) { } /** - * 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. + * Get relatedRequests * * @return relatedRequests */ diff --git a/src/main/java/com/fireblocks/sdk/model/DelegationBlockchainPositionInfo.java b/src/main/java/com/fireblocks/sdk/model/DelegationBlockchainPositionInfo.java new file mode 100644 index 00000000..b430fce7 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/DelegationBlockchainPositionInfo.java @@ -0,0 +1,428 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import com.fireblocks.sdk.JSON; +import java.io.IOException; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.StringJoiner; +import java.util.logging.Level; +import java.util.logging.Logger; + +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +@JsonDeserialize( + using = DelegationBlockchainPositionInfo.DelegationBlockchainPositionInfoDeserializer.class) +@JsonSerialize( + using = DelegationBlockchainPositionInfo.DelegationBlockchainPositionInfoSerializer.class) +public class DelegationBlockchainPositionInfo extends AbstractOpenApiSchema { + private static final Logger log = + Logger.getLogger(DelegationBlockchainPositionInfo.class.getName()); + + public static class DelegationBlockchainPositionInfoSerializer + extends StdSerializer { + public DelegationBlockchainPositionInfoSerializer( + Class t) { + super(t); + } + + public DelegationBlockchainPositionInfoSerializer() { + this(null); + } + + @Override + public void serialize( + DelegationBlockchainPositionInfo value, + JsonGenerator jgen, + SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); + } + } + + public static class DelegationBlockchainPositionInfoDeserializer + extends StdDeserializer { + public DelegationBlockchainPositionInfoDeserializer() { + this(DelegationBlockchainPositionInfo.class); + } + + public DelegationBlockchainPositionInfoDeserializer(Class vc) { + super(vc); + } + + @Override + public DelegationBlockchainPositionInfo deserialize( + JsonParser jp, DeserializationContext ctxt) + throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize EthereumBlockchainData + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (EthereumBlockchainData.class.equals(Integer.class) + || EthereumBlockchainData.class.equals(Long.class) + || EthereumBlockchainData.class.equals(Float.class) + || EthereumBlockchainData.class.equals(Double.class) + || EthereumBlockchainData.class.equals(Boolean.class) + || EthereumBlockchainData.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= + ((EthereumBlockchainData.class.equals(Integer.class) + || EthereumBlockchainData.class.equals(Long.class)) + && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= + ((EthereumBlockchainData.class.equals(Float.class) + || EthereumBlockchainData.class.equals( + Double.class)) + && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= + (EthereumBlockchainData.class.equals(Boolean.class) + && (token == JsonToken.VALUE_FALSE + || token == JsonToken.VALUE_TRUE)); + attemptParsing |= + (EthereumBlockchainData.class.equals(String.class) + && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = + tree.traverse(jp.getCodec()).readValueAs(EthereumBlockchainData.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'EthereumBlockchainData'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log( + Level.FINER, + "Input data does not match schema 'EthereumBlockchainData'", + e); + } + + // deserialize SolanaBlockchainData + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (SolanaBlockchainData.class.equals(Integer.class) + || SolanaBlockchainData.class.equals(Long.class) + || SolanaBlockchainData.class.equals(Float.class) + || SolanaBlockchainData.class.equals(Double.class) + || SolanaBlockchainData.class.equals(Boolean.class) + || SolanaBlockchainData.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= + ((SolanaBlockchainData.class.equals(Integer.class) + || SolanaBlockchainData.class.equals(Long.class)) + && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= + ((SolanaBlockchainData.class.equals(Float.class) + || SolanaBlockchainData.class.equals(Double.class)) + && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= + (SolanaBlockchainData.class.equals(Boolean.class) + && (token == JsonToken.VALUE_FALSE + || token == JsonToken.VALUE_TRUE)); + attemptParsing |= + (SolanaBlockchainData.class.equals(String.class) + && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = + tree.traverse(jp.getCodec()).readValueAs(SolanaBlockchainData.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'SolanaBlockchainData'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'SolanaBlockchainData'", e); + } + + // deserialize StEthBlockchainData + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (StEthBlockchainData.class.equals(Integer.class) + || StEthBlockchainData.class.equals(Long.class) + || StEthBlockchainData.class.equals(Float.class) + || StEthBlockchainData.class.equals(Double.class) + || StEthBlockchainData.class.equals(Boolean.class) + || StEthBlockchainData.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= + ((StEthBlockchainData.class.equals(Integer.class) + || StEthBlockchainData.class.equals(Long.class)) + && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= + ((StEthBlockchainData.class.equals(Float.class) + || StEthBlockchainData.class.equals(Double.class)) + && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= + (StEthBlockchainData.class.equals(Boolean.class) + && (token == JsonToken.VALUE_FALSE + || token == JsonToken.VALUE_TRUE)); + attemptParsing |= + (StEthBlockchainData.class.equals(String.class) + && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = + tree.traverse(jp.getCodec()).readValueAs(StEthBlockchainData.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'StEthBlockchainData'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'StEthBlockchainData'", e); + } + + if (match == 1) { + DelegationBlockchainPositionInfo ret = new DelegationBlockchainPositionInfo(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException( + String.format( + "Failed deserialization for DelegationBlockchainPositionInfo: %d" + + " classes match result, expected 1", + match)); + } + + /** Handle deserialization of the 'null' value. */ + @Override + public DelegationBlockchainPositionInfo getNullValue(DeserializationContext ctxt) + throws JsonMappingException { + throw new JsonMappingException( + ctxt.getParser(), "DelegationBlockchainPositionInfo cannot be null"); + } + } + + // store a list of schema names defined in oneOf + public static final Map> schemas = new HashMap<>(); + + public DelegationBlockchainPositionInfo() { + super("oneOf", Boolean.FALSE); + } + + public DelegationBlockchainPositionInfo(EthereumBlockchainData o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + public DelegationBlockchainPositionInfo(SolanaBlockchainData o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + public DelegationBlockchainPositionInfo(StEthBlockchainData o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("EthereumBlockchainData", EthereumBlockchainData.class); + schemas.put("SolanaBlockchainData", SolanaBlockchainData.class); + schemas.put("StEthBlockchainData", StEthBlockchainData.class); + JSON.registerDescendants( + DelegationBlockchainPositionInfo.class, Collections.unmodifiableMap(schemas)); + // Initialize and register the discriminator mappings. + Map> mappings = new HashMap>(); + mappings.put("ETH", EthereumBlockchainData.class); + mappings.put("ETH_TEST6", EthereumBlockchainData.class); + mappings.put("ETH_TEST_HOODI", EthereumBlockchainData.class); + mappings.put("SOL", SolanaBlockchainData.class); + mappings.put("SOL_TEST", SolanaBlockchainData.class); + mappings.put("STETH_ETH", StEthBlockchainData.class); + mappings.put("STETH_ETH_TEST6_DZFA", StEthBlockchainData.class); + mappings.put("STETH_ETH_TEST_HOODI", StEthBlockchainData.class); + mappings.put("EthereumBlockchainData", EthereumBlockchainData.class); + mappings.put("SolanaBlockchainData", SolanaBlockchainData.class); + mappings.put("StEthBlockchainData", StEthBlockchainData.class); + mappings.put("Delegation_blockchainPositionInfo", DelegationBlockchainPositionInfo.class); + JSON.registerDiscriminator( + DelegationBlockchainPositionInfo.class, "chainDescriptor", mappings); + } + + @Override + public Map> getSchemas() { + return DelegationBlockchainPositionInfo.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check the instance parameter is valid + * against the oneOf child schemas: EthereumBlockchainData, SolanaBlockchainData, + * StEthBlockchainData + * + *

    It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be + * a composed schema (allOf, anyOf, oneOf). + */ + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf(EthereumBlockchainData.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + if (JSON.isInstanceOf(SolanaBlockchainData.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + if (JSON.isInstanceOf(StEthBlockchainData.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException( + "Invalid instance type. Must be EthereumBlockchainData, SolanaBlockchainData," + + " StEthBlockchainData"); + } + + /** + * Get the actual instance, which can be the following: EthereumBlockchainData, + * SolanaBlockchainData, StEthBlockchainData + * + * @return The actual instance (EthereumBlockchainData, SolanaBlockchainData, + * StEthBlockchainData) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `EthereumBlockchainData`. If the actual instance is not + * `EthereumBlockchainData`, the ClassCastException will be thrown. + * + * @return The actual instance of `EthereumBlockchainData` + * @throws ClassCastException if the instance is not `EthereumBlockchainData` + */ + public EthereumBlockchainData getEthereumBlockchainData() throws ClassCastException { + return (EthereumBlockchainData) super.getActualInstance(); + } + + /** + * Get the actual instance of `SolanaBlockchainData`. If the actual instance is not + * `SolanaBlockchainData`, the ClassCastException will be thrown. + * + * @return The actual instance of `SolanaBlockchainData` + * @throws ClassCastException if the instance is not `SolanaBlockchainData` + */ + public SolanaBlockchainData getSolanaBlockchainData() throws ClassCastException { + return (SolanaBlockchainData) super.getActualInstance(); + } + + /** + * Get the actual instance of `StEthBlockchainData`. If the actual instance is not + * `StEthBlockchainData`, the ClassCastException will be thrown. + * + * @return The actual instance of `StEthBlockchainData` + * @throws ClassCastException if the instance is not `StEthBlockchainData` + */ + public StEthBlockchainData getStEthBlockchainData() throws ClassCastException { + return (StEthBlockchainData) super.getActualInstance(); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + if (getActualInstance() instanceof SolanaBlockchainData) { + if (getActualInstance() != null) { + joiner.add( + ((SolanaBlockchainData) getActualInstance()) + .toUrlQueryString(prefix + "one_of_0" + suffix)); + } + return joiner.toString(); + } + if (getActualInstance() instanceof EthereumBlockchainData) { + if (getActualInstance() != null) { + joiner.add( + ((EthereumBlockchainData) getActualInstance()) + .toUrlQueryString(prefix + "one_of_1" + suffix)); + } + return joiner.toString(); + } + if (getActualInstance() instanceof StEthBlockchainData) { + if (getActualInstance() != null) { + joiner.add( + ((StEthBlockchainData) getActualInstance()) + .toUrlQueryString(prefix + "one_of_2" + suffix)); + } + return joiner.toString(); + } + return null; + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/DelegationSummary.java b/src/main/java/com/fireblocks/sdk/model/DelegationSummary.java index 83365d0a..1e9b0aae 100644 --- a/src/main/java/com/fireblocks/sdk/model/DelegationSummary.java +++ b/src/main/java/com/fireblocks/sdk/model/DelegationSummary.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DeleteNetworkConnectionResponse.java b/src/main/java/com/fireblocks/sdk/model/DeleteNetworkConnectionResponse.java index a28fc626..efbb3710 100644 --- a/src/main/java/com/fireblocks/sdk/model/DeleteNetworkConnectionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/DeleteNetworkConnectionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DeleteNetworkIdResponse.java b/src/main/java/com/fireblocks/sdk/model/DeleteNetworkIdResponse.java index 1d471dd3..877c6e44 100644 --- a/src/main/java/com/fireblocks/sdk/model/DeleteNetworkIdResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/DeleteNetworkIdResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DeployLayerZeroAdaptersRequest.java b/src/main/java/com/fireblocks/sdk/model/DeployLayerZeroAdaptersRequest.java index 9f18dbbc..ba00b6ee 100644 --- a/src/main/java/com/fireblocks/sdk/model/DeployLayerZeroAdaptersRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/DeployLayerZeroAdaptersRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DeployableAddressResponse.java b/src/main/java/com/fireblocks/sdk/model/DeployableAddressResponse.java index 63f90dc7..168893aa 100644 --- a/src/main/java/com/fireblocks/sdk/model/DeployableAddressResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/DeployableAddressResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DeployedContractNotFoundError.java b/src/main/java/com/fireblocks/sdk/model/DeployedContractNotFoundError.java index a7bb5670..8a9099ad 100644 --- a/src/main/java/com/fireblocks/sdk/model/DeployedContractNotFoundError.java +++ b/src/main/java/com/fireblocks/sdk/model/DeployedContractNotFoundError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DeployedContractResponseDto.java b/src/main/java/com/fireblocks/sdk/model/DeployedContractResponseDto.java index b224b7a3..2cc51620 100644 --- a/src/main/java/com/fireblocks/sdk/model/DeployedContractResponseDto.java +++ b/src/main/java/com/fireblocks/sdk/model/DeployedContractResponseDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DeployedContractsPaginatedResponse.java b/src/main/java/com/fireblocks/sdk/model/DeployedContractsPaginatedResponse.java index 241ee099..c2b5cb80 100644 --- a/src/main/java/com/fireblocks/sdk/model/DeployedContractsPaginatedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/DeployedContractsPaginatedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DepositFundsFromLinkedDDAResponse.java b/src/main/java/com/fireblocks/sdk/model/DepositFundsFromLinkedDDAResponse.java index 5fce8da5..d0fb3c16 100644 --- a/src/main/java/com/fireblocks/sdk/model/DepositFundsFromLinkedDDAResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/DepositFundsFromLinkedDDAResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DerivationPathConfig.java b/src/main/java/com/fireblocks/sdk/model/DerivationPathConfig.java index 1a05a739..2a131464 100644 --- a/src/main/java/com/fireblocks/sdk/model/DerivationPathConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/DerivationPathConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DesignatedSignersConfig.java b/src/main/java/com/fireblocks/sdk/model/DesignatedSignersConfig.java index 970283e1..62d838e9 100644 --- a/src/main/java/com/fireblocks/sdk/model/DesignatedSignersConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/DesignatedSignersConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Destination.java b/src/main/java/com/fireblocks/sdk/model/Destination.java index 2e492b41..2e046a6e 100644 --- a/src/main/java/com/fireblocks/sdk/model/Destination.java +++ b/src/main/java/com/fireblocks/sdk/model/Destination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DestinationConfig.java b/src/main/java/com/fireblocks/sdk/model/DestinationConfig.java index 64f9679e..50f8c285 100644 --- a/src/main/java/com/fireblocks/sdk/model/DestinationConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/DestinationConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPath.java b/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPath.java index af83c8f2..879ca7e7 100644 --- a/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPath.java +++ b/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPath.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPathResponse.java b/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPathResponse.java index 1b272d30..1e0509b4 100644 --- a/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPathResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/DestinationTransferPeerPathResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DirectAccess.java b/src/main/java/com/fireblocks/sdk/model/DirectAccess.java index fbff8b3f..f9a65052 100644 --- a/src/main/java/com/fireblocks/sdk/model/DirectAccess.java +++ b/src/main/java/com/fireblocks/sdk/model/DirectAccess.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DirectAccessProvider.java b/src/main/java/com/fireblocks/sdk/model/DirectAccessProvider.java index 1cafc291..b50b05c8 100644 --- a/src/main/java/com/fireblocks/sdk/model/DirectAccessProvider.java +++ b/src/main/java/com/fireblocks/sdk/model/DirectAccessProvider.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DirectAccessProviderDetails.java b/src/main/java/com/fireblocks/sdk/model/DirectAccessProviderDetails.java index fda3844b..6fb50ab5 100644 --- a/src/main/java/com/fireblocks/sdk/model/DirectAccessProviderDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/DirectAccessProviderDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementAmountInstruction.java b/src/main/java/com/fireblocks/sdk/model/DisbursementAmountInstruction.java index 432e43b5..8b2442e0 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementAmountInstruction.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementAmountInstruction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementConfigOperation.java b/src/main/java/com/fireblocks/sdk/model/DisbursementConfigOperation.java index 3467f6a3..b3742341 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementConfigOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementConfigOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementInstruction.java b/src/main/java/com/fireblocks/sdk/model/DisbursementInstruction.java index a68d4217..62558e75 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementInstruction.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementInstruction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementInstructionOutput.java b/src/main/java/com/fireblocks/sdk/model/DisbursementInstructionOutput.java index ea6a941e..5b884e9c 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementInstructionOutput.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementInstructionOutput.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationConfigParams.java b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationConfigParams.java index a2173646..289ba751 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationConfigParams.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationConfigParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecution.java b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecution.java index ed25bf7e..d4b0fb8a 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecution.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecution.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionOutput.java b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionOutput.java index d1ee4af6..2f85e4b0 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionOutput.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionOutput.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParams.java b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParams.java index 7ed6a4ef..a594a632 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParams.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsExecutionParams.java b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsExecutionParams.java index ba38e7f5..9a675412 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsExecutionParams.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsExecutionParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationInput.java b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationInput.java index a509e278..bc3677e6 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationInput.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationInput.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreview.java b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreview.java index fb37d529..c6e18661 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreview.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreview.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutput.java b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutput.java index d0bf869d..86243613 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutput.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutput.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputInstructionSetInner.java b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputInstructionSetInner.java index aa166cd8..501c0a9d 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputInstructionSetInner.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputInstructionSetInner.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationType.java b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationType.java index 4aa33c04..c1b9bcaa 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementOperationType.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementOperationType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementPercentageInstruction.java b/src/main/java/com/fireblocks/sdk/model/DisbursementPercentageInstruction.java index a2523eaa..3c052a56 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementPercentageInstruction.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementPercentageInstruction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DisbursementValidationFailure.java b/src/main/java/com/fireblocks/sdk/model/DisbursementValidationFailure.java index 8f0d0ee7..69b00d37 100644 --- a/src/main/java/com/fireblocks/sdk/model/DisbursementValidationFailure.java +++ b/src/main/java/com/fireblocks/sdk/model/DisbursementValidationFailure.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DispatchPayoutResponse.java b/src/main/java/com/fireblocks/sdk/model/DispatchPayoutResponse.java index 9355db58..242878e7 100644 --- a/src/main/java/com/fireblocks/sdk/model/DispatchPayoutResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/DispatchPayoutResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DraftResponse.java b/src/main/java/com/fireblocks/sdk/model/DraftResponse.java index 51e7306a..d6c5395b 100644 --- a/src/main/java/com/fireblocks/sdk/model/DraftResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/DraftResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DraftReviewAndValidationResponse.java b/src/main/java/com/fireblocks/sdk/model/DraftReviewAndValidationResponse.java index d5327e41..47be1793 100644 --- a/src/main/java/com/fireblocks/sdk/model/DraftReviewAndValidationResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/DraftReviewAndValidationResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DropTransactionRequest.java b/src/main/java/com/fireblocks/sdk/model/DropTransactionRequest.java index f28fc176..8b98e652 100644 --- a/src/main/java/com/fireblocks/sdk/model/DropTransactionRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/DropTransactionRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DropTransactionResponse.java b/src/main/java/com/fireblocks/sdk/model/DropTransactionResponse.java index 806d8c57..70cad448 100644 --- a/src/main/java/com/fireblocks/sdk/model/DropTransactionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/DropTransactionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DvnConfig.java b/src/main/java/com/fireblocks/sdk/model/DvnConfig.java index 71dd790e..9b617c77 100644 --- a/src/main/java/com/fireblocks/sdk/model/DvnConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/DvnConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/DvnConfigWithConfirmations.java b/src/main/java/com/fireblocks/sdk/model/DvnConfigWithConfirmations.java index 54e58bfb..c3a6b3d6 100644 --- a/src/main/java/com/fireblocks/sdk/model/DvnConfigWithConfirmations.java +++ b/src/main/java/com/fireblocks/sdk/model/DvnConfigWithConfirmations.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDto.java b/src/main/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDto.java index 90e3d736..e62b45a8 100644 --- a/src/main/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDto.java +++ b/src/main/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EditGasStationConfigurationResponse.java b/src/main/java/com/fireblocks/sdk/model/EditGasStationConfigurationResponse.java index 01d9fd9a..535e592c 100644 --- a/src/main/java/com/fireblocks/sdk/model/EditGasStationConfigurationResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/EditGasStationConfigurationResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWallet.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWallet.java index d9827e60..79f65156 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWallet.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWallet.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAccount.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAccount.java index f3edfccd..05ef51ff 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAddressDetails.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAddressDetails.java index 2db356f0..b64521c7 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAddressDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAddressDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAlgoritm.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAlgoritm.java index 68889b1d..425ec4f8 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAlgoritm.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAlgoritm.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetBalance.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetBalance.java index c9b2a450..1f16c2b7 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetBalance.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetBalance.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetResponse.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetResponse.java index 547942fd..68711e3a 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetRewardInfo.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetRewardInfo.java index 8655ec3b..806da590 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetRewardInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletAssetRewardInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDevice.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDevice.java index 2d94422f..4f7fbe73 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDevice.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDevice.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponse.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponse.java index f6feaf50..8545f5b4 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseSetupStatusInner.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseSetupStatusInner.java index 58c785c9..a7c58e50 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseSetupStatusInner.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseSetupStatusInner.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupKey.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupKey.java index e4ad9349..1b74cbee 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupKey.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupKey.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupResponse.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupResponse.java index ced26744..01666e4b 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAddressesResponse.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAddressesResponse.java index e20f8422..60802235 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAddressesResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAddressesResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAssetsResponse.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAssetsResponse.java index b1782cab..755001f7 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAssetsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAssetsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedDevicesResponse.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedDevicesResponse.java new file mode 100644 index 00000000..0728a9bf --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedDevicesResponse.java @@ -0,0 +1,213 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** EmbeddedWalletPaginatedDevicesResponse */ +@JsonPropertyOrder({ + EmbeddedWalletPaginatedDevicesResponse.JSON_PROPERTY_DATA, + EmbeddedWalletPaginatedDevicesResponse.JSON_PROPERTY_NEXT +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class EmbeddedWalletPaginatedDevicesResponse { + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nonnull private List data; + + public static final String JSON_PROPERTY_NEXT = "next"; + @jakarta.annotation.Nullable private String next; + + public EmbeddedWalletPaginatedDevicesResponse() {} + + @JsonCreator + public EmbeddedWalletPaginatedDevicesResponse( + @JsonProperty(value = JSON_PROPERTY_DATA, required = true) + List data) { + this.data = data; + } + + public EmbeddedWalletPaginatedDevicesResponse data( + @jakarta.annotation.Nonnull List data) { + this.data = data; + return this; + } + + public EmbeddedWalletPaginatedDevicesResponse addDataItem(EmbeddedWalletDevice dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * The data of the current page + * + * @return data + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setData(@jakarta.annotation.Nonnull List data) { + this.data = data; + } + + public EmbeddedWalletPaginatedDevicesResponse next(@jakarta.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * The ID of the next page + * + * @return next + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNext() { + return next; + } + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(@jakarta.annotation.Nullable String next) { + this.next = next; + } + + /** Return true if this EmbeddedWalletPaginatedDevicesResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmbeddedWalletPaginatedDevicesResponse embeddedWalletPaginatedDevicesResponse = + (EmbeddedWalletPaginatedDevicesResponse) o; + return Objects.equals(this.data, embeddedWalletPaginatedDevicesResponse.data) + && Objects.equals(this.next, embeddedWalletPaginatedDevicesResponse.next); + } + + @Override + public int hashCode() { + return Objects.hash(data, next); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmbeddedWalletPaginatedDevicesResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `data` to the URL query string + if (getData() != null) { + for (int i = 0; i < getData().size(); i++) { + if (getData().get(i) != null) { + joiner.add( + getData() + .get(i) + .toUrlQueryString( + String.format( + "%sdata%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + // add `next` to the URL query string + if (getNext() != null) { + joiner.add( + String.format( + "%snext%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNext())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedWalletsResponse.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedWalletsResponse.java index e349fcca..8e974d64 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedWalletsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedWalletsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletRequiredAlgorithms.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletRequiredAlgorithms.java new file mode 100644 index 00000000..10fbbe41 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletRequiredAlgorithms.java @@ -0,0 +1,64 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets EmbeddedWalletRequiredAlgorithms */ +public enum EmbeddedWalletRequiredAlgorithms { + MPC_ECDSA_SECP256_K1("MPC_ECDSA_SECP256K1"), + + MPC_EDDSA_ED25519("MPC_EDDSA_ED25519"); + + private String value; + + EmbeddedWalletRequiredAlgorithms(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static EmbeddedWalletRequiredAlgorithms fromValue(String value) { + for (EmbeddedWalletRequiredAlgorithms b : EmbeddedWalletRequiredAlgorithms.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletSetUpStatus.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletSetUpStatus.java index 1f1b6884..d71cbace 100644 --- a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletSetUpStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletSetUpStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletSetupStatusResponse.java b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletSetupStatusResponse.java new file mode 100644 index 00000000..6a0375f7 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/EmbeddedWalletSetupStatusResponse.java @@ -0,0 +1,289 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** EmbeddedWalletSetupStatusResponse */ +@JsonPropertyOrder({ + EmbeddedWalletSetupStatusResponse.JSON_PROPERTY_STATUS, + EmbeddedWalletSetupStatusResponse.JSON_PROPERTY_REQUIRED_ALGORITHMS, + EmbeddedWalletSetupStatusResponse.JSON_PROPERTY_DEVICE_SETUP_STATUS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class EmbeddedWalletSetupStatusResponse { + public static final String JSON_PROPERTY_STATUS = "status"; + @jakarta.annotation.Nonnull private EmbeddedWalletSetUpStatus status; + + public static final String JSON_PROPERTY_REQUIRED_ALGORITHMS = "requiredAlgorithms"; + @jakarta.annotation.Nonnull private List requiredAlgorithms; + + public static final String JSON_PROPERTY_DEVICE_SETUP_STATUS = "deviceSetupStatus"; + + @jakarta.annotation.Nonnull + private List deviceSetupStatus; + + public EmbeddedWalletSetupStatusResponse() {} + + @JsonCreator + public EmbeddedWalletSetupStatusResponse( + @JsonProperty(value = JSON_PROPERTY_STATUS, required = true) + EmbeddedWalletSetUpStatus status, + @JsonProperty(value = JSON_PROPERTY_REQUIRED_ALGORITHMS, required = true) + List requiredAlgorithms, + @JsonProperty(value = JSON_PROPERTY_DEVICE_SETUP_STATUS, required = true) + List deviceSetupStatus) { + this.status = status; + this.requiredAlgorithms = requiredAlgorithms; + this.deviceSetupStatus = deviceSetupStatus; + } + + public EmbeddedWalletSetupStatusResponse status( + @jakarta.annotation.Nonnull EmbeddedWalletSetUpStatus status) { + this.status = status; + return this; + } + + /** + * Get status + * + * @return status + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public EmbeddedWalletSetUpStatus getStatus() { + return status; + } + + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setStatus(@jakarta.annotation.Nonnull EmbeddedWalletSetUpStatus status) { + this.status = status; + } + + public EmbeddedWalletSetupStatusResponse requiredAlgorithms( + @jakarta.annotation.Nonnull List requiredAlgorithms) { + this.requiredAlgorithms = requiredAlgorithms; + return this; + } + + public EmbeddedWalletSetupStatusResponse addRequiredAlgorithmsItem( + EmbeddedWalletRequiredAlgorithms requiredAlgorithmsItem) { + if (this.requiredAlgorithms == null) { + this.requiredAlgorithms = new ArrayList<>(); + } + this.requiredAlgorithms.add(requiredAlgorithmsItem); + return this; + } + + /** + * Required algorithms for the wallet + * + * @return requiredAlgorithms + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_REQUIRED_ALGORITHMS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getRequiredAlgorithms() { + return requiredAlgorithms; + } + + @JsonProperty(JSON_PROPERTY_REQUIRED_ALGORITHMS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setRequiredAlgorithms( + @jakarta.annotation.Nonnull List requiredAlgorithms) { + this.requiredAlgorithms = requiredAlgorithms; + } + + public EmbeddedWalletSetupStatusResponse deviceSetupStatus( + @jakarta.annotation.Nonnull + List deviceSetupStatus) { + this.deviceSetupStatus = deviceSetupStatus; + return this; + } + + public EmbeddedWalletSetupStatusResponse addDeviceSetupStatusItem( + EmbeddedWalletDeviceKeySetupResponse deviceSetupStatusItem) { + if (this.deviceSetupStatus == null) { + this.deviceSetupStatus = new ArrayList<>(); + } + this.deviceSetupStatus.add(deviceSetupStatusItem); + return this; + } + + /** + * Setup status for each device + * + * @return deviceSetupStatus + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DEVICE_SETUP_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getDeviceSetupStatus() { + return deviceSetupStatus; + } + + @JsonProperty(JSON_PROPERTY_DEVICE_SETUP_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDeviceSetupStatus( + @jakarta.annotation.Nonnull + List deviceSetupStatus) { + this.deviceSetupStatus = deviceSetupStatus; + } + + /** Return true if this EmbeddedWalletSetupStatusResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EmbeddedWalletSetupStatusResponse embeddedWalletSetupStatusResponse = + (EmbeddedWalletSetupStatusResponse) o; + return Objects.equals(this.status, embeddedWalletSetupStatusResponse.status) + && Objects.equals( + this.requiredAlgorithms, + embeddedWalletSetupStatusResponse.requiredAlgorithms) + && Objects.equals( + this.deviceSetupStatus, + embeddedWalletSetupStatusResponse.deviceSetupStatus); + } + + @Override + public int hashCode() { + return Objects.hash(status, requiredAlgorithms, deviceSetupStatus); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EmbeddedWalletSetupStatusResponse {\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" requiredAlgorithms: ") + .append(toIndentedString(requiredAlgorithms)) + .append("\n"); + sb.append(" deviceSetupStatus: ") + .append(toIndentedString(deviceSetupStatus)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `status` to the URL query string + if (getStatus() != null) { + joiner.add(getStatus().toUrlQueryString(prefix + "status" + suffix)); + } + + // add `requiredAlgorithms` to the URL query string + if (getRequiredAlgorithms() != null) { + for (int i = 0; i < getRequiredAlgorithms().size(); i++) { + if (getRequiredAlgorithms().get(i) != null) { + joiner.add( + String.format( + "%srequiredAlgorithms%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode( + ApiClient.valueToString( + getRequiredAlgorithms().get(i))))); + } + } + } + + // add `deviceSetupStatus` to the URL query string + if (getDeviceSetupStatus() != null) { + for (int i = 0; i < getDeviceSetupStatus().size(); i++) { + if (getDeviceSetupStatus().get(i) != null) { + joiner.add( + getDeviceSetupStatus() + .get(i) + .toUrlQueryString( + String.format( + "%sdeviceSetupStatus%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TradingErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/EnableDevice.java similarity index 57% rename from src/main/java/com/fireblocks/sdk/model/TradingErrorResponse.java rename to src/main/java/com/fireblocks/sdk/model/EnableDevice.java index 4a93a22a..312635ff 100644 --- a/src/main/java/com/fireblocks/sdk/model/TradingErrorResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/EnableDevice.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,51 +17,51 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; -/** TradingErrorResponse */ -@JsonPropertyOrder({TradingErrorResponse.JSON_PROPERTY_ERROR}) +/** EnableDevice */ +@JsonPropertyOrder({EnableDevice.JSON_PROPERTY_ENABLED}) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class TradingErrorResponse { - public static final String JSON_PROPERTY_ERROR = "error"; - @jakarta.annotation.Nonnull private TradingErrorResponseError error; +public class EnableDevice { + public static final String JSON_PROPERTY_ENABLED = "enabled"; + @jakarta.annotation.Nonnull private Boolean enabled; - public TradingErrorResponse() {} + public EnableDevice() {} @JsonCreator - public TradingErrorResponse( - @JsonProperty(value = JSON_PROPERTY_ERROR, required = true) - TradingErrorResponseError error) { - this.error = error; + public EnableDevice( + @JsonProperty(value = JSON_PROPERTY_ENABLED, required = true) Boolean enabled) { + this.enabled = enabled; } - public TradingErrorResponse error(@jakarta.annotation.Nonnull TradingErrorResponseError error) { - this.error = error; + public EnableDevice enabled(@jakarta.annotation.Nonnull Boolean enabled) { + this.enabled = enabled; return this; } /** - * Get error + * Whether the device should be enabled or disabled * - * @return error + * @return enabled */ @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ERROR) + @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TradingErrorResponseError getError() { - return error; + public Boolean getEnabled() { + return enabled; } - @JsonProperty(JSON_PROPERTY_ERROR) + @JsonProperty(JSON_PROPERTY_ENABLED) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setError(@jakarta.annotation.Nonnull TradingErrorResponseError error) { - this.error = error; + public void setEnabled(@jakarta.annotation.Nonnull Boolean enabled) { + this.enabled = enabled; } - /** Return true if this TradingErrorResponse object is equal to o. */ + /** Return true if this EnableDevice object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -70,20 +70,20 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - TradingErrorResponse tradingErrorResponse = (TradingErrorResponse) o; - return Objects.equals(this.error, tradingErrorResponse.error); + EnableDevice enableDevice = (EnableDevice) o; + return Objects.equals(this.enabled, enableDevice.enabled); } @Override public int hashCode() { - return Objects.hash(error); + return Objects.hash(enabled); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class TradingErrorResponse {\n"); - sb.append(" error: ").append(toIndentedString(error)).append("\n"); + sb.append("class EnableDevice {\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,9 +131,14 @@ public String toUrlQueryString(String prefix) { StringJoiner joiner = new StringJoiner("&"); - // add `error` to the URL query string - if (getError() != null) { - joiner.add(getError().toUrlQueryString(prefix + "error" + suffix)); + // add `enabled` to the URL query string + if (getEnabled() != null) { + joiner.add( + String.format( + "%senabled%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getEnabled())))); } return joiner.toString(); diff --git a/src/main/java/com/fireblocks/sdk/model/EnableWallet.java b/src/main/java/com/fireblocks/sdk/model/EnableWallet.java new file mode 100644 index 00000000..02865a38 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/EnableWallet.java @@ -0,0 +1,146 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** EnableWallet */ +@JsonPropertyOrder({EnableWallet.JSON_PROPERTY_ENABLED}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class EnableWallet { + public static final String JSON_PROPERTY_ENABLED = "enabled"; + @jakarta.annotation.Nonnull private Boolean enabled; + + public EnableWallet() {} + + @JsonCreator + public EnableWallet( + @JsonProperty(value = JSON_PROPERTY_ENABLED, required = true) Boolean enabled) { + this.enabled = enabled; + } + + public EnableWallet enabled(@jakarta.annotation.Nonnull Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Whether the wallet should be enabled or disabled + * + * @return enabled + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ENABLED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getEnabled() { + return enabled; + } + + @JsonProperty(JSON_PROPERTY_ENABLED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setEnabled(@jakarta.annotation.Nonnull Boolean enabled) { + this.enabled = enabled; + } + + /** Return true if this EnableWallet object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EnableWallet enableWallet = (EnableWallet) o; + return Objects.equals(this.enabled, enableWallet.enabled); + } + + @Override + public int hashCode() { + return Objects.hash(enabled); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EnableWallet {\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `enabled` to the URL query string + if (getEnabled() != null) { + joiner.add( + String.format( + "%senabled%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getEnabled())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/ErrorResponse.java index 395762f0..54c97edc 100644 --- a/src/main/java/com/fireblocks/sdk/model/ErrorResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ErrorResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ErrorResponseError.java b/src/main/java/com/fireblocks/sdk/model/ErrorResponseError.java index 345eb034..423897e0 100644 --- a/src/main/java/com/fireblocks/sdk/model/ErrorResponseError.java +++ b/src/main/java/com/fireblocks/sdk/model/ErrorResponseError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ErrorSchema.java b/src/main/java/com/fireblocks/sdk/model/ErrorSchema.java index d14dfd0e..c413b214 100644 --- a/src/main/java/com/fireblocks/sdk/model/ErrorSchema.java +++ b/src/main/java/com/fireblocks/sdk/model/ErrorSchema.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EstimatedFeeDetails.java b/src/main/java/com/fireblocks/sdk/model/EstimatedFeeDetails.java index 2aac8a91..5a103051 100644 --- a/src/main/java/com/fireblocks/sdk/model/EstimatedFeeDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/EstimatedFeeDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EstimatedNetworkFeeResponse.java b/src/main/java/com/fireblocks/sdk/model/EstimatedNetworkFeeResponse.java index 512c56bb..e32026d9 100644 --- a/src/main/java/com/fireblocks/sdk/model/EstimatedNetworkFeeResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/EstimatedNetworkFeeResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EstimatedTransactionFeeResponse.java b/src/main/java/com/fireblocks/sdk/model/EstimatedTransactionFeeResponse.java index 15cf6f70..45260cbc 100644 --- a/src/main/java/com/fireblocks/sdk/model/EstimatedTransactionFeeResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/EstimatedTransactionFeeResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/EthereumBlockchainData.java b/src/main/java/com/fireblocks/sdk/model/EthereumBlockchainData.java new file mode 100644 index 00000000..7137c86a --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/EthereumBlockchainData.java @@ -0,0 +1,156 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** + * Additional fields per blockchain for Ethereum (ETH) - can be empty or missing if not initialized + * or no specific data is available. + */ +@JsonPropertyOrder({EthereumBlockchainData.JSON_PROPERTY_IS_COMPOUNDING_VALIDATOR}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class EthereumBlockchainData { + public static final String JSON_PROPERTY_IS_COMPOUNDING_VALIDATOR = "isCompoundingValidator"; + @jakarta.annotation.Nonnull private Boolean isCompoundingValidator; + + public EthereumBlockchainData() {} + + @JsonCreator + public EthereumBlockchainData( + @JsonProperty(value = JSON_PROPERTY_IS_COMPOUNDING_VALIDATOR, required = true) + Boolean isCompoundingValidator) { + this.isCompoundingValidator = isCompoundingValidator; + } + + public EthereumBlockchainData isCompoundingValidator( + @jakarta.annotation.Nonnull Boolean isCompoundingValidator) { + this.isCompoundingValidator = isCompoundingValidator; + return this; + } + + /** + * Is the validator compounding (i.e it was created with compounding validator type). + * + * @return isCompoundingValidator + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_IS_COMPOUNDING_VALIDATOR) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getIsCompoundingValidator() { + return isCompoundingValidator; + } + + @JsonProperty(JSON_PROPERTY_IS_COMPOUNDING_VALIDATOR) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIsCompoundingValidator( + @jakarta.annotation.Nonnull Boolean isCompoundingValidator) { + this.isCompoundingValidator = isCompoundingValidator; + } + + /** Return true if this EthereumBlockchainData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EthereumBlockchainData ethereumBlockchainData = (EthereumBlockchainData) o; + return Objects.equals( + this.isCompoundingValidator, ethereumBlockchainData.isCompoundingValidator); + } + + @Override + public int hashCode() { + return Objects.hash(isCompoundingValidator); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EthereumBlockchainData {\n"); + sb.append(" isCompoundingValidator: ") + .append(toIndentedString(isCompoundingValidator)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `isCompoundingValidator` to the URL query string + if (getIsCompoundingValidator() != null) { + joiner.add( + String.format( + "%sisCompoundingValidator%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getIsCompoundingValidator())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/EuropeanSEPAAddress.java b/src/main/java/com/fireblocks/sdk/model/EuropeanSEPAAddress.java new file mode 100644 index 00000000..8b00d70e --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/EuropeanSEPAAddress.java @@ -0,0 +1,421 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** EuropeanSEPAAddress */ +@JsonPropertyOrder({ + EuropeanSEPAAddress.JSON_PROPERTY_ACCOUNT_HOLDER, + EuropeanSEPAAddress.JSON_PROPERTY_IBAN, + EuropeanSEPAAddress.JSON_PROPERTY_BIC, + EuropeanSEPAAddress.JSON_PROPERTY_BANK_NAME, + EuropeanSEPAAddress.JSON_PROPERTY_BANK_BRANCH, + EuropeanSEPAAddress.JSON_PROPERTY_BANK_ADDRESS, + EuropeanSEPAAddress.JSON_PROPERTY_PURPOSE_CODE, + EuropeanSEPAAddress.JSON_PROPERTY_TAX_ID +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class EuropeanSEPAAddress { + public static final String JSON_PROPERTY_ACCOUNT_HOLDER = "accountHolder"; + @jakarta.annotation.Nonnull private AccountHolderDetails accountHolder; + + public static final String JSON_PROPERTY_IBAN = "iban"; + @jakarta.annotation.Nonnull private String iban; + + public static final String JSON_PROPERTY_BIC = "bic"; + @jakarta.annotation.Nullable private String bic; + + public static final String JSON_PROPERTY_BANK_NAME = "bankName"; + @jakarta.annotation.Nullable private String bankName; + + public static final String JSON_PROPERTY_BANK_BRANCH = "bankBranch"; + @jakarta.annotation.Nullable private String bankBranch; + + public static final String JSON_PROPERTY_BANK_ADDRESS = "bankAddress"; + @jakarta.annotation.Nullable private String bankAddress; + + public static final String JSON_PROPERTY_PURPOSE_CODE = "purposeCode"; + @jakarta.annotation.Nullable private String purposeCode; + + public static final String JSON_PROPERTY_TAX_ID = "taxId"; + @jakarta.annotation.Nullable private String taxId; + + public EuropeanSEPAAddress() {} + + @JsonCreator + public EuropeanSEPAAddress( + @JsonProperty(value = JSON_PROPERTY_ACCOUNT_HOLDER, required = true) + AccountHolderDetails accountHolder, + @JsonProperty(value = JSON_PROPERTY_IBAN, required = true) String iban) { + this.accountHolder = accountHolder; + this.iban = iban; + } + + public EuropeanSEPAAddress accountHolder( + @jakarta.annotation.Nonnull AccountHolderDetails accountHolder) { + this.accountHolder = accountHolder; + return this; + } + + /** + * Get accountHolder + * + * @return accountHolder + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public AccountHolderDetails getAccountHolder() { + return accountHolder; + } + + @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAccountHolder(@jakarta.annotation.Nonnull AccountHolderDetails accountHolder) { + this.accountHolder = accountHolder; + } + + public EuropeanSEPAAddress iban(@jakarta.annotation.Nonnull String iban) { + this.iban = iban; + return this; + } + + /** + * Get iban + * + * @return iban + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_IBAN) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getIban() { + return iban; + } + + @JsonProperty(JSON_PROPERTY_IBAN) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIban(@jakarta.annotation.Nonnull String iban) { + this.iban = iban; + } + + public EuropeanSEPAAddress bic(@jakarta.annotation.Nullable String bic) { + this.bic = bic; + return this; + } + + /** + * Get bic + * + * @return bic + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBic() { + return bic; + } + + @JsonProperty(JSON_PROPERTY_BIC) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBic(@jakarta.annotation.Nullable String bic) { + this.bic = bic; + } + + public EuropeanSEPAAddress bankName(@jakarta.annotation.Nullable String bankName) { + this.bankName = bankName; + return this; + } + + /** + * Get bankName + * + * @return bankName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BANK_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBankName() { + return bankName; + } + + @JsonProperty(JSON_PROPERTY_BANK_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBankName(@jakarta.annotation.Nullable String bankName) { + this.bankName = bankName; + } + + public EuropeanSEPAAddress bankBranch(@jakarta.annotation.Nullable String bankBranch) { + this.bankBranch = bankBranch; + return this; + } + + /** + * Get bankBranch + * + * @return bankBranch + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BANK_BRANCH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBankBranch() { + return bankBranch; + } + + @JsonProperty(JSON_PROPERTY_BANK_BRANCH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBankBranch(@jakarta.annotation.Nullable String bankBranch) { + this.bankBranch = bankBranch; + } + + public EuropeanSEPAAddress bankAddress(@jakarta.annotation.Nullable String bankAddress) { + this.bankAddress = bankAddress; + return this; + } + + /** + * Get bankAddress + * + * @return bankAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BANK_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBankAddress() { + return bankAddress; + } + + @JsonProperty(JSON_PROPERTY_BANK_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBankAddress(@jakarta.annotation.Nullable String bankAddress) { + this.bankAddress = bankAddress; + } + + public EuropeanSEPAAddress purposeCode(@jakarta.annotation.Nullable String purposeCode) { + this.purposeCode = purposeCode; + return this; + } + + /** + * Get purposeCode + * + * @return purposeCode + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PURPOSE_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPurposeCode() { + return purposeCode; + } + + @JsonProperty(JSON_PROPERTY_PURPOSE_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPurposeCode(@jakarta.annotation.Nullable String purposeCode) { + this.purposeCode = purposeCode; + } + + public EuropeanSEPAAddress taxId(@jakarta.annotation.Nullable String taxId) { + this.taxId = taxId; + return this; + } + + /** + * Get taxId + * + * @return taxId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TAX_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTaxId() { + return taxId; + } + + @JsonProperty(JSON_PROPERTY_TAX_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTaxId(@jakarta.annotation.Nullable String taxId) { + this.taxId = taxId; + } + + /** Return true if this EuropeanSEPAAddress object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EuropeanSEPAAddress europeanSEPAAddress = (EuropeanSEPAAddress) o; + return Objects.equals(this.accountHolder, europeanSEPAAddress.accountHolder) + && Objects.equals(this.iban, europeanSEPAAddress.iban) + && Objects.equals(this.bic, europeanSEPAAddress.bic) + && Objects.equals(this.bankName, europeanSEPAAddress.bankName) + && Objects.equals(this.bankBranch, europeanSEPAAddress.bankBranch) + && Objects.equals(this.bankAddress, europeanSEPAAddress.bankAddress) + && Objects.equals(this.purposeCode, europeanSEPAAddress.purposeCode) + && Objects.equals(this.taxId, europeanSEPAAddress.taxId); + } + + @Override + public int hashCode() { + return Objects.hash( + accountHolder, iban, bic, bankName, bankBranch, bankAddress, purposeCode, taxId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EuropeanSEPAAddress {\n"); + sb.append(" accountHolder: ").append(toIndentedString(accountHolder)).append("\n"); + sb.append(" iban: ").append(toIndentedString(iban)).append("\n"); + sb.append(" bic: ").append(toIndentedString(bic)).append("\n"); + sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n"); + sb.append(" bankBranch: ").append(toIndentedString(bankBranch)).append("\n"); + sb.append(" bankAddress: ").append(toIndentedString(bankAddress)).append("\n"); + sb.append(" purposeCode: ").append(toIndentedString(purposeCode)).append("\n"); + sb.append(" taxId: ").append(toIndentedString(taxId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `accountHolder` to the URL query string + if (getAccountHolder() != null) { + joiner.add(getAccountHolder().toUrlQueryString(prefix + "accountHolder" + suffix)); + } + + // add `iban` to the URL query string + if (getIban() != null) { + joiner.add( + String.format( + "%siban%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getIban())))); + } + + // add `bic` to the URL query string + if (getBic() != null) { + joiner.add( + String.format( + "%sbic%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBic())))); + } + + // add `bankName` to the URL query string + if (getBankName() != null) { + joiner.add( + String.format( + "%sbankName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBankName())))); + } + + // add `bankBranch` to the URL query string + if (getBankBranch() != null) { + joiner.add( + String.format( + "%sbankBranch%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBankBranch())))); + } + + // add `bankAddress` to the URL query string + if (getBankAddress() != null) { + joiner.add( + String.format( + "%sbankAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBankAddress())))); + } + + // add `purposeCode` to the URL query string + if (getPurposeCode() != null) { + joiner.add( + String.format( + "%spurposeCode%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPurposeCode())))); + } + + // add `taxId` to the URL query string + if (getTaxId() != null) { + joiner.add( + String.format( + "%staxId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTaxId())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/PostOrderSettlement.java b/src/main/java/com/fireblocks/sdk/model/EuropeanSEPADestination.java similarity index 63% rename from src/main/java/com/fireblocks/sdk/model/PostOrderSettlement.java rename to src/main/java/com/fireblocks/sdk/model/EuropeanSEPADestination.java index 66c6b552..c4b7c051 100644 --- a/src/main/java/com/fireblocks/sdk/model/PostOrderSettlement.java +++ b/src/main/java/com/fireblocks/sdk/model/EuropeanSEPADestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -22,15 +22,18 @@ import java.util.Objects; import java.util.StringJoiner; -/** PostOrderSettlement */ -@JsonPropertyOrder({PostOrderSettlement.JSON_PROPERTY_TYPE}) +/** EuropeanSEPADestination */ +@JsonPropertyOrder({ + EuropeanSEPADestination.JSON_PROPERTY_TYPE, + EuropeanSEPADestination.JSON_PROPERTY_ADDRESS +}) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class PostOrderSettlement { +public class EuropeanSEPADestination { /** Gets or Sets type */ public enum TypeEnum { - POST_ORDER(String.valueOf("POST_ORDER")); + EUROPEAN_SEPA(String.valueOf("EUROPEAN_SEPA")); private String value; @@ -62,15 +65,21 @@ public static TypeEnum fromValue(String value) { public static final String JSON_PROPERTY_TYPE = "type"; @jakarta.annotation.Nonnull private TypeEnum type; - public PostOrderSettlement() {} + public static final String JSON_PROPERTY_ADDRESS = "address"; + @jakarta.annotation.Nonnull private EuropeanSEPAAddress address; + + public EuropeanSEPADestination() {} @JsonCreator - public PostOrderSettlement( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type) { + public EuropeanSEPADestination( + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, + @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) + EuropeanSEPAAddress address) { this.type = type; + this.address = address; } - public PostOrderSettlement type(@jakarta.annotation.Nonnull TypeEnum type) { + public EuropeanSEPADestination type(@jakarta.annotation.Nonnull TypeEnum type) { this.type = type; return this; } @@ -93,7 +102,31 @@ public void setType(@jakarta.annotation.Nonnull TypeEnum type) { this.type = type; } - /** Return true if this PostOrderSettlement object is equal to o. */ + public EuropeanSEPADestination address( + @jakarta.annotation.Nonnull EuropeanSEPAAddress address) { + this.address = address; + return this; + } + + /** + * Get address + * + * @return address + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public EuropeanSEPAAddress getAddress() { + return address; + } + + @JsonProperty(JSON_PROPERTY_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAddress(@jakarta.annotation.Nonnull EuropeanSEPAAddress address) { + this.address = address; + } + + /** Return true if this EuropeanSEPADestination object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -102,20 +135,22 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - PostOrderSettlement postOrderSettlement = (PostOrderSettlement) o; - return Objects.equals(this.type, postOrderSettlement.type); + EuropeanSEPADestination europeanSEPADestination = (EuropeanSEPADestination) o; + return Objects.equals(this.type, europeanSEPADestination.type) + && Objects.equals(this.address, europeanSEPADestination.address); } @Override public int hashCode() { - return Objects.hash(type); + return Objects.hash(type, address); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class PostOrderSettlement {\n"); + sb.append("class EuropeanSEPADestination {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" address: ").append(toIndentedString(address)).append("\n"); sb.append("}"); return sb.toString(); } @@ -173,6 +208,11 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getType())))); } + // add `address` to the URL query string + if (getAddress() != null) { + joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix)); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/ExchangeAccount.java b/src/main/java/com/fireblocks/sdk/model/ExchangeAccount.java index c3ab8d6c..c373de12 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExchangeAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/ExchangeAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExchangeAsset.java b/src/main/java/com/fireblocks/sdk/model/ExchangeAsset.java index b678d0b8..f9bd40d7 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExchangeAsset.java +++ b/src/main/java/com/fireblocks/sdk/model/ExchangeAsset.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExchangeSettlementTransactionsResponse.java b/src/main/java/com/fireblocks/sdk/model/ExchangeSettlementTransactionsResponse.java index a0413fe8..fcff728d 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExchangeSettlementTransactionsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ExchangeSettlementTransactionsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExchangeTradingAccount.java b/src/main/java/com/fireblocks/sdk/model/ExchangeTradingAccount.java index 60aa41ff..b3eeaef8 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExchangeTradingAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/ExchangeTradingAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExchangeType.java b/src/main/java/com/fireblocks/sdk/model/ExchangeType.java index 24a89ff2..3ac91dcd 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExchangeType.java +++ b/src/main/java/com/fireblocks/sdk/model/ExchangeType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionConversionOperation.java b/src/main/java/com/fireblocks/sdk/model/ExecutionConversionOperation.java index 42b0269c..c7de5467 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionConversionOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionConversionOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionDisbursementOperation.java b/src/main/java/com/fireblocks/sdk/model/ExecutionDisbursementOperation.java index c684a23f..92276668 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionDisbursementOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionDisbursementOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionOperationStatus.java b/src/main/java/com/fireblocks/sdk/model/ExecutionOperationStatus.java index 2d46c3f8..413d4f89 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionOperationStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionOperationStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionRequestBaseDetails.java b/src/main/java/com/fireblocks/sdk/model/ExecutionRequestBaseDetails.java index a975283c..77ea1c54 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionRequestBaseDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionRequestBaseDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -35,41 +34,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class ExecutionRequestBaseDetails { - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY; + @jakarta.annotation.Nonnull private Side side; public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount"; @jakarta.annotation.Nonnull private String baseAmount; @@ -90,7 +56,7 @@ public ExecutionRequestBaseDetails() {} @JsonCreator public ExecutionRequestBaseDetails( - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side, + @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) Side side, @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) @@ -101,26 +67,26 @@ public ExecutionRequestBaseDetails( this.quoteAssetId = quoteAssetId; } - public ExecutionRequestBaseDetails side(@jakarta.annotation.Nonnull SideEnum side) { + public ExecutionRequestBaseDetails side(@jakarta.annotation.Nonnull Side side) { this.side = side; return this; } /** - * Side of the order + * Get side * * @return side */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { + public Side getSide() { return side; } @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { + public void setSide(@jakarta.annotation.Nonnull Side side) { this.side = side; } diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionRequestDetails.java b/src/main/java/com/fireblocks/sdk/model/ExecutionRequestDetails.java index 57077c5a..c39716d8 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionRequestDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionRequestDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -80,57 +80,6 @@ public ExecutionRequestDetails deserialize(JsonParser jp, DeserializationContext boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); int match = 0; JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize LimitExecutionRequestDetails - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (LimitExecutionRequestDetails.class.equals(Integer.class) - || LimitExecutionRequestDetails.class.equals(Long.class) - || LimitExecutionRequestDetails.class.equals(Float.class) - || LimitExecutionRequestDetails.class.equals(Double.class) - || LimitExecutionRequestDetails.class.equals(Boolean.class) - || LimitExecutionRequestDetails.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= - ((LimitExecutionRequestDetails.class.equals(Integer.class) - || LimitExecutionRequestDetails.class.equals( - Long.class)) - && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= - ((LimitExecutionRequestDetails.class.equals(Float.class) - || LimitExecutionRequestDetails.class.equals( - Double.class)) - && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= - (LimitExecutionRequestDetails.class.equals(Boolean.class) - && (token == JsonToken.VALUE_FALSE - || token == JsonToken.VALUE_TRUE)); - attemptParsing |= - (LimitExecutionRequestDetails.class.equals(String.class) - && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = - tree.traverse(jp.getCodec()) - .readValueAs(LimitExecutionRequestDetails.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log( - Level.FINER, - "Input data matches schema 'LimitExecutionRequestDetails'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log( - Level.FINER, - "Input data does not match schema 'LimitExecutionRequestDetails'", - e); - } - // deserialize MarketExecutionRequestDetails try { boolean attemptParsing = true; @@ -263,11 +212,6 @@ public ExecutionRequestDetails() { super("oneOf", Boolean.FALSE); } - public ExecutionRequestDetails(LimitExecutionRequestDetails o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - public ExecutionRequestDetails(MarketExecutionRequestDetails o) { super("oneOf", Boolean.FALSE); setActualInstance(o); @@ -279,7 +223,6 @@ public ExecutionRequestDetails(QuoteExecutionWithRequoteRequestDetails o) { } static { - schemas.put("LimitExecutionRequestDetails", LimitExecutionRequestDetails.class); schemas.put("MarketExecutionRequestDetails", MarketExecutionRequestDetails.class); schemas.put( "QuoteExecutionWithRequoteRequestDetails", @@ -288,10 +231,8 @@ public ExecutionRequestDetails(QuoteExecutionWithRequoteRequestDetails o) { ExecutionRequestDetails.class, Collections.unmodifiableMap(schemas)); // Initialize and register the discriminator mappings. Map> mappings = new HashMap>(); - mappings.put("LIMIT", LimitExecutionRequestDetails.class); mappings.put("MARKET", MarketExecutionRequestDetails.class); mappings.put("QUOTE", QuoteExecutionWithRequoteRequestDetails.class); - mappings.put("LimitExecutionRequestDetails", LimitExecutionRequestDetails.class); mappings.put("MarketExecutionRequestDetails", MarketExecutionRequestDetails.class); mappings.put( "QuoteExecutionWithRequoteRequestDetails", @@ -307,7 +248,7 @@ public Map> getSchemas() { /** * Set the instance that matches the oneOf child schema, check the instance parameter is valid - * against the oneOf child schemas: LimitExecutionRequestDetails, MarketExecutionRequestDetails, + * against the oneOf child schemas: MarketExecutionRequestDetails, * QuoteExecutionWithRequoteRequestDetails * *

    It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be @@ -315,12 +256,6 @@ public Map> getSchemas() { */ @Override public void setActualInstance(Object instance) { - if (JSON.isInstanceOf( - LimitExecutionRequestDetails.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - if (JSON.isInstanceOf( MarketExecutionRequestDetails.class, instance, new HashSet>())) { super.setActualInstance(instance); @@ -334,15 +269,15 @@ public void setActualInstance(Object instance) { } throw new RuntimeException( - "Invalid instance type. Must be LimitExecutionRequestDetails," - + " MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails"); + "Invalid instance type. Must be MarketExecutionRequestDetails," + + " QuoteExecutionWithRequoteRequestDetails"); } /** - * Get the actual instance, which can be the following: LimitExecutionRequestDetails, - * MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails + * Get the actual instance, which can be the following: MarketExecutionRequestDetails, + * QuoteExecutionWithRequoteRequestDetails * - * @return The actual instance (LimitExecutionRequestDetails, MarketExecutionRequestDetails, + * @return The actual instance (MarketExecutionRequestDetails, * QuoteExecutionWithRequoteRequestDetails) */ @Override @@ -350,18 +285,6 @@ public Object getActualInstance() { return super.getActualInstance(); } - /** - * Get the actual instance of `LimitExecutionRequestDetails`. If the actual instance is not - * `LimitExecutionRequestDetails`, the ClassCastException will be thrown. - * - * @return The actual instance of `LimitExecutionRequestDetails` - * @throws ClassCastException if the instance is not `LimitExecutionRequestDetails` - */ - public LimitExecutionRequestDetails getLimitExecutionRequestDetails() - throws ClassCastException { - return (LimitExecutionRequestDetails) super.getActualInstance(); - } - /** * Get the actual instance of `MarketExecutionRequestDetails`. If the actual instance is not * `MarketExecutionRequestDetails`, the ClassCastException will be thrown. @@ -418,19 +341,11 @@ public String toUrlQueryString(String prefix) { StringJoiner joiner = new StringJoiner("&"); - if (getActualInstance() instanceof LimitExecutionRequestDetails) { - if (getActualInstance() != null) { - joiner.add( - ((LimitExecutionRequestDetails) getActualInstance()) - .toUrlQueryString(prefix + "one_of_0" + suffix)); - } - return joiner.toString(); - } if (getActualInstance() instanceof MarketExecutionRequestDetails) { if (getActualInstance() != null) { joiner.add( ((MarketExecutionRequestDetails) getActualInstance()) - .toUrlQueryString(prefix + "one_of_1" + suffix)); + .toUrlQueryString(prefix + "one_of_0" + suffix)); } return joiner.toString(); } @@ -438,7 +353,7 @@ public String toUrlQueryString(String prefix) { if (getActualInstance() != null) { joiner.add( ((QuoteExecutionWithRequoteRequestDetails) getActualInstance()) - .toUrlQueryString(prefix + "one_of_2" + suffix)); + .toUrlQueryString(prefix + "one_of_1" + suffix)); } return joiner.toString(); } diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionResponseBaseDetails.java b/src/main/java/com/fireblocks/sdk/model/ExecutionResponseBaseDetails.java index 31e4216a..75150031 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionResponseBaseDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionResponseBaseDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -35,41 +34,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class ExecutionResponseBaseDetails { - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY; + @jakarta.annotation.Nonnull private Side side; public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount"; @jakarta.annotation.Nonnull private String baseAmount; @@ -90,7 +56,7 @@ public ExecutionResponseBaseDetails() {} @JsonCreator public ExecutionResponseBaseDetails( - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side, + @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) Side side, @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) @@ -101,26 +67,26 @@ public ExecutionResponseBaseDetails( this.quoteAssetId = quoteAssetId; } - public ExecutionResponseBaseDetails side(@jakarta.annotation.Nonnull SideEnum side) { + public ExecutionResponseBaseDetails side(@jakarta.annotation.Nonnull Side side) { this.side = side; return this; } /** - * Side of the order + * Get side * * @return side */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { + public Side getSide() { return side; } @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { + public void setSide(@jakarta.annotation.Nonnull Side side) { this.side = side; } diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionResponseDetails.java b/src/main/java/com/fireblocks/sdk/model/ExecutionResponseDetails.java index b7b3675a..bdde60de 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionResponseDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionResponseDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -80,57 +80,6 @@ public ExecutionResponseDetails deserialize(JsonParser jp, DeserializationContex boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); int match = 0; JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize LimitExecutionResponseDetails - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (LimitExecutionResponseDetails.class.equals(Integer.class) - || LimitExecutionResponseDetails.class.equals(Long.class) - || LimitExecutionResponseDetails.class.equals(Float.class) - || LimitExecutionResponseDetails.class.equals(Double.class) - || LimitExecutionResponseDetails.class.equals(Boolean.class) - || LimitExecutionResponseDetails.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= - ((LimitExecutionResponseDetails.class.equals(Integer.class) - || LimitExecutionResponseDetails.class.equals( - Long.class)) - && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= - ((LimitExecutionResponseDetails.class.equals(Float.class) - || LimitExecutionResponseDetails.class.equals( - Double.class)) - && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= - (LimitExecutionResponseDetails.class.equals(Boolean.class) - && (token == JsonToken.VALUE_FALSE - || token == JsonToken.VALUE_TRUE)); - attemptParsing |= - (LimitExecutionResponseDetails.class.equals(String.class) - && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = - tree.traverse(jp.getCodec()) - .readValueAs(LimitExecutionResponseDetails.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log( - Level.FINER, - "Input data matches schema 'LimitExecutionResponseDetails'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log( - Level.FINER, - "Input data does not match schema 'LimitExecutionResponseDetails'", - e); - } - // deserialize MarketExecutionResponseDetails try { boolean attemptParsing = true; @@ -264,11 +213,6 @@ public ExecutionResponseDetails() { super("oneOf", Boolean.FALSE); } - public ExecutionResponseDetails(LimitExecutionResponseDetails o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - public ExecutionResponseDetails(MarketExecutionResponseDetails o) { super("oneOf", Boolean.FALSE); setActualInstance(o); @@ -280,7 +224,6 @@ public ExecutionResponseDetails(QuoteExecutionWithRequoteResponseDetails o) { } static { - schemas.put("LimitExecutionResponseDetails", LimitExecutionResponseDetails.class); schemas.put("MarketExecutionResponseDetails", MarketExecutionResponseDetails.class); schemas.put( "QuoteExecutionWithRequoteResponseDetails", @@ -289,10 +232,8 @@ public ExecutionResponseDetails(QuoteExecutionWithRequoteResponseDetails o) { ExecutionResponseDetails.class, Collections.unmodifiableMap(schemas)); // Initialize and register the discriminator mappings. Map> mappings = new HashMap>(); - mappings.put("LIMIT", LimitExecutionResponseDetails.class); mappings.put("MARKET", MarketExecutionResponseDetails.class); mappings.put("QUOTE", QuoteExecutionWithRequoteResponseDetails.class); - mappings.put("LimitExecutionResponseDetails", LimitExecutionResponseDetails.class); mappings.put("MarketExecutionResponseDetails", MarketExecutionResponseDetails.class); mappings.put( "QuoteExecutionWithRequoteResponseDetails", @@ -308,20 +249,14 @@ public Map> getSchemas() { /** * Set the instance that matches the oneOf child schema, check the instance parameter is valid - * against the oneOf child schemas: LimitExecutionResponseDetails, - * MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails + * against the oneOf child schemas: MarketExecutionResponseDetails, + * QuoteExecutionWithRequoteResponseDetails * *

    It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be * a composed schema (allOf, anyOf, oneOf). */ @Override public void setActualInstance(Object instance) { - if (JSON.isInstanceOf( - LimitExecutionResponseDetails.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - if (JSON.isInstanceOf( MarketExecutionResponseDetails.class, instance, new HashSet>())) { super.setActualInstance(instance); @@ -337,15 +272,15 @@ public void setActualInstance(Object instance) { } throw new RuntimeException( - "Invalid instance type. Must be LimitExecutionResponseDetails," - + " MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails"); + "Invalid instance type. Must be MarketExecutionResponseDetails," + + " QuoteExecutionWithRequoteResponseDetails"); } /** - * Get the actual instance, which can be the following: LimitExecutionResponseDetails, - * MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails + * Get the actual instance, which can be the following: MarketExecutionResponseDetails, + * QuoteExecutionWithRequoteResponseDetails * - * @return The actual instance (LimitExecutionResponseDetails, MarketExecutionResponseDetails, + * @return The actual instance (MarketExecutionResponseDetails, * QuoteExecutionWithRequoteResponseDetails) */ @Override @@ -353,18 +288,6 @@ public Object getActualInstance() { return super.getActualInstance(); } - /** - * Get the actual instance of `LimitExecutionResponseDetails`. If the actual instance is not - * `LimitExecutionResponseDetails`, the ClassCastException will be thrown. - * - * @return The actual instance of `LimitExecutionResponseDetails` - * @throws ClassCastException if the instance is not `LimitExecutionResponseDetails` - */ - public LimitExecutionResponseDetails getLimitExecutionResponseDetails() - throws ClassCastException { - return (LimitExecutionResponseDetails) super.getActualInstance(); - } - /** * Get the actual instance of `MarketExecutionResponseDetails`. If the actual instance is not * `MarketExecutionResponseDetails`, the ClassCastException will be thrown. @@ -421,19 +344,11 @@ public String toUrlQueryString(String prefix) { StringJoiner joiner = new StringJoiner("&"); - if (getActualInstance() instanceof LimitExecutionResponseDetails) { - if (getActualInstance() != null) { - joiner.add( - ((LimitExecutionResponseDetails) getActualInstance()) - .toUrlQueryString(prefix + "one_of_0" + suffix)); - } - return joiner.toString(); - } if (getActualInstance() instanceof MarketExecutionResponseDetails) { if (getActualInstance() != null) { joiner.add( ((MarketExecutionResponseDetails) getActualInstance()) - .toUrlQueryString(prefix + "one_of_1" + suffix)); + .toUrlQueryString(prefix + "one_of_0" + suffix)); } return joiner.toString(); } @@ -441,7 +356,7 @@ public String toUrlQueryString(String prefix) { if (getActualInstance() != null) { joiner.add( ((QuoteExecutionWithRequoteResponseDetails) getActualInstance()) - .toUrlQueryString(prefix + "one_of_2" + suffix)); + .toUrlQueryString(prefix + "one_of_1" + suffix)); } return joiner.toString(); } diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionScreeningOperation.java b/src/main/java/com/fireblocks/sdk/model/ExecutionScreeningOperation.java index ac240626..5c4bd3b8 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionScreeningOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionScreeningOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionStepError.java b/src/main/java/com/fireblocks/sdk/model/ExecutionStepError.java index 68925457..c23cacee 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionStepError.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionStepError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionStepStatusEnum.java b/src/main/java/com/fireblocks/sdk/model/ExecutionStepStatusEnum.java index 147adfeb..25d04d73 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionStepStatusEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionStepStatusEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionStepType.java b/src/main/java/com/fireblocks/sdk/model/ExecutionStepType.java index 10fc1ba9..73f6def0 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionStepType.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionStepType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionTransferOperation.java b/src/main/java/com/fireblocks/sdk/model/ExecutionTransferOperation.java index 488ec746..ea2bf9ff 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionTransferOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/ExecutionTransferOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ExternalAccount.java b/src/main/java/com/fireblocks/sdk/model/ExternalAccount.java index 0999b81c..ac681878 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExternalAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/ExternalAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,60 +17,34 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; /** ExternalAccount */ -@JsonPropertyOrder({ExternalAccount.JSON_PROPERTY_TYPE}) +@JsonPropertyOrder({ + ExternalAccount.JSON_PROPERTY_TYPE, + ExternalAccount.JSON_PROPERTY_SENDER_INFORMATION +}) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class ExternalAccount { - /** Gets or Sets type */ - public enum TypeEnum { - EXTERNAL(String.valueOf("EXTERNAL")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private ExternalAccountType type; + + public static final String JSON_PROPERTY_SENDER_INFORMATION = "senderInformation"; + @jakarta.annotation.Nullable private ExternalAccountSenderInformation senderInformation; public ExternalAccount() {} @JsonCreator public ExternalAccount( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type) { + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) ExternalAccountType type) { this.type = type; } - public ExternalAccount type(@jakarta.annotation.Nonnull TypeEnum type) { + public ExternalAccount type(@jakarta.annotation.Nonnull ExternalAccountType type) { this.type = type; return this; } @@ -83,16 +57,41 @@ public ExternalAccount type(@jakarta.annotation.Nonnull TypeEnum type) { @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public ExternalAccountType getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull ExternalAccountType type) { this.type = type; } + public ExternalAccount senderInformation( + @jakarta.annotation.Nullable ExternalAccountSenderInformation senderInformation) { + this.senderInformation = senderInformation; + return this; + } + + /** + * Get senderInformation + * + * @return senderInformation + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SENDER_INFORMATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public ExternalAccountSenderInformation getSenderInformation() { + return senderInformation; + } + + @JsonProperty(JSON_PROPERTY_SENDER_INFORMATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSenderInformation( + @jakarta.annotation.Nullable ExternalAccountSenderInformation senderInformation) { + this.senderInformation = senderInformation; + } + /** Return true if this ExternalAccount object is equal to o. */ @Override public boolean equals(Object o) { @@ -103,12 +102,13 @@ public boolean equals(Object o) { return false; } ExternalAccount externalAccount = (ExternalAccount) o; - return Objects.equals(this.type, externalAccount.type); + return Objects.equals(this.type, externalAccount.type) + && Objects.equals(this.senderInformation, externalAccount.senderInformation); } @Override public int hashCode() { - return Objects.hash(type); + return Objects.hash(type, senderInformation); } @Override @@ -116,6 +116,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ExternalAccount {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" senderInformation: ") + .append(toIndentedString(senderInformation)) + .append("\n"); sb.append("}"); return sb.toString(); } @@ -173,6 +176,12 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getType())))); } + // add `senderInformation` to the URL query string + if (getSenderInformation() != null) { + joiner.add( + getSenderInformation().toUrlQueryString(prefix + "senderInformation" + suffix)); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfrica.java b/src/main/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfrica.java new file mode 100644 index 00000000..bce7f5b3 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfrica.java @@ -0,0 +1,276 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** ExternalAccountLocalBankAfrica */ +@JsonPropertyOrder({ + ExternalAccountLocalBankAfrica.JSON_PROPERTY_TYPE, + ExternalAccountLocalBankAfrica.JSON_PROPERTY_ACCOUNT_NUMBER, + ExternalAccountLocalBankAfrica.JSON_PROPERTY_BANK_NAME, + ExternalAccountLocalBankAfrica.JSON_PROPERTY_BANK_CODE +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class ExternalAccountLocalBankAfrica { + public static final String JSON_PROPERTY_TYPE = "type"; + @jakarta.annotation.Nonnull private ExternalAccountLocalBankAfricaType type; + + public static final String JSON_PROPERTY_ACCOUNT_NUMBER = "accountNumber"; + @jakarta.annotation.Nonnull private String accountNumber; + + public static final String JSON_PROPERTY_BANK_NAME = "bankName"; + @jakarta.annotation.Nonnull private String bankName; + + public static final String JSON_PROPERTY_BANK_CODE = "bankCode"; + @jakarta.annotation.Nonnull private String bankCode; + + public ExternalAccountLocalBankAfrica() {} + + @JsonCreator + public ExternalAccountLocalBankAfrica( + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) + ExternalAccountLocalBankAfricaType type, + @JsonProperty(value = JSON_PROPERTY_ACCOUNT_NUMBER, required = true) + String accountNumber, + @JsonProperty(value = JSON_PROPERTY_BANK_NAME, required = true) String bankName, + @JsonProperty(value = JSON_PROPERTY_BANK_CODE, required = true) String bankCode) { + this.type = type; + this.accountNumber = accountNumber; + this.bankName = bankName; + this.bankCode = bankCode; + } + + public ExternalAccountLocalBankAfrica type( + @jakarta.annotation.Nonnull ExternalAccountLocalBankAfricaType type) { + this.type = type; + return this; + } + + /** + * Get type + * + * @return type + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public ExternalAccountLocalBankAfricaType getType() { + return type; + } + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setType(@jakarta.annotation.Nonnull ExternalAccountLocalBankAfricaType type) { + this.type = type; + } + + public ExternalAccountLocalBankAfrica accountNumber( + @jakarta.annotation.Nonnull String accountNumber) { + this.accountNumber = accountNumber; + return this; + } + + /** + * Get accountNumber + * + * @return accountNumber + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAccountNumber() { + return accountNumber; + } + + @JsonProperty(JSON_PROPERTY_ACCOUNT_NUMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAccountNumber(@jakarta.annotation.Nonnull String accountNumber) { + this.accountNumber = accountNumber; + } + + public ExternalAccountLocalBankAfrica bankName(@jakarta.annotation.Nonnull String bankName) { + this.bankName = bankName; + return this; + } + + /** + * Name of the bank + * + * @return bankName + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BANK_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBankName() { + return bankName; + } + + @JsonProperty(JSON_PROPERTY_BANK_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBankName(@jakarta.annotation.Nonnull String bankName) { + this.bankName = bankName; + } + + public ExternalAccountLocalBankAfrica bankCode(@jakarta.annotation.Nonnull String bankCode) { + this.bankCode = bankCode; + return this; + } + + /** + * Internal bank identifier + * + * @return bankCode + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BANK_CODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBankCode() { + return bankCode; + } + + @JsonProperty(JSON_PROPERTY_BANK_CODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBankCode(@jakarta.annotation.Nonnull String bankCode) { + this.bankCode = bankCode; + } + + /** Return true if this ExternalAccountLocalBankAfrica object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExternalAccountLocalBankAfrica externalAccountLocalBankAfrica = + (ExternalAccountLocalBankAfrica) o; + return Objects.equals(this.type, externalAccountLocalBankAfrica.type) + && Objects.equals(this.accountNumber, externalAccountLocalBankAfrica.accountNumber) + && Objects.equals(this.bankName, externalAccountLocalBankAfrica.bankName) + && Objects.equals(this.bankCode, externalAccountLocalBankAfrica.bankCode); + } + + @Override + public int hashCode() { + return Objects.hash(type, accountNumber, bankName, bankCode); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ExternalAccountLocalBankAfrica {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); + sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n"); + sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `type` to the URL query string + if (getType() != null) { + joiner.add( + String.format( + "%stype%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getType())))); + } + + // add `accountNumber` to the URL query string + if (getAccountNumber() != null) { + joiner.add( + String.format( + "%saccountNumber%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAccountNumber())))); + } + + // add `bankName` to the URL query string + if (getBankName() != null) { + joiner.add( + String.format( + "%sbankName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBankName())))); + } + + // add `bankCode` to the URL query string + if (getBankCode() != null) { + joiner.add( + String.format( + "%sbankCode%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBankCode())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaType.java b/src/main/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaType.java new file mode 100644 index 00000000..20d12353 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaType.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets ExternalAccountLocalBankAfricaType */ +public enum ExternalAccountLocalBankAfricaType { + LOCAL_BANK_AFRICA_RAIL("LOCAL_BANK_AFRICA_RAIL"); + + private String value; + + ExternalAccountLocalBankAfricaType(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static ExternalAccountLocalBankAfricaType fromValue(String value) { + for (ExternalAccountLocalBankAfricaType b : ExternalAccountLocalBankAfricaType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoney.java b/src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoney.java new file mode 100644 index 00000000..515d0875 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoney.java @@ -0,0 +1,281 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** ExternalAccountMobileMoney */ +@JsonPropertyOrder({ + ExternalAccountMobileMoney.JSON_PROPERTY_TYPE, + ExternalAccountMobileMoney.JSON_PROPERTY_MOBILE_PHONE_NUMBER, + ExternalAccountMobileMoney.JSON_PROPERTY_PROVIDER, + ExternalAccountMobileMoney.JSON_PROPERTY_EMAIL +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class ExternalAccountMobileMoney { + public static final String JSON_PROPERTY_TYPE = "type"; + @jakarta.annotation.Nonnull private ExternalAccountMobileMoneyType type; + + public static final String JSON_PROPERTY_MOBILE_PHONE_NUMBER = "mobilePhoneNumber"; + @jakarta.annotation.Nonnull private String mobilePhoneNumber; + + public static final String JSON_PROPERTY_PROVIDER = "provider"; + @jakarta.annotation.Nonnull private ExternalAccountMobileMoneyProvider provider; + + public static final String JSON_PROPERTY_EMAIL = "email"; + @jakarta.annotation.Nonnull private String email; + + public ExternalAccountMobileMoney() {} + + @JsonCreator + public ExternalAccountMobileMoney( + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) + ExternalAccountMobileMoneyType type, + @JsonProperty(value = JSON_PROPERTY_MOBILE_PHONE_NUMBER, required = true) + String mobilePhoneNumber, + @JsonProperty(value = JSON_PROPERTY_PROVIDER, required = true) + ExternalAccountMobileMoneyProvider provider, + @JsonProperty(value = JSON_PROPERTY_EMAIL, required = true) String email) { + this.type = type; + this.mobilePhoneNumber = mobilePhoneNumber; + this.provider = provider; + this.email = email; + } + + public ExternalAccountMobileMoney type( + @jakarta.annotation.Nonnull ExternalAccountMobileMoneyType type) { + this.type = type; + return this; + } + + /** + * Get type + * + * @return type + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public ExternalAccountMobileMoneyType getType() { + return type; + } + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setType(@jakarta.annotation.Nonnull ExternalAccountMobileMoneyType type) { + this.type = type; + } + + public ExternalAccountMobileMoney mobilePhoneNumber( + @jakarta.annotation.Nonnull String mobilePhoneNumber) { + this.mobilePhoneNumber = mobilePhoneNumber; + return this; + } + + /** + * Mobile phone number in E.164 format + * + * @return mobilePhoneNumber + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_MOBILE_PHONE_NUMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getMobilePhoneNumber() { + return mobilePhoneNumber; + } + + @JsonProperty(JSON_PROPERTY_MOBILE_PHONE_NUMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMobilePhoneNumber(@jakarta.annotation.Nonnull String mobilePhoneNumber) { + this.mobilePhoneNumber = mobilePhoneNumber; + } + + public ExternalAccountMobileMoney provider( + @jakarta.annotation.Nonnull ExternalAccountMobileMoneyProvider provider) { + this.provider = provider; + return this; + } + + /** + * Get provider + * + * @return provider + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_PROVIDER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public ExternalAccountMobileMoneyProvider getProvider() { + return provider; + } + + @JsonProperty(JSON_PROPERTY_PROVIDER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setProvider( + @jakarta.annotation.Nonnull ExternalAccountMobileMoneyProvider provider) { + this.provider = provider; + } + + public ExternalAccountMobileMoney email(@jakarta.annotation.Nonnull String email) { + this.email = email; + return this; + } + + /** + * Get email + * + * @return email + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_EMAIL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getEmail() { + return email; + } + + @JsonProperty(JSON_PROPERTY_EMAIL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setEmail(@jakarta.annotation.Nonnull String email) { + this.email = email; + } + + /** Return true if this ExternalAccountMobileMoney object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExternalAccountMobileMoney externalAccountMobileMoney = (ExternalAccountMobileMoney) o; + return Objects.equals(this.type, externalAccountMobileMoney.type) + && Objects.equals( + this.mobilePhoneNumber, externalAccountMobileMoney.mobilePhoneNumber) + && Objects.equals(this.provider, externalAccountMobileMoney.provider) + && Objects.equals(this.email, externalAccountMobileMoney.email); + } + + @Override + public int hashCode() { + return Objects.hash(type, mobilePhoneNumber, provider, email); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ExternalAccountMobileMoney {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" mobilePhoneNumber: ") + .append(toIndentedString(mobilePhoneNumber)) + .append("\n"); + sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `type` to the URL query string + if (getType() != null) { + joiner.add( + String.format( + "%stype%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getType())))); + } + + // add `mobilePhoneNumber` to the URL query string + if (getMobilePhoneNumber() != null) { + joiner.add( + String.format( + "%smobilePhoneNumber%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getMobilePhoneNumber())))); + } + + // add `provider` to the URL query string + if (getProvider() != null) { + joiner.add( + String.format( + "%sprovider%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getProvider())))); + } + + // add `email` to the URL query string + if (getEmail() != null) { + joiner.add( + String.format( + "%semail%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getEmail())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyProvider.java b/src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyProvider.java new file mode 100644 index 00000000..47711c79 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyProvider.java @@ -0,0 +1,70 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets ExternalAccountMobileMoneyProvider */ +public enum ExternalAccountMobileMoneyProvider { + M_PESA("M_PESA"), + + AIRTEL("AIRTEL"), + + MTN("MTN"), + + TIGO("TIGO"), + + ORANGE("ORANGE"); + + private String value; + + ExternalAccountMobileMoneyProvider(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static ExternalAccountMobileMoneyProvider fromValue(String value) { + for (ExternalAccountMobileMoneyProvider b : ExternalAccountMobileMoneyProvider.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyType.java b/src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyType.java new file mode 100644 index 00000000..021fc0c0 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyType.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets ExternalAccountMobileMoneyType */ +public enum ExternalAccountMobileMoneyType { + MOBILE_MONEY_RAIL("MOBILE_MONEY_RAIL"); + + private String value; + + ExternalAccountMobileMoneyType(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static ExternalAccountMobileMoneyType fromValue(String value) { + for (ExternalAccountMobileMoneyType b : ExternalAccountMobileMoneyType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ExternalAccountSenderInformation.java b/src/main/java/com/fireblocks/sdk/model/ExternalAccountSenderInformation.java new file mode 100644 index 00000000..64d679fe --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/ExternalAccountSenderInformation.java @@ -0,0 +1,350 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import com.fireblocks.sdk.JSON; +import java.io.IOException; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.StringJoiner; +import java.util.logging.Level; +import java.util.logging.Logger; + +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +@JsonDeserialize( + using = ExternalAccountSenderInformation.ExternalAccountSenderInformationDeserializer.class) +@JsonSerialize( + using = ExternalAccountSenderInformation.ExternalAccountSenderInformationSerializer.class) +public class ExternalAccountSenderInformation extends AbstractOpenApiSchema { + private static final Logger log = + Logger.getLogger(ExternalAccountSenderInformation.class.getName()); + + public static class ExternalAccountSenderInformationSerializer + extends StdSerializer { + public ExternalAccountSenderInformationSerializer( + Class t) { + super(t); + } + + public ExternalAccountSenderInformationSerializer() { + this(null); + } + + @Override + public void serialize( + ExternalAccountSenderInformation value, + JsonGenerator jgen, + SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); + } + } + + public static class ExternalAccountSenderInformationDeserializer + extends StdDeserializer { + public ExternalAccountSenderInformationDeserializer() { + this(ExternalAccountSenderInformation.class); + } + + public ExternalAccountSenderInformationDeserializer(Class vc) { + super(vc); + } + + @Override + public ExternalAccountSenderInformation deserialize( + JsonParser jp, DeserializationContext ctxt) + throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize ExternalAccountLocalBankAfrica + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (ExternalAccountLocalBankAfrica.class.equals(Integer.class) + || ExternalAccountLocalBankAfrica.class.equals(Long.class) + || ExternalAccountLocalBankAfrica.class.equals(Float.class) + || ExternalAccountLocalBankAfrica.class.equals(Double.class) + || ExternalAccountLocalBankAfrica.class.equals(Boolean.class) + || ExternalAccountLocalBankAfrica.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= + ((ExternalAccountLocalBankAfrica.class.equals(Integer.class) + || ExternalAccountLocalBankAfrica.class.equals( + Long.class)) + && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= + ((ExternalAccountLocalBankAfrica.class.equals(Float.class) + || ExternalAccountLocalBankAfrica.class.equals( + Double.class)) + && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= + (ExternalAccountLocalBankAfrica.class.equals(Boolean.class) + && (token == JsonToken.VALUE_FALSE + || token == JsonToken.VALUE_TRUE)); + attemptParsing |= + (ExternalAccountLocalBankAfrica.class.equals(String.class) + && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = + tree.traverse(jp.getCodec()) + .readValueAs(ExternalAccountLocalBankAfrica.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log( + Level.FINER, + "Input data matches schema 'ExternalAccountLocalBankAfrica'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log( + Level.FINER, + "Input data does not match schema 'ExternalAccountLocalBankAfrica'", + e); + } + + // deserialize ExternalAccountMobileMoney + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (ExternalAccountMobileMoney.class.equals(Integer.class) + || ExternalAccountMobileMoney.class.equals(Long.class) + || ExternalAccountMobileMoney.class.equals(Float.class) + || ExternalAccountMobileMoney.class.equals(Double.class) + || ExternalAccountMobileMoney.class.equals(Boolean.class) + || ExternalAccountMobileMoney.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= + ((ExternalAccountMobileMoney.class.equals(Integer.class) + || ExternalAccountMobileMoney.class.equals( + Long.class)) + && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= + ((ExternalAccountMobileMoney.class.equals(Float.class) + || ExternalAccountMobileMoney.class.equals( + Double.class)) + && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= + (ExternalAccountMobileMoney.class.equals(Boolean.class) + && (token == JsonToken.VALUE_FALSE + || token == JsonToken.VALUE_TRUE)); + attemptParsing |= + (ExternalAccountMobileMoney.class.equals(String.class) + && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = + tree.traverse(jp.getCodec()) + .readValueAs(ExternalAccountMobileMoney.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'ExternalAccountMobileMoney'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log( + Level.FINER, + "Input data does not match schema 'ExternalAccountMobileMoney'", + e); + } + + if (match == 1) { + ExternalAccountSenderInformation ret = new ExternalAccountSenderInformation(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException( + String.format( + "Failed deserialization for ExternalAccountSenderInformation: %d" + + " classes match result, expected 1", + match)); + } + + /** Handle deserialization of the 'null' value. */ + @Override + public ExternalAccountSenderInformation getNullValue(DeserializationContext ctxt) + throws JsonMappingException { + throw new JsonMappingException( + ctxt.getParser(), "ExternalAccountSenderInformation cannot be null"); + } + } + + // store a list of schema names defined in oneOf + public static final Map> schemas = new HashMap<>(); + + public ExternalAccountSenderInformation() { + super("oneOf", Boolean.FALSE); + } + + public ExternalAccountSenderInformation(ExternalAccountLocalBankAfrica o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + public ExternalAccountSenderInformation(ExternalAccountMobileMoney o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("ExternalAccountLocalBankAfrica", ExternalAccountLocalBankAfrica.class); + schemas.put("ExternalAccountMobileMoney", ExternalAccountMobileMoney.class); + JSON.registerDescendants( + ExternalAccountSenderInformation.class, Collections.unmodifiableMap(schemas)); + } + + @Override + public Map> getSchemas() { + return ExternalAccountSenderInformation.schemas; + } + + /** + * Set the instance that matches the oneOf child schema, check the instance parameter is valid + * against the oneOf child schemas: ExternalAccountLocalBankAfrica, ExternalAccountMobileMoney + * + *

    It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be + * a composed schema (allOf, anyOf, oneOf). + */ + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf( + ExternalAccountLocalBankAfrica.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + if (JSON.isInstanceOf( + ExternalAccountMobileMoney.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException( + "Invalid instance type. Must be ExternalAccountLocalBankAfrica," + + " ExternalAccountMobileMoney"); + } + + /** + * Get the actual instance, which can be the following: ExternalAccountLocalBankAfrica, + * ExternalAccountMobileMoney + * + * @return The actual instance (ExternalAccountLocalBankAfrica, ExternalAccountMobileMoney) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `ExternalAccountLocalBankAfrica`. If the actual instance is not + * `ExternalAccountLocalBankAfrica`, the ClassCastException will be thrown. + * + * @return The actual instance of `ExternalAccountLocalBankAfrica` + * @throws ClassCastException if the instance is not `ExternalAccountLocalBankAfrica` + */ + public ExternalAccountLocalBankAfrica getExternalAccountLocalBankAfrica() + throws ClassCastException { + return (ExternalAccountLocalBankAfrica) super.getActualInstance(); + } + + /** + * Get the actual instance of `ExternalAccountMobileMoney`. If the actual instance is not + * `ExternalAccountMobileMoney`, the ClassCastException will be thrown. + * + * @return The actual instance of `ExternalAccountMobileMoney` + * @throws ClassCastException if the instance is not `ExternalAccountMobileMoney` + */ + public ExternalAccountMobileMoney getExternalAccountMobileMoney() throws ClassCastException { + return (ExternalAccountMobileMoney) super.getActualInstance(); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + if (getActualInstance() instanceof ExternalAccountMobileMoney) { + if (getActualInstance() != null) { + joiner.add( + ((ExternalAccountMobileMoney) getActualInstance()) + .toUrlQueryString(prefix + "one_of_0" + suffix)); + } + return joiner.toString(); + } + if (getActualInstance() instanceof ExternalAccountLocalBankAfrica) { + if (getActualInstance() != null) { + joiner.add( + ((ExternalAccountLocalBankAfrica) getActualInstance()) + .toUrlQueryString(prefix + "one_of_1" + suffix)); + } + return joiner.toString(); + } + return null; + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ExternalAccountType.java b/src/main/java/com/fireblocks/sdk/model/ExternalAccountType.java new file mode 100644 index 00000000..92ec6a58 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/ExternalAccountType.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets ExternalAccountType */ +public enum ExternalAccountType { + EXTERNAL("EXTERNAL"); + + private String value; + + ExternalAccountType(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static ExternalAccountType fromValue(String value) { + for (ExternalAccountType b : ExternalAccountType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ExternalWalletAsset.java b/src/main/java/com/fireblocks/sdk/model/ExternalWalletAsset.java index e9fa2d35..94a5f24d 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExternalWalletAsset.java +++ b/src/main/java/com/fireblocks/sdk/model/ExternalWalletAsset.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ProviderID.java b/src/main/java/com/fireblocks/sdk/model/Failure.java similarity index 63% rename from src/main/java/com/fireblocks/sdk/model/ProviderID.java rename to src/main/java/com/fireblocks/sdk/model/Failure.java index edc34da1..835d0e4e 100644 --- a/src/main/java/com/fireblocks/sdk/model/ProviderID.java +++ b/src/main/java/com/fireblocks/sdk/model/Failure.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -21,47 +21,47 @@ import java.util.Objects; import java.util.StringJoiner; -/** ProviderID */ -@JsonPropertyOrder({ProviderID.JSON_PROPERTY_PROVIDER_ID}) +/** Failure */ +@JsonPropertyOrder({Failure.JSON_PROPERTY_REASON}) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class ProviderID { - public static final String JSON_PROPERTY_PROVIDER_ID = "providerId"; - @jakarta.annotation.Nonnull private String providerId; +public class Failure { + public static final String JSON_PROPERTY_REASON = "reason"; + @jakarta.annotation.Nonnull private FailureReason reason; - public ProviderID() {} + public Failure() {} @JsonCreator - public ProviderID( - @JsonProperty(value = JSON_PROPERTY_PROVIDER_ID, required = true) String providerId) { - this.providerId = providerId; + public Failure( + @JsonProperty(value = JSON_PROPERTY_REASON, required = true) FailureReason reason) { + this.reason = reason; } - public ProviderID providerId(@jakarta.annotation.Nonnull String providerId) { - this.providerId = providerId; + public Failure reason(@jakarta.annotation.Nonnull FailureReason reason) { + this.reason = reason; return this; } /** - * The ID of the provider associated with the account. + * Get reason * - * @return providerId + * @return reason */ @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PROVIDER_ID) + @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getProviderId() { - return providerId; + public FailureReason getReason() { + return reason; } - @JsonProperty(JSON_PROPERTY_PROVIDER_ID) + @JsonProperty(JSON_PROPERTY_REASON) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setProviderId(@jakarta.annotation.Nonnull String providerId) { - this.providerId = providerId; + public void setReason(@jakarta.annotation.Nonnull FailureReason reason) { + this.reason = reason; } - /** Return true if this ProviderID object is equal to o. */ + /** Return true if this Failure object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -70,20 +70,20 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - ProviderID providerID = (ProviderID) o; - return Objects.equals(this.providerId, providerID.providerId); + Failure failure = (Failure) o; + return Objects.equals(this.reason, failure.reason); } @Override public int hashCode() { - return Objects.hash(providerId); + return Objects.hash(reason); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class ProviderID {\n"); - sb.append(" providerId: ").append(toIndentedString(providerId)).append("\n"); + sb.append("class Failure {\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); sb.append("}"); return sb.toString(); } @@ -131,14 +131,14 @@ public String toUrlQueryString(String prefix) { StringJoiner joiner = new StringJoiner("&"); - // add `providerId` to the URL query string - if (getProviderId() != null) { + // add `reason` to the URL query string + if (getReason() != null) { joiner.add( String.format( - "%sproviderId%s=%s", + "%sreason%s=%s", prefix, suffix, - ApiClient.urlEncode(ApiClient.valueToString(getProviderId())))); + ApiClient.urlEncode(ApiClient.valueToString(getReason())))); } return joiner.toString(); diff --git a/src/main/java/com/fireblocks/sdk/model/FailureReason.java b/src/main/java/com/fireblocks/sdk/model/FailureReason.java new file mode 100644 index 00000000..cf5ce2cd --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/FailureReason.java @@ -0,0 +1,96 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets FailureReason */ +public enum FailureReason { + 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"); + + private String value; + + FailureReason(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static FailureReason fromValue(String value) { + for (FailureReason b : FailureReason.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/Fee.java b/src/main/java/com/fireblocks/sdk/model/Fee.java index 355f2a02..b715440b 100644 --- a/src/main/java/com/fireblocks/sdk/model/Fee.java +++ b/src/main/java/com/fireblocks/sdk/model/Fee.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -49,45 +49,6 @@ property = "amountType", visible = true) public class Fee { - /** - * 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. - */ - public enum FeeTypeEnum { - ORDER(String.valueOf("ORDER")), - - NETWORK(String.valueOf("NETWORK")), - - SPREAD(String.valueOf("SPREAD")); - - private String value; - - FeeTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static FeeTypeEnum fromValue(String value) { - for (FeeTypeEnum b : FeeTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_FEE_TYPE = "feeType"; @jakarta.annotation.Nonnull private FeeTypeEnum feeType; @@ -152,9 +113,7 @@ public Fee feeType(@jakarta.annotation.Nonnull FeeTypeEnum feeType) { } /** - * 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. + * Get feeType * * @return feeType */ diff --git a/src/main/java/com/fireblocks/sdk/model/FeeBreakdown.java b/src/main/java/com/fireblocks/sdk/model/FeeBreakdown.java index 60e9d459..7f8b7190 100644 --- a/src/main/java/com/fireblocks/sdk/model/FeeBreakdown.java +++ b/src/main/java/com/fireblocks/sdk/model/FeeBreakdown.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FeeBreakdownOneOf.java b/src/main/java/com/fireblocks/sdk/model/FeeBreakdownOneOf.java index c8069cd1..8d4e01f3 100644 --- a/src/main/java/com/fireblocks/sdk/model/FeeBreakdownOneOf.java +++ b/src/main/java/com/fireblocks/sdk/model/FeeBreakdownOneOf.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FeeBreakdownOneOf1.java b/src/main/java/com/fireblocks/sdk/model/FeeBreakdownOneOf1.java index 4c1c4702..74fa6836 100644 --- a/src/main/java/com/fireblocks/sdk/model/FeeBreakdownOneOf1.java +++ b/src/main/java/com/fireblocks/sdk/model/FeeBreakdownOneOf1.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FeeInfo.java b/src/main/java/com/fireblocks/sdk/model/FeeInfo.java index 092b2c9e..669f8165 100644 --- a/src/main/java/com/fireblocks/sdk/model/FeeInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/FeeInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FeeLevel.java b/src/main/java/com/fireblocks/sdk/model/FeeLevel.java index c860be6a..5405ff7f 100644 --- a/src/main/java/com/fireblocks/sdk/model/FeeLevel.java +++ b/src/main/java/com/fireblocks/sdk/model/FeeLevel.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FeePayerInfo.java b/src/main/java/com/fireblocks/sdk/model/FeePayerInfo.java index 84e55b16..c01b2ce8 100644 --- a/src/main/java/com/fireblocks/sdk/model/FeePayerInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/FeePayerInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FeePropertiesDetails.java b/src/main/java/com/fireblocks/sdk/model/FeePropertiesDetails.java index dcff876c..afedac72 100644 --- a/src/main/java/com/fireblocks/sdk/model/FeePropertiesDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/FeePropertiesDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -25,105 +24,26 @@ /** FeePropertiesDetails */ @JsonPropertyOrder({ FeePropertiesDetails.JSON_PROPERTY_FEE_TYPE, - FeePropertiesDetails.JSON_PROPERTY_ASSET_ID, - FeePropertiesDetails.JSON_PROPERTY_AMOUNT_TYPE + FeePropertiesDetails.JSON_PROPERTY_ASSET_ID }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class FeePropertiesDetails { - /** - * 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. - */ - public enum FeeTypeEnum { - ORDER(String.valueOf("ORDER")), - - NETWORK(String.valueOf("NETWORK")), - - SPREAD(String.valueOf("SPREAD")); - - private String value; - - FeeTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static FeeTypeEnum fromValue(String value) { - for (FeeTypeEnum b : FeeTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_FEE_TYPE = "feeType"; @jakarta.annotation.Nonnull private FeeTypeEnum feeType; public static final String JSON_PROPERTY_ASSET_ID = "assetId"; @jakarta.annotation.Nonnull private String assetId; - /** The type of amount for the fee, either FIXED or BPS (basis points). */ - public enum AmountTypeEnum { - FIXED(String.valueOf("FIXED")), - - BPS(String.valueOf("BPS")); - - private String value; - - AmountTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static AmountTypeEnum fromValue(String value) { - for (AmountTypeEnum b : AmountTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_AMOUNT_TYPE = "amountType"; - @jakarta.annotation.Nonnull private AmountTypeEnum amountType; - public FeePropertiesDetails() {} @JsonCreator public FeePropertiesDetails( @JsonProperty(value = JSON_PROPERTY_FEE_TYPE, required = true) FeeTypeEnum feeType, - @JsonProperty(value = JSON_PROPERTY_ASSET_ID, required = true) String assetId, - @JsonProperty(value = JSON_PROPERTY_AMOUNT_TYPE, required = true) - AmountTypeEnum amountType) { + @JsonProperty(value = JSON_PROPERTY_ASSET_ID, required = true) String assetId) { this.feeType = feeType; this.assetId = assetId; - this.amountType = amountType; } public FeePropertiesDetails feeType(@jakarta.annotation.Nonnull FeeTypeEnum feeType) { @@ -132,9 +52,7 @@ public FeePropertiesDetails feeType(@jakarta.annotation.Nonnull FeeTypeEnum feeT } /** - * 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. + * Get feeType * * @return feeType */ @@ -174,29 +92,6 @@ public void setAssetId(@jakarta.annotation.Nonnull String assetId) { this.assetId = assetId; } - public FeePropertiesDetails amountType(@jakarta.annotation.Nonnull AmountTypeEnum amountType) { - this.amountType = amountType; - return this; - } - - /** - * The type of amount for the fee, either FIXED or BPS (basis points). - * - * @return amountType - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_AMOUNT_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public AmountTypeEnum getAmountType() { - return amountType; - } - - @JsonProperty(JSON_PROPERTY_AMOUNT_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setAmountType(@jakarta.annotation.Nonnull AmountTypeEnum amountType) { - this.amountType = amountType; - } - /** Return true if this FeePropertiesDetails object is equal to o. */ @Override public boolean equals(Object o) { @@ -208,13 +103,12 @@ public boolean equals(Object o) { } FeePropertiesDetails feePropertiesDetails = (FeePropertiesDetails) o; return Objects.equals(this.feeType, feePropertiesDetails.feeType) - && Objects.equals(this.assetId, feePropertiesDetails.assetId) - && Objects.equals(this.amountType, feePropertiesDetails.amountType); + && Objects.equals(this.assetId, feePropertiesDetails.assetId); } @Override public int hashCode() { - return Objects.hash(feeType, assetId, amountType); + return Objects.hash(feeType, assetId); } @Override @@ -223,7 +117,6 @@ public String toString() { sb.append("class FeePropertiesDetails {\n"); sb.append(" feeType: ").append(toIndentedString(feeType)).append("\n"); sb.append(" assetId: ").append(toIndentedString(assetId)).append("\n"); - sb.append(" amountType: ").append(toIndentedString(amountType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -291,16 +184,6 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getAssetId())))); } - // add `amountType` to the URL query string - if (getAmountType() != null) { - joiner.add( - String.format( - "%samountType%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getAmountType())))); - } - return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/FeeTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/FeeTypeEnum.java new file mode 100644 index 00000000..00dfbc27 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/FeeTypeEnum.java @@ -0,0 +1,72 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * 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. + */ +public enum FeeTypeEnum { + ORDER("ORDER"), + + NETWORK("NETWORK"), + + SPREAD("SPREAD"), + + REBATE("REBATE"); + + private String value; + + FeeTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static FeeTypeEnum fromValue(String value) { + for (FeeTypeEnum b : FeeTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/FetchAbiRequestDto.java b/src/main/java/com/fireblocks/sdk/model/FetchAbiRequestDto.java index d0fa559f..7ee6757d 100644 --- a/src/main/java/com/fireblocks/sdk/model/FetchAbiRequestDto.java +++ b/src/main/java/com/fireblocks/sdk/model/FetchAbiRequestDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FiatAccount.java b/src/main/java/com/fireblocks/sdk/model/FiatAccount.java index 3034b54d..dbce999e 100644 --- a/src/main/java/com/fireblocks/sdk/model/FiatAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/FiatAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FiatAccountType.java b/src/main/java/com/fireblocks/sdk/model/FiatAccountType.java index 2a9388e2..cef49718 100644 --- a/src/main/java/com/fireblocks/sdk/model/FiatAccountType.java +++ b/src/main/java/com/fireblocks/sdk/model/FiatAccountType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FiatAsset.java b/src/main/java/com/fireblocks/sdk/model/FiatAsset.java index fd3145c1..8f39cbd0 100644 --- a/src/main/java/com/fireblocks/sdk/model/FiatAsset.java +++ b/src/main/java/com/fireblocks/sdk/model/FiatAsset.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FiatDestination.java b/src/main/java/com/fireblocks/sdk/model/FiatDestination.java index 379a11fb..6c2bb4d0 100644 --- a/src/main/java/com/fireblocks/sdk/model/FiatDestination.java +++ b/src/main/java/com/fireblocks/sdk/model/FiatDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -120,6 +120,53 @@ public FiatDestination deserialize(JsonParser jp, DeserializationContext ctxt) log.log(Level.FINER, "Input data does not match schema 'AchDestination'", e); } + // deserialize EuropeanSEPADestination + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (EuropeanSEPADestination.class.equals(Integer.class) + || EuropeanSEPADestination.class.equals(Long.class) + || EuropeanSEPADestination.class.equals(Float.class) + || EuropeanSEPADestination.class.equals(Double.class) + || EuropeanSEPADestination.class.equals(Boolean.class) + || EuropeanSEPADestination.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= + ((EuropeanSEPADestination.class.equals(Integer.class) + || EuropeanSEPADestination.class.equals(Long.class)) + && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= + ((EuropeanSEPADestination.class.equals(Float.class) + || EuropeanSEPADestination.class.equals( + Double.class)) + && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= + (EuropeanSEPADestination.class.equals(Boolean.class) + && (token == JsonToken.VALUE_FALSE + || token == JsonToken.VALUE_TRUE)); + attemptParsing |= + (EuropeanSEPADestination.class.equals(String.class) + && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = + tree.traverse(jp.getCodec()).readValueAs(EuropeanSEPADestination.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'EuropeanSEPADestination'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log( + Level.FINER, + "Input data does not match schema 'EuropeanSEPADestination'", + e); + } + // deserialize IbanDestination try { boolean attemptParsing = true; @@ -503,6 +550,11 @@ public FiatDestination(AchDestination o) { setActualInstance(o); } + public FiatDestination(EuropeanSEPADestination o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); + } + public FiatDestination(IbanDestination o) { super("oneOf", Boolean.FALSE); setActualInstance(o); @@ -545,6 +597,7 @@ public FiatDestination(USWireDestination o) { static { schemas.put("AchDestination", AchDestination.class); + schemas.put("EuropeanSEPADestination", EuropeanSEPADestination.class); schemas.put("IbanDestination", IbanDestination.class); schemas.put("LocalBankTransferAfricaDestination", LocalBankTransferAfricaDestination.class); schemas.put("MobileMoneyDestination", MobileMoneyDestination.class); @@ -563,7 +616,7 @@ public Map> getSchemas() { /** * Set the instance that matches the oneOf child schema, check the instance parameter is valid - * against the oneOf child schemas: AchDestination, IbanDestination, + * against the oneOf child schemas: AchDestination, EuropeanSEPADestination, IbanDestination, * LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, * SpeiDestination, SwiftDestination, USWireDestination * @@ -577,6 +630,11 @@ public void setActualInstance(Object instance) { return; } + if (JSON.isInstanceOf(EuropeanSEPADestination.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } + if (JSON.isInstanceOf(IbanDestination.class, instance, new HashSet>())) { super.setActualInstance(instance); return; @@ -619,17 +677,18 @@ public void setActualInstance(Object instance) { } throw new RuntimeException( - "Invalid instance type. Must be AchDestination, IbanDestination," - + " LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination," - + " SEPADestination, SpeiDestination, SwiftDestination, USWireDestination"); + "Invalid instance type. Must be AchDestination, EuropeanSEPADestination," + + " IbanDestination, LocalBankTransferAfricaDestination," + + " MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination," + + " SwiftDestination, USWireDestination"); } /** - * Get the actual instance, which can be the following: AchDestination, IbanDestination, - * LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, - * SpeiDestination, SwiftDestination, USWireDestination + * Get the actual instance, which can be the following: AchDestination, EuropeanSEPADestination, + * IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, + * SEPADestination, SpeiDestination, SwiftDestination, USWireDestination * - * @return The actual instance (AchDestination, IbanDestination, + * @return The actual instance (AchDestination, EuropeanSEPADestination, IbanDestination, * LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, * SEPADestination, SpeiDestination, SwiftDestination, USWireDestination) */ @@ -649,6 +708,17 @@ public AchDestination getAchDestination() throws ClassCastException { return (AchDestination) super.getActualInstance(); } + /** + * Get the actual instance of `EuropeanSEPADestination`. If the actual instance is not + * `EuropeanSEPADestination`, the ClassCastException will be thrown. + * + * @return The actual instance of `EuropeanSEPADestination` + * @throws ClassCastException if the instance is not `EuropeanSEPADestination` + */ + public EuropeanSEPADestination getEuropeanSEPADestination() throws ClassCastException { + return (EuropeanSEPADestination) super.getActualInstance(); + } + /** * Get the actual instance of `IbanDestination`. If the actual instance is not * `IbanDestination`, the ClassCastException will be thrown. @@ -842,6 +912,14 @@ public String toUrlQueryString(String prefix) { } return joiner.toString(); } + if (getActualInstance() instanceof EuropeanSEPADestination) { + if (getActualInstance() != null) { + joiner.add( + ((EuropeanSEPADestination) getActualInstance()) + .toUrlQueryString(prefix + "one_of_9" + suffix)); + } + return joiner.toString(); + } return null; } } diff --git a/src/main/java/com/fireblocks/sdk/model/PaymentInstructionsDetails.java b/src/main/java/com/fireblocks/sdk/model/FiatPaymentMetadata.java similarity index 79% rename from src/main/java/com/fireblocks/sdk/model/PaymentInstructionsDetails.java rename to src/main/java/com/fireblocks/sdk/model/FiatPaymentMetadata.java index be1b12f2..47446372 100644 --- a/src/main/java/com/fireblocks/sdk/model/PaymentInstructionsDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/FiatPaymentMetadata.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -20,18 +20,18 @@ import java.util.Objects; import java.util.StringJoiner; -/** PaymentInstructionsDetails */ -@JsonPropertyOrder({PaymentInstructionsDetails.JSON_PROPERTY_REFERENCE_ID}) +/** FiatPaymentMetadata */ +@JsonPropertyOrder({FiatPaymentMetadata.JSON_PROPERTY_REFERENCE_ID}) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class PaymentInstructionsDetails { +public class FiatPaymentMetadata { public static final String JSON_PROPERTY_REFERENCE_ID = "referenceId"; @jakarta.annotation.Nullable private String referenceId; - public PaymentInstructionsDetails() {} + public FiatPaymentMetadata() {} - public PaymentInstructionsDetails referenceId(@jakarta.annotation.Nullable String referenceId) { + public FiatPaymentMetadata referenceId(@jakarta.annotation.Nullable String referenceId) { this.referenceId = referenceId; return this; } @@ -54,7 +54,7 @@ public void setReferenceId(@jakarta.annotation.Nullable String referenceId) { this.referenceId = referenceId; } - /** Return true if this PaymentInstructionsDetails object is equal to o. */ + /** Return true if this FiatPaymentMetadata object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -63,8 +63,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - PaymentInstructionsDetails paymentInstructionsDetails = (PaymentInstructionsDetails) o; - return Objects.equals(this.referenceId, paymentInstructionsDetails.referenceId); + FiatPaymentMetadata fiatPaymentMetadata = (FiatPaymentMetadata) o; + return Objects.equals(this.referenceId, fiatPaymentMetadata.referenceId); } @Override @@ -75,7 +75,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class PaymentInstructionsDetails {\n"); + sb.append("class FiatPaymentMetadata {\n"); sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/fireblocks/sdk/model/FiatTransfer.java b/src/main/java/com/fireblocks/sdk/model/FiatTransfer.java index d87ca1ca..2c3e73d1 100644 --- a/src/main/java/com/fireblocks/sdk/model/FiatTransfer.java +++ b/src/main/java/com/fireblocks/sdk/model/FiatTransfer.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FixedAmountTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/FixedAmountTypeEnum.java new file mode 100644 index 00000000..7a113ee0 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/FixedAmountTypeEnum.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** The type of amount for the fee, indicating a fixed amount. */ +public enum FixedAmountTypeEnum { + FIXED("FIXED"); + + private String value; + + FixedAmountTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static FixedAmountTypeEnum fromValue(String value) { + for (FixedAmountTypeEnum b : FixedAmountTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/FixedFee.java b/src/main/java/com/fireblocks/sdk/model/FixedFee.java index 4f981d54..43d81b55 100644 --- a/src/main/java/com/fireblocks/sdk/model/FixedFee.java +++ b/src/main/java/com/fireblocks/sdk/model/FixedFee.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -28,39 +27,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class FixedFee { - /** Gets or Sets amountType */ - public enum AmountTypeEnum { - FIXED(String.valueOf("FIXED")); - - private String value; - - AmountTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static AmountTypeEnum fromValue(String value) { - for (AmountTypeEnum b : AmountTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_AMOUNT_TYPE = "amountType"; - @jakarta.annotation.Nonnull private AmountTypeEnum amountType; + @jakarta.annotation.Nonnull private FixedAmountTypeEnum amountType; public static final String JSON_PROPERTY_AMOUNT = "amount"; @jakarta.annotation.Nonnull private String amount; @@ -70,13 +38,13 @@ public FixedFee() {} @JsonCreator public FixedFee( @JsonProperty(value = JSON_PROPERTY_AMOUNT_TYPE, required = true) - AmountTypeEnum amountType, + FixedAmountTypeEnum amountType, @JsonProperty(value = JSON_PROPERTY_AMOUNT, required = true) String amount) { this.amountType = amountType; this.amount = amount; } - public FixedFee amountType(@jakarta.annotation.Nonnull AmountTypeEnum amountType) { + public FixedFee amountType(@jakarta.annotation.Nonnull FixedAmountTypeEnum amountType) { this.amountType = amountType; return this; } @@ -89,13 +57,13 @@ public FixedFee amountType(@jakarta.annotation.Nonnull AmountTypeEnum amountType @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_AMOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public AmountTypeEnum getAmountType() { + public FixedAmountTypeEnum getAmountType() { return amountType; } @JsonProperty(JSON_PROPERTY_AMOUNT_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setAmountType(@jakarta.annotation.Nonnull AmountTypeEnum amountType) { + public void setAmountType(@jakarta.annotation.Nonnull FixedAmountTypeEnum amountType) { this.amountType = amountType; } diff --git a/src/main/java/com/fireblocks/sdk/model/FreezeTransactionResponse.java b/src/main/java/com/fireblocks/sdk/model/FreezeTransactionResponse.java index 656a585f..f3bf930b 100644 --- a/src/main/java/com/fireblocks/sdk/model/FreezeTransactionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/FreezeTransactionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/FunctionDoc.java b/src/main/java/com/fireblocks/sdk/model/FunctionDoc.java index acbdb18a..29f83683 100644 --- a/src/main/java/com/fireblocks/sdk/model/FunctionDoc.java +++ b/src/main/java/com/fireblocks/sdk/model/FunctionDoc.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Funds.java b/src/main/java/com/fireblocks/sdk/model/Funds.java index 4317be9f..2873537a 100644 --- a/src/main/java/com/fireblocks/sdk/model/Funds.java +++ b/src/main/java/com/fireblocks/sdk/model/Funds.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GasStationConfiguration.java b/src/main/java/com/fireblocks/sdk/model/GasStationConfiguration.java index 3f04cffa..1b5935ff 100644 --- a/src/main/java/com/fireblocks/sdk/model/GasStationConfiguration.java +++ b/src/main/java/com/fireblocks/sdk/model/GasStationConfiguration.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GasStationConfigurationResponse.java b/src/main/java/com/fireblocks/sdk/model/GasStationConfigurationResponse.java index 4014dead..158d3e4b 100644 --- a/src/main/java/com/fireblocks/sdk/model/GasStationConfigurationResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GasStationConfigurationResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GasStationPropertiesResponse.java b/src/main/java/com/fireblocks/sdk/model/GasStationPropertiesResponse.java index ff8a105e..0471a19c 100644 --- a/src/main/java/com/fireblocks/sdk/model/GasStationPropertiesResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GasStationPropertiesResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GasslessStandardConfigurations.java b/src/main/java/com/fireblocks/sdk/model/GasslessStandardConfigurations.java index 887853d6..f856c664 100644 --- a/src/main/java/com/fireblocks/sdk/model/GasslessStandardConfigurations.java +++ b/src/main/java/com/fireblocks/sdk/model/GasslessStandardConfigurations.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsGaslessStandardConfigurationsValue.java b/src/main/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsGaslessStandardConfigurationsValue.java index 5e378856..6fa8de17 100644 --- a/src/main/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsGaslessStandardConfigurationsValue.java +++ b/src/main/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsGaslessStandardConfigurationsValue.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetAPIUsersResponse.java b/src/main/java/com/fireblocks/sdk/model/GetAPIUsersResponse.java index 5d90e0de..4ba97dd0 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetAPIUsersResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetAPIUsersResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetAuditLogsResponse.java b/src/main/java/com/fireblocks/sdk/model/GetAuditLogsResponse.java index 491fd421..5997a1d0 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetAuditLogsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetAuditLogsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetConnectionsResponse.java b/src/main/java/com/fireblocks/sdk/model/GetConnectionsResponse.java index 58a1aed7..640c5266 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetConnectionsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetConnectionsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetConsoleUsersResponse.java b/src/main/java/com/fireblocks/sdk/model/GetConsoleUsersResponse.java index d04599a5..863a32f6 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetConsoleUsersResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetConsoleUsersResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetDeployableAddressRequest.java b/src/main/java/com/fireblocks/sdk/model/GetDeployableAddressRequest.java index 20de13c4..d3339333 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetDeployableAddressRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/GetDeployableAddressRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetExchangeAccountsCredentialsPublicKeyResponse.java b/src/main/java/com/fireblocks/sdk/model/GetExchangeAccountsCredentialsPublicKeyResponse.java index d61d1c42..13ee60aa 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetExchangeAccountsCredentialsPublicKeyResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetExchangeAccountsCredentialsPublicKeyResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetFilterParameter.java b/src/main/java/com/fireblocks/sdk/model/GetFilterParameter.java index 02635d92..20a57f57 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetFilterParameter.java +++ b/src/main/java/com/fireblocks/sdk/model/GetFilterParameter.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetLayerZeroDvnConfigResponse.java b/src/main/java/com/fireblocks/sdk/model/GetLayerZeroDvnConfigResponse.java index 7e675ba3..2be78aef 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetLayerZeroDvnConfigResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetLayerZeroDvnConfigResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetLayerZeroPeersResponse.java b/src/main/java/com/fireblocks/sdk/model/GetLayerZeroPeersResponse.java index baa1d6eb..fad28c5d 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetLayerZeroPeersResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetLayerZeroPeersResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetLinkedCollectionsPaginatedResponse.java b/src/main/java/com/fireblocks/sdk/model/GetLinkedCollectionsPaginatedResponse.java index ce11bcb4..3d15898a 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetLinkedCollectionsPaginatedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetLinkedCollectionsPaginatedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetMaxBipIndexUsedResponse.java b/src/main/java/com/fireblocks/sdk/model/GetMaxBipIndexUsedResponse.java new file mode 100644 index 00000000..79228d49 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/GetMaxBipIndexUsedResponse.java @@ -0,0 +1,196 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** GetMaxBipIndexUsedResponse */ +@JsonPropertyOrder({ + GetMaxBipIndexUsedResponse.JSON_PROPERTY_MAX_BIP44_ADDRESS_INDEX_USED, + GetMaxBipIndexUsedResponse.JSON_PROPERTY_MAX_BIP44_CHANGE_ADDRESS_INDEX_USED +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class GetMaxBipIndexUsedResponse { + public static final String JSON_PROPERTY_MAX_BIP44_ADDRESS_INDEX_USED = + "maxBip44AddressIndexUsed"; + @jakarta.annotation.Nullable private Integer maxBip44AddressIndexUsed; + + public static final String JSON_PROPERTY_MAX_BIP44_CHANGE_ADDRESS_INDEX_USED = + "maxBip44ChangeAddressIndexUsed"; + @jakarta.annotation.Nullable private Integer maxBip44ChangeAddressIndexUsed; + + public GetMaxBipIndexUsedResponse() {} + + public GetMaxBipIndexUsedResponse maxBip44AddressIndexUsed( + @jakarta.annotation.Nullable Integer maxBip44AddressIndexUsed) { + this.maxBip44AddressIndexUsed = maxBip44AddressIndexUsed; + return this; + } + + /** + * The maximum BIP44 address index used for the vault account and asset + * + * @return maxBip44AddressIndexUsed + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MAX_BIP44_ADDRESS_INDEX_USED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Integer getMaxBip44AddressIndexUsed() { + return maxBip44AddressIndexUsed; + } + + @JsonProperty(JSON_PROPERTY_MAX_BIP44_ADDRESS_INDEX_USED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMaxBip44AddressIndexUsed( + @jakarta.annotation.Nullable Integer maxBip44AddressIndexUsed) { + this.maxBip44AddressIndexUsed = maxBip44AddressIndexUsed; + } + + public GetMaxBipIndexUsedResponse maxBip44ChangeAddressIndexUsed( + @jakarta.annotation.Nullable Integer maxBip44ChangeAddressIndexUsed) { + this.maxBip44ChangeAddressIndexUsed = maxBip44ChangeAddressIndexUsed; + return this; + } + + /** + * The maximum BIP44 change address index used for the vault account and asset + * + * @return maxBip44ChangeAddressIndexUsed + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MAX_BIP44_CHANGE_ADDRESS_INDEX_USED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Integer getMaxBip44ChangeAddressIndexUsed() { + return maxBip44ChangeAddressIndexUsed; + } + + @JsonProperty(JSON_PROPERTY_MAX_BIP44_CHANGE_ADDRESS_INDEX_USED) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMaxBip44ChangeAddressIndexUsed( + @jakarta.annotation.Nullable Integer maxBip44ChangeAddressIndexUsed) { + this.maxBip44ChangeAddressIndexUsed = maxBip44ChangeAddressIndexUsed; + } + + /** Return true if this GetMaxBipIndexUsedResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetMaxBipIndexUsedResponse getMaxBipIndexUsedResponse = (GetMaxBipIndexUsedResponse) o; + return Objects.equals( + this.maxBip44AddressIndexUsed, + getMaxBipIndexUsedResponse.maxBip44AddressIndexUsed) + && Objects.equals( + this.maxBip44ChangeAddressIndexUsed, + getMaxBipIndexUsedResponse.maxBip44ChangeAddressIndexUsed); + } + + @Override + public int hashCode() { + return Objects.hash(maxBip44AddressIndexUsed, maxBip44ChangeAddressIndexUsed); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetMaxBipIndexUsedResponse {\n"); + sb.append(" maxBip44AddressIndexUsed: ") + .append(toIndentedString(maxBip44AddressIndexUsed)) + .append("\n"); + sb.append(" maxBip44ChangeAddressIndexUsed: ") + .append(toIndentedString(maxBip44ChangeAddressIndexUsed)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `maxBip44AddressIndexUsed` to the URL query string + if (getMaxBip44AddressIndexUsed() != null) { + joiner.add( + String.format( + "%smaxBip44AddressIndexUsed%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getMaxBip44AddressIndexUsed())))); + } + + // add `maxBip44ChangeAddressIndexUsed` to the URL query string + if (getMaxBip44ChangeAddressIndexUsed() != null) { + joiner.add( + String.format( + "%smaxBip44ChangeAddressIndexUsed%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getMaxBip44ChangeAddressIndexUsed())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponse.java b/src/main/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponse.java index 6e3d6bbe..9dad097f 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetMpcKeysResponse.java b/src/main/java/com/fireblocks/sdk/model/GetMpcKeysResponse.java index dfffe97e..571b6234 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetMpcKeysResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetMpcKeysResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetNFTsResponse.java b/src/main/java/com/fireblocks/sdk/model/GetNFTsResponse.java index 7ffad3ef..e5b19330 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetNFTsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetNFTsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetOrdersResponse.java b/src/main/java/com/fireblocks/sdk/model/GetOrdersResponse.java index 62a685c9..467cba73 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetOrdersResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetOrdersResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetOtaStatusResponse.java b/src/main/java/com/fireblocks/sdk/model/GetOtaStatusResponse.java index 0af4a2a9..184ebb27 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetOtaStatusResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetOtaStatusResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetOwnershipTokensResponse.java b/src/main/java/com/fireblocks/sdk/model/GetOwnershipTokensResponse.java index fc883ce9..25432bb5 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetOwnershipTokensResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetOwnershipTokensResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponse.java b/src/main/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponse.java index 7f4e6a36..5d471668 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponsePaging.java b/src/main/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponsePaging.java index 9252b834..33f8d3f8 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponsePaging.java +++ b/src/main/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponsePaging.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetSigningKeyResponseDto.java b/src/main/java/com/fireblocks/sdk/model/GetSigningKeyResponseDto.java index f82ec199..d60f820f 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetSigningKeyResponseDto.java +++ b/src/main/java/com/fireblocks/sdk/model/GetSigningKeyResponseDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetTransactionOperation.java b/src/main/java/com/fireblocks/sdk/model/GetTransactionOperation.java index 816fdad2..bf4a17c7 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetTransactionOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/GetTransactionOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetValidationKeyResponseDto.java b/src/main/java/com/fireblocks/sdk/model/GetValidationKeyResponseDto.java index a89401e2..232ea94c 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetValidationKeyResponseDto.java +++ b/src/main/java/com/fireblocks/sdk/model/GetValidationKeyResponseDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetWhitelistIpAddressesResponse.java b/src/main/java/com/fireblocks/sdk/model/GetWhitelistIpAddressesResponse.java index 77090b1c..7cb5b6ad 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetWhitelistIpAddressesResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetWhitelistIpAddressesResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/GetWorkspaceStatusResponse.java b/src/main/java/com/fireblocks/sdk/model/GetWorkspaceStatusResponse.java index ba698b3f..54c53ddc 100644 --- a/src/main/java/com/fireblocks/sdk/model/GetWorkspaceStatusResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/GetWorkspaceStatusResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/HttpContractDoesNotExistError.java b/src/main/java/com/fireblocks/sdk/model/HttpContractDoesNotExistError.java index da00547b..fb0d34dd 100644 --- a/src/main/java/com/fireblocks/sdk/model/HttpContractDoesNotExistError.java +++ b/src/main/java/com/fireblocks/sdk/model/HttpContractDoesNotExistError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/IbanAddress.java b/src/main/java/com/fireblocks/sdk/model/IbanAddress.java index acf83ae1..159ac2b3 100644 --- a/src/main/java/com/fireblocks/sdk/model/IbanAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/IbanAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/IbanDestination.java b/src/main/java/com/fireblocks/sdk/model/IbanDestination.java index 5c24e46a..f90503d3 100644 --- a/src/main/java/com/fireblocks/sdk/model/IbanDestination.java +++ b/src/main/java/com/fireblocks/sdk/model/IbanDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/IbanPaymentInfo.java b/src/main/java/com/fireblocks/sdk/model/IbanPaymentInfo.java index 7d30e189..6cdacd85 100644 --- a/src/main/java/com/fireblocks/sdk/model/IbanPaymentInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/IbanPaymentInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Identification.java b/src/main/java/com/fireblocks/sdk/model/Identification.java index 8cdbac48..8175f4cc 100644 --- a/src/main/java/com/fireblocks/sdk/model/Identification.java +++ b/src/main/java/com/fireblocks/sdk/model/Identification.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/IdlType.java b/src/main/java/com/fireblocks/sdk/model/IdlType.java index 7b50eda4..a66a52a2 100644 --- a/src/main/java/com/fireblocks/sdk/model/IdlType.java +++ b/src/main/java/com/fireblocks/sdk/model/IdlType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/IndicativeQuoteEnum.java b/src/main/java/com/fireblocks/sdk/model/IndicativeQuoteEnum.java new file mode 100644 index 00000000..54d13d52 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/IndicativeQuoteEnum.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Indicates this is an indicative quote */ +public enum IndicativeQuoteEnum { + INDICATIVE("INDICATIVE"); + + private String value; + + IndicativeQuoteEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static IndicativeQuoteEnum fromValue(String value) { + for (IndicativeQuoteEnum b : IndicativeQuoteEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/IndicativeQuoteType.java b/src/main/java/com/fireblocks/sdk/model/IndicativeQuoteType.java index 05f4489e..708c9eda 100644 --- a/src/main/java/com/fireblocks/sdk/model/IndicativeQuoteType.java +++ b/src/main/java/com/fireblocks/sdk/model/IndicativeQuoteType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -28,68 +27,37 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class IndicativeQuoteType { - /** Indicates this is an indicative quote */ - public enum TypeEnum { - INDICATIVE(String.valueOf("INDICATIVE")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private IndicativeQuoteEnum type; public IndicativeQuoteType() {} @JsonCreator public IndicativeQuoteType( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type) { + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) IndicativeQuoteEnum type) { this.type = type; } - public IndicativeQuoteType type(@jakarta.annotation.Nonnull TypeEnum type) { + public IndicativeQuoteType type(@jakarta.annotation.Nonnull IndicativeQuoteEnum type) { this.type = type; return this; } /** - * Indicates this is an indicative quote + * Get type * * @return type */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public IndicativeQuoteEnum getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull IndicativeQuoteEnum type) { this.type = type; } diff --git a/src/main/java/com/fireblocks/sdk/model/InitiatorConfig.java b/src/main/java/com/fireblocks/sdk/model/InitiatorConfig.java index 4ac94f02..99bb7b02 100644 --- a/src/main/java/com/fireblocks/sdk/model/InitiatorConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/InitiatorConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/InitiatorConfigPattern.java b/src/main/java/com/fireblocks/sdk/model/InitiatorConfigPattern.java index d817c87a..77ec6729 100644 --- a/src/main/java/com/fireblocks/sdk/model/InitiatorConfigPattern.java +++ b/src/main/java/com/fireblocks/sdk/model/InitiatorConfigPattern.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/InstructionAmount.java b/src/main/java/com/fireblocks/sdk/model/InstructionAmount.java index b1d11b0a..2be9d45a 100644 --- a/src/main/java/com/fireblocks/sdk/model/InstructionAmount.java +++ b/src/main/java/com/fireblocks/sdk/model/InstructionAmount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/InternalReference.java b/src/main/java/com/fireblocks/sdk/model/InternalReference.java index 8061f69d..57389c47 100644 --- a/src/main/java/com/fireblocks/sdk/model/InternalReference.java +++ b/src/main/java/com/fireblocks/sdk/model/InternalReference.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/InternalTransferResponse.java b/src/main/java/com/fireblocks/sdk/model/InternalTransferResponse.java index 9b3cd620..858a9f04 100644 --- a/src/main/java/com/fireblocks/sdk/model/InternalTransferResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/InternalTransferResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/InvalidParamaterValueError.java b/src/main/java/com/fireblocks/sdk/model/InvalidParamaterValueError.java index f99083d8..fd73e677 100644 --- a/src/main/java/com/fireblocks/sdk/model/InvalidParamaterValueError.java +++ b/src/main/java/com/fireblocks/sdk/model/InvalidParamaterValueError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Job.java b/src/main/java/com/fireblocks/sdk/model/Job.java deleted file mode 100644 index 7cba28f8..00000000 --- a/src/main/java/com/fireblocks/sdk/model/Job.java +++ /dev/null @@ -1,436 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fireblocks.sdk.ApiClient; -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; -import java.util.Objects; -import java.util.StringJoiner; - -/** Job */ -@JsonPropertyOrder({ - Job.JSON_PROPERTY_ID, - Job.JSON_PROPERTY_TENANT_ID, - Job.JSON_PROPERTY_TYPE, - Job.JSON_PROPERTY_USER_ID, - Job.JSON_PROPERTY_CREATED, - Job.JSON_PROPERTY_UPDATED, - Job.JSON_PROPERTY_STATE, - Job.JSON_PROPERTY_TASKS -}) -@jakarta.annotation.Generated( - value = "org.openapitools.codegen.languages.JavaClientCodegen", - comments = "Generator version: 7.14.0") -public class Job { - public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable private String id; - - public static final String JSON_PROPERTY_TENANT_ID = "tenantId"; - @jakarta.annotation.Nullable private String tenantId; - - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable private String type; - - public static final String JSON_PROPERTY_USER_ID = "userId"; - @jakarta.annotation.Nullable private String userId; - - public static final String JSON_PROPERTY_CREATED = "created"; - @jakarta.annotation.Nullable private BigDecimal created; - - public static final String JSON_PROPERTY_UPDATED = "updated"; - @jakarta.annotation.Nullable private BigDecimal updated; - - public static final String JSON_PROPERTY_STATE = "state"; - @jakarta.annotation.Nullable private String state; - - public static final String JSON_PROPERTY_TASKS = "tasks"; - @jakarta.annotation.Nullable private List tasks; - - public Job() {} - - public Job id(@jakarta.annotation.Nullable String id) { - this.id = id; - return this; - } - - /** - * Get id - * - * @return id - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { - return id; - } - - @JsonProperty(JSON_PROPERTY_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setId(@jakarta.annotation.Nullable String id) { - this.id = id; - } - - public Job tenantId(@jakarta.annotation.Nullable String tenantId) { - this.tenantId = tenantId; - return this; - } - - /** - * Get tenantId - * - * @return tenantId - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TENANT_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTenantId() { - return tenantId; - } - - @JsonProperty(JSON_PROPERTY_TENANT_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTenantId(@jakarta.annotation.Nullable String tenantId) { - this.tenantId = tenantId; - } - - public Job type(@jakarta.annotation.Nullable String type) { - this.type = type; - return this; - } - - /** - * Get type - * - * @return type - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { - return type; - } - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setType(@jakarta.annotation.Nullable String type) { - this.type = type; - } - - public Job userId(@jakarta.annotation.Nullable String userId) { - this.userId = userId; - return this; - } - - /** - * Get userId - * - * @return userId - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUserId() { - return userId; - } - - @JsonProperty(JSON_PROPERTY_USER_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUserId(@jakarta.annotation.Nullable String userId) { - this.userId = userId; - } - - public Job created(@jakarta.annotation.Nullable BigDecimal created) { - this.created = created; - return this; - } - - /** - * Get created - * - * @return created - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CREATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BigDecimal getCreated() { - return created; - } - - @JsonProperty(JSON_PROPERTY_CREATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreated(@jakarta.annotation.Nullable BigDecimal created) { - this.created = created; - } - - public Job updated(@jakarta.annotation.Nullable BigDecimal updated) { - this.updated = updated; - return this; - } - - /** - * Get updated - * - * @return updated - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UPDATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BigDecimal getUpdated() { - return updated; - } - - @JsonProperty(JSON_PROPERTY_UPDATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUpdated(@jakarta.annotation.Nullable BigDecimal updated) { - this.updated = updated; - } - - public Job state(@jakarta.annotation.Nullable String state) { - this.state = state; - return this; - } - - /** - * Get state - * - * @return state - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getState() { - return state; - } - - @JsonProperty(JSON_PROPERTY_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setState(@jakarta.annotation.Nullable String state) { - this.state = state; - } - - public Job tasks(@jakarta.annotation.Nullable List tasks) { - this.tasks = tasks; - return this; - } - - public Job addTasksItem(Task tasksItem) { - if (this.tasks == null) { - this.tasks = new ArrayList<>(); - } - this.tasks.add(tasksItem); - return this; - } - - /** - * Get tasks - * - * @return tasks - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TASKS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTasks() { - return tasks; - } - - @JsonProperty(JSON_PROPERTY_TASKS) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTasks(@jakarta.annotation.Nullable List tasks) { - this.tasks = tasks; - } - - /** Return true if this Job object is equal to o. */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Job job = (Job) o; - return Objects.equals(this.id, job.id) - && Objects.equals(this.tenantId, job.tenantId) - && Objects.equals(this.type, job.type) - && Objects.equals(this.userId, job.userId) - && Objects.equals(this.created, job.created) - && Objects.equals(this.updated, job.updated) - && Objects.equals(this.state, job.state) - && Objects.equals(this.tasks, job.tasks); - } - - @Override - public int hashCode() { - return Objects.hash(id, tenantId, type, userId, created, updated, state, tasks); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Job {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" tenantId: ").append(toIndentedString(tenantId)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" tasks: ").append(toIndentedString(tasks)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first - * line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `id` to the URL query string - if (getId() != null) { - joiner.add( - String.format( - "%sid%s=%s", - prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); - } - - // add `tenantId` to the URL query string - if (getTenantId() != null) { - joiner.add( - String.format( - "%stenantId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getTenantId())))); - } - - // add `type` to the URL query string - if (getType() != null) { - joiner.add( - String.format( - "%stype%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getType())))); - } - - // add `userId` to the URL query string - if (getUserId() != null) { - joiner.add( - String.format( - "%suserId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getUserId())))); - } - - // add `created` to the URL query string - if (getCreated() != null) { - joiner.add( - String.format( - "%screated%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getCreated())))); - } - - // add `updated` to the URL query string - if (getUpdated() != null) { - joiner.add( - String.format( - "%supdated%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getUpdated())))); - } - - // add `state` to the URL query string - if (getState() != null) { - joiner.add( - String.format( - "%sstate%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getState())))); - } - - // add `tasks` to the URL query string - if (getTasks() != null) { - for (int i = 0; i < getTasks().size(); i++) { - if (getTasks().get(i) != null) { - joiner.add( - getTasks() - .get(i) - .toUrlQueryString( - String.format( - "%stasks%s%s", - prefix, - suffix, - "".equals(suffix) - ? "" - : String.format( - "%s%d%s", - containerPrefix, - i, - containerSuffix)))); - } - } - } - - return joiner.toString(); - } -} diff --git a/src/main/java/com/fireblocks/sdk/model/JobCreated.java b/src/main/java/com/fireblocks/sdk/model/JobCreated.java index 1992e55a..ecc6f3fa 100644 --- a/src/main/java/com/fireblocks/sdk/model/JobCreated.java +++ b/src/main/java/com/fireblocks/sdk/model/JobCreated.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LayerZeroAdapterCreateParams.java b/src/main/java/com/fireblocks/sdk/model/LayerZeroAdapterCreateParams.java index 426666ff..f5d04c99 100644 --- a/src/main/java/com/fireblocks/sdk/model/LayerZeroAdapterCreateParams.java +++ b/src/main/java/com/fireblocks/sdk/model/LayerZeroAdapterCreateParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LbtPaymentInfo.java b/src/main/java/com/fireblocks/sdk/model/LbtPaymentInfo.java index 57e9a6c7..a1ff3e80 100644 --- a/src/main/java/com/fireblocks/sdk/model/LbtPaymentInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/LbtPaymentInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LeanAbiFunction.java b/src/main/java/com/fireblocks/sdk/model/LeanAbiFunction.java index cb9ccfe9..1d31ef40 100644 --- a/src/main/java/com/fireblocks/sdk/model/LeanAbiFunction.java +++ b/src/main/java/com/fireblocks/sdk/model/LeanAbiFunction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LeanContractDto.java b/src/main/java/com/fireblocks/sdk/model/LeanContractDto.java index 007ab88f..f6b9584a 100644 --- a/src/main/java/com/fireblocks/sdk/model/LeanContractDto.java +++ b/src/main/java/com/fireblocks/sdk/model/LeanContractDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LeanDeployedContractResponseDto.java b/src/main/java/com/fireblocks/sdk/model/LeanDeployedContractResponseDto.java index fbdc4d1b..8fdaa342 100644 --- a/src/main/java/com/fireblocks/sdk/model/LeanDeployedContractResponseDto.java +++ b/src/main/java/com/fireblocks/sdk/model/LeanDeployedContractResponseDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyAmountAggregationTimePeriodMethod.java b/src/main/java/com/fireblocks/sdk/model/LegacyAmountAggregationTimePeriodMethod.java index a2e6a0aa..7e4b8bb5 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyAmountAggregationTimePeriodMethod.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyAmountAggregationTimePeriodMethod.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyDraftResponse.java b/src/main/java/com/fireblocks/sdk/model/LegacyDraftResponse.java index 6f316f1c..b277076c 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyDraftResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyDraftResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyDraftReviewAndValidationResponse.java b/src/main/java/com/fireblocks/sdk/model/LegacyDraftReviewAndValidationResponse.java index 0e21983d..0a2740fe 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyDraftReviewAndValidationResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyDraftReviewAndValidationResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyAndValidationResponse.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyAndValidationResponse.java index 8b6feed3..8c473285 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyAndValidationResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyAndValidationResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyCheckResult.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyCheckResult.java index 2762ffa3..39b31801 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyCheckResult.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyCheckResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyMetadata.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyMetadata.java index e0a7de21..54abc3ab 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyMetadata.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyMetadata.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyResponse.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyResponse.java index d5677c47..fd0337d5 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRule.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRule.java index 563b72e5..71c628f0 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRule.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmount.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmount.java index 4edc5c51..bc40d9b3 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmount.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountAggregation.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountAggregation.java index 2eabd4b6..01a18228 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountAggregation.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountAggregation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroups.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroups.java index ac9f7315..d60bd1d7 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroups.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroups.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsGroupsInner.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsGroupsInner.java index c7a0dec9..371b8ce3 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsGroupsInner.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsGroupsInner.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleCheckResult.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleCheckResult.java index 33809143..08319b66 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleCheckResult.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleCheckResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleDesignatedSigners.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleDesignatedSigners.java index 693862ef..79737164 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleDesignatedSigners.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleDesignatedSigners.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleDst.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleDst.java index a968064f..2ba88cdd 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleDst.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleDst.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleError.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleError.java index f644dffb..4270bbe6 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleError.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleOperators.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleOperators.java index 4cfbcd2c..1e674def 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleOperators.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleOperators.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigning.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigning.java index 6e6976f4..bb880f85 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigning.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigning.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningDerivationPath.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningDerivationPath.java index 8ca8a514..77a08f00 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningDerivationPath.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningDerivationPath.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleSrc.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleSrc.java index 38e658d0..8d43f1f2 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleSrc.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRuleSrc.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRules.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRules.java index 6e32834c..47f2de65 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRules.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyRules.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestSubType.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestSubType.java index 83402e62..23cc4e33 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestSubType.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestSubType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestType.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestType.java index 8656e3dd..1caa2ded 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestType.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyStatus.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyStatus.java index dcf55a34..c6399c67 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyValidation.java b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyValidation.java index 9c833104..f1bb4aa8 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPolicyValidation.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPolicyValidation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPublishDraftRequest.java b/src/main/java/com/fireblocks/sdk/model/LegacyPublishDraftRequest.java index 0aca5758..aacf9977 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPublishDraftRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPublishDraftRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacyPublishResult.java b/src/main/java/com/fireblocks/sdk/model/LegacyPublishResult.java index 2b24ea85..d845a173 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacyPublishResult.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacyPublishResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LegacySrcOrDestAttributesInner.java b/src/main/java/com/fireblocks/sdk/model/LegacySrcOrDestAttributesInner.java index 74688570..7ff1bbb4 100644 --- a/src/main/java/com/fireblocks/sdk/model/LegacySrcOrDestAttributesInner.java +++ b/src/main/java/com/fireblocks/sdk/model/LegacySrcOrDestAttributesInner.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LimitExecutionRequestDetails.java b/src/main/java/com/fireblocks/sdk/model/LimitExecutionRequestDetails.java deleted file mode 100644 index 7eefa6e2..00000000 --- a/src/main/java/com/fireblocks/sdk/model/LimitExecutionRequestDetails.java +++ /dev/null @@ -1,554 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fireblocks.sdk.ApiClient; -import java.util.Objects; -import java.util.StringJoiner; - -/** LimitExecutionRequestDetails */ -@JsonPropertyOrder({ - LimitExecutionRequestDetails.JSON_PROPERTY_TYPE, - LimitExecutionRequestDetails.JSON_PROPERTY_TIME_IN_FORCE, - LimitExecutionRequestDetails.JSON_PROPERTY_LIMIT_PRICE, - LimitExecutionRequestDetails.JSON_PROPERTY_SIDE, - LimitExecutionRequestDetails.JSON_PROPERTY_BASE_AMOUNT, - LimitExecutionRequestDetails.JSON_PROPERTY_BASE_ASSET_ID, - LimitExecutionRequestDetails.JSON_PROPERTY_BASE_ASSET_RAIL, - LimitExecutionRequestDetails.JSON_PROPERTY_QUOTE_ASSET_ID, - LimitExecutionRequestDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL -}) -@jakarta.annotation.Generated( - value = "org.openapitools.codegen.languages.JavaClientCodegen", - comments = "Generator version: 7.14.0") -public class LimitExecutionRequestDetails { - /** Order type for limit orders */ - public enum TypeEnum { - LIMIT(String.valueOf("LIMIT")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; - - public static final String JSON_PROPERTY_TIME_IN_FORCE = "timeInForce"; - @jakarta.annotation.Nonnull private TimeInForce timeInForce; - - public static final String JSON_PROPERTY_LIMIT_PRICE = "limitPrice"; - @jakarta.annotation.Nonnull private String limitPrice; - - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY; - - public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount"; - @jakarta.annotation.Nonnull private String baseAmount; - - public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId"; - @jakarta.annotation.Nonnull private String baseAssetId; - - public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail"; - @jakarta.annotation.Nullable private TransferRail baseAssetRail; - - public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId"; - @jakarta.annotation.Nonnull private String quoteAssetId; - - public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail"; - @jakarta.annotation.Nullable private TransferRail quoteAssetRail; - - public LimitExecutionRequestDetails() {} - - @JsonCreator - public LimitExecutionRequestDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, - @JsonProperty(value = JSON_PROPERTY_TIME_IN_FORCE, required = true) - TimeInForce timeInForce, - @JsonProperty(value = JSON_PROPERTY_LIMIT_PRICE, required = true) String limitPrice, - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side, - @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, - @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, - @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) - String quoteAssetId) { - this.type = type; - this.timeInForce = timeInForce; - this.limitPrice = limitPrice; - this.side = side; - this.baseAmount = baseAmount; - this.baseAssetId = baseAssetId; - this.quoteAssetId = quoteAssetId; - } - - public LimitExecutionRequestDetails type(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; - return this; - } - - /** - * Order type for limit orders - * - * @return type - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { - return type; - } - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; - } - - public LimitExecutionRequestDetails timeInForce( - @jakarta.annotation.Nonnull TimeInForce timeInForce) { - this.timeInForce = timeInForce; - return this; - } - - /** - * Get timeInForce - * - * @return timeInForce - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TimeInForce getTimeInForce() { - return timeInForce; - } - - @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setTimeInForce(@jakarta.annotation.Nonnull TimeInForce timeInForce) { - this.timeInForce = timeInForce; - } - - public LimitExecutionRequestDetails limitPrice(@jakarta.annotation.Nonnull String limitPrice) { - this.limitPrice = limitPrice; - return this; - } - - /** - * Price for limit orders - * - * @return limitPrice - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_LIMIT_PRICE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getLimitPrice() { - return limitPrice; - } - - @JsonProperty(JSON_PROPERTY_LIMIT_PRICE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setLimitPrice(@jakarta.annotation.Nonnull String limitPrice) { - this.limitPrice = limitPrice; - } - - public LimitExecutionRequestDetails side(@jakarta.annotation.Nonnull SideEnum side) { - this.side = side; - return this; - } - - /** - * Side of the order - * - * @return side - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SIDE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { - return side; - } - - @JsonProperty(JSON_PROPERTY_SIDE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { - this.side = side; - } - - public LimitExecutionRequestDetails baseAmount(@jakarta.annotation.Nonnull String baseAmount) { - this.baseAmount = baseAmount; - return this; - } - - /** - * Amount to convert - * - * @return baseAmount - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BASE_AMOUNT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getBaseAmount() { - return baseAmount; - } - - @JsonProperty(JSON_PROPERTY_BASE_AMOUNT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBaseAmount(@jakarta.annotation.Nonnull String baseAmount) { - this.baseAmount = baseAmount; - } - - public LimitExecutionRequestDetails baseAssetId( - @jakarta.annotation.Nonnull String baseAssetId) { - this.baseAssetId = baseAssetId; - return this; - } - - /** - * Source asset identifier - * - * @return baseAssetId - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getBaseAssetId() { - return baseAssetId; - } - - @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBaseAssetId(@jakarta.annotation.Nonnull String baseAssetId) { - this.baseAssetId = baseAssetId; - } - - public LimitExecutionRequestDetails baseAssetRail( - @jakarta.annotation.Nullable TransferRail baseAssetRail) { - this.baseAssetRail = baseAssetRail; - return this; - } - - /** - * Get baseAssetRail - * - * @return baseAssetRail - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BASE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferRail getBaseAssetRail() { - return baseAssetRail; - } - - @JsonProperty(JSON_PROPERTY_BASE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBaseAssetRail(@jakarta.annotation.Nullable TransferRail baseAssetRail) { - this.baseAssetRail = baseAssetRail; - } - - public LimitExecutionRequestDetails quoteAssetId( - @jakarta.annotation.Nonnull String quoteAssetId) { - this.quoteAssetId = quoteAssetId; - return this; - } - - /** - * Target asset identifier - * - * @return quoteAssetId - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getQuoteAssetId() { - return quoteAssetId; - } - - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setQuoteAssetId(@jakarta.annotation.Nonnull String quoteAssetId) { - this.quoteAssetId = quoteAssetId; - } - - public LimitExecutionRequestDetails quoteAssetRail( - @jakarta.annotation.Nullable TransferRail quoteAssetRail) { - this.quoteAssetRail = quoteAssetRail; - return this; - } - - /** - * Get quoteAssetRail - * - * @return quoteAssetRail - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferRail getQuoteAssetRail() { - return quoteAssetRail; - } - - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setQuoteAssetRail(@jakarta.annotation.Nullable TransferRail quoteAssetRail) { - this.quoteAssetRail = quoteAssetRail; - } - - /** Return true if this LimitExecutionRequestDetails object is equal to o. */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LimitExecutionRequestDetails limitExecutionRequestDetails = - (LimitExecutionRequestDetails) o; - return Objects.equals(this.type, limitExecutionRequestDetails.type) - && Objects.equals(this.timeInForce, limitExecutionRequestDetails.timeInForce) - && Objects.equals(this.limitPrice, limitExecutionRequestDetails.limitPrice) - && Objects.equals(this.side, limitExecutionRequestDetails.side) - && Objects.equals(this.baseAmount, limitExecutionRequestDetails.baseAmount) - && Objects.equals(this.baseAssetId, limitExecutionRequestDetails.baseAssetId) - && Objects.equals(this.baseAssetRail, limitExecutionRequestDetails.baseAssetRail) - && Objects.equals(this.quoteAssetId, limitExecutionRequestDetails.quoteAssetId) - && Objects.equals(this.quoteAssetRail, limitExecutionRequestDetails.quoteAssetRail); - } - - @Override - public int hashCode() { - return Objects.hash( - type, - timeInForce, - limitPrice, - side, - baseAmount, - baseAssetId, - baseAssetRail, - quoteAssetId, - quoteAssetRail); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LimitExecutionRequestDetails {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" timeInForce: ").append(toIndentedString(timeInForce)).append("\n"); - sb.append(" limitPrice: ").append(toIndentedString(limitPrice)).append("\n"); - sb.append(" side: ").append(toIndentedString(side)).append("\n"); - sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n"); - sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n"); - sb.append(" baseAssetRail: ").append(toIndentedString(baseAssetRail)).append("\n"); - sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n"); - sb.append(" quoteAssetRail: ").append(toIndentedString(quoteAssetRail)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first - * line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `type` to the URL query string - if (getType() != null) { - joiner.add( - String.format( - "%stype%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getType())))); - } - - // add `timeInForce` to the URL query string - if (getTimeInForce() != null) { - joiner.add( - String.format( - "%stimeInForce%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getTimeInForce())))); - } - - // add `limitPrice` to the URL query string - if (getLimitPrice() != null) { - joiner.add( - String.format( - "%slimitPrice%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getLimitPrice())))); - } - - // add `side` to the URL query string - if (getSide() != null) { - joiner.add( - String.format( - "%sside%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getSide())))); - } - - // add `baseAmount` to the URL query string - if (getBaseAmount() != null) { - joiner.add( - String.format( - "%sbaseAmount%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBaseAmount())))); - } - - // add `baseAssetId` to the URL query string - if (getBaseAssetId() != null) { - joiner.add( - String.format( - "%sbaseAssetId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBaseAssetId())))); - } - - // add `baseAssetRail` to the URL query string - if (getBaseAssetRail() != null) { - joiner.add( - String.format( - "%sbaseAssetRail%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBaseAssetRail())))); - } - - // add `quoteAssetId` to the URL query string - if (getQuoteAssetId() != null) { - joiner.add( - String.format( - "%squoteAssetId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetId())))); - } - - // add `quoteAssetRail` to the URL query string - if (getQuoteAssetRail() != null) { - joiner.add( - String.format( - "%squoteAssetRail%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetRail())))); - } - - return joiner.toString(); - } -} diff --git a/src/main/java/com/fireblocks/sdk/model/LimitExecutionResponseDetails.java b/src/main/java/com/fireblocks/sdk/model/LimitExecutionResponseDetails.java deleted file mode 100644 index faef0453..00000000 --- a/src/main/java/com/fireblocks/sdk/model/LimitExecutionResponseDetails.java +++ /dev/null @@ -1,555 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fireblocks.sdk.ApiClient; -import java.util.Objects; -import java.util.StringJoiner; - -/** LimitExecutionResponseDetails */ -@JsonPropertyOrder({ - LimitExecutionResponseDetails.JSON_PROPERTY_TYPE, - LimitExecutionResponseDetails.JSON_PROPERTY_TIME_IN_FORCE, - LimitExecutionResponseDetails.JSON_PROPERTY_LIMIT_PRICE, - LimitExecutionResponseDetails.JSON_PROPERTY_SIDE, - LimitExecutionResponseDetails.JSON_PROPERTY_BASE_AMOUNT, - LimitExecutionResponseDetails.JSON_PROPERTY_BASE_ASSET_ID, - LimitExecutionResponseDetails.JSON_PROPERTY_BASE_ASSET_RAIL, - LimitExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_ID, - LimitExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL -}) -@jakarta.annotation.Generated( - value = "org.openapitools.codegen.languages.JavaClientCodegen", - comments = "Generator version: 7.14.0") -public class LimitExecutionResponseDetails { - /** Order type for limit orders */ - public enum TypeEnum { - LIMIT(String.valueOf("LIMIT")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; - - public static final String JSON_PROPERTY_TIME_IN_FORCE = "timeInForce"; - @jakarta.annotation.Nonnull private TimeInForce timeInForce; - - public static final String JSON_PROPERTY_LIMIT_PRICE = "limitPrice"; - @jakarta.annotation.Nonnull private String limitPrice; - - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY; - - public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount"; - @jakarta.annotation.Nonnull private String baseAmount; - - public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId"; - @jakarta.annotation.Nonnull private String baseAssetId; - - public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail"; - @jakarta.annotation.Nullable private TransferRail baseAssetRail; - - public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId"; - @jakarta.annotation.Nonnull private String quoteAssetId; - - public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail"; - @jakarta.annotation.Nullable private TransferRail quoteAssetRail; - - public LimitExecutionResponseDetails() {} - - @JsonCreator - public LimitExecutionResponseDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, - @JsonProperty(value = JSON_PROPERTY_TIME_IN_FORCE, required = true) - TimeInForce timeInForce, - @JsonProperty(value = JSON_PROPERTY_LIMIT_PRICE, required = true) String limitPrice, - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side, - @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, - @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, - @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) - String quoteAssetId) { - this.type = type; - this.timeInForce = timeInForce; - this.limitPrice = limitPrice; - this.side = side; - this.baseAmount = baseAmount; - this.baseAssetId = baseAssetId; - this.quoteAssetId = quoteAssetId; - } - - public LimitExecutionResponseDetails type(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; - return this; - } - - /** - * Order type for limit orders - * - * @return type - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { - return type; - } - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; - } - - public LimitExecutionResponseDetails timeInForce( - @jakarta.annotation.Nonnull TimeInForce timeInForce) { - this.timeInForce = timeInForce; - return this; - } - - /** - * Get timeInForce - * - * @return timeInForce - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TimeInForce getTimeInForce() { - return timeInForce; - } - - @JsonProperty(JSON_PROPERTY_TIME_IN_FORCE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setTimeInForce(@jakarta.annotation.Nonnull TimeInForce timeInForce) { - this.timeInForce = timeInForce; - } - - public LimitExecutionResponseDetails limitPrice(@jakarta.annotation.Nonnull String limitPrice) { - this.limitPrice = limitPrice; - return this; - } - - /** - * Price for limit orders - * - * @return limitPrice - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_LIMIT_PRICE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getLimitPrice() { - return limitPrice; - } - - @JsonProperty(JSON_PROPERTY_LIMIT_PRICE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setLimitPrice(@jakarta.annotation.Nonnull String limitPrice) { - this.limitPrice = limitPrice; - } - - public LimitExecutionResponseDetails side(@jakarta.annotation.Nonnull SideEnum side) { - this.side = side; - return this; - } - - /** - * Side of the order - * - * @return side - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SIDE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { - return side; - } - - @JsonProperty(JSON_PROPERTY_SIDE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { - this.side = side; - } - - public LimitExecutionResponseDetails baseAmount(@jakarta.annotation.Nonnull String baseAmount) { - this.baseAmount = baseAmount; - return this; - } - - /** - * Amount to convert - * - * @return baseAmount - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BASE_AMOUNT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getBaseAmount() { - return baseAmount; - } - - @JsonProperty(JSON_PROPERTY_BASE_AMOUNT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBaseAmount(@jakarta.annotation.Nonnull String baseAmount) { - this.baseAmount = baseAmount; - } - - public LimitExecutionResponseDetails baseAssetId( - @jakarta.annotation.Nonnull String baseAssetId) { - this.baseAssetId = baseAssetId; - return this; - } - - /** - * Source asset identifier - * - * @return baseAssetId - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getBaseAssetId() { - return baseAssetId; - } - - @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBaseAssetId(@jakarta.annotation.Nonnull String baseAssetId) { - this.baseAssetId = baseAssetId; - } - - public LimitExecutionResponseDetails baseAssetRail( - @jakarta.annotation.Nullable TransferRail baseAssetRail) { - this.baseAssetRail = baseAssetRail; - return this; - } - - /** - * Get baseAssetRail - * - * @return baseAssetRail - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BASE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferRail getBaseAssetRail() { - return baseAssetRail; - } - - @JsonProperty(JSON_PROPERTY_BASE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBaseAssetRail(@jakarta.annotation.Nullable TransferRail baseAssetRail) { - this.baseAssetRail = baseAssetRail; - } - - public LimitExecutionResponseDetails quoteAssetId( - @jakarta.annotation.Nonnull String quoteAssetId) { - this.quoteAssetId = quoteAssetId; - return this; - } - - /** - * Target asset identifier - * - * @return quoteAssetId - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getQuoteAssetId() { - return quoteAssetId; - } - - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setQuoteAssetId(@jakarta.annotation.Nonnull String quoteAssetId) { - this.quoteAssetId = quoteAssetId; - } - - public LimitExecutionResponseDetails quoteAssetRail( - @jakarta.annotation.Nullable TransferRail quoteAssetRail) { - this.quoteAssetRail = quoteAssetRail; - return this; - } - - /** - * Get quoteAssetRail - * - * @return quoteAssetRail - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferRail getQuoteAssetRail() { - return quoteAssetRail; - } - - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setQuoteAssetRail(@jakarta.annotation.Nullable TransferRail quoteAssetRail) { - this.quoteAssetRail = quoteAssetRail; - } - - /** Return true if this LimitExecutionResponseDetails object is equal to o. */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LimitExecutionResponseDetails limitExecutionResponseDetails = - (LimitExecutionResponseDetails) o; - return Objects.equals(this.type, limitExecutionResponseDetails.type) - && Objects.equals(this.timeInForce, limitExecutionResponseDetails.timeInForce) - && Objects.equals(this.limitPrice, limitExecutionResponseDetails.limitPrice) - && Objects.equals(this.side, limitExecutionResponseDetails.side) - && Objects.equals(this.baseAmount, limitExecutionResponseDetails.baseAmount) - && Objects.equals(this.baseAssetId, limitExecutionResponseDetails.baseAssetId) - && Objects.equals(this.baseAssetRail, limitExecutionResponseDetails.baseAssetRail) - && Objects.equals(this.quoteAssetId, limitExecutionResponseDetails.quoteAssetId) - && Objects.equals( - this.quoteAssetRail, limitExecutionResponseDetails.quoteAssetRail); - } - - @Override - public int hashCode() { - return Objects.hash( - type, - timeInForce, - limitPrice, - side, - baseAmount, - baseAssetId, - baseAssetRail, - quoteAssetId, - quoteAssetRail); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LimitExecutionResponseDetails {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" timeInForce: ").append(toIndentedString(timeInForce)).append("\n"); - sb.append(" limitPrice: ").append(toIndentedString(limitPrice)).append("\n"); - sb.append(" side: ").append(toIndentedString(side)).append("\n"); - sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n"); - sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n"); - sb.append(" baseAssetRail: ").append(toIndentedString(baseAssetRail)).append("\n"); - sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n"); - sb.append(" quoteAssetRail: ").append(toIndentedString(quoteAssetRail)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first - * line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `type` to the URL query string - if (getType() != null) { - joiner.add( - String.format( - "%stype%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getType())))); - } - - // add `timeInForce` to the URL query string - if (getTimeInForce() != null) { - joiner.add( - String.format( - "%stimeInForce%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getTimeInForce())))); - } - - // add `limitPrice` to the URL query string - if (getLimitPrice() != null) { - joiner.add( - String.format( - "%slimitPrice%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getLimitPrice())))); - } - - // add `side` to the URL query string - if (getSide() != null) { - joiner.add( - String.format( - "%sside%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getSide())))); - } - - // add `baseAmount` to the URL query string - if (getBaseAmount() != null) { - joiner.add( - String.format( - "%sbaseAmount%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBaseAmount())))); - } - - // add `baseAssetId` to the URL query string - if (getBaseAssetId() != null) { - joiner.add( - String.format( - "%sbaseAssetId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBaseAssetId())))); - } - - // add `baseAssetRail` to the URL query string - if (getBaseAssetRail() != null) { - joiner.add( - String.format( - "%sbaseAssetRail%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBaseAssetRail())))); - } - - // add `quoteAssetId` to the URL query string - if (getQuoteAssetId() != null) { - joiner.add( - String.format( - "%squoteAssetId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetId())))); - } - - // add `quoteAssetRail` to the URL query string - if (getQuoteAssetRail() != null) { - joiner.add( - String.format( - "%squoteAssetRail%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetRail())))); - } - - return joiner.toString(); - } -} diff --git a/src/main/java/com/fireblocks/sdk/model/LinkedTokensCount.java b/src/main/java/com/fireblocks/sdk/model/LinkedTokensCount.java new file mode 100644 index 00000000..454372ce --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/LinkedTokensCount.java @@ -0,0 +1,147 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.Objects; +import java.util.StringJoiner; + +/** LinkedTokensCount */ +@JsonPropertyOrder({LinkedTokensCount.JSON_PROPERTY_COUNT}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class LinkedTokensCount { + public static final String JSON_PROPERTY_COUNT = "count"; + @jakarta.annotation.Nonnull private BigDecimal count; + + public LinkedTokensCount() {} + + @JsonCreator + public LinkedTokensCount( + @JsonProperty(value = JSON_PROPERTY_COUNT, required = true) BigDecimal count) { + this.count = count; + } + + public LinkedTokensCount count(@jakarta.annotation.Nonnull BigDecimal count) { + this.count = count; + return this; + } + + /** + * The total count of linked tokens + * + * @return count + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_COUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public BigDecimal getCount() { + return count; + } + + @JsonProperty(JSON_PROPERTY_COUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCount(@jakarta.annotation.Nonnull BigDecimal count) { + this.count = count; + } + + /** Return true if this LinkedTokensCount object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LinkedTokensCount linkedTokensCount = (LinkedTokensCount) o; + return Objects.equals(this.count, linkedTokensCount.count); + } + + @Override + public int hashCode() { + return Objects.hash(count); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LinkedTokensCount {\n"); + sb.append(" count: ").append(toIndentedString(count)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `count` to the URL query string + if (getCount() != null) { + joiner.add( + String.format( + "%scount%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCount())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ListAssetsResponse.java b/src/main/java/com/fireblocks/sdk/model/ListAssetsResponse.java index 99702f68..73224660 100644 --- a/src/main/java/com/fireblocks/sdk/model/ListAssetsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ListAssetsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ListBlockchainsResponse.java b/src/main/java/com/fireblocks/sdk/model/ListBlockchainsResponse.java index 6bf29e8d..ca8c37ac 100644 --- a/src/main/java/com/fireblocks/sdk/model/ListBlockchainsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ListBlockchainsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ListOwnedCollectionsResponse.java b/src/main/java/com/fireblocks/sdk/model/ListOwnedCollectionsResponse.java index 40174801..86c98fbb 100644 --- a/src/main/java/com/fireblocks/sdk/model/ListOwnedCollectionsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ListOwnedCollectionsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ListOwnedTokensResponse.java b/src/main/java/com/fireblocks/sdk/model/ListOwnedTokensResponse.java index 071459b5..73d15fb2 100644 --- a/src/main/java/com/fireblocks/sdk/model/ListOwnedTokensResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ListOwnedTokensResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddress.java b/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddress.java index 8453e214..f3f4750a 100644 --- a/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestination.java b/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestination.java index 1c8d6ae8..512433b3 100644 --- a/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestination.java +++ b/src/main/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -33,7 +33,7 @@ public class LocalBankTransferAfricaDestination { /** Gets or Sets type */ public enum TypeEnum { - LOCAL_BANK_TRANSFER_AFRICA(String.valueOf("LOCAL_BANK_TRANSFER_AFRICA")); + LOCAL_BANK_TRANSFER(String.valueOf("LOCAL_BANK_TRANSFER")); private String value; diff --git a/src/main/java/com/fireblocks/sdk/model/Manifest.java b/src/main/java/com/fireblocks/sdk/model/Manifest.java index 228f8a63..92e3f6b0 100644 --- a/src/main/java/com/fireblocks/sdk/model/Manifest.java +++ b/src/main/java/com/fireblocks/sdk/model/Manifest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.ArrayList; import java.util.List; @@ -30,41 +29,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class Manifest { - /** Gets or Sets assetTypes */ - public enum AssetTypesEnum { - DIGITAL(String.valueOf("DIGITAL")), - - FIAT(String.valueOf("FIAT")); - - private String value; - - AssetTypesEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static AssetTypesEnum fromValue(String value) { - for (AssetTypesEnum b : AssetTypesEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_ASSET_TYPES = "assetTypes"; - @jakarta.annotation.Nonnull private List assetTypes; + @jakarta.annotation.Nonnull private List assetTypes; public static final String JSON_PROPERTY_CAPABILITIES = "capabilities"; @jakarta.annotation.Nonnull private List capabilities; @@ -74,19 +40,19 @@ public Manifest() {} @JsonCreator public Manifest( @JsonProperty(value = JSON_PROPERTY_ASSET_TYPES, required = true) - List assetTypes, + List assetTypes, @JsonProperty(value = JSON_PROPERTY_CAPABILITIES, required = true) List capabilities) { this.assetTypes = assetTypes; this.capabilities = capabilities; } - public Manifest assetTypes(@jakarta.annotation.Nonnull List assetTypes) { + public Manifest assetTypes(@jakarta.annotation.Nonnull List assetTypes) { this.assetTypes = assetTypes; return this; } - public Manifest addAssetTypesItem(AssetTypesEnum assetTypesItem) { + public Manifest addAssetTypesItem(AssetTypeEnum assetTypesItem) { if (this.assetTypes == null) { this.assetTypes = new ArrayList<>(); } @@ -102,13 +68,13 @@ public Manifest addAssetTypesItem(AssetTypesEnum assetTypesItem) { @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ASSET_TYPES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getAssetTypes() { + public List getAssetTypes() { return assetTypes; } @JsonProperty(JSON_PROPERTY_ASSET_TYPES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setAssetTypes(@jakarta.annotation.Nonnull List assetTypes) { + public void setAssetTypes(@jakarta.annotation.Nonnull List assetTypes) { this.assetTypes = assetTypes; } @@ -218,17 +184,19 @@ public String toUrlQueryString(String prefix) { // add `assetTypes` to the URL query string if (getAssetTypes() != null) { for (int i = 0; i < getAssetTypes().size(); i++) { - joiner.add( - String.format( - "%sassetTypes%s%s=%s", - prefix, - suffix, - "".equals(suffix) - ? "" - : String.format( - "%s%d%s", containerPrefix, i, containerSuffix), - ApiClient.urlEncode( - ApiClient.valueToString(getAssetTypes().get(i))))); + if (getAssetTypes().get(i) != null) { + joiner.add( + String.format( + "%sassetTypes%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode( + ApiClient.valueToString(getAssetTypes().get(i))))); + } } } diff --git a/src/main/java/com/fireblocks/sdk/model/MarketExecutionRequestDetails.java b/src/main/java/com/fireblocks/sdk/model/MarketExecutionRequestDetails.java index d54b7b0a..03c60b3b 100644 --- a/src/main/java/com/fireblocks/sdk/model/MarketExecutionRequestDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/MarketExecutionRequestDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -36,75 +35,11 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class MarketExecutionRequestDetails { - /** Order type for market orders */ - public enum TypeEnum { - MARKET(String.valueOf("MARKET")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; - - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } + @jakarta.annotation.Nonnull private MarketTypeEnum type; public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY; + @jakarta.annotation.Nonnull private Side side; public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount"; @jakarta.annotation.Nonnull private String baseAmount; @@ -125,8 +60,8 @@ public MarketExecutionRequestDetails() {} @JsonCreator public MarketExecutionRequestDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) MarketTypeEnum type, + @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) Side side, @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) @@ -138,49 +73,49 @@ public MarketExecutionRequestDetails( this.quoteAssetId = quoteAssetId; } - public MarketExecutionRequestDetails type(@jakarta.annotation.Nonnull TypeEnum type) { + public MarketExecutionRequestDetails type(@jakarta.annotation.Nonnull MarketTypeEnum type) { this.type = type; return this; } /** - * Order type for market orders + * Get type * * @return type */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public MarketTypeEnum getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull MarketTypeEnum type) { this.type = type; } - public MarketExecutionRequestDetails side(@jakarta.annotation.Nonnull SideEnum side) { + public MarketExecutionRequestDetails side(@jakarta.annotation.Nonnull Side side) { this.side = side; return this; } /** - * Side of the order + * Get side * * @return side */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { + public Side getSide() { return side; } @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { + public void setSide(@jakarta.annotation.Nonnull Side side) { this.side = side; } diff --git a/src/main/java/com/fireblocks/sdk/model/MarketExecutionResponseDetails.java b/src/main/java/com/fireblocks/sdk/model/MarketExecutionResponseDetails.java index 0741164f..a337b535 100644 --- a/src/main/java/com/fireblocks/sdk/model/MarketExecutionResponseDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/MarketExecutionResponseDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -36,75 +35,11 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class MarketExecutionResponseDetails { - /** Order type for market orders */ - public enum TypeEnum { - MARKET(String.valueOf("MARKET")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; - - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } + @jakarta.annotation.Nonnull private MarketTypeEnum type; public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY; + @jakarta.annotation.Nonnull private Side side; public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount"; @jakarta.annotation.Nonnull private String baseAmount; @@ -125,8 +60,8 @@ public MarketExecutionResponseDetails() {} @JsonCreator public MarketExecutionResponseDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) MarketTypeEnum type, + @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) Side side, @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) @@ -138,49 +73,49 @@ public MarketExecutionResponseDetails( this.quoteAssetId = quoteAssetId; } - public MarketExecutionResponseDetails type(@jakarta.annotation.Nonnull TypeEnum type) { + public MarketExecutionResponseDetails type(@jakarta.annotation.Nonnull MarketTypeEnum type) { this.type = type; return this; } /** - * Order type for market orders + * Get type * * @return type */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public MarketTypeEnum getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull MarketTypeEnum type) { this.type = type; } - public MarketExecutionResponseDetails side(@jakarta.annotation.Nonnull SideEnum side) { + public MarketExecutionResponseDetails side(@jakarta.annotation.Nonnull Side side) { this.side = side; return this; } /** - * Side of the order + * Get side * * @return side */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { + public Side getSide() { return side; } @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { + public void setSide(@jakarta.annotation.Nonnull Side side) { this.side = side; } diff --git a/src/main/java/com/fireblocks/sdk/model/MarketRequoteRequestDetails.java b/src/main/java/com/fireblocks/sdk/model/MarketRequoteRequestDetails.java index 75e157bb..b1901fc7 100644 --- a/src/main/java/com/fireblocks/sdk/model/MarketRequoteRequestDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/MarketRequoteRequestDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -28,72 +27,38 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class MarketRequoteRequestDetails { - /** - * Indicates that the order should be re-quoted if the original quote is expired. This will lead - * to a market order. - */ - public enum TypeEnum { - MARKET(String.valueOf("MARKET")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private MarketRequoteTypeEnum type; public MarketRequoteRequestDetails() {} @JsonCreator public MarketRequoteRequestDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type) { + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) MarketRequoteTypeEnum type) { this.type = type; } - public MarketRequoteRequestDetails type(@jakarta.annotation.Nonnull TypeEnum type) { + public MarketRequoteRequestDetails type( + @jakarta.annotation.Nonnull MarketRequoteTypeEnum type) { this.type = type; return this; } /** - * Indicates that the order should be re-quoted if the original quote is expired. This will lead - * to a market order. + * Get type * * @return type */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public MarketRequoteTypeEnum getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull MarketRequoteTypeEnum type) { this.type = type; } diff --git a/src/main/java/com/fireblocks/sdk/model/MarketRequoteTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/MarketRequoteTypeEnum.java new file mode 100644 index 00000000..22fe2aa0 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/MarketRequoteTypeEnum.java @@ -0,0 +1,65 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Indicates that the order should be re-quoted if the original quote is expired. This will lead to + * a market order. + */ +public enum MarketRequoteTypeEnum { + MARKET("MARKET"); + + private String value; + + MarketRequoteTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MarketRequoteTypeEnum fromValue(String value) { + for (MarketRequoteTypeEnum b : MarketRequoteTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/MarketTypeDetails.java b/src/main/java/com/fireblocks/sdk/model/MarketTypeDetails.java index 8b6e41bd..ecd96d31 100644 --- a/src/main/java/com/fireblocks/sdk/model/MarketTypeDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/MarketTypeDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -28,68 +27,37 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class MarketTypeDetails { - /** Order type for market orders */ - public enum TypeEnum { - MARKET(String.valueOf("MARKET")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private MarketTypeEnum type; public MarketTypeDetails() {} @JsonCreator public MarketTypeDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type) { + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) MarketTypeEnum type) { this.type = type; } - public MarketTypeDetails type(@jakarta.annotation.Nonnull TypeEnum type) { + public MarketTypeDetails type(@jakarta.annotation.Nonnull MarketTypeEnum type) { this.type = type; return this; } /** - * Order type for market orders + * Get type * * @return type */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public MarketTypeEnum getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull MarketTypeEnum type) { this.type = type; } diff --git a/src/main/java/com/fireblocks/sdk/model/MarketTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/MarketTypeEnum.java new file mode 100644 index 00000000..791f738e --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/MarketTypeEnum.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Order type for market orders */ +public enum MarketTypeEnum { + MARKET("MARKET"); + + private String value; + + MarketTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static MarketTypeEnum fromValue(String value) { + for (MarketTypeEnum b : MarketTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/MediaEntityResponse.java b/src/main/java/com/fireblocks/sdk/model/MediaEntityResponse.java index c6b1728c..a530ee92 100644 --- a/src/main/java/com/fireblocks/sdk/model/MediaEntityResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/MediaEntityResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/MergeStakeAccountsRequest.java b/src/main/java/com/fireblocks/sdk/model/MergeStakeAccountsRequest.java index a4dd0c14..12d440e2 100644 --- a/src/main/java/com/fireblocks/sdk/model/MergeStakeAccountsRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/MergeStakeAccountsRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -159,7 +159,7 @@ public MergeStakeAccountsRequest txNote(@jakarta.annotation.Nullable String txNo } /** - * The note to associate with the transactions. + * The note to associate with the merge transaction. * * @return txNote */ diff --git a/src/main/java/com/fireblocks/sdk/model/MergeStakeAccountsResponse.java b/src/main/java/com/fireblocks/sdk/model/MergeStakeAccountsResponse.java index 4f607a1c..8798d0fd 100644 --- a/src/main/java/com/fireblocks/sdk/model/MergeStakeAccountsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/MergeStakeAccountsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -20,7 +20,6 @@ import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; -import java.util.UUID; /** MergeStakeAccountsResponse */ @JsonPropertyOrder({MergeStakeAccountsResponse.JSON_PROPERTY_ID}) @@ -29,17 +28,17 @@ comments = "Generator version: 7.14.0") public class MergeStakeAccountsResponse { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nonnull private UUID id; + @jakarta.annotation.Nonnull private String id; public MergeStakeAccountsResponse() {} @JsonCreator public MergeStakeAccountsResponse( - @JsonProperty(value = JSON_PROPERTY_ID, required = true) UUID id) { + @JsonProperty(value = JSON_PROPERTY_ID, required = true) String id) { this.id = id; } - public MergeStakeAccountsResponse id(@jakarta.annotation.Nonnull UUID id) { + public MergeStakeAccountsResponse id(@jakarta.annotation.Nonnull String id) { this.id = id; return this; } @@ -52,13 +51,13 @@ public MergeStakeAccountsResponse id(@jakarta.annotation.Nonnull UUID id) { @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public UUID getId() { + public String getId() { return id; } @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setId(@jakarta.annotation.Nonnull UUID id) { + public void setId(@jakarta.annotation.Nonnull String id) { this.id = id; } diff --git a/src/main/java/com/fireblocks/sdk/model/MobileMoneyAddress.java b/src/main/java/com/fireblocks/sdk/model/MobileMoneyAddress.java index 15ce8c2c..0835408b 100644 --- a/src/main/java/com/fireblocks/sdk/model/MobileMoneyAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/MobileMoneyAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/MobileMoneyDestination.java b/src/main/java/com/fireblocks/sdk/model/MobileMoneyDestination.java index 88c2a851..2fac467a 100644 --- a/src/main/java/com/fireblocks/sdk/model/MobileMoneyDestination.java +++ b/src/main/java/com/fireblocks/sdk/model/MobileMoneyDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ModifySigningKeyAgentIdDto.java b/src/main/java/com/fireblocks/sdk/model/ModifySigningKeyAgentIdDto.java index 7078fae8..45f48a9f 100644 --- a/src/main/java/com/fireblocks/sdk/model/ModifySigningKeyAgentIdDto.java +++ b/src/main/java/com/fireblocks/sdk/model/ModifySigningKeyAgentIdDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ModifySigningKeyDto.java b/src/main/java/com/fireblocks/sdk/model/ModifySigningKeyDto.java index 5aa850fd..b9645c7e 100644 --- a/src/main/java/com/fireblocks/sdk/model/ModifySigningKeyDto.java +++ b/src/main/java/com/fireblocks/sdk/model/ModifySigningKeyDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ModifyValidationKeyDto.java b/src/main/java/com/fireblocks/sdk/model/ModifyValidationKeyDto.java index 327a02d0..958a12f5 100644 --- a/src/main/java/com/fireblocks/sdk/model/ModifyValidationKeyDto.java +++ b/src/main/java/com/fireblocks/sdk/model/ModifyValidationKeyDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/MomoPaymentInfo.java b/src/main/java/com/fireblocks/sdk/model/MomoPaymentInfo.java index 47cb8f7a..fb265cf5 100644 --- a/src/main/java/com/fireblocks/sdk/model/MomoPaymentInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/MomoPaymentInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/MpcKey.java b/src/main/java/com/fireblocks/sdk/model/MpcKey.java index 7a0ac89c..a1da74ab 100644 --- a/src/main/java/com/fireblocks/sdk/model/MpcKey.java +++ b/src/main/java/com/fireblocks/sdk/model/MpcKey.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/MultichainDeploymentMetadata.java b/src/main/java/com/fireblocks/sdk/model/MultichainDeploymentMetadata.java index c880de60..154de5c1 100644 --- a/src/main/java/com/fireblocks/sdk/model/MultichainDeploymentMetadata.java +++ b/src/main/java/com/fireblocks/sdk/model/MultichainDeploymentMetadata.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NetworkChannel.java b/src/main/java/com/fireblocks/sdk/model/NetworkChannel.java index e76ddd7e..001f0b9e 100644 --- a/src/main/java/com/fireblocks/sdk/model/NetworkChannel.java +++ b/src/main/java/com/fireblocks/sdk/model/NetworkChannel.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NetworkConnection.java b/src/main/java/com/fireblocks/sdk/model/NetworkConnection.java index b350e001..5c7f0d2d 100644 --- a/src/main/java/com/fireblocks/sdk/model/NetworkConnection.java +++ b/src/main/java/com/fireblocks/sdk/model/NetworkConnection.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NetworkConnectionResponse.java b/src/main/java/com/fireblocks/sdk/model/NetworkConnectionResponse.java index 0c4ef280..f817d276 100644 --- a/src/main/java/com/fireblocks/sdk/model/NetworkConnectionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/NetworkConnectionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NetworkConnectionRoutingPolicyValue.java b/src/main/java/com/fireblocks/sdk/model/NetworkConnectionRoutingPolicyValue.java index 0a15de25..f8bed833 100644 --- a/src/main/java/com/fireblocks/sdk/model/NetworkConnectionRoutingPolicyValue.java +++ b/src/main/java/com/fireblocks/sdk/model/NetworkConnectionRoutingPolicyValue.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NetworkConnectionStatus.java b/src/main/java/com/fireblocks/sdk/model/NetworkConnectionStatus.java index 9dd61d61..4cd8fec4 100644 --- a/src/main/java/com/fireblocks/sdk/model/NetworkConnectionStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/NetworkConnectionStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NetworkFee.java b/src/main/java/com/fireblocks/sdk/model/NetworkFee.java index dac27766..8ad29bca 100644 --- a/src/main/java/com/fireblocks/sdk/model/NetworkFee.java +++ b/src/main/java/com/fireblocks/sdk/model/NetworkFee.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NetworkId.java b/src/main/java/com/fireblocks/sdk/model/NetworkId.java index 8c2dd809..b2b9f1b4 100644 --- a/src/main/java/com/fireblocks/sdk/model/NetworkId.java +++ b/src/main/java/com/fireblocks/sdk/model/NetworkId.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NetworkIdResponse.java b/src/main/java/com/fireblocks/sdk/model/NetworkIdResponse.java index c8154e82..fbc97729 100644 --- a/src/main/java/com/fireblocks/sdk/model/NetworkIdResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/NetworkIdResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NetworkIdRoutingPolicyValue.java b/src/main/java/com/fireblocks/sdk/model/NetworkIdRoutingPolicyValue.java index 54b11e35..d5deae0f 100644 --- a/src/main/java/com/fireblocks/sdk/model/NetworkIdRoutingPolicyValue.java +++ b/src/main/java/com/fireblocks/sdk/model/NetworkIdRoutingPolicyValue.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NetworkRecord.java b/src/main/java/com/fireblocks/sdk/model/NetworkRecord.java index 159d9282..e1750915 100644 --- a/src/main/java/com/fireblocks/sdk/model/NetworkRecord.java +++ b/src/main/java/com/fireblocks/sdk/model/NetworkRecord.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NewAddress.java b/src/main/java/com/fireblocks/sdk/model/NewAddress.java index f16c649a..24215f48 100644 --- a/src/main/java/com/fireblocks/sdk/model/NewAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/NewAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NoneNetworkRoutingDest.java b/src/main/java/com/fireblocks/sdk/model/NoneNetworkRoutingDest.java index 1f151616..dcced4a4 100644 --- a/src/main/java/com/fireblocks/sdk/model/NoneNetworkRoutingDest.java +++ b/src/main/java/com/fireblocks/sdk/model/NoneNetworkRoutingDest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NotFoundException.java b/src/main/java/com/fireblocks/sdk/model/NotFoundException.java index c1fb91f9..197cdf8f 100644 --- a/src/main/java/com/fireblocks/sdk/model/NotFoundException.java +++ b/src/main/java/com/fireblocks/sdk/model/NotFoundException.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Notification.java b/src/main/java/com/fireblocks/sdk/model/Notification.java index d8ee89ee..1e6478d7 100644 --- a/src/main/java/com/fireblocks/sdk/model/Notification.java +++ b/src/main/java/com/fireblocks/sdk/model/Notification.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NotificationAttempt.java b/src/main/java/com/fireblocks/sdk/model/NotificationAttempt.java index 1d7a9498..bbcb5568 100644 --- a/src/main/java/com/fireblocks/sdk/model/NotificationAttempt.java +++ b/src/main/java/com/fireblocks/sdk/model/NotificationAttempt.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NotificationAttemptsPaginatedResponse.java b/src/main/java/com/fireblocks/sdk/model/NotificationAttemptsPaginatedResponse.java index 63c61356..2bee2ca8 100644 --- a/src/main/java/com/fireblocks/sdk/model/NotificationAttemptsPaginatedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/NotificationAttemptsPaginatedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NotificationPaginatedResponse.java b/src/main/java/com/fireblocks/sdk/model/NotificationPaginatedResponse.java index b115f372..1dba40d9 100644 --- a/src/main/java/com/fireblocks/sdk/model/NotificationPaginatedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/NotificationPaginatedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NotificationStatus.java b/src/main/java/com/fireblocks/sdk/model/NotificationStatus.java index bc417912..e7d70e6e 100644 --- a/src/main/java/com/fireblocks/sdk/model/NotificationStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/NotificationStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/NotificationWithData.java b/src/main/java/com/fireblocks/sdk/model/NotificationWithData.java index e7f70895..78ebeea9 100644 --- a/src/main/java/com/fireblocks/sdk/model/NotificationWithData.java +++ b/src/main/java/com/fireblocks/sdk/model/NotificationWithData.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/OnchainTransaction.java b/src/main/java/com/fireblocks/sdk/model/OnchainTransaction.java new file mode 100644 index 00000000..97ff85f8 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/OnchainTransaction.java @@ -0,0 +1,823 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.StringJoiner; +import java.util.UUID; + +/** OnchainTransaction */ +@JsonPropertyOrder({ + OnchainTransaction.JSON_PROPERTY_ID, + OnchainTransaction.JSON_PROPERTY_BASE_ASSET_ID, + OnchainTransaction.JSON_PROPERTY_BLOCK_HASH, + OnchainTransaction.JSON_PROPERTY_BLOCK_NUMBER, + OnchainTransaction.JSON_PROPERTY_BLOCK_TIMESTAMP, + OnchainTransaction.JSON_PROPERTY_CHAIN_ID, + OnchainTransaction.JSON_PROPERTY_CONTRACT_ADDRESS, + OnchainTransaction.JSON_PROPERTY_CUMULATIVE_GAS_USED, + OnchainTransaction.JSON_PROPERTY_DECODED_LOGS, + OnchainTransaction.JSON_PROPERTY_EFFECTIVE_GAS_PRICE, + OnchainTransaction.JSON_PROPERTY_FROM_ADDRESS, + OnchainTransaction.JSON_PROPERTY_GAS_USED, + OnchainTransaction.JSON_PROPERTY_STATUS, + OnchainTransaction.JSON_PROPERTY_TO_ADDRESS, + OnchainTransaction.JSON_PROPERTY_TRANSACTION_HASH, + OnchainTransaction.JSON_PROPERTY_TRANSACTION_INDEX, + OnchainTransaction.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class OnchainTransaction { + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nonnull private UUID id; + + public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId"; + @jakarta.annotation.Nonnull private String baseAssetId; + + public static final String JSON_PROPERTY_BLOCK_HASH = "blockHash"; + @jakarta.annotation.Nonnull private String blockHash; + + public static final String JSON_PROPERTY_BLOCK_NUMBER = "blockNumber"; + @jakarta.annotation.Nonnull private Integer blockNumber; + + public static final String JSON_PROPERTY_BLOCK_TIMESTAMP = "blockTimestamp"; + @jakarta.annotation.Nonnull private OffsetDateTime blockTimestamp; + + public static final String JSON_PROPERTY_CHAIN_ID = "chainId"; + @jakarta.annotation.Nonnull private Integer chainId; + + public static final String JSON_PROPERTY_CONTRACT_ADDRESS = "contractAddress"; + @jakarta.annotation.Nullable private String contractAddress; + + public static final String JSON_PROPERTY_CUMULATIVE_GAS_USED = "cumulativeGasUsed"; + @jakarta.annotation.Nonnull private String cumulativeGasUsed; + + public static final String JSON_PROPERTY_DECODED_LOGS = "decodedLogs"; + @jakarta.annotation.Nullable private DecodedLog decodedLogs; + + public static final String JSON_PROPERTY_EFFECTIVE_GAS_PRICE = "effectiveGasPrice"; + @jakarta.annotation.Nonnull private String effectiveGasPrice; + + public static final String JSON_PROPERTY_FROM_ADDRESS = "fromAddress"; + @jakarta.annotation.Nonnull private String fromAddress; + + public static final String JSON_PROPERTY_GAS_USED = "gasUsed"; + @jakarta.annotation.Nonnull private String gasUsed; + + public static final String JSON_PROPERTY_STATUS = "status"; + @jakarta.annotation.Nonnull private String status; + + public static final String JSON_PROPERTY_TO_ADDRESS = "toAddress"; + @jakarta.annotation.Nullable private String toAddress; + + public static final String JSON_PROPERTY_TRANSACTION_HASH = "transactionHash"; + @jakarta.annotation.Nonnull private String transactionHash; + + public static final String JSON_PROPERTY_TRANSACTION_INDEX = "transactionIndex"; + @jakarta.annotation.Nonnull private String transactionIndex; + + public static final String JSON_PROPERTY_TYPE = "type"; + @jakarta.annotation.Nonnull private String type; + + public OnchainTransaction() {} + + @JsonCreator + public OnchainTransaction( + @JsonProperty(value = JSON_PROPERTY_ID, required = true) UUID id, + @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, + @JsonProperty(value = JSON_PROPERTY_BLOCK_HASH, required = true) String blockHash, + @JsonProperty(value = JSON_PROPERTY_BLOCK_NUMBER, required = true) Integer blockNumber, + @JsonProperty(value = JSON_PROPERTY_BLOCK_TIMESTAMP, required = true) + OffsetDateTime blockTimestamp, + @JsonProperty(value = JSON_PROPERTY_CHAIN_ID, required = true) Integer chainId, + @JsonProperty(value = JSON_PROPERTY_CUMULATIVE_GAS_USED, required = true) + String cumulativeGasUsed, + @JsonProperty(value = JSON_PROPERTY_EFFECTIVE_GAS_PRICE, required = true) + String effectiveGasPrice, + @JsonProperty(value = JSON_PROPERTY_FROM_ADDRESS, required = true) String fromAddress, + @JsonProperty(value = JSON_PROPERTY_GAS_USED, required = true) String gasUsed, + @JsonProperty(value = JSON_PROPERTY_STATUS, required = true) String status, + @JsonProperty(value = JSON_PROPERTY_TRANSACTION_HASH, required = true) + String transactionHash, + @JsonProperty(value = JSON_PROPERTY_TRANSACTION_INDEX, required = true) + String transactionIndex, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) String type) { + this.id = id; + this.baseAssetId = baseAssetId; + this.blockHash = blockHash; + this.blockNumber = blockNumber; + this.blockTimestamp = blockTimestamp; + this.chainId = chainId; + this.cumulativeGasUsed = cumulativeGasUsed; + this.effectiveGasPrice = effectiveGasPrice; + this.fromAddress = fromAddress; + this.gasUsed = gasUsed; + this.status = status; + this.transactionHash = transactionHash; + this.transactionIndex = transactionIndex; + this.type = type; + } + + public OnchainTransaction id(@jakarta.annotation.Nonnull UUID id) { + this.id = id; + return this; + } + + /** + * Unique identifier for the transaction + * + * @return id + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setId(@jakarta.annotation.Nonnull UUID id) { + this.id = id; + } + + public OnchainTransaction baseAssetId(@jakarta.annotation.Nonnull String baseAssetId) { + this.baseAssetId = baseAssetId; + return this; + } + + /** + * The blockchain base asset identifier + * + * @return baseAssetId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBaseAssetId() { + return baseAssetId; + } + + @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBaseAssetId(@jakarta.annotation.Nonnull String baseAssetId) { + this.baseAssetId = baseAssetId; + } + + public OnchainTransaction blockHash(@jakarta.annotation.Nonnull String blockHash) { + this.blockHash = blockHash; + return this; + } + + /** + * Hash of the block containing this transaction + * + * @return blockHash + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BLOCK_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBlockHash() { + return blockHash; + } + + @JsonProperty(JSON_PROPERTY_BLOCK_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBlockHash(@jakarta.annotation.Nonnull String blockHash) { + this.blockHash = blockHash; + } + + public OnchainTransaction blockNumber(@jakarta.annotation.Nonnull Integer blockNumber) { + this.blockNumber = blockNumber; + return this; + } + + /** + * Block number containing this transaction + * + * @return blockNumber + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BLOCK_NUMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Integer getBlockNumber() { + return blockNumber; + } + + @JsonProperty(JSON_PROPERTY_BLOCK_NUMBER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBlockNumber(@jakarta.annotation.Nonnull Integer blockNumber) { + this.blockNumber = blockNumber; + } + + public OnchainTransaction blockTimestamp( + @jakarta.annotation.Nonnull OffsetDateTime blockTimestamp) { + this.blockTimestamp = blockTimestamp; + return this; + } + + /** + * Timestamp when the block was mined + * + * @return blockTimestamp + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BLOCK_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getBlockTimestamp() { + return blockTimestamp; + } + + @JsonProperty(JSON_PROPERTY_BLOCK_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBlockTimestamp(@jakarta.annotation.Nonnull OffsetDateTime blockTimestamp) { + this.blockTimestamp = blockTimestamp; + } + + public OnchainTransaction chainId(@jakarta.annotation.Nonnull Integer chainId) { + this.chainId = chainId; + return this; + } + + /** + * Chain ID of the blockchain + * + * @return chainId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CHAIN_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Integer getChainId() { + return chainId; + } + + @JsonProperty(JSON_PROPERTY_CHAIN_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setChainId(@jakarta.annotation.Nonnull Integer chainId) { + this.chainId = chainId; + } + + public OnchainTransaction contractAddress(@jakarta.annotation.Nullable String contractAddress) { + this.contractAddress = contractAddress; + return this; + } + + /** + * Contract address if this is a contract transaction + * + * @return contractAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CONTRACT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getContractAddress() { + return contractAddress; + } + + @JsonProperty(JSON_PROPERTY_CONTRACT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setContractAddress(@jakarta.annotation.Nullable String contractAddress) { + this.contractAddress = contractAddress; + } + + public OnchainTransaction cumulativeGasUsed( + @jakarta.annotation.Nonnull String cumulativeGasUsed) { + this.cumulativeGasUsed = cumulativeGasUsed; + return this; + } + + /** + * Cumulative gas used in the block up to this transaction + * + * @return cumulativeGasUsed + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CUMULATIVE_GAS_USED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getCumulativeGasUsed() { + return cumulativeGasUsed; + } + + @JsonProperty(JSON_PROPERTY_CUMULATIVE_GAS_USED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCumulativeGasUsed(@jakarta.annotation.Nonnull String cumulativeGasUsed) { + this.cumulativeGasUsed = cumulativeGasUsed; + } + + public OnchainTransaction decodedLogs(@jakarta.annotation.Nullable DecodedLog decodedLogs) { + this.decodedLogs = decodedLogs; + return this; + } + + /** + * Get decodedLogs + * + * @return decodedLogs + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DECODED_LOGS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public DecodedLog getDecodedLogs() { + return decodedLogs; + } + + @JsonProperty(JSON_PROPERTY_DECODED_LOGS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDecodedLogs(@jakarta.annotation.Nullable DecodedLog decodedLogs) { + this.decodedLogs = decodedLogs; + } + + public OnchainTransaction effectiveGasPrice( + @jakarta.annotation.Nonnull String effectiveGasPrice) { + this.effectiveGasPrice = effectiveGasPrice; + return this; + } + + /** + * Effective gas price paid for the transaction + * + * @return effectiveGasPrice + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_EFFECTIVE_GAS_PRICE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getEffectiveGasPrice() { + return effectiveGasPrice; + } + + @JsonProperty(JSON_PROPERTY_EFFECTIVE_GAS_PRICE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setEffectiveGasPrice(@jakarta.annotation.Nonnull String effectiveGasPrice) { + this.effectiveGasPrice = effectiveGasPrice; + } + + public OnchainTransaction fromAddress(@jakarta.annotation.Nonnull String fromAddress) { + this.fromAddress = fromAddress; + return this; + } + + /** + * Address that initiated the transaction + * + * @return fromAddress + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_FROM_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getFromAddress() { + return fromAddress; + } + + @JsonProperty(JSON_PROPERTY_FROM_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFromAddress(@jakarta.annotation.Nonnull String fromAddress) { + this.fromAddress = fromAddress; + } + + public OnchainTransaction gasUsed(@jakarta.annotation.Nonnull String gasUsed) { + this.gasUsed = gasUsed; + return this; + } + + /** + * Amount of gas used by this transaction + * + * @return gasUsed + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_GAS_USED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getGasUsed() { + return gasUsed; + } + + @JsonProperty(JSON_PROPERTY_GAS_USED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setGasUsed(@jakarta.annotation.Nonnull String gasUsed) { + this.gasUsed = gasUsed; + } + + public OnchainTransaction status(@jakarta.annotation.Nonnull String status) { + this.status = status; + return this; + } + + /** + * Transaction status + * + * @return status + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getStatus() { + return status; + } + + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setStatus(@jakarta.annotation.Nonnull String status) { + this.status = status; + } + + public OnchainTransaction toAddress(@jakarta.annotation.Nullable String toAddress) { + this.toAddress = toAddress; + return this; + } + + /** + * Address that received the transaction + * + * @return toAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TO_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getToAddress() { + return toAddress; + } + + @JsonProperty(JSON_PROPERTY_TO_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setToAddress(@jakarta.annotation.Nullable String toAddress) { + this.toAddress = toAddress; + } + + public OnchainTransaction transactionHash(@jakarta.annotation.Nonnull String transactionHash) { + this.transactionHash = transactionHash; + return this; + } + + /** + * Hash of the transaction + * + * @return transactionHash + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TRANSACTION_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getTransactionHash() { + return transactionHash; + } + + @JsonProperty(JSON_PROPERTY_TRANSACTION_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTransactionHash(@jakarta.annotation.Nonnull String transactionHash) { + this.transactionHash = transactionHash; + } + + public OnchainTransaction transactionIndex( + @jakarta.annotation.Nonnull String transactionIndex) { + this.transactionIndex = transactionIndex; + return this; + } + + /** + * Index of the transaction in the block + * + * @return transactionIndex + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TRANSACTION_INDEX) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getTransactionIndex() { + return transactionIndex; + } + + @JsonProperty(JSON_PROPERTY_TRANSACTION_INDEX) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTransactionIndex(@jakarta.annotation.Nonnull String transactionIndex) { + this.transactionIndex = transactionIndex; + } + + public OnchainTransaction type(@jakarta.annotation.Nonnull String type) { + this.type = type; + return this; + } + + /** + * Transaction type + * + * @return type + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getType() { + return type; + } + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setType(@jakarta.annotation.Nonnull String type) { + this.type = type; + } + + /** Return true if this OnchainTransaction object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OnchainTransaction onchainTransaction = (OnchainTransaction) o; + return Objects.equals(this.id, onchainTransaction.id) + && Objects.equals(this.baseAssetId, onchainTransaction.baseAssetId) + && Objects.equals(this.blockHash, onchainTransaction.blockHash) + && Objects.equals(this.blockNumber, onchainTransaction.blockNumber) + && Objects.equals(this.blockTimestamp, onchainTransaction.blockTimestamp) + && Objects.equals(this.chainId, onchainTransaction.chainId) + && Objects.equals(this.contractAddress, onchainTransaction.contractAddress) + && Objects.equals(this.cumulativeGasUsed, onchainTransaction.cumulativeGasUsed) + && Objects.equals(this.decodedLogs, onchainTransaction.decodedLogs) + && Objects.equals(this.effectiveGasPrice, onchainTransaction.effectiveGasPrice) + && Objects.equals(this.fromAddress, onchainTransaction.fromAddress) + && Objects.equals(this.gasUsed, onchainTransaction.gasUsed) + && Objects.equals(this.status, onchainTransaction.status) + && Objects.equals(this.toAddress, onchainTransaction.toAddress) + && Objects.equals(this.transactionHash, onchainTransaction.transactionHash) + && Objects.equals(this.transactionIndex, onchainTransaction.transactionIndex) + && Objects.equals(this.type, onchainTransaction.type); + } + + @Override + public int hashCode() { + return Objects.hash( + id, + baseAssetId, + blockHash, + blockNumber, + blockTimestamp, + chainId, + contractAddress, + cumulativeGasUsed, + decodedLogs, + effectiveGasPrice, + fromAddress, + gasUsed, + status, + toAddress, + transactionHash, + transactionIndex, + type); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OnchainTransaction {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n"); + sb.append(" blockHash: ").append(toIndentedString(blockHash)).append("\n"); + sb.append(" blockNumber: ").append(toIndentedString(blockNumber)).append("\n"); + sb.append(" blockTimestamp: ").append(toIndentedString(blockTimestamp)).append("\n"); + sb.append(" chainId: ").append(toIndentedString(chainId)).append("\n"); + sb.append(" contractAddress: ").append(toIndentedString(contractAddress)).append("\n"); + sb.append(" cumulativeGasUsed: ") + .append(toIndentedString(cumulativeGasUsed)) + .append("\n"); + sb.append(" decodedLogs: ").append(toIndentedString(decodedLogs)).append("\n"); + sb.append(" effectiveGasPrice: ") + .append(toIndentedString(effectiveGasPrice)) + .append("\n"); + sb.append(" fromAddress: ").append(toIndentedString(fromAddress)).append("\n"); + sb.append(" gasUsed: ").append(toIndentedString(gasUsed)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" toAddress: ").append(toIndentedString(toAddress)).append("\n"); + sb.append(" transactionHash: ").append(toIndentedString(transactionHash)).append("\n"); + sb.append(" transactionIndex: ").append(toIndentedString(transactionIndex)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `baseAssetId` to the URL query string + if (getBaseAssetId() != null) { + joiner.add( + String.format( + "%sbaseAssetId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBaseAssetId())))); + } + + // add `blockHash` to the URL query string + if (getBlockHash() != null) { + joiner.add( + String.format( + "%sblockHash%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBlockHash())))); + } + + // add `blockNumber` to the URL query string + if (getBlockNumber() != null) { + joiner.add( + String.format( + "%sblockNumber%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBlockNumber())))); + } + + // add `blockTimestamp` to the URL query string + if (getBlockTimestamp() != null) { + joiner.add( + String.format( + "%sblockTimestamp%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBlockTimestamp())))); + } + + // add `chainId` to the URL query string + if (getChainId() != null) { + joiner.add( + String.format( + "%schainId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getChainId())))); + } + + // add `contractAddress` to the URL query string + if (getContractAddress() != null) { + joiner.add( + String.format( + "%scontractAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getContractAddress())))); + } + + // add `cumulativeGasUsed` to the URL query string + if (getCumulativeGasUsed() != null) { + joiner.add( + String.format( + "%scumulativeGasUsed%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCumulativeGasUsed())))); + } + + // add `decodedLogs` to the URL query string + if (getDecodedLogs() != null) { + joiner.add(getDecodedLogs().toUrlQueryString(prefix + "decodedLogs" + suffix)); + } + + // add `effectiveGasPrice` to the URL query string + if (getEffectiveGasPrice() != null) { + joiner.add( + String.format( + "%seffectiveGasPrice%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getEffectiveGasPrice())))); + } + + // add `fromAddress` to the URL query string + if (getFromAddress() != null) { + joiner.add( + String.format( + "%sfromAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getFromAddress())))); + } + + // add `gasUsed` to the URL query string + if (getGasUsed() != null) { + joiner.add( + String.format( + "%sgasUsed%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getGasUsed())))); + } + + // add `status` to the URL query string + if (getStatus() != null) { + joiner.add( + String.format( + "%sstatus%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getStatus())))); + } + + // add `toAddress` to the URL query string + if (getToAddress() != null) { + joiner.add( + String.format( + "%stoAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getToAddress())))); + } + + // add `transactionHash` to the URL query string + if (getTransactionHash() != null) { + joiner.add( + String.format( + "%stransactionHash%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTransactionHash())))); + } + + // add `transactionIndex` to the URL query string + if (getTransactionIndex() != null) { + joiner.add( + String.format( + "%stransactionIndex%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTransactionIndex())))); + } + + // add `type` to the URL query string + if (getType() != null) { + joiner.add( + String.format( + "%stype%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getType())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/OnchainTransactionsPagedResponse.java b/src/main/java/com/fireblocks/sdk/model/OnchainTransactionsPagedResponse.java new file mode 100644 index 00000000..063904cd --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/OnchainTransactionsPagedResponse.java @@ -0,0 +1,292 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** OnchainTransactionsPagedResponse */ +@JsonPropertyOrder({ + OnchainTransactionsPagedResponse.JSON_PROPERTY_DATA, + OnchainTransactionsPagedResponse.JSON_PROPERTY_NEXT, + OnchainTransactionsPagedResponse.JSON_PROPERTY_PREV, + OnchainTransactionsPagedResponse.JSON_PROPERTY_TOTAL +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class OnchainTransactionsPagedResponse { + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nonnull private List data; + + public static final String JSON_PROPERTY_NEXT = "next"; + @jakarta.annotation.Nullable private String next; + + public static final String JSON_PROPERTY_PREV = "prev"; + @jakarta.annotation.Nullable private String prev; + + public static final String JSON_PROPERTY_TOTAL = "total"; + @jakarta.annotation.Nullable private BigDecimal total; + + public OnchainTransactionsPagedResponse() {} + + @JsonCreator + public OnchainTransactionsPagedResponse( + @JsonProperty(value = JSON_PROPERTY_DATA, required = true) + List data) { + this.data = data; + } + + public OnchainTransactionsPagedResponse data( + @jakarta.annotation.Nonnull List data) { + this.data = data; + return this; + } + + public OnchainTransactionsPagedResponse addDataItem(OnchainTransaction dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Array of onchain transactions + * + * @return data + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setData(@jakarta.annotation.Nonnull List data) { + this.data = data; + } + + public OnchainTransactionsPagedResponse next(@jakarta.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * Cursor for next page + * + * @return next + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNext() { + return next; + } + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(@jakarta.annotation.Nullable String next) { + this.next = next; + } + + public OnchainTransactionsPagedResponse prev(@jakarta.annotation.Nullable String prev) { + this.prev = prev; + return this; + } + + /** + * Cursor for previous page + * + * @return prev + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PREV) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPrev() { + return prev; + } + + @JsonProperty(JSON_PROPERTY_PREV) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPrev(@jakarta.annotation.Nullable String prev) { + this.prev = prev; + } + + public OnchainTransactionsPagedResponse total(@jakarta.annotation.Nullable BigDecimal total) { + this.total = total; + return this; + } + + /** + * Total count of items + * + * @return total + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public BigDecimal getTotal() { + return total; + } + + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTotal(@jakarta.annotation.Nullable BigDecimal total) { + this.total = total; + } + + /** Return true if this OnchainTransactionsPagedResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OnchainTransactionsPagedResponse onchainTransactionsPagedResponse = + (OnchainTransactionsPagedResponse) o; + return Objects.equals(this.data, onchainTransactionsPagedResponse.data) + && Objects.equals(this.next, onchainTransactionsPagedResponse.next) + && Objects.equals(this.prev, onchainTransactionsPagedResponse.prev) + && Objects.equals(this.total, onchainTransactionsPagedResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(data, next, prev, total); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OnchainTransactionsPagedResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" prev: ").append(toIndentedString(prev)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `data` to the URL query string + if (getData() != null) { + for (int i = 0; i < getData().size(); i++) { + if (getData().get(i) != null) { + joiner.add( + getData() + .get(i) + .toUrlQueryString( + String.format( + "%sdata%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + // add `next` to the URL query string + if (getNext() != null) { + joiner.add( + String.format( + "%snext%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNext())))); + } + + // add `prev` to the URL query string + if (getPrev() != null) { + joiner.add( + String.format( + "%sprev%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPrev())))); + } + + // add `total` to the URL query string + if (getTotal() != null) { + joiner.add( + String.format( + "%stotal%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTotal())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/OneTimeAddress.java b/src/main/java/com/fireblocks/sdk/model/OneTimeAddress.java index 69d1f6ba..2c6192fd 100644 --- a/src/main/java/com/fireblocks/sdk/model/OneTimeAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/OneTimeAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/OneTimeAddressAccount.java b/src/main/java/com/fireblocks/sdk/model/OneTimeAddressAccount.java index 0688d14b..37466ce0 100644 --- a/src/main/java/com/fireblocks/sdk/model/OneTimeAddressAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/OneTimeAddressAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/OneTimeAddressPeerType.java b/src/main/java/com/fireblocks/sdk/model/OneTimeAddressPeerType.java new file mode 100644 index 00000000..e2b3dc98 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/OneTimeAddressPeerType.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets OneTimeAddressPeerType */ +public enum OneTimeAddressPeerType { + ONE_TIME_ADDRESS("ONE_TIME_ADDRESS"); + + private String value; + + OneTimeAddressPeerType(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static OneTimeAddressPeerType fromValue(String value) { + for (OneTimeAddressPeerType b : OneTimeAddressPeerType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/OneTimeAddressReference.java b/src/main/java/com/fireblocks/sdk/model/OneTimeAddressReference.java index ab5a89a2..ed6b0b4a 100644 --- a/src/main/java/com/fireblocks/sdk/model/OneTimeAddressReference.java +++ b/src/main/java/com/fireblocks/sdk/model/OneTimeAddressReference.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -32,39 +31,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class OneTimeAddressReference { - /** Gets or Sets type */ - public enum TypeEnum { - ONE_TIME_ADDRESS(String.valueOf("ONE_TIME_ADDRESS")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private OneTimeAddressPeerType type; public static final String JSON_PROPERTY_ADDRESS = "address"; @jakarta.annotation.Nonnull private String address; @@ -76,13 +44,13 @@ public OneTimeAddressReference() {} @JsonCreator public OneTimeAddressReference( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) OneTimeAddressPeerType type, @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) String address) { this.type = type; this.address = address; } - public OneTimeAddressReference type(@jakarta.annotation.Nonnull TypeEnum type) { + public OneTimeAddressReference type(@jakarta.annotation.Nonnull OneTimeAddressPeerType type) { this.type = type; return this; } @@ -95,13 +63,13 @@ public OneTimeAddressReference type(@jakarta.annotation.Nonnull TypeEnum type) { @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public OneTimeAddressPeerType getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull OneTimeAddressPeerType type) { this.type = type; } diff --git a/src/main/java/com/fireblocks/sdk/model/OperationExecutionFailure.java b/src/main/java/com/fireblocks/sdk/model/OperationExecutionFailure.java index bbdf06a3..2d93f08c 100644 --- a/src/main/java/com/fireblocks/sdk/model/OperationExecutionFailure.java +++ b/src/main/java/com/fireblocks/sdk/model/OperationExecutionFailure.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/OrderDetails.java b/src/main/java/com/fireblocks/sdk/model/OrderDetails.java index 47b55cbf..c1c13a9c 100644 --- a/src/main/java/com/fireblocks/sdk/model/OrderDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/OrderDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -41,7 +41,8 @@ OrderDetails.JSON_PROPERTY_CREATED_BY, OrderDetails.JSON_PROPERTY_CUSTOMER_INTERNAL_REFERENCE_ID, OrderDetails.JSON_PROPERTY_NOTE, - OrderDetails.JSON_PROPERTY_EXPIRES_AT + OrderDetails.JSON_PROPERTY_EXPIRES_AT, + OrderDetails.JSON_PROPERTY_FAILURE }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -69,7 +70,7 @@ public class OrderDetails { @jakarta.annotation.Nullable private List generalFees; public static final String JSON_PROPERTY_EXECUTION_STEPS = "executionSteps"; - @jakarta.annotation.Nonnull private List executionSteps; + @jakarta.annotation.Nonnull private List executionSteps; public static final String JSON_PROPERTY_EXECUTION_RESPONSE_DETAILS = "executionResponseDetails"; @@ -98,6 +99,9 @@ public class OrderDetails { public static final String JSON_PROPERTY_EXPIRES_AT = "expiresAt"; @jakarta.annotation.Nullable private OffsetDateTime expiresAt; + public static final String JSON_PROPERTY_FAILURE = "failure"; + @jakarta.annotation.Nullable private Failure failure; + public OrderDetails() {} @JsonCreator @@ -108,7 +112,7 @@ public OrderDetails( @JsonProperty(value = JSON_PROPERTY_CREATED_AT, required = true) OffsetDateTime createdAt, @JsonProperty(value = JSON_PROPERTY_EXECUTION_STEPS, required = true) - List executionSteps, + List executionSteps, @JsonProperty(value = JSON_PROPERTY_EXECUTION_RESPONSE_DETAILS, required = true) ExecutionResponseDetails executionResponseDetails, @JsonProperty(value = JSON_PROPERTY_SETTLEMENT, required = true) Settlement settlement, @@ -293,12 +297,12 @@ public void setGeneralFees(@jakarta.annotation.Nullable List generalFees) { } public OrderDetails executionSteps( - @jakarta.annotation.Nonnull List executionSteps) { + @jakarta.annotation.Nonnull List executionSteps) { this.executionSteps = executionSteps; return this; } - public OrderDetails addExecutionStepsItem(ExecutionStep executionStepsItem) { + public OrderDetails addExecutionStepsItem(OrderExecutionStep executionStepsItem) { if (this.executionSteps == null) { this.executionSteps = new ArrayList<>(); } @@ -314,13 +318,14 @@ public OrderDetails addExecutionStepsItem(ExecutionStep executionStepsItem) { @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_EXECUTION_STEPS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getExecutionSteps() { + public List getExecutionSteps() { return executionSteps; } @JsonProperty(JSON_PROPERTY_EXECUTION_STEPS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setExecutionSteps(@jakarta.annotation.Nonnull List executionSteps) { + public void setExecutionSteps( + @jakarta.annotation.Nonnull List executionSteps) { this.executionSteps = executionSteps; } @@ -524,6 +529,29 @@ public void setExpiresAt(@jakarta.annotation.Nullable OffsetDateTime expiresAt) this.expiresAt = expiresAt; } + public OrderDetails failure(@jakarta.annotation.Nullable Failure failure) { + this.failure = failure; + return this; + } + + /** + * Get failure + * + * @return failure + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FAILURE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Failure getFailure() { + return failure; + } + + @JsonProperty(JSON_PROPERTY_FAILURE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFailure(@jakarta.annotation.Nullable Failure failure) { + this.failure = failure; + } + /** Return true if this OrderDetails object is equal to o. */ @Override public boolean equals(Object o) { @@ -552,7 +580,8 @@ public boolean equals(Object o) { && Objects.equals( this.customerInternalReferenceId, orderDetails.customerInternalReferenceId) && Objects.equals(this.note, orderDetails.note) - && Objects.equals(this.expiresAt, orderDetails.expiresAt); + && Objects.equals(this.expiresAt, orderDetails.expiresAt) + && Objects.equals(this.failure, orderDetails.failure); } @Override @@ -573,7 +602,8 @@ public int hashCode() { createdBy, customerInternalReferenceId, note, - expiresAt); + expiresAt, + failure); } @Override @@ -604,6 +634,7 @@ public String toString() { .append("\n"); sb.append(" note: ").append(toIndentedString(note)).append("\n"); sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); + sb.append(" failure: ").append(toIndentedString(failure)).append("\n"); sb.append("}"); return sb.toString(); } @@ -828,6 +859,11 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getExpiresAt())))); } + // add `failure` to the URL query string + if (getFailure() != null) { + joiner.add(getFailure().toUrlQueryString(prefix + "failure" + suffix)); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionStep.java b/src/main/java/com/fireblocks/sdk/model/OrderExecutionStep.java similarity index 82% rename from src/main/java/com/fireblocks/sdk/model/ExecutionStep.java rename to src/main/java/com/fireblocks/sdk/model/OrderExecutionStep.java index 8555dc20..12ea5e48 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionStep.java +++ b/src/main/java/com/fireblocks/sdk/model/OrderExecutionStep.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -21,19 +21,19 @@ import java.util.Objects; import java.util.StringJoiner; -/** ExecutionStep */ +/** OrderExecutionStep */ @JsonPropertyOrder({ - ExecutionStep.JSON_PROPERTY_TYPE, - ExecutionStep.JSON_PROPERTY_STATUS, - ExecutionStep.JSON_PROPERTY_FEE, - ExecutionStep.JSON_PROPERTY_TX_ID, - ExecutionStep.JSON_PROPERTY_TX_HASH, - ExecutionStep.JSON_PROPERTY_ERROR + OrderExecutionStep.JSON_PROPERTY_TYPE, + OrderExecutionStep.JSON_PROPERTY_STATUS, + OrderExecutionStep.JSON_PROPERTY_FEE, + OrderExecutionStep.JSON_PROPERTY_TX_ID, + OrderExecutionStep.JSON_PROPERTY_TX_HASH, + OrderExecutionStep.JSON_PROPERTY_ERROR }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class ExecutionStep { +public class OrderExecutionStep { public static final String JSON_PROPERTY_TYPE = "type"; @jakarta.annotation.Nonnull private ExecutionStepType type; @@ -52,10 +52,10 @@ public class ExecutionStep { public static final String JSON_PROPERTY_ERROR = "error"; @jakarta.annotation.Nullable private ExecutionStepError error; - public ExecutionStep() {} + public OrderExecutionStep() {} @JsonCreator - public ExecutionStep( + public OrderExecutionStep( @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) ExecutionStepType type, @JsonProperty(value = JSON_PROPERTY_STATUS, required = true) ExecutionStepStatusEnum status) { @@ -63,7 +63,7 @@ public ExecutionStep( this.status = status; } - public ExecutionStep type(@jakarta.annotation.Nonnull ExecutionStepType type) { + public OrderExecutionStep type(@jakarta.annotation.Nonnull ExecutionStepType type) { this.type = type; return this; } @@ -86,7 +86,7 @@ public void setType(@jakarta.annotation.Nonnull ExecutionStepType type) { this.type = type; } - public ExecutionStep status(@jakarta.annotation.Nonnull ExecutionStepStatusEnum status) { + public OrderExecutionStep status(@jakarta.annotation.Nonnull ExecutionStepStatusEnum status) { this.status = status; return this; } @@ -109,7 +109,7 @@ public void setStatus(@jakarta.annotation.Nonnull ExecutionStepStatusEnum status this.status = status; } - public ExecutionStep fee(@jakarta.annotation.Nullable Fee fee) { + public OrderExecutionStep fee(@jakarta.annotation.Nullable Fee fee) { this.fee = fee; return this; } @@ -132,7 +132,7 @@ public void setFee(@jakarta.annotation.Nullable Fee fee) { this.fee = fee; } - public ExecutionStep txId(@jakarta.annotation.Nullable String txId) { + public OrderExecutionStep txId(@jakarta.annotation.Nullable String txId) { this.txId = txId; return this; } @@ -155,7 +155,7 @@ public void setTxId(@jakarta.annotation.Nullable String txId) { this.txId = txId; } - public ExecutionStep txHash(@jakarta.annotation.Nullable String txHash) { + public OrderExecutionStep txHash(@jakarta.annotation.Nullable String txHash) { this.txHash = txHash; return this; } @@ -178,7 +178,7 @@ public void setTxHash(@jakarta.annotation.Nullable String txHash) { this.txHash = txHash; } - public ExecutionStep error(@jakarta.annotation.Nullable ExecutionStepError error) { + public OrderExecutionStep error(@jakarta.annotation.Nullable ExecutionStepError error) { this.error = error; return this; } @@ -201,7 +201,7 @@ public void setError(@jakarta.annotation.Nullable ExecutionStepError error) { this.error = error; } - /** Return true if this ExecutionStep object is equal to o. */ + /** Return true if this OrderExecutionStep object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -210,13 +210,13 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - ExecutionStep executionStep = (ExecutionStep) o; - return Objects.equals(this.type, executionStep.type) - && Objects.equals(this.status, executionStep.status) - && Objects.equals(this.fee, executionStep.fee) - && Objects.equals(this.txId, executionStep.txId) - && Objects.equals(this.txHash, executionStep.txHash) - && Objects.equals(this.error, executionStep.error); + OrderExecutionStep orderExecutionStep = (OrderExecutionStep) o; + return Objects.equals(this.type, orderExecutionStep.type) + && Objects.equals(this.status, orderExecutionStep.status) + && Objects.equals(this.fee, orderExecutionStep.fee) + && Objects.equals(this.txId, orderExecutionStep.txId) + && Objects.equals(this.txHash, orderExecutionStep.txHash) + && Objects.equals(this.error, orderExecutionStep.error); } @Override @@ -227,7 +227,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class ExecutionStep {\n"); + sb.append("class OrderExecutionStep {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" fee: ").append(toIndentedString(fee)).append("\n"); diff --git a/src/main/java/com/fireblocks/sdk/model/OrderSide.java b/src/main/java/com/fireblocks/sdk/model/OrderSide.java index 7441aa5e..b19af4e4 100644 --- a/src/main/java/com/fireblocks/sdk/model/OrderSide.java +++ b/src/main/java/com/fireblocks/sdk/model/OrderSide.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/OrderStatus.java b/src/main/java/com/fireblocks/sdk/model/OrderStatus.java index 575a98d2..1f315813 100644 --- a/src/main/java/com/fireblocks/sdk/model/OrderStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/OrderStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/OrderSummary.java b/src/main/java/com/fireblocks/sdk/model/OrderSummary.java index 62e91558..2d44f1cd 100644 --- a/src/main/java/com/fireblocks/sdk/model/OrderSummary.java +++ b/src/main/java/com/fireblocks/sdk/model/OrderSummary.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.time.OffsetDateTime; import java.util.Objects; @@ -47,41 +46,8 @@ public class OrderSummary { public static final String JSON_PROPERTY_VIA = "via"; @jakarta.annotation.Nonnull private AccessType via; - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side; + @jakarta.annotation.Nonnull private Side side; public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount"; @jakarta.annotation.Nonnull private String baseAmount; @@ -113,7 +79,7 @@ public OrderSummary() {} public OrderSummary( @JsonProperty(value = JSON_PROPERTY_ID, required = true) String id, @JsonProperty(value = JSON_PROPERTY_VIA, required = true) AccessType via, - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side, + @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) Side side, @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) @@ -180,26 +146,26 @@ public void setVia(@jakarta.annotation.Nonnull AccessType via) { this.via = via; } - public OrderSummary side(@jakarta.annotation.Nonnull SideEnum side) { + public OrderSummary side(@jakarta.annotation.Nonnull Side side) { this.side = side; return this; } /** - * Side of the order + * Get side * * @return side */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { + public Side getSide() { return side; } @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { + public void setSide(@jakarta.annotation.Nonnull Side side) { this.side = side; } diff --git a/src/main/java/com/fireblocks/sdk/model/PaginatedAddressResponse.java b/src/main/java/com/fireblocks/sdk/model/PaginatedAddressResponse.java index 0970a206..51ec4983 100644 --- a/src/main/java/com/fireblocks/sdk/model/PaginatedAddressResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/PaginatedAddressResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PaginatedAddressResponsePaging.java b/src/main/java/com/fireblocks/sdk/model/PaginatedAddressResponsePaging.java index 03bd2598..33ff6fa9 100644 --- a/src/main/java/com/fireblocks/sdk/model/PaginatedAddressResponsePaging.java +++ b/src/main/java/com/fireblocks/sdk/model/PaginatedAddressResponsePaging.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponse.java b/src/main/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponse.java index baa6a9e7..d6b6129e 100644 --- a/src/main/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponsePaging.java b/src/main/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponsePaging.java index 0cffde4e..6e75b6c2 100644 --- a/src/main/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponsePaging.java +++ b/src/main/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponsePaging.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PaginatedAssetsResponse.java b/src/main/java/com/fireblocks/sdk/model/PaginatedAssetsResponse.java index bb3c64f2..c015f0b2 100644 --- a/src/main/java/com/fireblocks/sdk/model/PaginatedAssetsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/PaginatedAssetsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Paging.java b/src/main/java/com/fireblocks/sdk/model/Paging.java index 8636ce50..ad723dae 100644 --- a/src/main/java/com/fireblocks/sdk/model/Paging.java +++ b/src/main/java/com/fireblocks/sdk/model/Paging.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PairApiKeyRequest.java b/src/main/java/com/fireblocks/sdk/model/PairApiKeyRequest.java index 425f36a0..fb88e9d6 100644 --- a/src/main/java/com/fireblocks/sdk/model/PairApiKeyRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/PairApiKeyRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PairApiKeyResponse.java b/src/main/java/com/fireblocks/sdk/model/PairApiKeyResponse.java index 5f3837d5..9d21ef62 100644 --- a/src/main/java/com/fireblocks/sdk/model/PairApiKeyResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/PairApiKeyResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Parameter.java b/src/main/java/com/fireblocks/sdk/model/Parameter.java index 58e95966..4218fe6f 100644 --- a/src/main/java/com/fireblocks/sdk/model/Parameter.java +++ b/src/main/java/com/fireblocks/sdk/model/Parameter.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ParameterWithValue.java b/src/main/java/com/fireblocks/sdk/model/ParameterWithValue.java index 8bbad4c9..975fe574 100644 --- a/src/main/java/com/fireblocks/sdk/model/ParameterWithValue.java +++ b/src/main/java/com/fireblocks/sdk/model/ParameterWithValue.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ParticipantRelationshipType.java b/src/main/java/com/fireblocks/sdk/model/ParticipantRelationshipType.java index 7ab88864..ee317ff6 100644 --- a/src/main/java/com/fireblocks/sdk/model/ParticipantRelationshipType.java +++ b/src/main/java/com/fireblocks/sdk/model/ParticipantRelationshipType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ParticipantsIdentification.java b/src/main/java/com/fireblocks/sdk/model/ParticipantsIdentification.java index 4eb32cf6..5f287b88 100644 --- a/src/main/java/com/fireblocks/sdk/model/ParticipantsIdentification.java +++ b/src/main/java/com/fireblocks/sdk/model/ParticipantsIdentification.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PayeeAccount.java b/src/main/java/com/fireblocks/sdk/model/PayeeAccount.java index 95ff3ade..6bf54417 100644 --- a/src/main/java/com/fireblocks/sdk/model/PayeeAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/PayeeAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PayeeAccountResponse.java b/src/main/java/com/fireblocks/sdk/model/PayeeAccountResponse.java index d4ac1bea..f47fb11b 100644 --- a/src/main/java/com/fireblocks/sdk/model/PayeeAccountResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/PayeeAccountResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PayeeAccountType.java b/src/main/java/com/fireblocks/sdk/model/PayeeAccountType.java index 0968b222..50092f9a 100644 --- a/src/main/java/com/fireblocks/sdk/model/PayeeAccountType.java +++ b/src/main/java/com/fireblocks/sdk/model/PayeeAccountType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PaymentAccount.java b/src/main/java/com/fireblocks/sdk/model/PaymentAccount.java index 614bbcfa..216be57e 100644 --- a/src/main/java/com/fireblocks/sdk/model/PaymentAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/PaymentAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PaymentAccountResponse.java b/src/main/java/com/fireblocks/sdk/model/PaymentAccountResponse.java index 14ca2575..ff853746 100644 --- a/src/main/java/com/fireblocks/sdk/model/PaymentAccountResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/PaymentAccountResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PaymentAccountType.java b/src/main/java/com/fireblocks/sdk/model/PaymentAccountType.java index 6f1f941b..26492e4e 100644 --- a/src/main/java/com/fireblocks/sdk/model/PaymentAccountType.java +++ b/src/main/java/com/fireblocks/sdk/model/PaymentAccountType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PaymentInstructions.java b/src/main/java/com/fireblocks/sdk/model/PaymentInstructions.java index 844c320a..16c006f6 100644 --- a/src/main/java/com/fireblocks/sdk/model/PaymentInstructions.java +++ b/src/main/java/com/fireblocks/sdk/model/PaymentInstructions.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,185 +13,266 @@ package com.fireblocks.sdk.model; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fireblocks.sdk.ApiClient; -import java.util.Objects; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.JsonToken; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import com.fireblocks.sdk.JSON; +import java.io.IOException; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; import java.util.StringJoiner; +import java.util.logging.Level; +import java.util.logging.Logger; -/** PaymentInstructions */ -@JsonPropertyOrder({ - PaymentInstructions.JSON_PROPERTY_TYPE, - PaymentInstructions.JSON_PROPERTY_ADDRESS, - PaymentInstructions.JSON_PROPERTY_REFERENCE_ID -}) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class PaymentInstructions { - /** Gets or Sets type */ - public enum TypeEnum { - MOBILE_MONEY(String.valueOf("MOBILE_MONEY")); +@JsonDeserialize(using = PaymentInstructions.PaymentInstructionsDeserializer.class) +@JsonSerialize(using = PaymentInstructions.PaymentInstructionsSerializer.class) +public class PaymentInstructions extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(PaymentInstructions.class.getName()); + + public static class PaymentInstructionsSerializer extends StdSerializer { + public PaymentInstructionsSerializer(Class t) { + super(t); + } - private String value; + public PaymentInstructionsSerializer() { + this(null); + } - TypeEnum(String value) { - this.value = value; + @Override + public void serialize( + PaymentInstructions value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.getActualInstance()); } + } - @JsonValue - public String getValue() { - return value; + public static class PaymentInstructionsDeserializer + extends StdDeserializer { + public PaymentInstructionsDeserializer() { + this(PaymentInstructions.class); } - @Override - public String toString() { - return String.valueOf(value); + public PaymentInstructionsDeserializer(Class vc) { + super(vc); } - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; + @Override + public PaymentInstructions deserialize(JsonParser jp, DeserializationContext ctxt) + throws IOException, JsonProcessingException { + JsonNode tree = jp.readValueAsTree(); + Object deserialized = null; + boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); + int match = 0; + JsonToken token = tree.traverse(jp.getCodec()).nextToken(); + // deserialize BlockchainDestination + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (BlockchainDestination.class.equals(Integer.class) + || BlockchainDestination.class.equals(Long.class) + || BlockchainDestination.class.equals(Float.class) + || BlockchainDestination.class.equals(Double.class) + || BlockchainDestination.class.equals(Boolean.class) + || BlockchainDestination.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= + ((BlockchainDestination.class.equals(Integer.class) + || BlockchainDestination.class.equals(Long.class)) + && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= + ((BlockchainDestination.class.equals(Float.class) + || BlockchainDestination.class.equals(Double.class)) + && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= + (BlockchainDestination.class.equals(Boolean.class) + && (token == JsonToken.VALUE_FALSE + || token == JsonToken.VALUE_TRUE)); + attemptParsing |= + (BlockchainDestination.class.equals(String.class) + && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = + tree.traverse(jp.getCodec()).readValueAs(BlockchainDestination.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'BlockchainDestination'"); } + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'BlockchainDestination'", e); } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + // deserialize PaymentInstructionsOneOf + try { + boolean attemptParsing = true; + // ensure that we respect type coercion as set on the client ObjectMapper + if (PaymentInstructionsOneOf.class.equals(Integer.class) + || PaymentInstructionsOneOf.class.equals(Long.class) + || PaymentInstructionsOneOf.class.equals(Float.class) + || PaymentInstructionsOneOf.class.equals(Double.class) + || PaymentInstructionsOneOf.class.equals(Boolean.class) + || PaymentInstructionsOneOf.class.equals(String.class)) { + attemptParsing = typeCoercion; + if (!attemptParsing) { + attemptParsing |= + ((PaymentInstructionsOneOf.class.equals(Integer.class) + || PaymentInstructionsOneOf.class.equals( + Long.class)) + && token == JsonToken.VALUE_NUMBER_INT); + attemptParsing |= + ((PaymentInstructionsOneOf.class.equals(Float.class) + || PaymentInstructionsOneOf.class.equals( + Double.class)) + && token == JsonToken.VALUE_NUMBER_FLOAT); + attemptParsing |= + (PaymentInstructionsOneOf.class.equals(Boolean.class) + && (token == JsonToken.VALUE_FALSE + || token == JsonToken.VALUE_TRUE)); + attemptParsing |= + (PaymentInstructionsOneOf.class.equals(String.class) + && token == JsonToken.VALUE_STRING); + } + } + if (attemptParsing) { + deserialized = + tree.traverse(jp.getCodec()) + .readValueAs(PaymentInstructionsOneOf.class); + // TODO: there is no validation against JSON schema constraints + // (min, max, enum, pattern...), this does not perform a strict JSON + // validation, which means the 'match' count may be higher than it should be. + match++; + log.log(Level.FINER, "Input data matches schema 'PaymentInstructionsOneOf'"); + } + } catch (Exception e) { + // deserialization failed, continue + log.log( + Level.FINER, + "Input data does not match schema 'PaymentInstructionsOneOf'", + e); + } - public static final String JSON_PROPERTY_ADDRESS = "address"; - @jakarta.annotation.Nonnull private MobileMoneyAddress address; + if (match == 1) { + PaymentInstructions ret = new PaymentInstructions(); + ret.setActualInstance(deserialized); + return ret; + } + throw new IOException( + String.format( + "Failed deserialization for PaymentInstructions: %d classes match" + + " result, expected 1", + match)); + } - public static final String JSON_PROPERTY_REFERENCE_ID = "referenceId"; - @jakarta.annotation.Nullable private String referenceId; + /** Handle deserialization of the 'null' value. */ + @Override + public PaymentInstructions getNullValue(DeserializationContext ctxt) + throws JsonMappingException { + throw new JsonMappingException(ctxt.getParser(), "PaymentInstructions cannot be null"); + } + } - public PaymentInstructions() {} + // store a list of schema names defined in oneOf + public static final Map> schemas = new HashMap<>(); - @JsonCreator - public PaymentInstructions( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, - @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) - MobileMoneyAddress address) { - this.type = type; - this.address = address; + public PaymentInstructions() { + super("oneOf", Boolean.FALSE); } - public PaymentInstructions type(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; - return this; + public PaymentInstructions(BlockchainDestination o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); } - /** - * Get type - * - * @return type - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { - return type; + public PaymentInstructions(PaymentInstructionsOneOf o) { + super("oneOf", Boolean.FALSE); + setActualInstance(o); } - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; + static { + schemas.put("BlockchainDestination", BlockchainDestination.class); + schemas.put("PaymentInstructionsOneOf", PaymentInstructionsOneOf.class); + JSON.registerDescendants(PaymentInstructions.class, Collections.unmodifiableMap(schemas)); } - public PaymentInstructions address(@jakarta.annotation.Nonnull MobileMoneyAddress address) { - this.address = address; - return this; + @Override + public Map> getSchemas() { + return PaymentInstructions.schemas; } /** - * Get address + * Set the instance that matches the oneOf child schema, check the instance parameter is valid + * against the oneOf child schemas: BlockchainDestination, PaymentInstructionsOneOf * - * @return address + *

    It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be + * a composed schema (allOf, anyOf, oneOf). */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ADDRESS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public MobileMoneyAddress getAddress() { - return address; - } + @Override + public void setActualInstance(Object instance) { + if (JSON.isInstanceOf(BlockchainDestination.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } - @JsonProperty(JSON_PROPERTY_ADDRESS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setAddress(@jakarta.annotation.Nonnull MobileMoneyAddress address) { - this.address = address; - } + if (JSON.isInstanceOf(PaymentInstructionsOneOf.class, instance, new HashSet>())) { + super.setActualInstance(instance); + return; + } - public PaymentInstructions referenceId(@jakarta.annotation.Nullable String referenceId) { - this.referenceId = referenceId; - return this; + throw new RuntimeException( + "Invalid instance type. Must be BlockchainDestination, PaymentInstructionsOneOf"); } /** - * Get referenceId + * Get the actual instance, which can be the following: BlockchainDestination, + * PaymentInstructionsOneOf * - * @return referenceId + * @return The actual instance (BlockchainDestination, PaymentInstructionsOneOf) */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_REFERENCE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getReferenceId() { - return referenceId; - } - - @JsonProperty(JSON_PROPERTY_REFERENCE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setReferenceId(@jakarta.annotation.Nullable String referenceId) { - this.referenceId = referenceId; - } - - /** Return true if this PaymentInstructions object is equal to o. */ @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PaymentInstructions paymentInstructions = (PaymentInstructions) o; - return Objects.equals(this.type, paymentInstructions.type) - && Objects.equals(this.address, paymentInstructions.address) - && Objects.equals(this.referenceId, paymentInstructions.referenceId); - } - - @Override - public int hashCode() { - return Objects.hash(type, address, referenceId); + public Object getActualInstance() { + return super.getActualInstance(); } - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PaymentInstructions {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" address: ").append(toIndentedString(address)).append("\n"); - sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n"); - sb.append("}"); - return sb.toString(); + /** + * Get the actual instance of `BlockchainDestination`. If the actual instance is not + * `BlockchainDestination`, the ClassCastException will be thrown. + * + * @return The actual instance of `BlockchainDestination` + * @throws ClassCastException if the instance is not `BlockchainDestination` + */ + public BlockchainDestination getBlockchainDestination() throws ClassCastException { + return (BlockchainDestination) super.getActualInstance(); } /** - * Convert the given object to string with each line indented by 4 spaces (except the first - * line). + * Get the actual instance of `PaymentInstructionsOneOf`. If the actual instance is not + * `PaymentInstructionsOneOf`, the ClassCastException will be thrown. + * + * @return The actual instance of `PaymentInstructionsOneOf` + * @throws ClassCastException if the instance is not `PaymentInstructionsOneOf` */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); + public PaymentInstructionsOneOf getPaymentInstructionsOneOf() throws ClassCastException { + return (PaymentInstructionsOneOf) super.getActualInstance(); } /** @@ -226,31 +307,22 @@ public String toUrlQueryString(String prefix) { StringJoiner joiner = new StringJoiner("&"); - // add `type` to the URL query string - if (getType() != null) { - joiner.add( - String.format( - "%stype%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getType())))); - } - - // add `address` to the URL query string - if (getAddress() != null) { - joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix)); + if (getActualInstance() instanceof BlockchainDestination) { + if (getActualInstance() != null) { + joiner.add( + ((BlockchainDestination) getActualInstance()) + .toUrlQueryString(prefix + "one_of_0" + suffix)); + } + return joiner.toString(); } - - // add `referenceId` to the URL query string - if (getReferenceId() != null) { - joiner.add( - String.format( - "%sreferenceId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getReferenceId())))); + if (getActualInstance() instanceof PaymentInstructionsOneOf) { + if (getActualInstance() != null) { + joiner.add( + ((PaymentInstructionsOneOf) getActualInstance()) + .toUrlQueryString(prefix + "one_of_1" + suffix)); + } + return joiner.toString(); } - - return joiner.toString(); + return null; } } diff --git a/src/main/java/com/fireblocks/sdk/model/TradingErrorResponseError.java b/src/main/java/com/fireblocks/sdk/model/PaymentInstructionsOneOf.java similarity index 59% rename from src/main/java/com/fireblocks/sdk/model/TradingErrorResponseError.java rename to src/main/java/com/fireblocks/sdk/model/PaymentInstructionsOneOf.java index 1dbe5072..7bbc255e 100644 --- a/src/main/java/com/fireblocks/sdk/model/TradingErrorResponseError.java +++ b/src/main/java/com/fireblocks/sdk/model/PaymentInstructionsOneOf.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -22,31 +22,19 @@ import java.util.Objects; import java.util.StringJoiner; -/** TradingErrorResponseError */ +/** PaymentInstructionsOneOf */ @JsonPropertyOrder({ - TradingErrorResponseError.JSON_PROPERTY_TYPE, - TradingErrorResponseError.JSON_PROPERTY_MESSAGE, - TradingErrorResponseError.JSON_PROPERTY_ERROR_CODE + PaymentInstructionsOneOf.JSON_PROPERTY_TYPE, + PaymentInstructionsOneOf.JSON_PROPERTY_ADDRESS, + PaymentInstructionsOneOf.JSON_PROPERTY_REFERENCE_ID }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class TradingErrorResponseError { +public class PaymentInstructionsOneOf { /** Gets or Sets type */ public enum TypeEnum { - INTERNAL(String.valueOf("INTERNAL")), - - AUTHENTICATION(String.valueOf("AUTHENTICATION")), - - AUTHORIZATION(String.valueOf("AUTHORIZATION")), - - VALIDATION(String.valueOf("VALIDATION")), - - NOT_FOUND(String.valueOf("NOT_FOUND")), - - UNPROCESSABLE_ENTITY(String.valueOf("UNPROCESSABLE_ENTITY")), - - FORBIDDEN(String.valueOf("FORBIDDEN")); + EUROPEAN_SEPA(String.valueOf("EUROPEAN_SEPA")); private String value; @@ -78,23 +66,24 @@ public static TypeEnum fromValue(String value) { public static final String JSON_PROPERTY_TYPE = "type"; @jakarta.annotation.Nonnull private TypeEnum type; - public static final String JSON_PROPERTY_MESSAGE = "message"; - @jakarta.annotation.Nonnull private String message; + public static final String JSON_PROPERTY_ADDRESS = "address"; + @jakarta.annotation.Nonnull private EuropeanSEPAAddress address; - public static final String JSON_PROPERTY_ERROR_CODE = "errorCode"; - @jakarta.annotation.Nullable private ErrorCodes errorCode; + public static final String JSON_PROPERTY_REFERENCE_ID = "referenceId"; + @jakarta.annotation.Nullable private String referenceId; - public TradingErrorResponseError() {} + public PaymentInstructionsOneOf() {} @JsonCreator - public TradingErrorResponseError( + public PaymentInstructionsOneOf( @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, - @JsonProperty(value = JSON_PROPERTY_MESSAGE, required = true) String message) { + @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) + EuropeanSEPAAddress address) { this.type = type; - this.message = message; + this.address = address; } - public TradingErrorResponseError type(@jakarta.annotation.Nonnull TypeEnum type) { + public PaymentInstructionsOneOf type(@jakarta.annotation.Nonnull TypeEnum type) { this.type = type; return this; } @@ -117,53 +106,54 @@ public void setType(@jakarta.annotation.Nonnull TypeEnum type) { this.type = type; } - public TradingErrorResponseError message(@jakarta.annotation.Nonnull String message) { - this.message = message; + public PaymentInstructionsOneOf address( + @jakarta.annotation.Nonnull EuropeanSEPAAddress address) { + this.address = address; return this; } /** - * Get message + * Get address * - * @return message + * @return address */ @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getMessage() { - return message; + public EuropeanSEPAAddress getAddress() { + return address; } - @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonProperty(JSON_PROPERTY_ADDRESS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setMessage(@jakarta.annotation.Nonnull String message) { - this.message = message; + public void setAddress(@jakarta.annotation.Nonnull EuropeanSEPAAddress address) { + this.address = address; } - public TradingErrorResponseError errorCode(@jakarta.annotation.Nullable ErrorCodes errorCode) { - this.errorCode = errorCode; + public PaymentInstructionsOneOf referenceId(@jakarta.annotation.Nullable String referenceId) { + this.referenceId = referenceId; return this; } /** - * Get errorCode + * Get referenceId * - * @return errorCode + * @return referenceId */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ERROR_CODE) + @JsonProperty(JSON_PROPERTY_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ErrorCodes getErrorCode() { - return errorCode; + public String getReferenceId() { + return referenceId; } - @JsonProperty(JSON_PROPERTY_ERROR_CODE) + @JsonProperty(JSON_PROPERTY_REFERENCE_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setErrorCode(@jakarta.annotation.Nullable ErrorCodes errorCode) { - this.errorCode = errorCode; + public void setReferenceId(@jakarta.annotation.Nullable String referenceId) { + this.referenceId = referenceId; } - /** Return true if this TradingErrorResponse_error object is equal to o. */ + /** Return true if this PaymentInstructions_oneOf object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -172,24 +162,24 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - TradingErrorResponseError tradingErrorResponseError = (TradingErrorResponseError) o; - return Objects.equals(this.type, tradingErrorResponseError.type) - && Objects.equals(this.message, tradingErrorResponseError.message) - && Objects.equals(this.errorCode, tradingErrorResponseError.errorCode); + PaymentInstructionsOneOf paymentInstructionsOneOf = (PaymentInstructionsOneOf) o; + return Objects.equals(this.type, paymentInstructionsOneOf.type) + && Objects.equals(this.address, paymentInstructionsOneOf.address) + && Objects.equals(this.referenceId, paymentInstructionsOneOf.referenceId); } @Override public int hashCode() { - return Objects.hash(type, message, errorCode); + return Objects.hash(type, address, referenceId); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class TradingErrorResponseError {\n"); + sb.append("class PaymentInstructionsOneOf {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n"); + sb.append(" address: ").append(toIndentedString(address)).append("\n"); + sb.append(" referenceId: ").append(toIndentedString(referenceId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -247,24 +237,19 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getType())))); } - // add `message` to the URL query string - if (getMessage() != null) { - joiner.add( - String.format( - "%smessage%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getMessage())))); + // add `address` to the URL query string + if (getAddress() != null) { + joiner.add(getAddress().toUrlQueryString(prefix + "address" + suffix)); } - // add `errorCode` to the URL query string - if (getErrorCode() != null) { + // add `referenceId` to the URL query string + if (getReferenceId() != null) { joiner.add( String.format( - "%serrorCode%s=%s", + "%sreferenceId%s=%s", prefix, suffix, - ApiClient.urlEncode(ApiClient.valueToString(getErrorCode())))); + ApiClient.urlEncode(ApiClient.valueToString(getReferenceId())))); } return joiner.toString(); diff --git a/src/main/java/com/fireblocks/sdk/model/PayoutInitMethod.java b/src/main/java/com/fireblocks/sdk/model/PayoutInitMethod.java index 92eaf950..6751743a 100644 --- a/src/main/java/com/fireblocks/sdk/model/PayoutInitMethod.java +++ b/src/main/java/com/fireblocks/sdk/model/PayoutInitMethod.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PayoutInstruction.java b/src/main/java/com/fireblocks/sdk/model/PayoutInstruction.java index 07b204d3..8663b61b 100644 --- a/src/main/java/com/fireblocks/sdk/model/PayoutInstruction.java +++ b/src/main/java/com/fireblocks/sdk/model/PayoutInstruction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PayoutInstructionResponse.java b/src/main/java/com/fireblocks/sdk/model/PayoutInstructionResponse.java index 3dbb90b1..b383a261 100644 --- a/src/main/java/com/fireblocks/sdk/model/PayoutInstructionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/PayoutInstructionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PayoutInstructionState.java b/src/main/java/com/fireblocks/sdk/model/PayoutInstructionState.java index ba9b30ba..a779c6dd 100644 --- a/src/main/java/com/fireblocks/sdk/model/PayoutInstructionState.java +++ b/src/main/java/com/fireblocks/sdk/model/PayoutInstructionState.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PayoutResponse.java b/src/main/java/com/fireblocks/sdk/model/PayoutResponse.java index 0f652b2f..e9112b84 100644 --- a/src/main/java/com/fireblocks/sdk/model/PayoutResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/PayoutResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PayoutState.java b/src/main/java/com/fireblocks/sdk/model/PayoutState.java index 422d4104..73341482 100644 --- a/src/main/java/com/fireblocks/sdk/model/PayoutState.java +++ b/src/main/java/com/fireblocks/sdk/model/PayoutState.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PayoutStatus.java b/src/main/java/com/fireblocks/sdk/model/PayoutStatus.java index a9256aea..4c20abad 100644 --- a/src/main/java/com/fireblocks/sdk/model/PayoutStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/PayoutStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PeerAdapterInfo.java b/src/main/java/com/fireblocks/sdk/model/PeerAdapterInfo.java index 6005fe8f..25127ad9 100644 --- a/src/main/java/com/fireblocks/sdk/model/PeerAdapterInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/PeerAdapterInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PeerType.java b/src/main/java/com/fireblocks/sdk/model/PeerType.java index fab2b05b..7be0ad09 100644 --- a/src/main/java/com/fireblocks/sdk/model/PeerType.java +++ b/src/main/java/com/fireblocks/sdk/model/PeerType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -22,11 +22,11 @@ public enum PeerType { EXCHANGE_ACCOUNT("EXCHANGE_ACCOUNT"), - INTERNAL_WALLET("INTERNAL_WALLET"), + UNMANAGED_WALLET("UNMANAGED_WALLET"), - EXTERNAL_WALLET("EXTERNAL_WALLET"), + FIAT_ACCOUNT("FIAT_ACCOUNT"), - FIAT_ACCOUNT("FIAT_ACCOUNT"); + CONNECTED_ACCOUNT("CONNECTED_ACCOUNT"); private String value; diff --git a/src/main/java/com/fireblocks/sdk/model/PersonalEntityTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/PersonalEntityTypeEnum.java new file mode 100644 index 00000000..245f04ee --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/PersonalEntityTypeEnum.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets PersonalEntityTypeEnum */ +public enum PersonalEntityTypeEnum { + INDIVIDUAL("INDIVIDUAL"); + + private String value; + + PersonalEntityTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static PersonalEntityTypeEnum fromValue(String value) { + for (PersonalEntityTypeEnum b : PersonalEntityTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/PersonalIdentification.java b/src/main/java/com/fireblocks/sdk/model/PersonalIdentification.java index 4dea1851..5dce923d 100644 --- a/src/main/java/com/fireblocks/sdk/model/PersonalIdentification.java +++ b/src/main/java/com/fireblocks/sdk/model/PersonalIdentification.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.time.LocalDate; import java.util.Objects; @@ -30,7 +29,9 @@ PersonalIdentification.JSON_PROPERTY_PARTICIPANT_RELATIONSHIP_TYPE, PersonalIdentification.JSON_PROPERTY_FULL_NAME, PersonalIdentification.JSON_PROPERTY_DATE_OF_BIRTH, - PersonalIdentification.JSON_PROPERTY_POSTAL_ADDRESS + PersonalIdentification.JSON_PROPERTY_POSTAL_ADDRESS, + PersonalIdentification.JSON_PROPERTY_EMAIL, + PersonalIdentification.JSON_PROPERTY_PHONE }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -39,39 +40,8 @@ public class PersonalIdentification { public static final String JSON_PROPERTY_EXTERNAL_REFERENCE_ID = "externalReferenceId"; @jakarta.annotation.Nonnull private String externalReferenceId; - /** Gets or Sets entityType */ - public enum EntityTypeEnum { - INDIVIDUAL(String.valueOf("INDIVIDUAL")); - - private String value; - - EntityTypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static EntityTypeEnum fromValue(String value) { - for (EntityTypeEnum b : EntityTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_ENTITY_TYPE = "entityType"; - @jakarta.annotation.Nonnull private EntityTypeEnum entityType; + @jakarta.annotation.Nonnull private PersonalEntityTypeEnum entityType; public static final String JSON_PROPERTY_PARTICIPANT_RELATIONSHIP_TYPE = "participantRelationshipType"; @@ -86,6 +56,12 @@ public static EntityTypeEnum fromValue(String value) { public static final String JSON_PROPERTY_POSTAL_ADDRESS = "postalAddress"; @jakarta.annotation.Nonnull private PostalAddress postalAddress; + public static final String JSON_PROPERTY_EMAIL = "email"; + @jakarta.annotation.Nullable private String email; + + public static final String JSON_PROPERTY_PHONE = "phone"; + @jakarta.annotation.Nullable private String phone; + public PersonalIdentification() {} @JsonCreator @@ -93,7 +69,7 @@ public PersonalIdentification( @JsonProperty(value = JSON_PROPERTY_EXTERNAL_REFERENCE_ID, required = true) String externalReferenceId, @JsonProperty(value = JSON_PROPERTY_ENTITY_TYPE, required = true) - EntityTypeEnum entityType, + PersonalEntityTypeEnum entityType, @JsonProperty(value = JSON_PROPERTY_PARTICIPANT_RELATIONSHIP_TYPE, required = true) ParticipantRelationshipType participantRelationshipType, @JsonProperty(value = JSON_PROPERTY_FULL_NAME, required = true) @@ -135,7 +111,7 @@ public void setExternalReferenceId(@jakarta.annotation.Nonnull String externalRe } public PersonalIdentification entityType( - @jakarta.annotation.Nonnull EntityTypeEnum entityType) { + @jakarta.annotation.Nonnull PersonalEntityTypeEnum entityType) { this.entityType = entityType; return this; } @@ -148,13 +124,13 @@ public PersonalIdentification entityType( @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public EntityTypeEnum getEntityType() { + public PersonalEntityTypeEnum getEntityType() { return entityType; } @JsonProperty(JSON_PROPERTY_ENTITY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setEntityType(@jakarta.annotation.Nonnull EntityTypeEnum entityType) { + public void setEntityType(@jakarta.annotation.Nonnull PersonalEntityTypeEnum entityType) { this.entityType = entityType; } @@ -254,6 +230,52 @@ public void setPostalAddress(@jakarta.annotation.Nonnull PostalAddress postalAdd this.postalAddress = postalAddress; } + public PersonalIdentification email(@jakarta.annotation.Nullable String email) { + this.email = email; + return this; + } + + /** + * Get email + * + * @return email + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_EMAIL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getEmail() { + return email; + } + + @JsonProperty(JSON_PROPERTY_EMAIL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEmail(@jakarta.annotation.Nullable String email) { + this.email = email; + } + + public PersonalIdentification phone(@jakarta.annotation.Nullable String phone) { + this.phone = phone; + return this; + } + + /** + * Mobile phone number in E.164 format + * + * @return phone + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PHONE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPhone() { + return phone; + } + + @JsonProperty(JSON_PROPERTY_PHONE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPhone(@jakarta.annotation.Nullable String phone) { + this.phone = phone; + } + /** Return true if this PersonalIdentification object is equal to o. */ @Override public boolean equals(Object o) { @@ -271,7 +293,9 @@ public boolean equals(Object o) { personalIdentification.participantRelationshipType) && Objects.equals(this.fullName, personalIdentification.fullName) && Objects.equals(this.dateOfBirth, personalIdentification.dateOfBirth) - && Objects.equals(this.postalAddress, personalIdentification.postalAddress); + && Objects.equals(this.postalAddress, personalIdentification.postalAddress) + && Objects.equals(this.email, personalIdentification.email) + && Objects.equals(this.phone, personalIdentification.phone); } @Override @@ -282,7 +306,9 @@ public int hashCode() { participantRelationshipType, fullName, dateOfBirth, - postalAddress); + postalAddress, + email, + phone); } @Override @@ -299,6 +325,8 @@ public String toString() { sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n"); sb.append(" dateOfBirth: ").append(toIndentedString(dateOfBirth)).append("\n"); sb.append(" postalAddress: ").append(toIndentedString(postalAddress)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" phone: ").append(toIndentedString(phone)).append("\n"); sb.append("}"); return sb.toString(); } @@ -398,6 +426,26 @@ public String toUrlQueryString(String prefix) { joiner.add(getPostalAddress().toUrlQueryString(prefix + "postalAddress" + suffix)); } + // add `email` to the URL query string + if (getEmail() != null) { + joiner.add( + String.format( + "%semail%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getEmail())))); + } + + // add `phone` to the URL query string + if (getPhone() != null) { + joiner.add( + String.format( + "%sphone%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPhone())))); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/PersonalIdentificationFullName.java b/src/main/java/com/fireblocks/sdk/model/PersonalIdentificationFullName.java index 1a06d8c3..d02b9987 100644 --- a/src/main/java/com/fireblocks/sdk/model/PersonalIdentificationFullName.java +++ b/src/main/java/com/fireblocks/sdk/model/PersonalIdentificationFullName.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PixAddress.java b/src/main/java/com/fireblocks/sdk/model/PixAddress.java index 54a2c3fe..e8b75762 100644 --- a/src/main/java/com/fireblocks/sdk/model/PixAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/PixAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PixDestination.java b/src/main/java/com/fireblocks/sdk/model/PixDestination.java index 0711f4c6..3b8f4510 100644 --- a/src/main/java/com/fireblocks/sdk/model/PixDestination.java +++ b/src/main/java/com/fireblocks/sdk/model/PixDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PixPaymentInfo.java b/src/main/java/com/fireblocks/sdk/model/PixPaymentInfo.java index a6e0c3e4..11570415 100644 --- a/src/main/java/com/fireblocks/sdk/model/PixPaymentInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/PixPaymentInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PlatformAccount.java b/src/main/java/com/fireblocks/sdk/model/PlatformAccount.java index e9306b94..dccf036a 100644 --- a/src/main/java/com/fireblocks/sdk/model/PlatformAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/PlatformAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -28,43 +27,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class PlatformAccount { - /** Gets or Sets type */ - public enum TypeEnum { - VAULT_ACCOUNT(String.valueOf("VAULT_ACCOUNT")), - - CONNECTED_ACCOUNT(String.valueOf("CONNECTED_ACCOUNT")), - - FIAT_ACCOUNT(String.valueOf("FIAT_ACCOUNT")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private PlatformPeerType type; public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId"; @jakarta.annotation.Nonnull private String accountId; @@ -73,13 +37,13 @@ public PlatformAccount() {} @JsonCreator public PlatformAccount( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) PlatformPeerType type, @JsonProperty(value = JSON_PROPERTY_ACCOUNT_ID, required = true) String accountId) { this.type = type; this.accountId = accountId; } - public PlatformAccount type(@jakarta.annotation.Nonnull TypeEnum type) { + public PlatformAccount type(@jakarta.annotation.Nonnull PlatformPeerType type) { this.type = type; return this; } @@ -92,13 +56,13 @@ public PlatformAccount type(@jakarta.annotation.Nonnull TypeEnum type) { @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public PlatformPeerType getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull PlatformPeerType type) { this.type = type; } diff --git a/src/main/java/com/fireblocks/sdk/model/PlatformPeerType.java b/src/main/java/com/fireblocks/sdk/model/PlatformPeerType.java new file mode 100644 index 00000000..a2a1b48b --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/PlatformPeerType.java @@ -0,0 +1,66 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets PlatformPeerType */ +public enum PlatformPeerType { + VAULT_ACCOUNT("VAULT_ACCOUNT"), + + CONNECTED_ACCOUNT("CONNECTED_ACCOUNT"), + + FIAT_ACCOUNT("FIAT_ACCOUNT"); + + private String value; + + PlatformPeerType(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static PlatformPeerType fromValue(String value) { + for (PlatformPeerType b : PlatformPeerType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/Players.java b/src/main/java/com/fireblocks/sdk/model/Players.java index eb80d1e8..bf9b6d35 100644 --- a/src/main/java/com/fireblocks/sdk/model/Players.java +++ b/src/main/java/com/fireblocks/sdk/model/Players.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyAndValidationResponse.java b/src/main/java/com/fireblocks/sdk/model/PolicyAndValidationResponse.java index 71801725..00eb5b6d 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyAndValidationResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyAndValidationResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyCheckResult.java b/src/main/java/com/fireblocks/sdk/model/PolicyCheckResult.java index 00b591bd..841c8d5f 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyCheckResult.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyCheckResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyCurrency.java b/src/main/java/com/fireblocks/sdk/model/PolicyCurrency.java index 05aadc02..41ba9105 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyCurrency.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyCurrency.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyMetadata.java b/src/main/java/com/fireblocks/sdk/model/PolicyMetadata.java index c37d816c..e8e35f44 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyMetadata.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyMetadata.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyOperator.java b/src/main/java/com/fireblocks/sdk/model/PolicyOperator.java index 4f7dac11..a9a17f9f 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyOperator.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyOperator.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyResponse.java b/src/main/java/com/fireblocks/sdk/model/PolicyResponse.java index e986452b..d9b45943 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyRule.java b/src/main/java/com/fireblocks/sdk/model/PolicyRule.java index f3f7c8de..5fce4909 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyRule.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyRuleCheckResult.java b/src/main/java/com/fireblocks/sdk/model/PolicyRuleCheckResult.java index 0f0e30a3..6516f3af 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyRuleCheckResult.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyRuleCheckResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyRuleError.java b/src/main/java/com/fireblocks/sdk/model/PolicyRuleError.java index 7c1bc7bb..5d6c98d0 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyRuleError.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyRuleError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyStatus.java b/src/main/java/com/fireblocks/sdk/model/PolicyStatus.java index 1f0a9927..56d246e9 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyTag.java b/src/main/java/com/fireblocks/sdk/model/PolicyTag.java index 780dca54..6c261a5d 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyTag.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyTag.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyType.java b/src/main/java/com/fireblocks/sdk/model/PolicyType.java index cfcd6183..1fb46b9d 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyType.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyValidation.java b/src/main/java/com/fireblocks/sdk/model/PolicyValidation.java index b609686a..a5d03f78 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyValidation.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyValidation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum.java b/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum.java index 5e667690..2c1e10a4 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2.java b/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2.java index b48c4057..1c2f49ab 100644 --- a/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2.java +++ b/src/main/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PostalAddress.java b/src/main/java/com/fireblocks/sdk/model/PostalAddress.java index 1d362f7a..e1f783eb 100644 --- a/src/main/java/com/fireblocks/sdk/model/PostalAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/PostalAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PreScreening.java b/src/main/java/com/fireblocks/sdk/model/PreScreening.java index 05daf7d5..3c91e2e7 100644 --- a/src/main/java/com/fireblocks/sdk/model/PreScreening.java +++ b/src/main/java/com/fireblocks/sdk/model/PreScreening.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PrefundedSettlement.java b/src/main/java/com/fireblocks/sdk/model/PrefundedSettlement.java index ce2d2b9e..d413f079 100644 --- a/src/main/java/com/fireblocks/sdk/model/PrefundedSettlement.java +++ b/src/main/java/com/fireblocks/sdk/model/PrefundedSettlement.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -31,39 +30,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class PrefundedSettlement { - /** Gets or Sets type */ - public enum TypeEnum { - PREFUNDED(String.valueOf("PREFUNDED")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private PrefundedSettlementType type; public static final String JSON_PROPERTY_DESTINATION_ACCOUNT = "destinationAccount"; @jakarta.annotation.Nonnull private AccountReference destinationAccount; @@ -72,14 +40,14 @@ public PrefundedSettlement() {} @JsonCreator public PrefundedSettlement( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) PrefundedSettlementType type, @JsonProperty(value = JSON_PROPERTY_DESTINATION_ACCOUNT, required = true) AccountReference destinationAccount) { this.type = type; this.destinationAccount = destinationAccount; } - public PrefundedSettlement type(@jakarta.annotation.Nonnull TypeEnum type) { + public PrefundedSettlement type(@jakarta.annotation.Nonnull PrefundedSettlementType type) { this.type = type; return this; } @@ -92,13 +60,13 @@ public PrefundedSettlement type(@jakarta.annotation.Nonnull TypeEnum type) { @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public PrefundedSettlementType getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull PrefundedSettlementType type) { this.type = type; } diff --git a/src/main/java/com/fireblocks/sdk/model/PrefundedSettlementType.java b/src/main/java/com/fireblocks/sdk/model/PrefundedSettlementType.java new file mode 100644 index 00000000..1c85fafa --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/PrefundedSettlementType.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets PrefundedSettlementType */ +public enum PrefundedSettlementType { + PREFUNDED("PREFUNDED"); + + private String value; + + PrefundedSettlementType(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static PrefundedSettlementType fromValue(String value) { + for (PrefundedSettlementType b : PrefundedSettlementType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ProgramCallConfig.java b/src/main/java/com/fireblocks/sdk/model/ProgramCallConfig.java index 2bab9d9e..94c5414a 100644 --- a/src/main/java/com/fireblocks/sdk/model/ProgramCallConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/ProgramCallConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Provider.java b/src/main/java/com/fireblocks/sdk/model/Provider.java index caadab5f..0eb9df35 100644 --- a/src/main/java/com/fireblocks/sdk/model/Provider.java +++ b/src/main/java/com/fireblocks/sdk/model/Provider.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ProvidersListResponse.java b/src/main/java/com/fireblocks/sdk/model/ProvidersListResponse.java index b7aab066..c8345a5c 100644 --- a/src/main/java/com/fireblocks/sdk/model/ProvidersListResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ProvidersListResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PublicKeyInformation.java b/src/main/java/com/fireblocks/sdk/model/PublicKeyInformation.java index 86f9d2a9..0f9755da 100644 --- a/src/main/java/com/fireblocks/sdk/model/PublicKeyInformation.java +++ b/src/main/java/com/fireblocks/sdk/model/PublicKeyInformation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PublishDraftRequest.java b/src/main/java/com/fireblocks/sdk/model/PublishDraftRequest.java index 7ee537c6..dc9f4114 100644 --- a/src/main/java/com/fireblocks/sdk/model/PublishDraftRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/PublishDraftRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/PublishResult.java b/src/main/java/com/fireblocks/sdk/model/PublishResult.java index dd0f289a..587a843e 100644 --- a/src/main/java/com/fireblocks/sdk/model/PublishResult.java +++ b/src/main/java/com/fireblocks/sdk/model/PublishResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Quote.java b/src/main/java/com/fireblocks/sdk/model/Quote.java index 7e7da603..14fed717 100644 --- a/src/main/java/com/fireblocks/sdk/model/Quote.java +++ b/src/main/java/com/fireblocks/sdk/model/Quote.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -19,11 +19,9 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import com.fireblocks.sdk.JSON; import java.math.BigDecimal; -import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -35,7 +33,6 @@ @JsonPropertyOrder({ Quote.JSON_PROPERTY_VIA, Quote.JSON_PROPERTY_ID, - Quote.JSON_PROPERTY_TYPE, Quote.JSON_PROPERTY_QUOTE_ASSET_ID, Quote.JSON_PROPERTY_BASE_ASSET_ID, Quote.JSON_PROPERTY_BASE_AMOUNT, @@ -45,7 +42,8 @@ Quote.JSON_PROPERTY_EXECUTION_STEPS, Quote.JSON_PROPERTY_GENERAL_FEES, Quote.JSON_PROPERTY_SIDE, - Quote.JSON_PROPERTY_EXPIRES_AT + Quote.JSON_PROPERTY_EXPIRES_AT, + Quote.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -67,40 +65,6 @@ public class Quote { public static final String JSON_PROPERTY_ID = "id"; @jakarta.annotation.Nonnull private String id; - /** Indicates this is an indicative quote */ - public enum TypeEnum { - INDICATIVE(String.valueOf("INDICATIVE")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; - public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId"; @jakarta.annotation.Nonnull private String quoteAssetId; @@ -120,49 +84,19 @@ public static TypeEnum fromValue(String value) { @jakarta.annotation.Nullable private String quoteMinAmount; public static final String JSON_PROPERTY_EXECUTION_STEPS = "executionSteps"; - @jakarta.annotation.Nullable private List executionSteps; + @jakarta.annotation.Nullable private List executionSteps; public static final String JSON_PROPERTY_GENERAL_FEES = "generalFees"; @jakarta.annotation.Nullable private List generalFees; - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side; + @jakarta.annotation.Nonnull private Side side; public static final String JSON_PROPERTY_EXPIRES_AT = "expiresAt"; - @jakarta.annotation.Nonnull private OffsetDateTime expiresAt; + @jakarta.annotation.Nonnull private String expiresAt; + + public static final String JSON_PROPERTY_TYPE = "type"; + @jakarta.annotation.Nonnull private IndicativeQuoteEnum type; public Quote() {} @@ -170,24 +104,23 @@ public Quote() {} public Quote( @JsonProperty(value = JSON_PROPERTY_VIA, required = true) AccessType via, @JsonProperty(value = JSON_PROPERTY_ID, required = true) String id, - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) String quoteAssetId, @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, @JsonProperty(value = JSON_PROPERTY_QUOTE_AMOUNT, required = true) String quoteAmount, - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side, - @JsonProperty(value = JSON_PROPERTY_EXPIRES_AT, required = true) - OffsetDateTime expiresAt) { + @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) Side side, + @JsonProperty(value = JSON_PROPERTY_EXPIRES_AT, required = true) String expiresAt, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) IndicativeQuoteEnum type) { this.via = via; this.id = id; - this.type = type; this.quoteAssetId = quoteAssetId; this.baseAssetId = baseAssetId; this.baseAmount = baseAmount; this.quoteAmount = quoteAmount; this.side = side; this.expiresAt = expiresAt; + this.type = type; } public Quote via(@jakarta.annotation.Nonnull AccessType via) { @@ -236,29 +169,6 @@ public void setId(@jakarta.annotation.Nonnull String id) { this.id = id; } - public Quote type(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; - return this; - } - - /** - * Indicates this is an indicative quote - * - * @return type - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { - return type; - } - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; - } - public Quote quoteAssetId(@jakarta.annotation.Nonnull String quoteAssetId) { this.quoteAssetId = quoteAssetId; return this; @@ -398,12 +308,12 @@ public void setQuoteMinAmount(@jakarta.annotation.Nullable String quoteMinAmount } public Quote executionSteps( - @jakarta.annotation.Nullable List executionSteps) { + @jakarta.annotation.Nullable List executionSteps) { this.executionSteps = executionSteps; return this; } - public Quote addExecutionStepsItem(ExecutionStepDetails executionStepsItem) { + public Quote addExecutionStepsItem(QuoteExecutionStep executionStepsItem) { if (this.executionSteps == null) { this.executionSteps = new ArrayList<>(); } @@ -419,14 +329,14 @@ public Quote addExecutionStepsItem(ExecutionStepDetails executionStepsItem) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EXECUTION_STEPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getExecutionSteps() { + public List getExecutionSteps() { return executionSteps; } @JsonProperty(JSON_PROPERTY_EXECUTION_STEPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExecutionSteps( - @jakarta.annotation.Nullable List executionSteps) { + @jakarta.annotation.Nullable List executionSteps) { this.executionSteps = executionSteps; } @@ -461,52 +371,75 @@ public void setGeneralFees(@jakarta.annotation.Nullable List generalFees) { this.generalFees = generalFees; } - public Quote side(@jakarta.annotation.Nonnull SideEnum side) { + public Quote side(@jakarta.annotation.Nonnull Side side) { this.side = side; return this; } /** - * Side of the order + * Get side * * @return side */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { + public Side getSide() { return side; } @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { + public void setSide(@jakarta.annotation.Nonnull Side side) { this.side = side; } - public Quote expiresAt(@jakarta.annotation.Nonnull OffsetDateTime expiresAt) { + public Quote expiresAt(@jakarta.annotation.Nonnull String expiresAt) { this.expiresAt = expiresAt; return this; } /** - * ISO 8601 timestamp of the expiration time of the quote. + * The expiration time of the quote in ISO format. * * @return expiresAt */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public OffsetDateTime getExpiresAt() { + public String getExpiresAt() { return expiresAt; } @JsonProperty(JSON_PROPERTY_EXPIRES_AT) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setExpiresAt(@jakarta.annotation.Nonnull OffsetDateTime expiresAt) { + public void setExpiresAt(@jakarta.annotation.Nonnull String expiresAt) { this.expiresAt = expiresAt; } + public Quote type(@jakarta.annotation.Nonnull IndicativeQuoteEnum type) { + this.type = type; + return this; + } + + /** + * Get type + * + * @return type + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public IndicativeQuoteEnum getType() { + return type; + } + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setType(@jakarta.annotation.Nonnull IndicativeQuoteEnum type) { + this.type = type; + } + /** Return true if this Quote object is equal to o. */ @Override public boolean equals(Object o) { @@ -519,7 +452,6 @@ public boolean equals(Object o) { Quote quote = (Quote) o; return Objects.equals(this.via, quote.via) && Objects.equals(this.id, quote.id) - && Objects.equals(this.type, quote.type) && Objects.equals(this.quoteAssetId, quote.quoteAssetId) && Objects.equals(this.baseAssetId, quote.baseAssetId) && Objects.equals(this.baseAmount, quote.baseAmount) @@ -529,7 +461,8 @@ public boolean equals(Object o) { && Objects.equals(this.executionSteps, quote.executionSteps) && Objects.equals(this.generalFees, quote.generalFees) && Objects.equals(this.side, quote.side) - && Objects.equals(this.expiresAt, quote.expiresAt); + && Objects.equals(this.expiresAt, quote.expiresAt) + && Objects.equals(this.type, quote.type); } @Override @@ -537,7 +470,6 @@ public int hashCode() { return Objects.hash( via, id, - type, quoteAssetId, baseAssetId, baseAmount, @@ -547,7 +479,8 @@ public int hashCode() { executionSteps, generalFees, side, - expiresAt); + expiresAt, + type); } @Override @@ -556,7 +489,6 @@ public String toString() { sb.append("class Quote {\n"); sb.append(" via: ").append(toIndentedString(via)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n"); sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n"); sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n"); @@ -567,6 +499,7 @@ public String toString() { sb.append(" generalFees: ").append(toIndentedString(generalFees)).append("\n"); sb.append(" side: ").append(toIndentedString(side)).append("\n"); sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}"); return sb.toString(); } @@ -627,16 +560,6 @@ public String toUrlQueryString(String prefix) { prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); } - // add `type` to the URL query string - if (getType() != null) { - joiner.add( - String.format( - "%stype%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getType())))); - } - // add `quoteAssetId` to the URL query string if (getQuoteAssetId() != null) { joiner.add( @@ -763,6 +686,16 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getExpiresAt())))); } + // add `type` to the URL query string + if (getType() != null) { + joiner.add( + String.format( + "%stype%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getType())))); + } + return joiner.toString(); } diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionRequestDetails.java b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionRequestDetails.java index 3c08b1fe..dc317a3d 100644 --- a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionRequestDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionRequestDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -31,39 +30,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class QuoteExecutionRequestDetails { - /** Order type for quote orders */ - public enum TypeEnum { - QUOTE(String.valueOf("QUOTE")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private QuoteTypeEnum type; public static final String JSON_PROPERTY_QUOTE_ID = "quoteId"; @jakarta.annotation.Nonnull private String quoteId; @@ -72,32 +40,32 @@ public QuoteExecutionRequestDetails() {} @JsonCreator public QuoteExecutionRequestDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) QuoteTypeEnum type, @JsonProperty(value = JSON_PROPERTY_QUOTE_ID, required = true) String quoteId) { this.type = type; this.quoteId = quoteId; } - public QuoteExecutionRequestDetails type(@jakarta.annotation.Nonnull TypeEnum type) { + public QuoteExecutionRequestDetails type(@jakarta.annotation.Nonnull QuoteTypeEnum type) { this.type = type; return this; } /** - * Order type for quote orders + * Get type * * @return type */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public QuoteTypeEnum getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull QuoteTypeEnum type) { this.type = type; } diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetails.java b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetails.java deleted file mode 100644 index 7afbd4a1..00000000 --- a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetails.java +++ /dev/null @@ -1,554 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; -import com.fireblocks.sdk.ApiClient; -import java.util.Objects; -import java.util.StringJoiner; - -/** QuoteExecutionResponseDetails */ -@JsonPropertyOrder({ - QuoteExecutionResponseDetails.JSON_PROPERTY_TYPE, - QuoteExecutionResponseDetails.JSON_PROPERTY_QUOTE_ID, - QuoteExecutionResponseDetails.JSON_PROPERTY_QUOTE_AMOUNT, - QuoteExecutionResponseDetails.JSON_PROPERTY_SIDE, - QuoteExecutionResponseDetails.JSON_PROPERTY_BASE_AMOUNT, - QuoteExecutionResponseDetails.JSON_PROPERTY_BASE_ASSET_ID, - QuoteExecutionResponseDetails.JSON_PROPERTY_BASE_ASSET_RAIL, - QuoteExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_ID, - QuoteExecutionResponseDetails.JSON_PROPERTY_QUOTE_ASSET_RAIL -}) -@jakarta.annotation.Generated( - value = "org.openapitools.codegen.languages.JavaClientCodegen", - comments = "Generator version: 7.14.0") -public class QuoteExecutionResponseDetails { - /** Order type for quote orders */ - public enum TypeEnum { - QUOTE(String.valueOf("QUOTE")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; - - public static final String JSON_PROPERTY_QUOTE_ID = "quoteId"; - @jakarta.annotation.Nonnull private String quoteId; - - public static final String JSON_PROPERTY_QUOTE_AMOUNT = "quoteAmount"; - @jakarta.annotation.Nonnull private String quoteAmount; - - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY; - - public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount"; - @jakarta.annotation.Nonnull private String baseAmount; - - public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId"; - @jakarta.annotation.Nonnull private String baseAssetId; - - public static final String JSON_PROPERTY_BASE_ASSET_RAIL = "baseAssetRail"; - @jakarta.annotation.Nullable private TransferRail baseAssetRail; - - public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId"; - @jakarta.annotation.Nonnull private String quoteAssetId; - - public static final String JSON_PROPERTY_QUOTE_ASSET_RAIL = "quoteAssetRail"; - @jakarta.annotation.Nullable private TransferRail quoteAssetRail; - - public QuoteExecutionResponseDetails() {} - - @JsonCreator - public QuoteExecutionResponseDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, - @JsonProperty(value = JSON_PROPERTY_QUOTE_ID, required = true) String quoteId, - @JsonProperty(value = JSON_PROPERTY_QUOTE_AMOUNT, required = true) String quoteAmount, - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side, - @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, - @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, - @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) - String quoteAssetId) { - this.type = type; - this.quoteId = quoteId; - this.quoteAmount = quoteAmount; - this.side = side; - this.baseAmount = baseAmount; - this.baseAssetId = baseAssetId; - this.quoteAssetId = quoteAssetId; - } - - public QuoteExecutionResponseDetails type(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; - return this; - } - - /** - * Order type for quote orders - * - * @return type - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { - return type; - } - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; - } - - public QuoteExecutionResponseDetails quoteId(@jakarta.annotation.Nonnull String quoteId) { - this.quoteId = quoteId; - return this; - } - - /** - * Quote ID for quote orders - * - * @return quoteId - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_QUOTE_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getQuoteId() { - return quoteId; - } - - @JsonProperty(JSON_PROPERTY_QUOTE_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setQuoteId(@jakarta.annotation.Nonnull String quoteId) { - this.quoteId = quoteId; - } - - public QuoteExecutionResponseDetails quoteAmount( - @jakarta.annotation.Nonnull String quoteAmount) { - this.quoteAmount = quoteAmount; - return this; - } - - /** - * Quote amount for quote orders - * - * @return quoteAmount - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_QUOTE_AMOUNT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getQuoteAmount() { - return quoteAmount; - } - - @JsonProperty(JSON_PROPERTY_QUOTE_AMOUNT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setQuoteAmount(@jakarta.annotation.Nonnull String quoteAmount) { - this.quoteAmount = quoteAmount; - } - - public QuoteExecutionResponseDetails side(@jakarta.annotation.Nonnull SideEnum side) { - this.side = side; - return this; - } - - /** - * Side of the order - * - * @return side - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SIDE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { - return side; - } - - @JsonProperty(JSON_PROPERTY_SIDE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { - this.side = side; - } - - public QuoteExecutionResponseDetails baseAmount(@jakarta.annotation.Nonnull String baseAmount) { - this.baseAmount = baseAmount; - return this; - } - - /** - * Amount to convert - * - * @return baseAmount - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BASE_AMOUNT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getBaseAmount() { - return baseAmount; - } - - @JsonProperty(JSON_PROPERTY_BASE_AMOUNT) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBaseAmount(@jakarta.annotation.Nonnull String baseAmount) { - this.baseAmount = baseAmount; - } - - public QuoteExecutionResponseDetails baseAssetId( - @jakarta.annotation.Nonnull String baseAssetId) { - this.baseAssetId = baseAssetId; - return this; - } - - /** - * Source asset identifier - * - * @return baseAssetId - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getBaseAssetId() { - return baseAssetId; - } - - @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setBaseAssetId(@jakarta.annotation.Nonnull String baseAssetId) { - this.baseAssetId = baseAssetId; - } - - public QuoteExecutionResponseDetails baseAssetRail( - @jakarta.annotation.Nullable TransferRail baseAssetRail) { - this.baseAssetRail = baseAssetRail; - return this; - } - - /** - * Get baseAssetRail - * - * @return baseAssetRail - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BASE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferRail getBaseAssetRail() { - return baseAssetRail; - } - - @JsonProperty(JSON_PROPERTY_BASE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBaseAssetRail(@jakarta.annotation.Nullable TransferRail baseAssetRail) { - this.baseAssetRail = baseAssetRail; - } - - public QuoteExecutionResponseDetails quoteAssetId( - @jakarta.annotation.Nonnull String quoteAssetId) { - this.quoteAssetId = quoteAssetId; - return this; - } - - /** - * Target asset identifier - * - * @return quoteAssetId - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getQuoteAssetId() { - return quoteAssetId; - } - - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setQuoteAssetId(@jakarta.annotation.Nonnull String quoteAssetId) { - this.quoteAssetId = quoteAssetId; - } - - public QuoteExecutionResponseDetails quoteAssetRail( - @jakarta.annotation.Nullable TransferRail quoteAssetRail) { - this.quoteAssetRail = quoteAssetRail; - return this; - } - - /** - * Get quoteAssetRail - * - * @return quoteAssetRail - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TransferRail getQuoteAssetRail() { - return quoteAssetRail; - } - - @JsonProperty(JSON_PROPERTY_QUOTE_ASSET_RAIL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setQuoteAssetRail(@jakarta.annotation.Nullable TransferRail quoteAssetRail) { - this.quoteAssetRail = quoteAssetRail; - } - - /** Return true if this QuoteExecutionResponseDetails object is equal to o. */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - QuoteExecutionResponseDetails quoteExecutionResponseDetails = - (QuoteExecutionResponseDetails) o; - return Objects.equals(this.type, quoteExecutionResponseDetails.type) - && Objects.equals(this.quoteId, quoteExecutionResponseDetails.quoteId) - && Objects.equals(this.quoteAmount, quoteExecutionResponseDetails.quoteAmount) - && Objects.equals(this.side, quoteExecutionResponseDetails.side) - && Objects.equals(this.baseAmount, quoteExecutionResponseDetails.baseAmount) - && Objects.equals(this.baseAssetId, quoteExecutionResponseDetails.baseAssetId) - && Objects.equals(this.baseAssetRail, quoteExecutionResponseDetails.baseAssetRail) - && Objects.equals(this.quoteAssetId, quoteExecutionResponseDetails.quoteAssetId) - && Objects.equals( - this.quoteAssetRail, quoteExecutionResponseDetails.quoteAssetRail); - } - - @Override - public int hashCode() { - return Objects.hash( - type, - quoteId, - quoteAmount, - side, - baseAmount, - baseAssetId, - baseAssetRail, - quoteAssetId, - quoteAssetRail); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class QuoteExecutionResponseDetails {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" quoteId: ").append(toIndentedString(quoteId)).append("\n"); - sb.append(" quoteAmount: ").append(toIndentedString(quoteAmount)).append("\n"); - sb.append(" side: ").append(toIndentedString(side)).append("\n"); - sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n"); - sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n"); - sb.append(" baseAssetRail: ").append(toIndentedString(baseAssetRail)).append("\n"); - sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n"); - sb.append(" quoteAssetRail: ").append(toIndentedString(quoteAssetRail)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first - * line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `type` to the URL query string - if (getType() != null) { - joiner.add( - String.format( - "%stype%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getType())))); - } - - // add `quoteId` to the URL query string - if (getQuoteId() != null) { - joiner.add( - String.format( - "%squoteId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getQuoteId())))); - } - - // add `quoteAmount` to the URL query string - if (getQuoteAmount() != null) { - joiner.add( - String.format( - "%squoteAmount%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getQuoteAmount())))); - } - - // add `side` to the URL query string - if (getSide() != null) { - joiner.add( - String.format( - "%sside%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getSide())))); - } - - // add `baseAmount` to the URL query string - if (getBaseAmount() != null) { - joiner.add( - String.format( - "%sbaseAmount%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBaseAmount())))); - } - - // add `baseAssetId` to the URL query string - if (getBaseAssetId() != null) { - joiner.add( - String.format( - "%sbaseAssetId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBaseAssetId())))); - } - - // add `baseAssetRail` to the URL query string - if (getBaseAssetRail() != null) { - joiner.add( - String.format( - "%sbaseAssetRail%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBaseAssetRail())))); - } - - // add `quoteAssetId` to the URL query string - if (getQuoteAssetId() != null) { - joiner.add( - String.format( - "%squoteAssetId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetId())))); - } - - // add `quoteAssetRail` to the URL query string - if (getQuoteAssetRail() != null) { - joiner.add( - String.format( - "%squoteAssetRail%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getQuoteAssetRail())))); - } - - return joiner.toString(); - } -} diff --git a/src/main/java/com/fireblocks/sdk/model/ExecutionStepDetails.java b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionStep.java similarity index 80% rename from src/main/java/com/fireblocks/sdk/model/ExecutionStepDetails.java rename to src/main/java/com/fireblocks/sdk/model/QuoteExecutionStep.java index cfa67af1..40964ab1 100644 --- a/src/main/java/com/fireblocks/sdk/model/ExecutionStepDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionStep.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -21,30 +21,27 @@ import java.util.Objects; import java.util.StringJoiner; -/** ExecutionStepDetails */ -@JsonPropertyOrder({ - ExecutionStepDetails.JSON_PROPERTY_TYPE, - ExecutionStepDetails.JSON_PROPERTY_FEE -}) +/** QuoteExecutionStep */ +@JsonPropertyOrder({QuoteExecutionStep.JSON_PROPERTY_TYPE, QuoteExecutionStep.JSON_PROPERTY_FEE}) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class ExecutionStepDetails { +public class QuoteExecutionStep { public static final String JSON_PROPERTY_TYPE = "type"; @jakarta.annotation.Nonnull private ExecutionStepType type; public static final String JSON_PROPERTY_FEE = "fee"; @jakarta.annotation.Nullable private Fee fee; - public ExecutionStepDetails() {} + public QuoteExecutionStep() {} @JsonCreator - public ExecutionStepDetails( + public QuoteExecutionStep( @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) ExecutionStepType type) { this.type = type; } - public ExecutionStepDetails type(@jakarta.annotation.Nonnull ExecutionStepType type) { + public QuoteExecutionStep type(@jakarta.annotation.Nonnull ExecutionStepType type) { this.type = type; return this; } @@ -67,7 +64,7 @@ public void setType(@jakarta.annotation.Nonnull ExecutionStepType type) { this.type = type; } - public ExecutionStepDetails fee(@jakarta.annotation.Nullable Fee fee) { + public QuoteExecutionStep fee(@jakarta.annotation.Nullable Fee fee) { this.fee = fee; return this; } @@ -90,7 +87,7 @@ public void setFee(@jakarta.annotation.Nullable Fee fee) { this.fee = fee; } - /** Return true if this ExecutionStepDetails object is equal to o. */ + /** Return true if this QuoteExecutionStep object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -99,9 +96,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - ExecutionStepDetails executionStepDetails = (ExecutionStepDetails) o; - return Objects.equals(this.type, executionStepDetails.type) - && Objects.equals(this.fee, executionStepDetails.fee); + QuoteExecutionStep quoteExecutionStep = (QuoteExecutionStep) o; + return Objects.equals(this.type, quoteExecutionStep.type) + && Objects.equals(this.fee, quoteExecutionStep.fee); } @Override @@ -112,7 +109,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class ExecutionStepDetails {\n"); + sb.append("class QuoteExecutionStep {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" fee: ").append(toIndentedString(fee)).append("\n"); sb.append("}"); diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetails.java b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetails.java index 39271f16..f5bb3017 100644 --- a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -32,39 +31,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class QuoteExecutionTypeDetails { - /** Order type for quote orders */ - public enum TypeEnum { - QUOTE(String.valueOf("QUOTE")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private QuoteTypeEnum type; public static final String JSON_PROPERTY_QUOTE_ID = "quoteId"; @jakarta.annotation.Nonnull private String quoteId; @@ -76,7 +44,7 @@ public QuoteExecutionTypeDetails() {} @JsonCreator public QuoteExecutionTypeDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) QuoteTypeEnum type, @JsonProperty(value = JSON_PROPERTY_QUOTE_ID, required = true) String quoteId, @JsonProperty(value = JSON_PROPERTY_QUOTE_AMOUNT, required = true) String quoteAmount) { this.type = type; @@ -84,26 +52,26 @@ public QuoteExecutionTypeDetails( this.quoteAmount = quoteAmount; } - public QuoteExecutionTypeDetails type(@jakarta.annotation.Nonnull TypeEnum type) { + public QuoteExecutionTypeDetails type(@jakarta.annotation.Nonnull QuoteTypeEnum type) { this.type = type; return this; } /** - * Order type for quote orders + * Get type * * @return type */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public QuoteTypeEnum getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull QuoteTypeEnum type) { this.type = type; } diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetails.java b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetails.java index b20761b0..3b5ffa46 100644 --- a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -32,39 +31,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class QuoteExecutionWithRequoteRequestDetails { - /** Order type for quote orders */ - public enum TypeEnum { - QUOTE(String.valueOf("QUOTE")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private QuoteTypeEnum type; public static final String JSON_PROPERTY_QUOTE_ID = "quoteId"; @jakarta.annotation.Nonnull private String quoteId; @@ -76,32 +44,33 @@ public QuoteExecutionWithRequoteRequestDetails() {} @JsonCreator public QuoteExecutionWithRequoteRequestDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) QuoteTypeEnum type, @JsonProperty(value = JSON_PROPERTY_QUOTE_ID, required = true) String quoteId) { this.type = type; this.quoteId = quoteId; } - public QuoteExecutionWithRequoteRequestDetails type(@jakarta.annotation.Nonnull TypeEnum type) { + public QuoteExecutionWithRequoteRequestDetails type( + @jakarta.annotation.Nonnull QuoteTypeEnum type) { this.type = type; return this; } /** - * Order type for quote orders + * Get type * * @return type */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public QuoteTypeEnum getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull QuoteTypeEnum type) { this.type = type; } diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetails.java b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetails.java index ee6e08f6..4ee7bc36 100644 --- a/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.util.Objects; import java.util.StringJoiner; @@ -39,39 +38,8 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class QuoteExecutionWithRequoteResponseDetails { - /** Order type for quote orders */ - public enum TypeEnum { - QUOTE(String.valueOf("QUOTE")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private QuoteTypeEnum type; public static final String JSON_PROPERTY_QUOTE_ID = "quoteId"; @jakarta.annotation.Nonnull private String quoteId; @@ -79,41 +47,8 @@ public static TypeEnum fromValue(String value) { public static final String JSON_PROPERTY_QUOTE_AMOUNT = "quoteAmount"; @jakarta.annotation.Nonnull private String quoteAmount; - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side = SideEnum.BUY; + @jakarta.annotation.Nonnull private Side side; public static final String JSON_PROPERTY_BASE_AMOUNT = "baseAmount"; @jakarta.annotation.Nonnull private String baseAmount; @@ -137,10 +72,10 @@ public QuoteExecutionWithRequoteResponseDetails() {} @JsonCreator public QuoteExecutionWithRequoteResponseDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) QuoteTypeEnum type, @JsonProperty(value = JSON_PROPERTY_QUOTE_ID, required = true) String quoteId, @JsonProperty(value = JSON_PROPERTY_QUOTE_AMOUNT, required = true) String quoteAmount, - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side, + @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) Side side, @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) @@ -155,26 +90,26 @@ public QuoteExecutionWithRequoteResponseDetails( } public QuoteExecutionWithRequoteResponseDetails type( - @jakarta.annotation.Nonnull TypeEnum type) { + @jakarta.annotation.Nonnull QuoteTypeEnum type) { this.type = type; return this; } /** - * Order type for quote orders + * Get type * * @return type */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public QuoteTypeEnum getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull QuoteTypeEnum type) { this.type = type; } @@ -226,27 +161,26 @@ public void setQuoteAmount(@jakarta.annotation.Nonnull String quoteAmount) { this.quoteAmount = quoteAmount; } - public QuoteExecutionWithRequoteResponseDetails side( - @jakarta.annotation.Nonnull SideEnum side) { + public QuoteExecutionWithRequoteResponseDetails side(@jakarta.annotation.Nonnull Side side) { this.side = side; return this; } /** - * Side of the order + * Get side * * @return side */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { + public Side getSide() { return side; } @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { + public void setSide(@jakarta.annotation.Nonnull Side side) { this.side = side; } diff --git a/src/main/java/com/fireblocks/sdk/model/QuotePropertiesDetails.java b/src/main/java/com/fireblocks/sdk/model/QuotePropertiesDetails.java index 299e309c..055a8915 100644 --- a/src/main/java/com/fireblocks/sdk/model/QuotePropertiesDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/QuotePropertiesDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; import java.math.BigDecimal; import java.util.ArrayList; @@ -29,7 +28,6 @@ @JsonPropertyOrder({ QuotePropertiesDetails.JSON_PROPERTY_VIA, QuotePropertiesDetails.JSON_PROPERTY_ID, - QuotePropertiesDetails.JSON_PROPERTY_TYPE, QuotePropertiesDetails.JSON_PROPERTY_QUOTE_ASSET_ID, QuotePropertiesDetails.JSON_PROPERTY_BASE_ASSET_ID, QuotePropertiesDetails.JSON_PROPERTY_BASE_AMOUNT, @@ -38,7 +36,8 @@ QuotePropertiesDetails.JSON_PROPERTY_QUOTE_MIN_AMOUNT, QuotePropertiesDetails.JSON_PROPERTY_EXECUTION_STEPS, QuotePropertiesDetails.JSON_PROPERTY_GENERAL_FEES, - QuotePropertiesDetails.JSON_PROPERTY_SIDE + QuotePropertiesDetails.JSON_PROPERTY_SIDE, + QuotePropertiesDetails.JSON_PROPERTY_EXPIRES_AT }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -50,42 +49,6 @@ public class QuotePropertiesDetails { public static final String JSON_PROPERTY_ID = "id"; @jakarta.annotation.Nonnull private String id; - /** Gets or Sets type */ - public enum TypeEnum { - COMMITTED(String.valueOf("COMMITTED")), - - INDICATIVE(String.valueOf("INDICATIVE")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; - public static final String JSON_PROPERTY_QUOTE_ASSET_ID = "quoteAssetId"; @jakarta.annotation.Nonnull private String quoteAssetId; @@ -105,46 +68,16 @@ public static TypeEnum fromValue(String value) { @jakarta.annotation.Nullable private String quoteMinAmount; public static final String JSON_PROPERTY_EXECUTION_STEPS = "executionSteps"; - @jakarta.annotation.Nullable private List executionSteps; + @jakarta.annotation.Nullable private List executionSteps; public static final String JSON_PROPERTY_GENERAL_FEES = "generalFees"; @jakarta.annotation.Nullable private List generalFees; - /** Side of the order */ - public enum SideEnum { - BUY(String.valueOf("BUY")), - - SELL(String.valueOf("SELL")); - - private String value; - - SideEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static SideEnum fromValue(String value) { - for (SideEnum b : SideEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_SIDE = "side"; - @jakarta.annotation.Nonnull private SideEnum side; + @jakarta.annotation.Nonnull private Side side; + + public static final String JSON_PROPERTY_EXPIRES_AT = "expiresAt"; + @jakarta.annotation.Nonnull private String expiresAt; public QuotePropertiesDetails() {} @@ -152,21 +85,21 @@ public QuotePropertiesDetails() {} public QuotePropertiesDetails( @JsonProperty(value = JSON_PROPERTY_VIA, required = true) AccessType via, @JsonProperty(value = JSON_PROPERTY_ID, required = true) String id, - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, @JsonProperty(value = JSON_PROPERTY_QUOTE_ASSET_ID, required = true) String quoteAssetId, @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, @JsonProperty(value = JSON_PROPERTY_BASE_AMOUNT, required = true) String baseAmount, @JsonProperty(value = JSON_PROPERTY_QUOTE_AMOUNT, required = true) String quoteAmount, - @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) SideEnum side) { + @JsonProperty(value = JSON_PROPERTY_SIDE, required = true) Side side, + @JsonProperty(value = JSON_PROPERTY_EXPIRES_AT, required = true) String expiresAt) { this.via = via; this.id = id; - this.type = type; this.quoteAssetId = quoteAssetId; this.baseAssetId = baseAssetId; this.baseAmount = baseAmount; this.quoteAmount = quoteAmount; this.side = side; + this.expiresAt = expiresAt; } public QuotePropertiesDetails via(@jakarta.annotation.Nonnull AccessType via) { @@ -215,29 +148,6 @@ public void setId(@jakarta.annotation.Nonnull String id) { this.id = id; } - public QuotePropertiesDetails type(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; - return this; - } - - /** - * Get type - * - * @return type - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { - return type; - } - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { - this.type = type; - } - public QuotePropertiesDetails quoteAssetId(@jakarta.annotation.Nonnull String quoteAssetId) { this.quoteAssetId = quoteAssetId; return this; @@ -378,12 +288,12 @@ public void setQuoteMinAmount(@jakarta.annotation.Nullable String quoteMinAmount } public QuotePropertiesDetails executionSteps( - @jakarta.annotation.Nullable List executionSteps) { + @jakarta.annotation.Nullable List executionSteps) { this.executionSteps = executionSteps; return this; } - public QuotePropertiesDetails addExecutionStepsItem(ExecutionStepDetails executionStepsItem) { + public QuotePropertiesDetails addExecutionStepsItem(QuoteExecutionStep executionStepsItem) { if (this.executionSteps == null) { this.executionSteps = new ArrayList<>(); } @@ -399,14 +309,14 @@ public QuotePropertiesDetails addExecutionStepsItem(ExecutionStepDetails executi @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EXECUTION_STEPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getExecutionSteps() { + public List getExecutionSteps() { return executionSteps; } @JsonProperty(JSON_PROPERTY_EXECUTION_STEPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setExecutionSteps( - @jakarta.annotation.Nullable List executionSteps) { + @jakarta.annotation.Nullable List executionSteps) { this.executionSteps = executionSteps; } @@ -441,29 +351,52 @@ public void setGeneralFees(@jakarta.annotation.Nullable List generalFees) { this.generalFees = generalFees; } - public QuotePropertiesDetails side(@jakarta.annotation.Nonnull SideEnum side) { + public QuotePropertiesDetails side(@jakarta.annotation.Nonnull Side side) { this.side = side; return this; } /** - * Side of the order + * Get side * * @return side */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public SideEnum getSide() { + public Side getSide() { return side; } @JsonProperty(JSON_PROPERTY_SIDE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setSide(@jakarta.annotation.Nonnull SideEnum side) { + public void setSide(@jakarta.annotation.Nonnull Side side) { this.side = side; } + public QuotePropertiesDetails expiresAt(@jakarta.annotation.Nonnull String expiresAt) { + this.expiresAt = expiresAt; + return this; + } + + /** + * The expiration time of the quote in ISO format. + * + * @return expiresAt + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_EXPIRES_AT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getExpiresAt() { + return expiresAt; + } + + @JsonProperty(JSON_PROPERTY_EXPIRES_AT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setExpiresAt(@jakarta.annotation.Nonnull String expiresAt) { + this.expiresAt = expiresAt; + } + /** Return true if this QuotePropertiesDetails object is equal to o. */ @Override public boolean equals(Object o) { @@ -476,7 +409,6 @@ public boolean equals(Object o) { QuotePropertiesDetails quotePropertiesDetails = (QuotePropertiesDetails) o; return Objects.equals(this.via, quotePropertiesDetails.via) && Objects.equals(this.id, quotePropertiesDetails.id) - && Objects.equals(this.type, quotePropertiesDetails.type) && Objects.equals(this.quoteAssetId, quotePropertiesDetails.quoteAssetId) && Objects.equals(this.baseAssetId, quotePropertiesDetails.baseAssetId) && Objects.equals(this.baseAmount, quotePropertiesDetails.baseAmount) @@ -485,7 +417,8 @@ public boolean equals(Object o) { && Objects.equals(this.quoteMinAmount, quotePropertiesDetails.quoteMinAmount) && Objects.equals(this.executionSteps, quotePropertiesDetails.executionSteps) && Objects.equals(this.generalFees, quotePropertiesDetails.generalFees) - && Objects.equals(this.side, quotePropertiesDetails.side); + && Objects.equals(this.side, quotePropertiesDetails.side) + && Objects.equals(this.expiresAt, quotePropertiesDetails.expiresAt); } @Override @@ -493,7 +426,6 @@ public int hashCode() { return Objects.hash( via, id, - type, quoteAssetId, baseAssetId, baseAmount, @@ -502,7 +434,8 @@ public int hashCode() { quoteMinAmount, executionSteps, generalFees, - side); + side, + expiresAt); } @Override @@ -511,7 +444,6 @@ public String toString() { sb.append("class QuotePropertiesDetails {\n"); sb.append(" via: ").append(toIndentedString(via)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" quoteAssetId: ").append(toIndentedString(quoteAssetId)).append("\n"); sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n"); sb.append(" baseAmount: ").append(toIndentedString(baseAmount)).append("\n"); @@ -521,6 +453,7 @@ public String toString() { sb.append(" executionSteps: ").append(toIndentedString(executionSteps)).append("\n"); sb.append(" generalFees: ").append(toIndentedString(generalFees)).append("\n"); sb.append(" side: ").append(toIndentedString(side)).append("\n"); + sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -581,16 +514,6 @@ public String toUrlQueryString(String prefix) { prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); } - // add `type` to the URL query string - if (getType() != null) { - joiner.add( - String.format( - "%stype%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getType())))); - } - // add `quoteAssetId` to the URL query string if (getQuoteAssetId() != null) { joiner.add( @@ -707,6 +630,16 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getSide())))); } + // add `expiresAt` to the URL query string + if (getExpiresAt() != null) { + joiner.add( + String.format( + "%sexpiresAt%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getExpiresAt())))); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/QuoteTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/QuoteTypeEnum.java new file mode 100644 index 00000000..708ae276 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/QuoteTypeEnum.java @@ -0,0 +1,62 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Order type for quote orders */ +public enum QuoteTypeEnum { + QUOTE("QUOTE"); + + private String value; + + QuoteTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static QuoteTypeEnum fromValue(String value) { + for (QuoteTypeEnum b : QuoteTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/QuotesResponse.java b/src/main/java/com/fireblocks/sdk/model/QuotesResponse.java index c46349d6..5fe2ff2a 100644 --- a/src/main/java/com/fireblocks/sdk/model/QuotesResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/QuotesResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ReQuoteDetails.java b/src/main/java/com/fireblocks/sdk/model/ReQuoteDetails.java index 8e206205..0da52c1a 100644 --- a/src/main/java/com/fireblocks/sdk/model/ReQuoteDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/ReQuoteDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuote.java b/src/main/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuote.java index 26c6c281..5c75d7f4 100644 --- a/src/main/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuote.java +++ b/src/main/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuote.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ReadAbiFunction.java b/src/main/java/com/fireblocks/sdk/model/ReadAbiFunction.java index dff16e12..9ab56022 100644 --- a/src/main/java/com/fireblocks/sdk/model/ReadAbiFunction.java +++ b/src/main/java/com/fireblocks/sdk/model/ReadAbiFunction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ReadCallFunctionDto.java b/src/main/java/com/fireblocks/sdk/model/ReadCallFunctionDto.java index 5bc586a5..cb952250 100644 --- a/src/main/java/com/fireblocks/sdk/model/ReadCallFunctionDto.java +++ b/src/main/java/com/fireblocks/sdk/model/ReadCallFunctionDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ReadCallFunctionDtoAbiFunction.java b/src/main/java/com/fireblocks/sdk/model/ReadCallFunctionDtoAbiFunction.java index ecc784da..1fd00800 100644 --- a/src/main/java/com/fireblocks/sdk/model/ReadCallFunctionDtoAbiFunction.java +++ b/src/main/java/com/fireblocks/sdk/model/ReadCallFunctionDtoAbiFunction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RedeemFundsToLinkedDDAResponse.java b/src/main/java/com/fireblocks/sdk/model/RedeemFundsToLinkedDDAResponse.java index 037074b0..e053e95c 100644 --- a/src/main/java/com/fireblocks/sdk/model/RedeemFundsToLinkedDDAResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/RedeemFundsToLinkedDDAResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RegisterNewAssetRequest.java b/src/main/java/com/fireblocks/sdk/model/RegisterNewAssetRequest.java index dc2f52cf..e26e84df 100644 --- a/src/main/java/com/fireblocks/sdk/model/RegisterNewAssetRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/RegisterNewAssetRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -81,7 +81,7 @@ public RegisterNewAssetRequest address(@jakarta.annotation.Nonnull String addres /** * 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 + * Solana: token's mint account address - Sui: token's type - TON: token's address * * @return address */ diff --git a/src/main/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequest.java b/src/main/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequest.java index aff7fe5a..20bef404 100644 --- a/src/main/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RelatedRequest.java b/src/main/java/com/fireblocks/sdk/model/RelatedRequest.java index 802653f9..20651418 100644 --- a/src/main/java/com/fireblocks/sdk/model/RelatedRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/RelatedRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { @jakarta.annotation.Nonnull private String amount; public static final String JSON_PROPERTY_TX_ID = "txId"; - @jakarta.annotation.Nullable private String txId; + @jakarta.annotation.Nonnull private String txId; public RelatedRequest() {} @@ -82,10 +82,12 @@ public RelatedRequest() {} public RelatedRequest( @JsonProperty(value = JSON_PROPERTY_STATUS, required = true) StatusEnum status, @JsonProperty(value = JSON_PROPERTY_IN_PROGRESS, required = true) Boolean inProgress, - @JsonProperty(value = JSON_PROPERTY_AMOUNT, required = true) String amount) { + @JsonProperty(value = JSON_PROPERTY_AMOUNT, required = true) String amount, + @JsonProperty(value = JSON_PROPERTY_TX_ID, required = true) String txId) { this.status = status; this.inProgress = inProgress; this.amount = amount; + this.txId = txId; } public RelatedRequest status(@jakarta.annotation.Nonnull StatusEnum status) { @@ -140,7 +142,7 @@ public RelatedRequest amount(@jakarta.annotation.Nonnull String amount) { } /** - * Amount of tokens to Unstake + * Amount of tokens * * @return amount */ @@ -157,7 +159,7 @@ public void setAmount(@jakarta.annotation.Nonnull String amount) { this.amount = amount; } - public RelatedRequest txId(@jakarta.annotation.Nullable String txId) { + public RelatedRequest txId(@jakarta.annotation.Nonnull String txId) { this.txId = txId; return this; } @@ -167,16 +169,16 @@ public RelatedRequest txId(@jakarta.annotation.Nullable String txId) { * * @return txId */ - @jakarta.annotation.Nullable + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TX_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getTxId() { return txId; } @JsonProperty(JSON_PROPERTY_TX_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTxId(@jakarta.annotation.Nullable String txId) { + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTxId(@jakarta.annotation.Nonnull String txId) { this.txId = txId; } diff --git a/src/main/java/com/fireblocks/sdk/model/RelatedTransaction.java b/src/main/java/com/fireblocks/sdk/model/RelatedTransaction.java index 8a750dc3..af9b05ae 100644 --- a/src/main/java/com/fireblocks/sdk/model/RelatedTransaction.java +++ b/src/main/java/com/fireblocks/sdk/model/RelatedTransaction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RemoveCollateralRequestBody.java b/src/main/java/com/fireblocks/sdk/model/RemoveCollateralRequestBody.java index be6902b3..60c5ffb2 100644 --- a/src/main/java/com/fireblocks/sdk/model/RemoveCollateralRequestBody.java +++ b/src/main/java/com/fireblocks/sdk/model/RemoveCollateralRequestBody.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdapterFailedResult.java b/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdapterFailedResult.java index cf2f7ba0..8166522f 100644 --- a/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdapterFailedResult.java +++ b/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdapterFailedResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersRequest.java b/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersRequest.java index d223df29..a4e65a06 100644 --- a/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersResponse.java b/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersResponse.java index b5455ddb..9c005397 100644 --- a/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersRequest.java b/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersRequest.java index 004e2f90..f7d1d867 100644 --- a/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersResponse.java b/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersResponse.java index 96f337d3..43f720c4 100644 --- a/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RenameConnectedAccountRequest.java b/src/main/java/com/fireblocks/sdk/model/RenameConnectedAccountRequest.java new file mode 100644 index 00000000..25be9628 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/RenameConnectedAccountRequest.java @@ -0,0 +1,148 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** RenameConnectedAccountRequest */ +@JsonPropertyOrder({RenameConnectedAccountRequest.JSON_PROPERTY_ACCOUNT_NAME}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class RenameConnectedAccountRequest { + public static final String JSON_PROPERTY_ACCOUNT_NAME = "accountName"; + @jakarta.annotation.Nonnull private String accountName; + + public RenameConnectedAccountRequest() {} + + @JsonCreator + public RenameConnectedAccountRequest( + @JsonProperty(value = JSON_PROPERTY_ACCOUNT_NAME, required = true) String accountName) { + this.accountName = accountName; + } + + public RenameConnectedAccountRequest accountName( + @jakarta.annotation.Nonnull String accountName) { + this.accountName = accountName; + return this; + } + + /** + * The new name for the connected account + * + * @return accountName + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ACCOUNT_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAccountName() { + return accountName; + } + + @JsonProperty(JSON_PROPERTY_ACCOUNT_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAccountName(@jakarta.annotation.Nonnull String accountName) { + this.accountName = accountName; + } + + /** Return true if this RenameConnectedAccountRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RenameConnectedAccountRequest renameConnectedAccountRequest = + (RenameConnectedAccountRequest) o; + return Objects.equals(this.accountName, renameConnectedAccountRequest.accountName); + } + + @Override + public int hashCode() { + return Objects.hash(accountName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RenameConnectedAccountRequest {\n"); + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `accountName` to the URL query string + if (getAccountName() != null) { + joiner.add( + String.format( + "%saccountName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAccountName())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/RenameConnectedAccountResponse.java b/src/main/java/com/fireblocks/sdk/model/RenameConnectedAccountResponse.java new file mode 100644 index 00000000..8e2b6086 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/RenameConnectedAccountResponse.java @@ -0,0 +1,132 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Status of the rename operation */ +public enum RenameConnectedAccountResponse { + 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"); + + private String value; + + RenameConnectedAccountResponse(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static RenameConnectedAccountResponse fromValue(String value) { + for (RenameConnectedAccountResponse b : RenameConnectedAccountResponse.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/RenameCosigner.java b/src/main/java/com/fireblocks/sdk/model/RenameCosigner.java index f81ccae6..c180a365 100644 --- a/src/main/java/com/fireblocks/sdk/model/RenameCosigner.java +++ b/src/main/java/com/fireblocks/sdk/model/RenameCosigner.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RenameVaultAccountResponse.java b/src/main/java/com/fireblocks/sdk/model/RenameVaultAccountResponse.java index ad9aa7aa..2390685a 100644 --- a/src/main/java/com/fireblocks/sdk/model/RenameVaultAccountResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/RenameVaultAccountResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsJobStatusResponse.java b/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsJobStatusResponse.java index 2b74caa7..03869881 100644 --- a/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsJobStatusResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsJobStatusResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsRequest.java b/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsRequest.java index f5035264..708de809 100644 --- a/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsResponse.java b/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsResponse.java index a578fba3..8844edc0 100644 --- a/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ResendFailedNotificationsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequest.java b/src/main/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequest.java index 43611f03..680ff213 100644 --- a/src/main/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ResendTransactionWebhooksRequest.java b/src/main/java/com/fireblocks/sdk/model/ResendTransactionWebhooksRequest.java index 45135d84..556ff29f 100644 --- a/src/main/java/com/fireblocks/sdk/model/ResendTransactionWebhooksRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/ResendTransactionWebhooksRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ResendWebhooksByTransactionIdResponse.java b/src/main/java/com/fireblocks/sdk/model/ResendWebhooksByTransactionIdResponse.java index ee6d8ef2..9fc40bc1 100644 --- a/src/main/java/com/fireblocks/sdk/model/ResendWebhooksByTransactionIdResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ResendWebhooksByTransactionIdResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ResendWebhooksResponse.java b/src/main/java/com/fireblocks/sdk/model/ResendWebhooksResponse.java index d79ba2eb..e338b332 100644 --- a/src/main/java/com/fireblocks/sdk/model/ResendWebhooksResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ResendWebhooksResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RespondToConnectionRequest.java b/src/main/java/com/fireblocks/sdk/model/RespondToConnectionRequest.java index b559ea92..f168d219 100644 --- a/src/main/java/com/fireblocks/sdk/model/RespondToConnectionRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/RespondToConnectionRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RetryRequoteRequestDetails.java b/src/main/java/com/fireblocks/sdk/model/RetryRequoteRequestDetails.java index 1676a804..70520434 100644 --- a/src/main/java/com/fireblocks/sdk/model/RetryRequoteRequestDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/RetryRequoteRequestDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -17,9 +17,7 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.annotation.JsonValue; import com.fireblocks.sdk.ApiClient; -import java.math.BigDecimal; import java.util.Objects; import java.util.StringJoiner; @@ -33,84 +31,49 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class RetryRequoteRequestDetails { - /** - * Indicates that the order should be re-quoted if the original quote is expired, trying to - * match the original quote. - */ - public enum TypeEnum { - RETRY(String.valueOf("RETRY")); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - @JsonValue - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - @JsonCreator - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nonnull private TypeEnum type; + @jakarta.annotation.Nonnull private RetryRequoteTypeEnum type; public static final String JSON_PROPERTY_COUNT = "count"; - @jakarta.annotation.Nonnull private BigDecimal count; + @jakarta.annotation.Nonnull private Integer count; public static final String JSON_PROPERTY_SLIPPAGE_BPS = "slippageBps"; - @jakarta.annotation.Nullable private BigDecimal slippageBps; + @jakarta.annotation.Nullable private Integer slippageBps; public RetryRequoteRequestDetails() {} @JsonCreator public RetryRequoteRequestDetails( - @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) TypeEnum type, - @JsonProperty(value = JSON_PROPERTY_COUNT, required = true) BigDecimal count) { + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) RetryRequoteTypeEnum type, + @JsonProperty(value = JSON_PROPERTY_COUNT, required = true) Integer count) { this.type = type; this.count = count; } - public RetryRequoteRequestDetails type(@jakarta.annotation.Nonnull TypeEnum type) { + public RetryRequoteRequestDetails type(@jakarta.annotation.Nonnull RetryRequoteTypeEnum type) { this.type = type; return this; } /** - * Indicates that the order should be re-quoted if the original quote is expired, trying to - * match the original quote. + * Get type * * @return type */ @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public TypeEnum getType() { + public RetryRequoteTypeEnum getType() { return type; } @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setType(@jakarta.annotation.Nonnull TypeEnum type) { + public void setType(@jakarta.annotation.Nonnull RetryRequoteTypeEnum type) { this.type = type; } - public RetryRequoteRequestDetails count(@jakarta.annotation.Nonnull BigDecimal count) { + public RetryRequoteRequestDetails count(@jakarta.annotation.Nonnull Integer count) { this.count = count; return this; } @@ -124,18 +87,18 @@ public RetryRequoteRequestDetails count(@jakarta.annotation.Nonnull BigDecimal c @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_COUNT) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public BigDecimal getCount() { + public Integer getCount() { return count; } @JsonProperty(JSON_PROPERTY_COUNT) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setCount(@jakarta.annotation.Nonnull BigDecimal count) { + public void setCount(@jakarta.annotation.Nonnull Integer count) { this.count = count; } public RetryRequoteRequestDetails slippageBps( - @jakarta.annotation.Nullable BigDecimal slippageBps) { + @jakarta.annotation.Nullable Integer slippageBps) { this.slippageBps = slippageBps; return this; } @@ -149,13 +112,13 @@ public RetryRequoteRequestDetails slippageBps( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SLIPPAGE_BPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BigDecimal getSlippageBps() { + public Integer getSlippageBps() { return slippageBps; } @JsonProperty(JSON_PROPERTY_SLIPPAGE_BPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSlippageBps(@jakarta.annotation.Nullable BigDecimal slippageBps) { + public void setSlippageBps(@jakarta.annotation.Nullable Integer slippageBps) { this.slippageBps = slippageBps; } diff --git a/src/main/java/com/fireblocks/sdk/model/RetryRequoteTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/RetryRequoteTypeEnum.java new file mode 100644 index 00000000..ab6f835d --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/RetryRequoteTypeEnum.java @@ -0,0 +1,65 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Indicates that the order should be re-quoted if the original quote is expired, trying to match + * the original quote. + */ +public enum RetryRequoteTypeEnum { + RETRY("RETRY"); + + private String value; + + RetryRequoteTypeEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static RetryRequoteTypeEnum fromValue(String value) { + for (RetryRequoteTypeEnum b : RetryRequoteTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/RewardInfo.java b/src/main/java/com/fireblocks/sdk/model/RewardInfo.java index b8b9a9fa..3c2d6f63 100644 --- a/src/main/java/com/fireblocks/sdk/model/RewardInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/RewardInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RewardsInfo.java b/src/main/java/com/fireblocks/sdk/model/RewardsInfo.java index e34b3142..c30efde8 100644 --- a/src/main/java/com/fireblocks/sdk/model/RewardsInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/RewardsInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/RoleDetails.java b/src/main/java/com/fireblocks/sdk/model/RoleDetails.java new file mode 100644 index 00000000..ace8e4b6 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/RoleDetails.java @@ -0,0 +1,254 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** RoleDetails */ +@JsonPropertyOrder({ + RoleDetails.JSON_PROPERTY_ROLE_HASH, + RoleDetails.JSON_PROPERTY_DESCRIPTION, + RoleDetails.JSON_PROPERTY_ACCOUNTS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class RoleDetails { + public static final String JSON_PROPERTY_ROLE_HASH = "roleHash"; + @jakarta.annotation.Nonnull private String roleHash; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + @jakarta.annotation.Nonnull private String description; + + public static final String JSON_PROPERTY_ACCOUNTS = "accounts"; + @jakarta.annotation.Nonnull private List accounts; + + public RoleDetails() {} + + @JsonCreator + public RoleDetails( + @JsonProperty(value = JSON_PROPERTY_ROLE_HASH, required = true) String roleHash, + @JsonProperty(value = JSON_PROPERTY_DESCRIPTION, required = true) String description, + @JsonProperty(value = JSON_PROPERTY_ACCOUNTS, required = true) + List accounts) { + this.roleHash = roleHash; + this.description = description; + this.accounts = accounts; + } + + public RoleDetails roleHash(@jakarta.annotation.Nonnull String roleHash) { + this.roleHash = roleHash; + return this; + } + + /** + * The role hash identifier + * + * @return roleHash + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ROLE_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getRoleHash() { + return roleHash; + } + + @JsonProperty(JSON_PROPERTY_ROLE_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setRoleHash(@jakarta.annotation.Nonnull String roleHash) { + this.roleHash = roleHash; + } + + public RoleDetails description(@jakarta.annotation.Nonnull String description) { + this.description = description; + return this; + } + + /** + * Human-readable description of the role + * + * @return description + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getDescription() { + return description; + } + + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDescription(@jakarta.annotation.Nonnull String description) { + this.description = description; + } + + public RoleDetails accounts(@jakarta.annotation.Nonnull List accounts) { + this.accounts = accounts; + return this; + } + + public RoleDetails addAccountsItem(RoleGrantee accountsItem) { + if (this.accounts == null) { + this.accounts = new ArrayList<>(); + } + this.accounts.add(accountsItem); + return this; + } + + /** + * List of accounts that have been granted this role + * + * @return accounts + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ACCOUNTS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getAccounts() { + return accounts; + } + + @JsonProperty(JSON_PROPERTY_ACCOUNTS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAccounts(@jakarta.annotation.Nonnull List accounts) { + this.accounts = accounts; + } + + /** Return true if this RoleDetails object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RoleDetails roleDetails = (RoleDetails) o; + return Objects.equals(this.roleHash, roleDetails.roleHash) + && Objects.equals(this.description, roleDetails.description) + && Objects.equals(this.accounts, roleDetails.accounts); + } + + @Override + public int hashCode() { + return Objects.hash(roleHash, description, accounts); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RoleDetails {\n"); + sb.append(" roleHash: ").append(toIndentedString(roleHash)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `roleHash` to the URL query string + if (getRoleHash() != null) { + joiner.add( + String.format( + "%sroleHash%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getRoleHash())))); + } + + // add `description` to the URL query string + if (getDescription() != null) { + joiner.add( + String.format( + "%sdescription%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDescription())))); + } + + // add `accounts` to the URL query string + if (getAccounts() != null) { + for (int i = 0; i < getAccounts().size(); i++) { + if (getAccounts().get(i) != null) { + joiner.add( + getAccounts() + .get(i) + .toUrlQueryString( + String.format( + "%saccounts%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/RoleGrantee.java b/src/main/java/com/fireblocks/sdk/model/RoleGrantee.java new file mode 100644 index 00000000..03d805cc --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/RoleGrantee.java @@ -0,0 +1,192 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.StringJoiner; + +/** RoleGrantee */ +@JsonPropertyOrder({ + RoleGrantee.JSON_PROPERTY_ACCOUNT_ADDRESS, + RoleGrantee.JSON_PROPERTY_DATE_OF_GRANT +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class RoleGrantee { + public static final String JSON_PROPERTY_ACCOUNT_ADDRESS = "accountAddress"; + @jakarta.annotation.Nonnull private String accountAddress; + + public static final String JSON_PROPERTY_DATE_OF_GRANT = "dateOfGrant"; + @jakarta.annotation.Nonnull private OffsetDateTime dateOfGrant; + + public RoleGrantee() {} + + @JsonCreator + public RoleGrantee( + @JsonProperty(value = JSON_PROPERTY_ACCOUNT_ADDRESS, required = true) + String accountAddress, + @JsonProperty(value = JSON_PROPERTY_DATE_OF_GRANT, required = true) + OffsetDateTime dateOfGrant) { + this.accountAddress = accountAddress; + this.dateOfGrant = dateOfGrant; + } + + public RoleGrantee accountAddress(@jakarta.annotation.Nonnull String accountAddress) { + this.accountAddress = accountAddress; + return this; + } + + /** + * The address of the account that has been granted the role + * + * @return accountAddress + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ACCOUNT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAccountAddress() { + return accountAddress; + } + + @JsonProperty(JSON_PROPERTY_ACCOUNT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAccountAddress(@jakarta.annotation.Nonnull String accountAddress) { + this.accountAddress = accountAddress; + } + + public RoleGrantee dateOfGrant(@jakarta.annotation.Nonnull OffsetDateTime dateOfGrant) { + this.dateOfGrant = dateOfGrant; + return this; + } + + /** + * The date when the role was granted to this account + * + * @return dateOfGrant + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATE_OF_GRANT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getDateOfGrant() { + return dateOfGrant; + } + + @JsonProperty(JSON_PROPERTY_DATE_OF_GRANT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDateOfGrant(@jakarta.annotation.Nonnull OffsetDateTime dateOfGrant) { + this.dateOfGrant = dateOfGrant; + } + + /** Return true if this RoleGrantee object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RoleGrantee roleGrantee = (RoleGrantee) o; + return Objects.equals(this.accountAddress, roleGrantee.accountAddress) + && Objects.equals(this.dateOfGrant, roleGrantee.dateOfGrant); + } + + @Override + public int hashCode() { + return Objects.hash(accountAddress, dateOfGrant); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RoleGrantee {\n"); + sb.append(" accountAddress: ").append(toIndentedString(accountAddress)).append("\n"); + sb.append(" dateOfGrant: ").append(toIndentedString(dateOfGrant)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `accountAddress` to the URL query string + if (getAccountAddress() != null) { + joiner.add( + String.format( + "%saccountAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAccountAddress())))); + } + + // add `dateOfGrant` to the URL query string + if (getDateOfGrant() != null) { + joiner.add( + String.format( + "%sdateOfGrant%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDateOfGrant())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/SEPAAddress.java b/src/main/java/com/fireblocks/sdk/model/SEPAAddress.java index df6bb37b..19219cbc 100644 --- a/src/main/java/com/fireblocks/sdk/model/SEPAAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/SEPAAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SEPADestination.java b/src/main/java/com/fireblocks/sdk/model/SEPADestination.java index 0d2aa3bc..2b566383 100644 --- a/src/main/java/com/fireblocks/sdk/model/SEPADestination.java +++ b/src/main/java/com/fireblocks/sdk/model/SEPADestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SOLAccount.java b/src/main/java/com/fireblocks/sdk/model/SOLAccount.java index 543b1862..3d8e51ca 100644 --- a/src/main/java/com/fireblocks/sdk/model/SOLAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/SOLAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SOLAccountWithValue.java b/src/main/java/com/fireblocks/sdk/model/SOLAccountWithValue.java index 8ed6cab9..1a885e3a 100644 --- a/src/main/java/com/fireblocks/sdk/model/SOLAccountWithValue.java +++ b/src/main/java/com/fireblocks/sdk/model/SOLAccountWithValue.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/AccountProviderID.java b/src/main/java/com/fireblocks/sdk/model/ScopeItem.java similarity index 77% rename from src/main/java/com/fireblocks/sdk/model/AccountProviderID.java rename to src/main/java/com/fireblocks/sdk/model/ScopeItem.java index d340e593..af0d1951 100644 --- a/src/main/java/com/fireblocks/sdk/model/AccountProviderID.java +++ b/src/main/java/com/fireblocks/sdk/model/ScopeItem.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -21,32 +21,27 @@ import java.util.Objects; import java.util.StringJoiner; -/** AccountProviderID */ -@JsonPropertyOrder({ - AccountProviderID.JSON_PROPERTY_PROVIDER_ID, - AccountProviderID.JSON_PROPERTY_ACCOUNT_ID -}) +/** ScopeItem */ +@JsonPropertyOrder({ScopeItem.JSON_PROPERTY_PROVIDER_ID, ScopeItem.JSON_PROPERTY_ACCOUNT_ID}) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class AccountProviderID { +public class ScopeItem { public static final String JSON_PROPERTY_PROVIDER_ID = "providerId"; @jakarta.annotation.Nonnull private String providerId; public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId"; - @jakarta.annotation.Nonnull private String accountId; + @jakarta.annotation.Nullable private String accountId; - public AccountProviderID() {} + public ScopeItem() {} @JsonCreator - public AccountProviderID( - @JsonProperty(value = JSON_PROPERTY_PROVIDER_ID, required = true) String providerId, - @JsonProperty(value = JSON_PROPERTY_ACCOUNT_ID, required = true) String accountId) { + public ScopeItem( + @JsonProperty(value = JSON_PROPERTY_PROVIDER_ID, required = true) String providerId) { this.providerId = providerId; - this.accountId = accountId; } - public AccountProviderID providerId(@jakarta.annotation.Nonnull String providerId) { + public ScopeItem providerId(@jakarta.annotation.Nonnull String providerId) { this.providerId = providerId; return this; } @@ -69,7 +64,7 @@ public void setProviderId(@jakarta.annotation.Nonnull String providerId) { this.providerId = providerId; } - public AccountProviderID accountId(@jakarta.annotation.Nonnull String accountId) { + public ScopeItem accountId(@jakarta.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -79,20 +74,20 @@ public AccountProviderID accountId(@jakarta.annotation.Nonnull String accountId) * * @return accountId */ - @jakarta.annotation.Nonnull + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAccountId() { return accountId; } @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setAccountId(@jakarta.annotation.Nonnull String accountId) { + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAccountId(@jakarta.annotation.Nullable String accountId) { this.accountId = accountId; } - /** Return true if this AccountProviderID object is equal to o. */ + /** Return true if this ScopeItem object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -101,9 +96,9 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - AccountProviderID accountProviderID = (AccountProviderID) o; - return Objects.equals(this.providerId, accountProviderID.providerId) - && Objects.equals(this.accountId, accountProviderID.accountId); + ScopeItem scopeItem = (ScopeItem) o; + return Objects.equals(this.providerId, scopeItem.providerId) + && Objects.equals(this.accountId, scopeItem.accountId); } @Override @@ -114,7 +109,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class AccountProviderID {\n"); + sb.append("class ScopeItem {\n"); sb.append(" providerId: ").append(toIndentedString(providerId)).append("\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append("}"); diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnum.java index 9ad4ac85..d414f9ca 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningAmlAlert.java b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlAlert.java index 4d9e5a9f..dba81512 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningAmlAlert.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlAlert.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRule.java index 7ccdc188..b6eb9e4f 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRule.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningAmlResult.java b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlResult.java index cb29b2d8..78a407c6 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningAmlResult.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningAmlResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningConfigurationsRequest.java b/src/main/java/com/fireblocks/sdk/model/ScreeningConfigurationsRequest.java index 2cd50cda..df077e45 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningConfigurationsRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningConfigurationsRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningMetadataConfig.java b/src/main/java/com/fireblocks/sdk/model/ScreeningMetadataConfig.java index 6fe77829..39873e58 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningMetadataConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningMetadataConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningOperationExecution.java b/src/main/java/com/fireblocks/sdk/model/ScreeningOperationExecution.java index 9c95d216..89091883 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningOperationExecution.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningOperationExecution.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningOperationExecutionOutput.java b/src/main/java/com/fireblocks/sdk/model/ScreeningOperationExecutionOutput.java index 4353224d..fee81336 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningOperationExecutionOutput.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningOperationExecutionOutput.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningOperationFailure.java b/src/main/java/com/fireblocks/sdk/model/ScreeningOperationFailure.java index ee407e5d..4abce77e 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningOperationFailure.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningOperationFailure.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningOperationType.java b/src/main/java/com/fireblocks/sdk/model/ScreeningOperationType.java index 812351ab..323f85f7 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningOperationType.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningOperationType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningPolicyResponse.java b/src/main/java/com/fireblocks/sdk/model/ScreeningPolicyResponse.java index 2f0fd940..77d89996 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningPolicyResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningPolicyResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningProviderRulesConfigurationResponse.java b/src/main/java/com/fireblocks/sdk/model/ScreeningProviderRulesConfigurationResponse.java index 3fe6a3cb..b1a5b7d4 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningProviderRulesConfigurationResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningProviderRulesConfigurationResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnum.java b/src/main/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnum.java index 93ad0fe4..6a55254e 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkAmount.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkAmount.java index ad5612bf..9137640e 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkAmount.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkAmount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecision.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecision.java index c34c458d..eb54761f 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecision.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecision.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -140,7 +140,7 @@ public ScreeningTRLinkMissingTrmDecision customerId( } /** - * Reference to TrlinkCustomer.id + * Reference to TRLinkCustomer.id * * @return customerId */ diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRule.java index d723cc46..792c4bcc 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRule.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -125,7 +125,7 @@ public ScreeningTRLinkMissingTrmRule customerId( } /** - * Reference to TrlinkCustomer.id + * Reference to TRLinkCustomer.id * * @return customerId */ diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRule.java index 9e0d6aeb..4d5ee6c2 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRule.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -132,7 +132,7 @@ public ScreeningTRLinkPostScreeningRule customerId( } /** - * Reference to TrlinkCustomer.id + * Reference to TRLinkCustomer.id * * @return customerId */ diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRule.java index 8db0eabb..d4a8cfef 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRule.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -116,7 +116,7 @@ public ScreeningTRLinkPrescreeningRule customerId( } /** - * Reference to TrlinkCustomer.id + * Reference to TRLinkCustomer.id * * @return customerId */ diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBase.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBase.java index c5d99808..eb36ef92 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBase.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBase.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -103,7 +103,7 @@ public ScreeningTRLinkRuleBase customerId(@jakarta.annotation.Nullable String cu } /** - * Reference to TrlinkCustomer.id + * Reference to TRLinkCustomer.id * * @return customerId */ diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRule.java index 48bc8dfa..c088934a 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRule.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRule.java index 083d9b0c..9b812116 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRule.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleResult.java b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleResult.java index 9062e135..d3f6f75f 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleResult.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningTravelRuleResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningUpdateConfigurations.java b/src/main/java/com/fireblocks/sdk/model/ScreeningUpdateConfigurations.java index 9380472a..4d27ea71 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningUpdateConfigurations.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningUpdateConfigurations.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningValidationFailure.java b/src/main/java/com/fireblocks/sdk/model/ScreeningValidationFailure.java index 685bc295..41e309ee 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningValidationFailure.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningValidationFailure.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningVerdict.java b/src/main/java/com/fireblocks/sdk/model/ScreeningVerdict.java index 835d991b..80856c8e 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningVerdict.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningVerdict.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningVerdictEnum.java b/src/main/java/com/fireblocks/sdk/model/ScreeningVerdictEnum.java index 6631dc7a..952d7093 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningVerdictEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningVerdictEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ScreeningVerdictMatchedRule.java b/src/main/java/com/fireblocks/sdk/model/ScreeningVerdictMatchedRule.java index 97687828..19d1809c 100644 --- a/src/main/java/com/fireblocks/sdk/model/ScreeningVerdictMatchedRule.java +++ b/src/main/java/com/fireblocks/sdk/model/ScreeningVerdictMatchedRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SearchNetworkIdsResponse.java b/src/main/java/com/fireblocks/sdk/model/SearchNetworkIdsResponse.java index da20c6bd..a1a8f95f 100644 --- a/src/main/java/com/fireblocks/sdk/model/SearchNetworkIdsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SearchNetworkIdsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SepaPaymentInfo.java b/src/main/java/com/fireblocks/sdk/model/SepaPaymentInfo.java index 81f9b4f7..99690366 100644 --- a/src/main/java/com/fireblocks/sdk/model/SepaPaymentInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/SepaPaymentInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SessionDTO.java b/src/main/java/com/fireblocks/sdk/model/SessionDTO.java index 127a6c46..2b7fec1f 100644 --- a/src/main/java/com/fireblocks/sdk/model/SessionDTO.java +++ b/src/main/java/com/fireblocks/sdk/model/SessionDTO.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SessionMetadata.java b/src/main/java/com/fireblocks/sdk/model/SessionMetadata.java index 84cdb5b5..590a2541 100644 --- a/src/main/java/com/fireblocks/sdk/model/SessionMetadata.java +++ b/src/main/java/com/fireblocks/sdk/model/SessionMetadata.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdRequest.java b/src/main/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdRequest.java index 7315acf4..f0309eb4 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdResponse.java b/src/main/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdResponse.java index 73b7bafe..383eb7bd 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetAssetPriceRequest.java b/src/main/java/com/fireblocks/sdk/model/SetAssetPriceRequest.java index 32b38835..dfc7907d 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetAssetPriceRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetAssetPriceRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetAutoFuelRequest.java b/src/main/java/com/fireblocks/sdk/model/SetAutoFuelRequest.java index 27cf20cf..06984c5d 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetAutoFuelRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetAutoFuelRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetConfirmationsThresholdRequest.java b/src/main/java/com/fireblocks/sdk/model/SetConfirmationsThresholdRequest.java index 2f3b270d..245ab011 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetConfirmationsThresholdRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetConfirmationsThresholdRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetConfirmationsThresholdResponse.java b/src/main/java/com/fireblocks/sdk/model/SetConfirmationsThresholdResponse.java index 99d85a10..ebc144e3 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetConfirmationsThresholdResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SetConfirmationsThresholdResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetCustomerRefIdForAddressRequest.java b/src/main/java/com/fireblocks/sdk/model/SetCustomerRefIdForAddressRequest.java index 5217259d..9bb8ceb6 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetCustomerRefIdForAddressRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetCustomerRefIdForAddressRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetCustomerRefIdRequest.java b/src/main/java/com/fireblocks/sdk/model/SetCustomerRefIdRequest.java index 806fa5e9..1929e7a3 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetCustomerRefIdRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetCustomerRefIdRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigRequest.java b/src/main/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigRequest.java index 11b812e9..5da50ee6 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigResponse.java b/src/main/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigResponse.java index 246b52c2..6ba10d99 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetLayerZeroPeersRequest.java b/src/main/java/com/fireblocks/sdk/model/SetLayerZeroPeersRequest.java index 70235da1..237efe2e 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetLayerZeroPeersRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetLayerZeroPeersRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetLayerZeroPeersResponse.java b/src/main/java/com/fireblocks/sdk/model/SetLayerZeroPeersResponse.java index 46a979e6..6ae92358 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetLayerZeroPeersResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SetLayerZeroPeersResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetNetworkIdDiscoverabilityRequest.java b/src/main/java/com/fireblocks/sdk/model/SetNetworkIdDiscoverabilityRequest.java index 65a4bdc1..b02524d9 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetNetworkIdDiscoverabilityRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetNetworkIdDiscoverabilityRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetNetworkIdNameRequest.java b/src/main/java/com/fireblocks/sdk/model/SetNetworkIdNameRequest.java index ef0d79fd..6328faf8 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetNetworkIdNameRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetNetworkIdNameRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetNetworkIdResponse.java b/src/main/java/com/fireblocks/sdk/model/SetNetworkIdResponse.java index 5d5f25d0..50c30c3a 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetNetworkIdResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SetNetworkIdResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetNetworkIdRoutingPolicyRequest.java b/src/main/java/com/fireblocks/sdk/model/SetNetworkIdRoutingPolicyRequest.java index 906f893d..3716fd43 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetNetworkIdRoutingPolicyRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetNetworkIdRoutingPolicyRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetOtaStatusRequest.java b/src/main/java/com/fireblocks/sdk/model/SetOtaStatusRequest.java index 2630f088..921c9742 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetOtaStatusRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetOtaStatusRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetOtaStatusResponse.java b/src/main/java/com/fireblocks/sdk/model/SetOtaStatusResponse.java index 8b401077..dd8fcb7c 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetOtaStatusResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SetOtaStatusResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetOtaStatusResponseOneOf.java b/src/main/java/com/fireblocks/sdk/model/SetOtaStatusResponseOneOf.java index 2885a697..a6236408 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetOtaStatusResponseOneOf.java +++ b/src/main/java/com/fireblocks/sdk/model/SetOtaStatusResponseOneOf.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetRoutingPolicyRequest.java b/src/main/java/com/fireblocks/sdk/model/SetRoutingPolicyRequest.java index 262ef983..101e0bb4 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetRoutingPolicyRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SetRoutingPolicyRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SetRoutingPolicyResponse.java b/src/main/java/com/fireblocks/sdk/model/SetRoutingPolicyResponse.java index 3d0de19e..085724ba 100644 --- a/src/main/java/com/fireblocks/sdk/model/SetRoutingPolicyResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SetRoutingPolicyResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Settlement.java b/src/main/java/com/fireblocks/sdk/model/Settlement.java index 7f80870c..52deed68 100644 --- a/src/main/java/com/fireblocks/sdk/model/Settlement.java +++ b/src/main/java/com/fireblocks/sdk/model/Settlement.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -119,49 +119,6 @@ public Settlement deserialize(JsonParser jp, DeserializationContext ctxt) log.log(Level.FINER, "Input data does not match schema 'DVPSettlement'", e); } - // deserialize PostOrderSettlement - try { - boolean attemptParsing = true; - // ensure that we respect type coercion as set on the client ObjectMapper - if (PostOrderSettlement.class.equals(Integer.class) - || PostOrderSettlement.class.equals(Long.class) - || PostOrderSettlement.class.equals(Float.class) - || PostOrderSettlement.class.equals(Double.class) - || PostOrderSettlement.class.equals(Boolean.class) - || PostOrderSettlement.class.equals(String.class)) { - attemptParsing = typeCoercion; - if (!attemptParsing) { - attemptParsing |= - ((PostOrderSettlement.class.equals(Integer.class) - || PostOrderSettlement.class.equals(Long.class)) - && token == JsonToken.VALUE_NUMBER_INT); - attemptParsing |= - ((PostOrderSettlement.class.equals(Float.class) - || PostOrderSettlement.class.equals(Double.class)) - && token == JsonToken.VALUE_NUMBER_FLOAT); - attemptParsing |= - (PostOrderSettlement.class.equals(Boolean.class) - && (token == JsonToken.VALUE_FALSE - || token == JsonToken.VALUE_TRUE)); - attemptParsing |= - (PostOrderSettlement.class.equals(String.class) - && token == JsonToken.VALUE_STRING); - } - } - if (attemptParsing) { - deserialized = - tree.traverse(jp.getCodec()).readValueAs(PostOrderSettlement.class); - // TODO: there is no validation against JSON schema constraints - // (min, max, enum, pattern...), this does not perform a strict JSON - // validation, which means the 'match' count may be higher than it should be. - match++; - log.log(Level.FINER, "Input data matches schema 'PostOrderSettlement'"); - } - } catch (Exception e) { - // deserialization failed, continue - log.log(Level.FINER, "Input data does not match schema 'PostOrderSettlement'", e); - } - // deserialize PrefundedSettlement try { boolean attemptParsing = true; @@ -236,11 +193,6 @@ public Settlement(DVPSettlement o) { setActualInstance(o); } - public Settlement(PostOrderSettlement o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - public Settlement(PrefundedSettlement o) { super("oneOf", Boolean.FALSE); setActualInstance(o); @@ -248,16 +200,13 @@ public Settlement(PrefundedSettlement o) { static { schemas.put("DVPSettlement", DVPSettlement.class); - schemas.put("PostOrderSettlement", PostOrderSettlement.class); schemas.put("PrefundedSettlement", PrefundedSettlement.class); JSON.registerDescendants(Settlement.class, Collections.unmodifiableMap(schemas)); // Initialize and register the discriminator mappings. Map> mappings = new HashMap>(); mappings.put("DVP", DVPSettlement.class); - mappings.put("POST_ORDER", PostOrderSettlement.class); mappings.put("PREFUNDED", PrefundedSettlement.class); mappings.put("DVPSettlement", DVPSettlement.class); - mappings.put("PostOrderSettlement", PostOrderSettlement.class); mappings.put("PrefundedSettlement", PrefundedSettlement.class); mappings.put("Settlement", Settlement.class); JSON.registerDiscriminator(Settlement.class, "type", mappings); @@ -270,7 +219,7 @@ public Map> getSchemas() { /** * Set the instance that matches the oneOf child schema, check the instance parameter is valid - * against the oneOf child schemas: DVPSettlement, PostOrderSettlement, PrefundedSettlement + * against the oneOf child schemas: DVPSettlement, PrefundedSettlement * *

    It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be * a composed schema (allOf, anyOf, oneOf). @@ -282,26 +231,19 @@ public void setActualInstance(Object instance) { return; } - if (JSON.isInstanceOf(PostOrderSettlement.class, instance, new HashSet>())) { - super.setActualInstance(instance); - return; - } - if (JSON.isInstanceOf(PrefundedSettlement.class, instance, new HashSet>())) { super.setActualInstance(instance); return; } throw new RuntimeException( - "Invalid instance type. Must be DVPSettlement, PostOrderSettlement," - + " PrefundedSettlement"); + "Invalid instance type. Must be DVPSettlement, PrefundedSettlement"); } /** - * Get the actual instance, which can be the following: DVPSettlement, PostOrderSettlement, - * PrefundedSettlement + * Get the actual instance, which can be the following: DVPSettlement, PrefundedSettlement * - * @return The actual instance (DVPSettlement, PostOrderSettlement, PrefundedSettlement) + * @return The actual instance (DVPSettlement, PrefundedSettlement) */ @Override public Object getActualInstance() { @@ -319,17 +261,6 @@ public DVPSettlement getDVPSettlement() throws ClassCastException { return (DVPSettlement) super.getActualInstance(); } - /** - * Get the actual instance of `PostOrderSettlement`. If the actual instance is not - * `PostOrderSettlement`, the ClassCastException will be thrown. - * - * @return The actual instance of `PostOrderSettlement` - * @throws ClassCastException if the instance is not `PostOrderSettlement` - */ - public PostOrderSettlement getPostOrderSettlement() throws ClassCastException { - return (PostOrderSettlement) super.getActualInstance(); - } - /** * Get the actual instance of `PrefundedSettlement`. If the actual instance is not * `PrefundedSettlement`, the ClassCastException will be thrown. @@ -389,14 +320,6 @@ public String toUrlQueryString(String prefix) { } return joiner.toString(); } - if (getActualInstance() instanceof PostOrderSettlement) { - if (getActualInstance() != null) { - joiner.add( - ((PostOrderSettlement) getActualInstance()) - .toUrlQueryString(prefix + "one_of_2" + suffix)); - } - return joiner.toString(); - } return null; } } diff --git a/src/main/java/com/fireblocks/sdk/model/SettlementRequestBody.java b/src/main/java/com/fireblocks/sdk/model/SettlementRequestBody.java index 050f86be..eeabae9a 100644 --- a/src/main/java/com/fireblocks/sdk/model/SettlementRequestBody.java +++ b/src/main/java/com/fireblocks/sdk/model/SettlementRequestBody.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SettlementResponse.java b/src/main/java/com/fireblocks/sdk/model/SettlementResponse.java index 50d0ee14..de0722fc 100644 --- a/src/main/java/com/fireblocks/sdk/model/SettlementResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SettlementResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SettlementSourceAccount.java b/src/main/java/com/fireblocks/sdk/model/SettlementSourceAccount.java index b2af7539..13d75945 100644 --- a/src/main/java/com/fireblocks/sdk/model/SettlementSourceAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/SettlementSourceAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TimeInForce.java b/src/main/java/com/fireblocks/sdk/model/Side.java similarity index 67% rename from src/main/java/com/fireblocks/sdk/model/TimeInForce.java rename to src/main/java/com/fireblocks/sdk/model/Side.java index 66dffef1..911a2d00 100644 --- a/src/main/java/com/fireblocks/sdk/model/TimeInForce.java +++ b/src/main/java/com/fireblocks/sdk/model/Side.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -16,13 +16,15 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Time in force for limit orders */ -public enum TimeInForce { - FOK("FOK"); +/** Side of the order */ +public enum Side { + BUY("BUY"), + + SELL("SELL"); private String value; - TimeInForce(String value) { + Side(String value) { this.value = value; } @@ -37,8 +39,8 @@ public String toString() { } @JsonCreator - public static TimeInForce fromValue(String value) { - for (TimeInForce b : TimeInForce.values()) { + public static Side fromValue(String value) { + for (Side b : Side.values()) { if (b.value.equals(value)) { return b; } diff --git a/src/main/java/com/fireblocks/sdk/model/SignedMessage.java b/src/main/java/com/fireblocks/sdk/model/SignedMessage.java index ad089800..90a3ca63 100644 --- a/src/main/java/com/fireblocks/sdk/model/SignedMessage.java +++ b/src/main/java/com/fireblocks/sdk/model/SignedMessage.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SignedMessageSignature.java b/src/main/java/com/fireblocks/sdk/model/SignedMessageSignature.java index 28fc7a11..695e8512 100644 --- a/src/main/java/com/fireblocks/sdk/model/SignedMessageSignature.java +++ b/src/main/java/com/fireblocks/sdk/model/SignedMessageSignature.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SigningKeyDto.java b/src/main/java/com/fireblocks/sdk/model/SigningKeyDto.java index 6f58feed..3bf8bf61 100644 --- a/src/main/java/com/fireblocks/sdk/model/SigningKeyDto.java +++ b/src/main/java/com/fireblocks/sdk/model/SigningKeyDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferApproveTerm.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferApproveTerm.java index 45bd5db3..27be4307 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferApproveTerm.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferApproveTerm.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferBadRequestResponse.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferBadRequestResponse.java index a5a341aa..3be7e63a 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferBadRequestResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferBadRequestResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferCoinStatistic.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferCoinStatistic.java index 71e6c49e..c7d71571 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferCoinStatistic.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferCoinStatistic.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferCreateTicket.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferCreateTicket.java index 16835c25..038f4fad 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferCreateTicket.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferCreateTicket.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTerm.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTerm.java index 5cdfaaa1..9d889d5f 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTerm.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTerm.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferForbiddenResponse.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferForbiddenResponse.java index bd8d6780..76deb1ef 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferForbiddenResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferForbiddenResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferFundDvpTicket.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferFundDvpTicket.java index 09459bd0..f9dc672b 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferFundDvpTicket.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferFundDvpTicket.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferFundTerm.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferFundTerm.java index 29c5a896..0f909156 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferFundTerm.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferFundTerm.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferManuallyFundTerm.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferManuallyFundTerm.java index 7e2e3fac..e09b6dff 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferManuallyFundTerm.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferManuallyFundTerm.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferNotFoundResponse.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferNotFoundResponse.java index 928496a8..19ec209c 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferNotFoundResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferNotFoundResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferSetTicketExpiration.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferSetTicketExpiration.java index 13d637e8..fc106fc8 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferSetTicketExpiration.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferSetTicketExpiration.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferSetTicketExternalId.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferSetTicketExternalId.java index 49b6894e..1865def9 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferSetTicketExternalId.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferSetTicketExternalId.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferSetUserGroups.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferSetUserGroups.java index 819cff4f..e0022231 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferSetUserGroups.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferSetUserGroups.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferStatistic.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferStatistic.java index 591dcbbc..9ffe9c43 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferStatistic.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferStatistic.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferStatisticInflow.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferStatisticInflow.java index d6f90fc3..f8d21e02 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferStatisticInflow.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferStatisticInflow.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferStatisticOutflow.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferStatisticOutflow.java index 1899e36c..e7735fcf 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferStatisticOutflow.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferStatisticOutflow.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferSubmitTicket.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferSubmitTicket.java index abbdfed9..08575eef 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferSubmitTicket.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferSubmitTicket.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferTicket.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferTicket.java index 5186743b..54ace796 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferTicket.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferTicket.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketFilteredResponse.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketFilteredResponse.java index 9cf34387..441e7380 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketFilteredResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketFilteredResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketResponse.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketResponse.java index 085be585..d2cd553e 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketTerm.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketTerm.java index 2c099bfc..02cfd8cb 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketTerm.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketTerm.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketTermResponse.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketTermResponse.java index 4c128e55..3c4938c4 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketTermResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferTicketTermResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferUpdateTicketTerm.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferUpdateTicketTerm.java index d337ec4a..c5d3e035 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferUpdateTicketTerm.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferUpdateTicketTerm.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferUserGroups.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferUserGroups.java index 7014deb6..5b19e12e 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferUserGroups.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferUserGroups.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SmartTransferUserGroupsResponse.java b/src/main/java/com/fireblocks/sdk/model/SmartTransferUserGroupsResponse.java index 03633b96..a6578778 100644 --- a/src/main/java/com/fireblocks/sdk/model/SmartTransferUserGroupsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SmartTransferUserGroupsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SolParameter.java b/src/main/java/com/fireblocks/sdk/model/SolParameter.java index 7dcf0a45..4939efae 100644 --- a/src/main/java/com/fireblocks/sdk/model/SolParameter.java +++ b/src/main/java/com/fireblocks/sdk/model/SolParameter.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SolParameterWithValue.java b/src/main/java/com/fireblocks/sdk/model/SolParameterWithValue.java index babb36e9..ac02ed5d 100644 --- a/src/main/java/com/fireblocks/sdk/model/SolParameterWithValue.java +++ b/src/main/java/com/fireblocks/sdk/model/SolParameterWithValue.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SolanaBlockchainData.java b/src/main/java/com/fireblocks/sdk/model/SolanaBlockchainData.java index f30595fc..dc116c0b 100644 --- a/src/main/java/com/fireblocks/sdk/model/SolanaBlockchainData.java +++ b/src/main/java/com/fireblocks/sdk/model/SolanaBlockchainData.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -87,8 +87,8 @@ public SolanaBlockchainData stakeAccountDerivationChangeValue( } /** - * The value of the change level in the BIP44 path which was used to derive the stake account - * address + * The value of the change level in the BIP32 path which was used to derive the stake account + * address. * * @return stakeAccountDerivationChangeValue */ diff --git a/src/main/java/com/fireblocks/sdk/model/SolanaConfig.java b/src/main/java/com/fireblocks/sdk/model/SolanaConfig.java index c7be329f..16ee179d 100644 --- a/src/main/java/com/fireblocks/sdk/model/SolanaConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/SolanaConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SolanaInstruction.java b/src/main/java/com/fireblocks/sdk/model/SolanaInstruction.java index 70280051..dc0463af 100644 --- a/src/main/java/com/fireblocks/sdk/model/SolanaInstruction.java +++ b/src/main/java/com/fireblocks/sdk/model/SolanaInstruction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SolanaInstructionWithValue.java b/src/main/java/com/fireblocks/sdk/model/SolanaInstructionWithValue.java index 6917631e..cd3b3c79 100644 --- a/src/main/java/com/fireblocks/sdk/model/SolanaInstructionWithValue.java +++ b/src/main/java/com/fireblocks/sdk/model/SolanaInstructionWithValue.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SolanaSimpleCreateParams.java b/src/main/java/com/fireblocks/sdk/model/SolanaSimpleCreateParams.java index 4fa53f65..98daf1d3 100644 --- a/src/main/java/com/fireblocks/sdk/model/SolanaSimpleCreateParams.java +++ b/src/main/java/com/fireblocks/sdk/model/SolanaSimpleCreateParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SourceConfig.java b/src/main/java/com/fireblocks/sdk/model/SourceConfig.java index 1966b7ff..463a57ab 100644 --- a/src/main/java/com/fireblocks/sdk/model/SourceConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/SourceConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPath.java b/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPath.java index 4e627027..202aefb0 100644 --- a/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPath.java +++ b/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPath.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPathResponse.java b/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPathResponse.java index 3e9caeac..bee8e8b7 100644 --- a/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPathResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SourceTransferPeerPathResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SpamOwnershipResponse.java b/src/main/java/com/fireblocks/sdk/model/SpamOwnershipResponse.java index 558eca49..2ecb61d4 100644 --- a/src/main/java/com/fireblocks/sdk/model/SpamOwnershipResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SpamOwnershipResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SpamTokenResponse.java b/src/main/java/com/fireblocks/sdk/model/SpamTokenResponse.java index 2a11a89d..4afcbb06 100644 --- a/src/main/java/com/fireblocks/sdk/model/SpamTokenResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SpamTokenResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SpeiAddress.java b/src/main/java/com/fireblocks/sdk/model/SpeiAddress.java index 6187a85a..3262a072 100644 --- a/src/main/java/com/fireblocks/sdk/model/SpeiAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/SpeiAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SpeiAdvancedPaymentInfo.java b/src/main/java/com/fireblocks/sdk/model/SpeiAdvancedPaymentInfo.java index 399f8a6a..5908fbbd 100644 --- a/src/main/java/com/fireblocks/sdk/model/SpeiAdvancedPaymentInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/SpeiAdvancedPaymentInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SpeiBasicPaymentInfo.java b/src/main/java/com/fireblocks/sdk/model/SpeiBasicPaymentInfo.java index 363b3ad3..71c20db8 100644 --- a/src/main/java/com/fireblocks/sdk/model/SpeiBasicPaymentInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/SpeiBasicPaymentInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SpeiDestination.java b/src/main/java/com/fireblocks/sdk/model/SpeiDestination.java index d147c2e2..ff4e1243 100644 --- a/src/main/java/com/fireblocks/sdk/model/SpeiDestination.java +++ b/src/main/java/com/fireblocks/sdk/model/SpeiDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SplitRequest.java b/src/main/java/com/fireblocks/sdk/model/SplitRequest.java index 1a8624ca..8804f40a 100644 --- a/src/main/java/com/fireblocks/sdk/model/SplitRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/SplitRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -157,7 +157,7 @@ public SplitRequest txNote(@jakarta.annotation.Nullable String txNote) { } /** - * The note to associate with the transactions. + * The note to associate with the split transactions. * * @return txNote */ diff --git a/src/main/java/com/fireblocks/sdk/model/SplitResponse.java b/src/main/java/com/fireblocks/sdk/model/SplitResponse.java index 4fd7879c..de222b84 100644 --- a/src/main/java/com/fireblocks/sdk/model/SplitResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/SplitResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/StEthBlockchainData.java b/src/main/java/com/fireblocks/sdk/model/StEthBlockchainData.java new file mode 100644 index 00000000..416ca306 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/StEthBlockchainData.java @@ -0,0 +1,205 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** + * Additional fields per blockchain for Staked Ethereum (STETH_ETH) - can be empty or missing if not + * initialized or no additional info exists. + */ +@JsonPropertyOrder({ + StEthBlockchainData.JSON_PROPERTY_TOTAL_WITHDRAWABLE_AMOUNT, + StEthBlockchainData.JSON_PROPERTY_TOTAL_INACTIVE_AMOUNT +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class StEthBlockchainData { + public static final String JSON_PROPERTY_TOTAL_WITHDRAWABLE_AMOUNT = "totalWithdrawableAmount"; + @jakarta.annotation.Nonnull private String totalWithdrawableAmount; + + public static final String JSON_PROPERTY_TOTAL_INACTIVE_AMOUNT = "totalInactiveAmount"; + @jakarta.annotation.Nonnull private String totalInactiveAmount; + + public StEthBlockchainData() {} + + @JsonCreator + public StEthBlockchainData( + @JsonProperty(value = JSON_PROPERTY_TOTAL_WITHDRAWABLE_AMOUNT, required = true) + String totalWithdrawableAmount, + @JsonProperty(value = JSON_PROPERTY_TOTAL_INACTIVE_AMOUNT, required = true) + String totalInactiveAmount) { + this.totalWithdrawableAmount = totalWithdrawableAmount; + this.totalInactiveAmount = totalInactiveAmount; + } + + public StEthBlockchainData totalWithdrawableAmount( + @jakarta.annotation.Nonnull String totalWithdrawableAmount) { + this.totalWithdrawableAmount = totalWithdrawableAmount; + return this; + } + + /** + * The total amount available for withdrawal. + * + * @return totalWithdrawableAmount + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TOTAL_WITHDRAWABLE_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getTotalWithdrawableAmount() { + return totalWithdrawableAmount; + } + + @JsonProperty(JSON_PROPERTY_TOTAL_WITHDRAWABLE_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTotalWithdrawableAmount( + @jakarta.annotation.Nonnull String totalWithdrawableAmount) { + this.totalWithdrawableAmount = totalWithdrawableAmount; + } + + public StEthBlockchainData totalInactiveAmount( + @jakarta.annotation.Nonnull String totalInactiveAmount) { + this.totalInactiveAmount = totalInactiveAmount; + return this; + } + + /** + * The total inactive amount. + * + * @return totalInactiveAmount + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TOTAL_INACTIVE_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getTotalInactiveAmount() { + return totalInactiveAmount; + } + + @JsonProperty(JSON_PROPERTY_TOTAL_INACTIVE_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTotalInactiveAmount(@jakarta.annotation.Nonnull String totalInactiveAmount) { + this.totalInactiveAmount = totalInactiveAmount; + } + + /** Return true if this StEthBlockchainData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StEthBlockchainData stEthBlockchainData = (StEthBlockchainData) o; + return Objects.equals( + this.totalWithdrawableAmount, stEthBlockchainData.totalWithdrawableAmount) + && Objects.equals( + this.totalInactiveAmount, stEthBlockchainData.totalInactiveAmount); + } + + @Override + public int hashCode() { + return Objects.hash(totalWithdrawableAmount, totalInactiveAmount); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StEthBlockchainData {\n"); + sb.append(" totalWithdrawableAmount: ") + .append(toIndentedString(totalWithdrawableAmount)) + .append("\n"); + sb.append(" totalInactiveAmount: ") + .append(toIndentedString(totalInactiveAmount)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `totalWithdrawableAmount` to the URL query string + if (getTotalWithdrawableAmount() != null) { + joiner.add( + String.format( + "%stotalWithdrawableAmount%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getTotalWithdrawableAmount())))); + } + + // add `totalInactiveAmount` to the URL query string + if (getTotalInactiveAmount() != null) { + joiner.add( + String.format( + "%stotalInactiveAmount%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getTotalInactiveAmount())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/StakeRequest.java b/src/main/java/com/fireblocks/sdk/model/StakeRequest.java index 2493ae1c..e1f68ac3 100644 --- a/src/main/java/com/fireblocks/sdk/model/StakeRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/StakeRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -28,7 +28,10 @@ StakeRequest.JSON_PROPERTY_STAKE_AMOUNT, StakeRequest.JSON_PROPERTY_TX_NOTE, StakeRequest.JSON_PROPERTY_FEE, - StakeRequest.JSON_PROPERTY_FEE_LEVEL + StakeRequest.JSON_PROPERTY_FEE_LEVEL, + StakeRequest.JSON_PROPERTY_CHAIN_DESCRIPTOR, + StakeRequest.JSON_PROPERTY_ID, + StakeRequest.JSON_PROPERTY_IS_COMPOUNDING_VALIDATOR }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -52,6 +55,15 @@ public class StakeRequest { public static final String JSON_PROPERTY_FEE_LEVEL = "feeLevel"; @jakarta.annotation.Nullable private FeeLevel feeLevel; + public static final String JSON_PROPERTY_CHAIN_DESCRIPTOR = "chainDescriptor"; + @jakarta.annotation.Nullable private String chainDescriptor; + + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nullable private String id; + + public static final String JSON_PROPERTY_IS_COMPOUNDING_VALIDATOR = "isCompoundingValidator"; + @jakarta.annotation.Nullable private Boolean isCompoundingValidator; + public StakeRequest() {} @JsonCreator @@ -72,7 +84,7 @@ public StakeRequest vaultAccountId(@jakarta.annotation.Nonnull String vaultAccou } /** - * The source vault account to stake from + * The Fireblocks vault account ID that will source the funds for staking. * * @return vaultAccountId */ @@ -118,7 +130,8 @@ public StakeRequest stakeAmount(@jakarta.annotation.Nonnull String stakeAmount) } /** - * Amount of tokens to stake + * The amount of tokens to stake. The amount may be truncated to match the chain's decimal + * precision requirements. * * @return stakeAmount */ @@ -141,7 +154,8 @@ public StakeRequest txNote(@jakarta.annotation.Nullable String txNote) { } /** - * The note to associate with the stake transactions. + * 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. * * @return txNote */ @@ -164,8 +178,9 @@ public StakeRequest fee(@jakarta.annotation.Nullable String fee) { } /** - * Represents the fee for a transaction, which can be specified as a percentage value. Only one - * of fee/feeLevel is required. + * 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. * * @return fee */ @@ -205,6 +220,83 @@ public void setFeeLevel(@jakarta.annotation.Nullable FeeLevel feeLevel) { this.feeLevel = feeLevel; } + public StakeRequest chainDescriptor(@jakarta.annotation.Nullable String chainDescriptor) { + this.chainDescriptor = chainDescriptor; + return this; + } + + /** + * Protocol identifier for the staking operation + * + * @return chainDescriptor + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CHAIN_DESCRIPTOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getChainDescriptor() { + return chainDescriptor; + } + + @JsonProperty(JSON_PROPERTY_CHAIN_DESCRIPTOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setChainDescriptor(@jakarta.annotation.Nullable String chainDescriptor) { + this.chainDescriptor = chainDescriptor; + } + + public StakeRequest id(@jakarta.annotation.Nullable String id) { + this.id = id; + return this; + } + + /** + * 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. + * + * @return id + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setId(@jakarta.annotation.Nullable String id) { + this.id = id; + } + + public StakeRequest isCompoundingValidator( + @jakarta.annotation.Nullable Boolean isCompoundingValidator) { + this.isCompoundingValidator = isCompoundingValidator; + return this; + } + + /** + * 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. + * + * @return isCompoundingValidator + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IS_COMPOUNDING_VALIDATOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIsCompoundingValidator() { + return isCompoundingValidator; + } + + @JsonProperty(JSON_PROPERTY_IS_COMPOUNDING_VALIDATOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsCompoundingValidator( + @jakarta.annotation.Nullable Boolean isCompoundingValidator) { + this.isCompoundingValidator = isCompoundingValidator; + } + /** Return true if this StakeRequest object is equal to o. */ @Override public boolean equals(Object o) { @@ -220,12 +312,24 @@ public boolean equals(Object o) { && Objects.equals(this.stakeAmount, stakeRequest.stakeAmount) && Objects.equals(this.txNote, stakeRequest.txNote) && Objects.equals(this.fee, stakeRequest.fee) - && Objects.equals(this.feeLevel, stakeRequest.feeLevel); + && Objects.equals(this.feeLevel, stakeRequest.feeLevel) + && Objects.equals(this.chainDescriptor, stakeRequest.chainDescriptor) + && Objects.equals(this.id, stakeRequest.id) + && Objects.equals(this.isCompoundingValidator, stakeRequest.isCompoundingValidator); } @Override public int hashCode() { - return Objects.hash(vaultAccountId, providerId, stakeAmount, txNote, fee, feeLevel); + return Objects.hash( + vaultAccountId, + providerId, + stakeAmount, + txNote, + fee, + feeLevel, + chainDescriptor, + id, + isCompoundingValidator); } @Override @@ -238,6 +342,11 @@ public String toString() { sb.append(" txNote: ").append(toIndentedString(txNote)).append("\n"); sb.append(" fee: ").append(toIndentedString(fee)).append("\n"); sb.append(" feeLevel: ").append(toIndentedString(feeLevel)).append("\n"); + sb.append(" chainDescriptor: ").append(toIndentedString(chainDescriptor)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" isCompoundingValidator: ") + .append(toIndentedString(isCompoundingValidator)) + .append("\n"); sb.append("}"); return sb.toString(); } @@ -345,6 +454,35 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getFeeLevel())))); } + // add `chainDescriptor` to the URL query string + if (getChainDescriptor() != null) { + joiner.add( + String.format( + "%schainDescriptor%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getChainDescriptor())))); + } + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `isCompoundingValidator` to the URL query string + if (getIsCompoundingValidator() != null) { + joiner.add( + String.format( + "%sisCompoundingValidator%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getIsCompoundingValidator())))); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/StakeResponse.java b/src/main/java/com/fireblocks/sdk/model/StakeResponse.java index 3b55fc2d..9b86d2b0 100644 --- a/src/main/java/com/fireblocks/sdk/model/StakeResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/StakeResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/StakingProvider.java b/src/main/java/com/fireblocks/sdk/model/StakingProvider.java index ad8cb99f..a87d915c 100644 --- a/src/main/java/com/fireblocks/sdk/model/StakingProvider.java +++ b/src/main/java/com/fireblocks/sdk/model/StakingProvider.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -24,7 +24,15 @@ public enum StakingProvider { LIDO("lido"), - P2P("p2p"); + P2P("p2p"), + + BLOCKDAEMON("blockdaemon"), + + GALAXY("galaxy"), + + PIER_TWO("pierTwo"), + + KRAKEN("kraken"); private String value; diff --git a/src/main/java/com/fireblocks/sdk/model/Status.java b/src/main/java/com/fireblocks/sdk/model/Status.java index b3c8efaf..8726552e 100644 --- a/src/main/java/com/fireblocks/sdk/model/Status.java +++ b/src/main/java/com/fireblocks/sdk/model/Status.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/StellarRippleCreateParamsDto.java b/src/main/java/com/fireblocks/sdk/model/StellarRippleCreateParamsDto.java index bc98bd79..89c6ef72 100644 --- a/src/main/java/com/fireblocks/sdk/model/StellarRippleCreateParamsDto.java +++ b/src/main/java/com/fireblocks/sdk/model/StellarRippleCreateParamsDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SupportedBlockChainsResponse.java b/src/main/java/com/fireblocks/sdk/model/SupportedBlockChainsResponse.java new file mode 100644 index 00000000..174aa265 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/SupportedBlockChainsResponse.java @@ -0,0 +1,226 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** SupportedBlockChainsResponse */ +@JsonPropertyOrder({ + SupportedBlockChainsResponse.JSON_PROPERTY_SUPPORTS_ALL_BLOCKCHAINS, + SupportedBlockChainsResponse.JSON_PROPERTY_SUPPORTED_BLOCKCHAINS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class SupportedBlockChainsResponse { + public static final String JSON_PROPERTY_SUPPORTS_ALL_BLOCKCHAINS = "supportsAllBlockchains"; + @jakarta.annotation.Nonnull private Boolean supportsAllBlockchains; + + public static final String JSON_PROPERTY_SUPPORTED_BLOCKCHAINS = "supportedBlockchains"; + @jakarta.annotation.Nullable private List supportedBlockchains; + + public SupportedBlockChainsResponse() {} + + @JsonCreator + public SupportedBlockChainsResponse( + @JsonProperty(value = JSON_PROPERTY_SUPPORTS_ALL_BLOCKCHAINS, required = true) + Boolean supportsAllBlockchains) { + this.supportsAllBlockchains = supportsAllBlockchains; + } + + public SupportedBlockChainsResponse supportsAllBlockchains( + @jakarta.annotation.Nonnull Boolean supportsAllBlockchains) { + this.supportsAllBlockchains = supportsAllBlockchains; + return this; + } + + /** + * Boolean representing if all blockchains are supported + * + * @return supportsAllBlockchains + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_SUPPORTS_ALL_BLOCKCHAINS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getSupportsAllBlockchains() { + return supportsAllBlockchains; + } + + @JsonProperty(JSON_PROPERTY_SUPPORTS_ALL_BLOCKCHAINS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setSupportsAllBlockchains( + @jakarta.annotation.Nonnull Boolean supportsAllBlockchains) { + this.supportsAllBlockchains = supportsAllBlockchains; + } + + public SupportedBlockChainsResponse supportedBlockchains( + @jakarta.annotation.Nullable List supportedBlockchains) { + this.supportedBlockchains = supportedBlockchains; + return this; + } + + public SupportedBlockChainsResponse addSupportedBlockchainsItem( + SupportedBlockchain supportedBlockchainsItem) { + if (this.supportedBlockchains == null) { + this.supportedBlockchains = new ArrayList<>(); + } + this.supportedBlockchains.add(supportedBlockchainsItem); + return this; + } + + /** + * List of supported blockchains + * + * @return supportedBlockchains + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SUPPORTED_BLOCKCHAINS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getSupportedBlockchains() { + return supportedBlockchains; + } + + @JsonProperty(JSON_PROPERTY_SUPPORTED_BLOCKCHAINS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSupportedBlockchains( + @jakarta.annotation.Nullable List supportedBlockchains) { + this.supportedBlockchains = supportedBlockchains; + } + + /** Return true if this SupportedBlockChainsResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SupportedBlockChainsResponse supportedBlockChainsResponse = + (SupportedBlockChainsResponse) o; + return Objects.equals( + this.supportsAllBlockchains, + supportedBlockChainsResponse.supportsAllBlockchains) + && Objects.equals( + this.supportedBlockchains, + supportedBlockChainsResponse.supportedBlockchains); + } + + @Override + public int hashCode() { + return Objects.hash(supportsAllBlockchains, supportedBlockchains); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SupportedBlockChainsResponse {\n"); + sb.append(" supportsAllBlockchains: ") + .append(toIndentedString(supportsAllBlockchains)) + .append("\n"); + sb.append(" supportedBlockchains: ") + .append(toIndentedString(supportedBlockchains)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `supportsAllBlockchains` to the URL query string + if (getSupportsAllBlockchains() != null) { + joiner.add( + String.format( + "%ssupportsAllBlockchains%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getSupportsAllBlockchains())))); + } + + // add `supportedBlockchains` to the URL query string + if (getSupportedBlockchains() != null) { + for (int i = 0; i < getSupportedBlockchains().size(); i++) { + if (getSupportedBlockchains().get(i) != null) { + joiner.add( + getSupportedBlockchains() + .get(i) + .toUrlQueryString( + String.format( + "%ssupportedBlockchains%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/SupportedBlockchain.java b/src/main/java/com/fireblocks/sdk/model/SupportedBlockchain.java new file mode 100644 index 00000000..921ab0a2 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/SupportedBlockchain.java @@ -0,0 +1,270 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** SupportedBlockchain */ +@JsonPropertyOrder({ + SupportedBlockchain.JSON_PROPERTY_ID, + SupportedBlockchain.JSON_PROPERTY_LEGACY_ID, + SupportedBlockchain.JSON_PROPERTY_DISPLAY_NAME, + SupportedBlockchain.JSON_PROPERTY_NATIVE_ASSET_ID +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class SupportedBlockchain { + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nonnull private String id; + + public static final String JSON_PROPERTY_LEGACY_ID = "legacyId"; + @jakarta.annotation.Nonnull private String legacyId; + + public static final String JSON_PROPERTY_DISPLAY_NAME = "displayName"; + @jakarta.annotation.Nonnull private String displayName; + + public static final String JSON_PROPERTY_NATIVE_ASSET_ID = "nativeAssetId"; + @jakarta.annotation.Nonnull private String nativeAssetId; + + public SupportedBlockchain() {} + + @JsonCreator + public SupportedBlockchain( + @JsonProperty(value = JSON_PROPERTY_ID, required = true) String id, + @JsonProperty(value = JSON_PROPERTY_LEGACY_ID, required = true) String legacyId, + @JsonProperty(value = JSON_PROPERTY_DISPLAY_NAME, required = true) String displayName, + @JsonProperty(value = JSON_PROPERTY_NATIVE_ASSET_ID, required = true) + String nativeAssetId) { + this.id = id; + this.legacyId = legacyId; + this.displayName = displayName; + this.nativeAssetId = nativeAssetId; + } + + public SupportedBlockchain id(@jakarta.annotation.Nonnull String id) { + this.id = id; + return this; + } + + /** + * The ID of the blockchain + * + * @return id + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setId(@jakarta.annotation.Nonnull String id) { + this.id = id; + } + + public SupportedBlockchain legacyId(@jakarta.annotation.Nonnull String legacyId) { + this.legacyId = legacyId; + return this; + } + + /** + * The old blockchain ID representation of the blockchain + * + * @return legacyId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_LEGACY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getLegacyId() { + return legacyId; + } + + @JsonProperty(JSON_PROPERTY_LEGACY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setLegacyId(@jakarta.annotation.Nonnull String legacyId) { + this.legacyId = legacyId; + } + + public SupportedBlockchain displayName(@jakarta.annotation.Nonnull String displayName) { + this.displayName = displayName; + return this; + } + + /** + * The name of the blockchain + * + * @return displayName + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DISPLAY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getDisplayName() { + return displayName; + } + + @JsonProperty(JSON_PROPERTY_DISPLAY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDisplayName(@jakarta.annotation.Nonnull String displayName) { + this.displayName = displayName; + } + + public SupportedBlockchain nativeAssetId(@jakarta.annotation.Nonnull String nativeAssetId) { + this.nativeAssetId = nativeAssetId; + return this; + } + + /** + * Native asset ID of this blockchain + * + * @return nativeAssetId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_NATIVE_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getNativeAssetId() { + return nativeAssetId; + } + + @JsonProperty(JSON_PROPERTY_NATIVE_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setNativeAssetId(@jakarta.annotation.Nonnull String nativeAssetId) { + this.nativeAssetId = nativeAssetId; + } + + /** Return true if this SupportedBlockchain object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SupportedBlockchain supportedBlockchain = (SupportedBlockchain) o; + return Objects.equals(this.id, supportedBlockchain.id) + && Objects.equals(this.legacyId, supportedBlockchain.legacyId) + && Objects.equals(this.displayName, supportedBlockchain.displayName) + && Objects.equals(this.nativeAssetId, supportedBlockchain.nativeAssetId); + } + + @Override + public int hashCode() { + return Objects.hash(id, legacyId, displayName, nativeAssetId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SupportedBlockchain {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" legacyId: ").append(toIndentedString(legacyId)).append("\n"); + sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); + sb.append(" nativeAssetId: ").append(toIndentedString(nativeAssetId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `legacyId` to the URL query string + if (getLegacyId() != null) { + joiner.add( + String.format( + "%slegacyId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getLegacyId())))); + } + + // add `displayName` to the URL query string + if (getDisplayName() != null) { + joiner.add( + String.format( + "%sdisplayName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDisplayName())))); + } + + // add `nativeAssetId` to the URL query string + if (getNativeAssetId() != null) { + joiner.add( + String.format( + "%snativeAssetId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNativeAssetId())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/SwiftAddress.java b/src/main/java/com/fireblocks/sdk/model/SwiftAddress.java index df9fe851..fb49b489 100644 --- a/src/main/java/com/fireblocks/sdk/model/SwiftAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/SwiftAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SwiftDestination.java b/src/main/java/com/fireblocks/sdk/model/SwiftDestination.java index f443c059..5c29dec8 100644 --- a/src/main/java/com/fireblocks/sdk/model/SwiftDestination.java +++ b/src/main/java/com/fireblocks/sdk/model/SwiftDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/SystemMessageInfo.java b/src/main/java/com/fireblocks/sdk/model/SystemMessageInfo.java index 3bf55ad1..bd1eed6d 100644 --- a/src/main/java/com/fireblocks/sdk/model/SystemMessageInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/SystemMessageInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkAPIPagedResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAPIPagedResponse.java new file mode 100644 index 00000000..2380697c --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAPIPagedResponse.java @@ -0,0 +1,202 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** Generic paginated response wrapper with cursor-based pagination */ +@JsonPropertyOrder({ + TRLinkAPIPagedResponse.JSON_PROPERTY_DATA, + TRLinkAPIPagedResponse.JSON_PROPERTY_PAGING +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkAPIPagedResponse { + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nonnull private List data; + + public static final String JSON_PROPERTY_PAGING = "paging"; + @jakarta.annotation.Nullable private TRLinkPaging paging; + + public TRLinkAPIPagedResponse() {} + + @JsonCreator + public TRLinkAPIPagedResponse( + @JsonProperty(value = JSON_PROPERTY_DATA, required = true) + List data) { + this.data = data; + } + + public TRLinkAPIPagedResponse data(@jakarta.annotation.Nonnull List data) { + this.data = data; + return this; + } + + public TRLinkAPIPagedResponse addDataItem(TRLinkVaspListDto dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Array of result items + * + * @return data + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setData(@jakarta.annotation.Nonnull List data) { + this.data = data; + } + + public TRLinkAPIPagedResponse paging(@jakarta.annotation.Nullable TRLinkPaging paging) { + this.paging = paging; + return this; + } + + /** + * Get paging + * + * @return paging + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PAGING) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkPaging getPaging() { + return paging; + } + + @JsonProperty(JSON_PROPERTY_PAGING) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPaging(@jakarta.annotation.Nullable TRLinkPaging paging) { + this.paging = paging; + } + + /** Return true if this TRLinkAPIPagedResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkAPIPagedResponse trLinkAPIPagedResponse = (TRLinkAPIPagedResponse) o; + return Objects.equals(this.data, trLinkAPIPagedResponse.data) + && Objects.equals(this.paging, trLinkAPIPagedResponse.paging); + } + + @Override + public int hashCode() { + return Objects.hash(data, paging); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkAPIPagedResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" paging: ").append(toIndentedString(paging)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `data` to the URL query string + if (getData() != null) { + for (int i = 0; i < getData().size(); i++) { + if (getData().get(i) != null) { + joiner.add( + String.format( + "%sdata%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode( + ApiClient.valueToString(getData().get(i))))); + } + } + } + + // add `paging` to the URL query string + if (getPaging() != null) { + joiner.add(getPaging().toUrlQueryString(prefix + "paging" + suffix)); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkAmount.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAmount.java index eda32c53..03491d88 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkAmount.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAmount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkAmount2.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAmount2.java new file mode 100644 index 00000000..39bffb19 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAmount2.java @@ -0,0 +1,182 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** Amount specification with range and currency type */ +@JsonPropertyOrder({TRLinkAmount2.JSON_PROPERTY_RANGE, TRLinkAmount2.JSON_PROPERTY_CURRENCY}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkAmount2 { + public static final String JSON_PROPERTY_RANGE = "range"; + @jakarta.annotation.Nonnull private TRLinkAmountRange range; + + public static final String JSON_PROPERTY_CURRENCY = "currency"; + @jakarta.annotation.Nonnull private TRLinkCurrency currency; + + public TRLinkAmount2() {} + + @JsonCreator + public TRLinkAmount2( + @JsonProperty(value = JSON_PROPERTY_RANGE, required = true) TRLinkAmountRange range, + @JsonProperty(value = JSON_PROPERTY_CURRENCY, required = true) + TRLinkCurrency currency) { + this.range = range; + this.currency = currency; + } + + public TRLinkAmount2 range(@jakarta.annotation.Nonnull TRLinkAmountRange range) { + this.range = range; + return this; + } + + /** + * Get range + * + * @return range + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_RANGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkAmountRange getRange() { + return range; + } + + @JsonProperty(JSON_PROPERTY_RANGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setRange(@jakarta.annotation.Nonnull TRLinkAmountRange range) { + this.range = range; + } + + public TRLinkAmount2 currency(@jakarta.annotation.Nonnull TRLinkCurrency currency) { + this.currency = currency; + return this; + } + + /** + * Get currency + * + * @return currency + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CURRENCY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkCurrency getCurrency() { + return currency; + } + + @JsonProperty(JSON_PROPERTY_CURRENCY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCurrency(@jakarta.annotation.Nonnull TRLinkCurrency currency) { + this.currency = currency; + } + + /** Return true if this TRLinkAmount-2 object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkAmount2 trLinkAmount2 = (TRLinkAmount2) o; + return Objects.equals(this.range, trLinkAmount2.range) + && Objects.equals(this.currency, trLinkAmount2.currency); + } + + @Override + public int hashCode() { + return Objects.hash(range, currency); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkAmount2 {\n"); + sb.append(" range: ").append(toIndentedString(range)).append("\n"); + sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `range` to the URL query string + if (getRange() != null) { + joiner.add(getRange().toUrlQueryString(prefix + "range" + suffix)); + } + + // add `currency` to the URL query string + if (getCurrency() != null) { + joiner.add( + String.format( + "%scurrency%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCurrency())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/RescanTransaction.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAmountRange.java similarity index 57% rename from src/main/java/com/fireblocks/sdk/model/RescanTransaction.java rename to src/main/java/com/fireblocks/sdk/model/TRLinkAmountRange.java index dd87e35d..10776bc6 100644 --- a/src/main/java/com/fireblocks/sdk/model/RescanTransaction.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAmountRange.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -20,70 +20,67 @@ import java.util.Objects; import java.util.StringJoiner; -/** RescanTransaction */ -@JsonPropertyOrder({ - RescanTransaction.JSON_PROPERTY_TX_HASH, - RescanTransaction.JSON_PROPERTY_ASSET_ID -}) +/** Minimum and maximum amount range specification */ +@JsonPropertyOrder({TRLinkAmountRange.JSON_PROPERTY_MIN, TRLinkAmountRange.JSON_PROPERTY_MAX}) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class RescanTransaction { - public static final String JSON_PROPERTY_TX_HASH = "txHash"; - @jakarta.annotation.Nullable private String txHash; +public class TRLinkAmountRange { + public static final String JSON_PROPERTY_MIN = "min"; + @jakarta.annotation.Nullable private String min; - public static final String JSON_PROPERTY_ASSET_ID = "assetId"; - @jakarta.annotation.Nullable private String assetId; + public static final String JSON_PROPERTY_MAX = "max"; + @jakarta.annotation.Nullable private String max; - public RescanTransaction() {} + public TRLinkAmountRange() {} - public RescanTransaction txHash(@jakarta.annotation.Nullable String txHash) { - this.txHash = txHash; + public TRLinkAmountRange min(@jakarta.annotation.Nullable String min) { + this.min = min; return this; } /** - * Blockchain TX hash + * Minimum amount (inclusive) * - * @return txHash + * @return min */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TX_HASH) + @JsonProperty(JSON_PROPERTY_MIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTxHash() { - return txHash; + public String getMin() { + return min; } - @JsonProperty(JSON_PROPERTY_TX_HASH) + @JsonProperty(JSON_PROPERTY_MIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTxHash(@jakarta.annotation.Nullable String txHash) { - this.txHash = txHash; + public void setMin(@jakarta.annotation.Nullable String min) { + this.min = min; } - public RescanTransaction assetId(@jakarta.annotation.Nullable String assetId) { - this.assetId = assetId; + public TRLinkAmountRange max(@jakarta.annotation.Nullable String max) { + this.max = max; return this; } /** - * Asset symbol BTC,ETH) + * Maximum amount (inclusive) * - * @return assetId + * @return max */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ASSET_ID) + @JsonProperty(JSON_PROPERTY_MAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getAssetId() { - return assetId; + public String getMax() { + return max; } - @JsonProperty(JSON_PROPERTY_ASSET_ID) + @JsonProperty(JSON_PROPERTY_MAX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setAssetId(@jakarta.annotation.Nullable String assetId) { - this.assetId = assetId; + public void setMax(@jakarta.annotation.Nullable String max) { + this.max = max; } - /** Return true if this RescanTransaction object is equal to o. */ + /** Return true if this TRLinkAmountRange object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -92,22 +89,22 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RescanTransaction rescanTransaction = (RescanTransaction) o; - return Objects.equals(this.txHash, rescanTransaction.txHash) - && Objects.equals(this.assetId, rescanTransaction.assetId); + TRLinkAmountRange trLinkAmountRange = (TRLinkAmountRange) o; + return Objects.equals(this.min, trLinkAmountRange.min) + && Objects.equals(this.max, trLinkAmountRange.max); } @Override public int hashCode() { - return Objects.hash(txHash, assetId); + return Objects.hash(min, max); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RescanTransaction {\n"); - sb.append(" txHash: ").append(toIndentedString(txHash)).append("\n"); - sb.append(" assetId: ").append(toIndentedString(assetId)).append("\n"); + sb.append("class TRLinkAmountRange {\n"); + sb.append(" min: ").append(toIndentedString(min)).append("\n"); + sb.append(" max: ").append(toIndentedString(max)).append("\n"); sb.append("}"); return sb.toString(); } @@ -155,24 +152,24 @@ public String toUrlQueryString(String prefix) { StringJoiner joiner = new StringJoiner("&"); - // add `txHash` to the URL query string - if (getTxHash() != null) { + // add `min` to the URL query string + if (getMin() != null) { joiner.add( String.format( - "%stxHash%s=%s", + "%smin%s=%s", prefix, suffix, - ApiClient.urlEncode(ApiClient.valueToString(getTxHash())))); + ApiClient.urlEncode(ApiClient.valueToString(getMin())))); } - // add `assetId` to the URL query string - if (getAssetId() != null) { + // add `max` to the URL query string + if (getMax() != null) { joiner.add( String.format( - "%sassetId%s=%s", + "%smax%s=%s", prefix, suffix, - ApiClient.urlEncode(ApiClient.valueToString(getAssetId())))); + ApiClient.urlEncode(ApiClient.valueToString(getMax())))); } return joiner.toString(); diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleRequest.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleRequest.java new file mode 100644 index 00000000..121cabd7 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleRequest.java @@ -0,0 +1,626 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; +import java.util.UUID; + +/** Request to assess whether Travel Rule compliance is required for a transaction */ +@JsonPropertyOrder({ + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_TX_ID, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_AMOUNT, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_AMOUNT_U_S_D, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_DESTINATION, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_DEST_ADDRESS, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_DEST_TAG, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_SOURCE, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_SRC_ADDRESS, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_ASSET_ID, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_DIRECTION, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_TX_HASH, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_ORIGINATOR_VASP_ID, + TRLinkAssessTravelRuleRequest.JSON_PROPERTY_BENEFICIARY_VASP_ID +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkAssessTravelRuleRequest { + public static final String JSON_PROPERTY_TX_ID = "txId"; + @jakarta.annotation.Nullable private UUID txId; + + public static final String JSON_PROPERTY_AMOUNT = "amount"; + @jakarta.annotation.Nullable private String amount; + + public static final String JSON_PROPERTY_AMOUNT_U_S_D = "amountUSD"; + @jakarta.annotation.Nullable private String amountUSD; + + public static final String JSON_PROPERTY_DESTINATION = "destination"; + @jakarta.annotation.Nullable private TRLinkDestinationTransferPeerPath destination; + + public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress"; + @jakarta.annotation.Nullable private String destAddress; + + public static final String JSON_PROPERTY_DEST_TAG = "destTag"; + @jakarta.annotation.Nullable private String destTag; + + public static final String JSON_PROPERTY_SOURCE = "source"; + @jakarta.annotation.Nullable private TRLinkSourceTransferPeerPath source; + + public static final String JSON_PROPERTY_SRC_ADDRESS = "srcAddress"; + @jakarta.annotation.Nullable private String srcAddress; + + public static final String JSON_PROPERTY_ASSET_ID = "assetId"; + @jakarta.annotation.Nullable private String assetId; + + public static final String JSON_PROPERTY_DIRECTION = "direction"; + @jakarta.annotation.Nullable private TRLinkTransactionDirection direction; + + public static final String JSON_PROPERTY_TX_HASH = "txHash"; + @jakarta.annotation.Nullable private String txHash; + + public static final String JSON_PROPERTY_ORIGINATOR_VASP_ID = "originatorVaspId"; + @jakarta.annotation.Nullable private String originatorVaspId; + + public static final String JSON_PROPERTY_BENEFICIARY_VASP_ID = "beneficiaryVaspId"; + @jakarta.annotation.Nullable private String beneficiaryVaspId; + + public TRLinkAssessTravelRuleRequest() {} + + public TRLinkAssessTravelRuleRequest txId(@jakarta.annotation.Nullable UUID txId) { + this.txId = txId; + return this; + } + + /** + * Fireblocks transaction ID (optional) - RECOMMENDED for inbound transactions + * + * @return txId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TX_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public UUID getTxId() { + return txId; + } + + @JsonProperty(JSON_PROPERTY_TX_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTxId(@jakarta.annotation.Nullable UUID txId) { + this.txId = txId; + } + + public TRLinkAssessTravelRuleRequest amount(@jakarta.annotation.Nullable String amount) { + this.amount = amount; + return this; + } + + /** + * Transaction amount (required when txId not provided) + * + * @return amount + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAmount() { + return amount; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAmount(@jakarta.annotation.Nullable String amount) { + this.amount = amount; + } + + public TRLinkAssessTravelRuleRequest amountUSD(@jakarta.annotation.Nullable String amountUSD) { + this.amountUSD = amountUSD; + return this; + } + + /** + * Transaction amount in USD (optional) + * + * @return amountUSD + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAmountUSD() { + return amountUSD; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAmountUSD(@jakarta.annotation.Nullable String amountUSD) { + this.amountUSD = amountUSD; + } + + public TRLinkAssessTravelRuleRequest destination( + @jakarta.annotation.Nullable TRLinkDestinationTransferPeerPath destination) { + this.destination = destination; + return this; + } + + /** + * Get destination + * + * @return destination + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESTINATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkDestinationTransferPeerPath getDestination() { + return destination; + } + + @JsonProperty(JSON_PROPERTY_DESTINATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestination( + @jakarta.annotation.Nullable TRLinkDestinationTransferPeerPath destination) { + this.destination = destination; + } + + public TRLinkAssessTravelRuleRequest destAddress( + @jakarta.annotation.Nullable String destAddress) { + this.destAddress = destAddress; + return this; + } + + /** + * Destination address (optional) + * + * @return destAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestAddress() { + return destAddress; + } + + @JsonProperty(JSON_PROPERTY_DEST_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestAddress(@jakarta.annotation.Nullable String destAddress) { + this.destAddress = destAddress; + } + + public TRLinkAssessTravelRuleRequest destTag(@jakarta.annotation.Nullable String destTag) { + this.destTag = destTag; + return this; + } + + /** + * Destination tag (optional) + * + * @return destTag + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_TAG) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestTag() { + return destTag; + } + + @JsonProperty(JSON_PROPERTY_DEST_TAG) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestTag(@jakarta.annotation.Nullable String destTag) { + this.destTag = destTag; + } + + public TRLinkAssessTravelRuleRequest source( + @jakarta.annotation.Nullable TRLinkSourceTransferPeerPath source) { + this.source = source; + return this; + } + + /** + * Get source + * + * @return source + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkSourceTransferPeerPath getSource() { + return source; + } + + @JsonProperty(JSON_PROPERTY_SOURCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSource(@jakarta.annotation.Nullable TRLinkSourceTransferPeerPath source) { + this.source = source; + } + + public TRLinkAssessTravelRuleRequest srcAddress( + @jakarta.annotation.Nullable String srcAddress) { + this.srcAddress = srcAddress; + return this; + } + + /** + * Source address (optional) + * + * @return srcAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SRC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSrcAddress() { + return srcAddress; + } + + @JsonProperty(JSON_PROPERTY_SRC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSrcAddress(@jakarta.annotation.Nullable String srcAddress) { + this.srcAddress = srcAddress; + } + + public TRLinkAssessTravelRuleRequest assetId(@jakarta.annotation.Nullable String assetId) { + this.assetId = assetId; + return this; + } + + /** + * Asset identifier (e.g., ETH, BTC, USDC) + * + * @return assetId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAssetId() { + return assetId; + } + + @JsonProperty(JSON_PROPERTY_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAssetId(@jakarta.annotation.Nullable String assetId) { + this.assetId = assetId; + } + + public TRLinkAssessTravelRuleRequest direction( + @jakarta.annotation.Nullable TRLinkTransactionDirection direction) { + this.direction = direction; + return this; + } + + /** + * Get direction + * + * @return direction + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkTransactionDirection getDirection() { + return direction; + } + + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDirection(@jakarta.annotation.Nullable TRLinkTransactionDirection direction) { + this.direction = direction; + } + + public TRLinkAssessTravelRuleRequest txHash(@jakarta.annotation.Nullable String txHash) { + this.txHash = txHash; + return this; + } + + /** + * Transaction hash (optional) + * + * @return txHash + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TX_HASH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTxHash() { + return txHash; + } + + @JsonProperty(JSON_PROPERTY_TX_HASH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTxHash(@jakarta.annotation.Nullable String txHash) { + this.txHash = txHash; + } + + public TRLinkAssessTravelRuleRequest originatorVaspId( + @jakarta.annotation.Nullable String originatorVaspId) { + this.originatorVaspId = originatorVaspId; + return this; + } + + /** + * Originator VASP identifier - required for inbound transactions + * + * @return originatorVaspId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ORIGINATOR_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getOriginatorVaspId() { + return originatorVaspId; + } + + @JsonProperty(JSON_PROPERTY_ORIGINATOR_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOriginatorVaspId(@jakarta.annotation.Nullable String originatorVaspId) { + this.originatorVaspId = originatorVaspId; + } + + public TRLinkAssessTravelRuleRequest beneficiaryVaspId( + @jakarta.annotation.Nullable String beneficiaryVaspId) { + this.beneficiaryVaspId = beneficiaryVaspId; + return this; + } + + /** + * Beneficiary VASP identifier - required for outbound transactions + * + * @return beneficiaryVaspId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BENEFICIARY_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBeneficiaryVaspId() { + return beneficiaryVaspId; + } + + @JsonProperty(JSON_PROPERTY_BENEFICIARY_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBeneficiaryVaspId(@jakarta.annotation.Nullable String beneficiaryVaspId) { + this.beneficiaryVaspId = beneficiaryVaspId; + } + + /** Return true if this TRLinkAssessTravelRuleRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkAssessTravelRuleRequest trLinkAssessTravelRuleRequest = + (TRLinkAssessTravelRuleRequest) o; + return Objects.equals(this.txId, trLinkAssessTravelRuleRequest.txId) + && Objects.equals(this.amount, trLinkAssessTravelRuleRequest.amount) + && Objects.equals(this.amountUSD, trLinkAssessTravelRuleRequest.amountUSD) + && Objects.equals(this.destination, trLinkAssessTravelRuleRequest.destination) + && Objects.equals(this.destAddress, trLinkAssessTravelRuleRequest.destAddress) + && Objects.equals(this.destTag, trLinkAssessTravelRuleRequest.destTag) + && Objects.equals(this.source, trLinkAssessTravelRuleRequest.source) + && Objects.equals(this.srcAddress, trLinkAssessTravelRuleRequest.srcAddress) + && Objects.equals(this.assetId, trLinkAssessTravelRuleRequest.assetId) + && Objects.equals(this.direction, trLinkAssessTravelRuleRequest.direction) + && Objects.equals(this.txHash, trLinkAssessTravelRuleRequest.txHash) + && Objects.equals( + this.originatorVaspId, trLinkAssessTravelRuleRequest.originatorVaspId) + && Objects.equals( + this.beneficiaryVaspId, trLinkAssessTravelRuleRequest.beneficiaryVaspId); + } + + @Override + public int hashCode() { + return Objects.hash( + txId, + amount, + amountUSD, + destination, + destAddress, + destTag, + source, + srcAddress, + assetId, + direction, + txHash, + originatorVaspId, + beneficiaryVaspId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkAssessTravelRuleRequest {\n"); + sb.append(" txId: ").append(toIndentedString(txId)).append("\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" amountUSD: ").append(toIndentedString(amountUSD)).append("\n"); + sb.append(" destination: ").append(toIndentedString(destination)).append("\n"); + sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n"); + sb.append(" destTag: ").append(toIndentedString(destTag)).append("\n"); + sb.append(" source: ").append(toIndentedString(source)).append("\n"); + sb.append(" srcAddress: ").append(toIndentedString(srcAddress)).append("\n"); + sb.append(" assetId: ").append(toIndentedString(assetId)).append("\n"); + sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); + sb.append(" txHash: ").append(toIndentedString(txHash)).append("\n"); + sb.append(" originatorVaspId: ").append(toIndentedString(originatorVaspId)).append("\n"); + sb.append(" beneficiaryVaspId: ") + .append(toIndentedString(beneficiaryVaspId)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `txId` to the URL query string + if (getTxId() != null) { + joiner.add( + String.format( + "%stxId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTxId())))); + } + + // add `amount` to the URL query string + if (getAmount() != null) { + joiner.add( + String.format( + "%samount%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAmount())))); + } + + // add `amountUSD` to the URL query string + if (getAmountUSD() != null) { + joiner.add( + String.format( + "%samountUSD%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAmountUSD())))); + } + + // add `destination` to the URL query string + if (getDestination() != null) { + joiner.add(getDestination().toUrlQueryString(prefix + "destination" + suffix)); + } + + // add `destAddress` to the URL query string + if (getDestAddress() != null) { + joiner.add( + String.format( + "%sdestAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestAddress())))); + } + + // add `destTag` to the URL query string + if (getDestTag() != null) { + joiner.add( + String.format( + "%sdestTag%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestTag())))); + } + + // add `source` to the URL query string + if (getSource() != null) { + joiner.add(getSource().toUrlQueryString(prefix + "source" + suffix)); + } + + // add `srcAddress` to the URL query string + if (getSrcAddress() != null) { + joiner.add( + String.format( + "%ssrcAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSrcAddress())))); + } + + // add `assetId` to the URL query string + if (getAssetId() != null) { + joiner.add( + String.format( + "%sassetId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAssetId())))); + } + + // add `direction` to the URL query string + if (getDirection() != null) { + joiner.add( + String.format( + "%sdirection%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDirection())))); + } + + // add `txHash` to the URL query string + if (getTxHash() != null) { + joiner.add( + String.format( + "%stxHash%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTxHash())))); + } + + // add `originatorVaspId` to the URL query string + if (getOriginatorVaspId() != null) { + joiner.add( + String.format( + "%soriginatorVaspId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getOriginatorVaspId())))); + } + + // add `beneficiaryVaspId` to the URL query string + if (getBeneficiaryVaspId() != null) { + joiner.add( + String.format( + "%sbeneficiaryVaspId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBeneficiaryVaspId())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleResponse.java new file mode 100644 index 00000000..5878cc89 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleResponse.java @@ -0,0 +1,340 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** Response indicating whether Travel Rule compliance is required */ +@JsonPropertyOrder({ + TRLinkAssessTravelRuleResponse.JSON_PROPERTY_DECISION, + TRLinkAssessTravelRuleResponse.JSON_PROPERTY_REASON, + TRLinkAssessTravelRuleResponse.JSON_PROPERTY_REQUIRED_FIELDS, + TRLinkAssessTravelRuleResponse.JSON_PROPERTY_MISSING_INFO, + TRLinkAssessTravelRuleResponse.JSON_PROPERTY_THRESHOLDS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkAssessTravelRuleResponse { + public static final String JSON_PROPERTY_DECISION = "decision"; + @jakarta.annotation.Nonnull private TRLinkAssessmentDecision decision; + + public static final String JSON_PROPERTY_REASON = "reason"; + @jakarta.annotation.Nonnull private String reason; + + public static final String JSON_PROPERTY_REQUIRED_FIELDS = "requiredFields"; + @jakarta.annotation.Nullable private List requiredFields; + + public static final String JSON_PROPERTY_MISSING_INFO = "missingInfo"; + @jakarta.annotation.Nullable private List missingInfo; + + public static final String JSON_PROPERTY_THRESHOLDS = "thresholds"; + @jakarta.annotation.Nullable private TRLinkThresholds thresholds; + + public TRLinkAssessTravelRuleResponse() {} + + @JsonCreator + public TRLinkAssessTravelRuleResponse( + @JsonProperty(value = JSON_PROPERTY_DECISION, required = true) + TRLinkAssessmentDecision decision, + @JsonProperty(value = JSON_PROPERTY_REASON, required = true) String reason) { + this.decision = decision; + this.reason = reason; + } + + public TRLinkAssessTravelRuleResponse decision( + @jakarta.annotation.Nonnull TRLinkAssessmentDecision decision) { + this.decision = decision; + return this; + } + + /** + * Get decision + * + * @return decision + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DECISION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkAssessmentDecision getDecision() { + return decision; + } + + @JsonProperty(JSON_PROPERTY_DECISION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDecision(@jakarta.annotation.Nonnull TRLinkAssessmentDecision decision) { + this.decision = decision; + } + + public TRLinkAssessTravelRuleResponse reason(@jakarta.annotation.Nonnull String reason) { + this.reason = reason; + return this; + } + + /** + * Explanation of the decision + * + * @return reason + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_REASON) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getReason() { + return reason; + } + + @JsonProperty(JSON_PROPERTY_REASON) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setReason(@jakarta.annotation.Nonnull String reason) { + this.reason = reason; + } + + public TRLinkAssessTravelRuleResponse requiredFields( + @jakarta.annotation.Nullable List requiredFields) { + this.requiredFields = requiredFields; + return this; + } + + public TRLinkAssessTravelRuleResponse addRequiredFieldsItem(String requiredFieldsItem) { + if (this.requiredFields == null) { + this.requiredFields = new ArrayList<>(); + } + this.requiredFields.add(requiredFieldsItem); + return this; + } + + /** + * List of required fields if Travel Rule is required + * + * @return requiredFields + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_REQUIRED_FIELDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getRequiredFields() { + return requiredFields; + } + + @JsonProperty(JSON_PROPERTY_REQUIRED_FIELDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setRequiredFields(@jakarta.annotation.Nullable List requiredFields) { + this.requiredFields = requiredFields; + } + + public TRLinkAssessTravelRuleResponse missingInfo( + @jakarta.annotation.Nullable List missingInfo) { + this.missingInfo = missingInfo; + return this; + } + + public TRLinkAssessTravelRuleResponse addMissingInfoItem(String missingInfoItem) { + if (this.missingInfo == null) { + this.missingInfo = new ArrayList<>(); + } + this.missingInfo.add(missingInfoItem); + return this; + } + + /** + * List of missing fields if more information is needed + * + * @return missingInfo + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MISSING_INFO) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getMissingInfo() { + return missingInfo; + } + + @JsonProperty(JSON_PROPERTY_MISSING_INFO) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMissingInfo(@jakarta.annotation.Nullable List missingInfo) { + this.missingInfo = missingInfo; + } + + public TRLinkAssessTravelRuleResponse thresholds( + @jakarta.annotation.Nullable TRLinkThresholds thresholds) { + this.thresholds = thresholds; + return this; + } + + /** + * Get thresholds + * + * @return thresholds + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_THRESHOLDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkThresholds getThresholds() { + return thresholds; + } + + @JsonProperty(JSON_PROPERTY_THRESHOLDS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThresholds(@jakarta.annotation.Nullable TRLinkThresholds thresholds) { + this.thresholds = thresholds; + } + + /** Return true if this TRLinkAssessTravelRuleResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkAssessTravelRuleResponse trLinkAssessTravelRuleResponse = + (TRLinkAssessTravelRuleResponse) o; + return Objects.equals(this.decision, trLinkAssessTravelRuleResponse.decision) + && Objects.equals(this.reason, trLinkAssessTravelRuleResponse.reason) + && Objects.equals( + this.requiredFields, trLinkAssessTravelRuleResponse.requiredFields) + && Objects.equals(this.missingInfo, trLinkAssessTravelRuleResponse.missingInfo) + && Objects.equals(this.thresholds, trLinkAssessTravelRuleResponse.thresholds); + } + + @Override + public int hashCode() { + return Objects.hash(decision, reason, requiredFields, missingInfo, thresholds); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkAssessTravelRuleResponse {\n"); + sb.append(" decision: ").append(toIndentedString(decision)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" requiredFields: ").append(toIndentedString(requiredFields)).append("\n"); + sb.append(" missingInfo: ").append(toIndentedString(missingInfo)).append("\n"); + sb.append(" thresholds: ").append(toIndentedString(thresholds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `decision` to the URL query string + if (getDecision() != null) { + joiner.add( + String.format( + "%sdecision%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDecision())))); + } + + // add `reason` to the URL query string + if (getReason() != null) { + joiner.add( + String.format( + "%sreason%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getReason())))); + } + + // add `requiredFields` to the URL query string + if (getRequiredFields() != null) { + for (int i = 0; i < getRequiredFields().size(); i++) { + joiner.add( + String.format( + "%srequiredFields%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode( + ApiClient.valueToString(getRequiredFields().get(i))))); + } + } + + // add `missingInfo` to the URL query string + if (getMissingInfo() != null) { + for (int i = 0; i < getMissingInfo().size(); i++) { + joiner.add( + String.format( + "%smissingInfo%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode( + ApiClient.valueToString(getMissingInfo().get(i))))); + } + } + + // add `thresholds` to the URL query string + if (getThresholds() != null) { + joiner.add(getThresholds().toUrlQueryString(prefix + "thresholds" + suffix)); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkAssessmentDecision.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAssessmentDecision.java new file mode 100644 index 00000000..c37733b9 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAssessmentDecision.java @@ -0,0 +1,66 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Decision about Travel Rule applicability */ +public enum TRLinkAssessmentDecision { + REQUIRED("REQUIRED"), + + NOT_REQUIRED("NOT_REQUIRED"), + + NEED_MORE_INFO("NEED_MORE_INFO"); + + private String value; + + TRLinkAssessmentDecision(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TRLinkAssessmentDecision fromValue(String value) { + for (TRLinkAssessmentDecision b : TRLinkAssessmentDecision.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkAsset.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAsset.java new file mode 100644 index 00000000..5178bc82 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAsset.java @@ -0,0 +1,181 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkAsset */ +@JsonPropertyOrder({TRLinkAsset.JSON_PROPERTY_FORMAT, TRLinkAsset.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkAsset { + public static final String JSON_PROPERTY_FORMAT = "format"; + @jakarta.annotation.Nonnull private TRLinkAssetFormat format; + + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nonnull private TRLinkAssetData data; + + public TRLinkAsset() {} + + @JsonCreator + public TRLinkAsset( + @JsonProperty(value = JSON_PROPERTY_FORMAT, required = true) TRLinkAssetFormat format, + @JsonProperty(value = JSON_PROPERTY_DATA, required = true) TRLinkAssetData data) { + this.format = format; + this.data = data; + } + + public TRLinkAsset format(@jakarta.annotation.Nonnull TRLinkAssetFormat format) { + this.format = format; + return this; + } + + /** + * Get format + * + * @return format + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_FORMAT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkAssetFormat getFormat() { + return format; + } + + @JsonProperty(JSON_PROPERTY_FORMAT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFormat(@jakarta.annotation.Nonnull TRLinkAssetFormat format) { + this.format = format; + } + + public TRLinkAsset data(@jakarta.annotation.Nonnull TRLinkAssetData data) { + this.data = data; + return this; + } + + /** + * Get data + * + * @return data + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkAssetData getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setData(@jakarta.annotation.Nonnull TRLinkAssetData data) { + this.data = data; + } + + /** Return true if this TRLinkAsset object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkAsset trLinkAsset = (TRLinkAsset) o; + return Objects.equals(this.format, trLinkAsset.format) + && Objects.equals(this.data, trLinkAsset.data); + } + + @Override + public int hashCode() { + return Objects.hash(format, data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkAsset {\n"); + sb.append(" format: ").append(toIndentedString(format)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `format` to the URL query string + if (getFormat() != null) { + joiner.add( + String.format( + "%sformat%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getFormat())))); + } + + // add `data` to the URL query string + if (getData() != null) { + joiner.add(getData().toUrlQueryString(prefix + "data" + suffix)); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkAssetData.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAssetData.java new file mode 100644 index 00000000..ae181fe8 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAssetData.java @@ -0,0 +1,303 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkAssetData */ +@JsonPropertyOrder({ + TRLinkAssetData.JSON_PROPERTY_TICKER, + TRLinkAssetData.JSON_PROPERTY_NETWORK, + TRLinkAssetData.JSON_PROPERTY_UCID, + TRLinkAssetData.JSON_PROPERTY_CONTRACT_ADDRESS, + TRLinkAssetData.JSON_PROPERTY_ID +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkAssetData { + public static final String JSON_PROPERTY_TICKER = "ticker"; + @jakarta.annotation.Nullable private String ticker; + + public static final String JSON_PROPERTY_NETWORK = "network"; + @jakarta.annotation.Nonnull private String network; + + public static final String JSON_PROPERTY_UCID = "ucid"; + @jakarta.annotation.Nullable private BigDecimal ucid; + + public static final String JSON_PROPERTY_CONTRACT_ADDRESS = "contractAddress"; + @jakarta.annotation.Nullable private String contractAddress; + + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nullable private String id; + + public TRLinkAssetData() {} + + @JsonCreator + public TRLinkAssetData( + @JsonProperty(value = JSON_PROPERTY_NETWORK, required = true) String network) { + this.network = network; + } + + public TRLinkAssetData ticker(@jakarta.annotation.Nullable String ticker) { + this.ticker = ticker; + return this; + } + + /** + * Asset ticker symbol (e.g., BTC, ETH, USDT) + * + * @return ticker + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TICKER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTicker() { + return ticker; + } + + @JsonProperty(JSON_PROPERTY_TICKER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTicker(@jakarta.annotation.Nullable String ticker) { + this.ticker = ticker; + } + + public TRLinkAssetData network(@jakarta.annotation.Nonnull String network) { + this.network = network; + return this; + } + + /** + * Network identifier from Fireblocks (e.g., ETH, BTC) + * + * @return network + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_NETWORK) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getNetwork() { + return network; + } + + @JsonProperty(JSON_PROPERTY_NETWORK) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setNetwork(@jakarta.annotation.Nonnull String network) { + this.network = network; + } + + public TRLinkAssetData ucid(@jakarta.annotation.Nullable BigDecimal ucid) { + this.ucid = ucid; + return this; + } + + /** + * CoinMarketCap unique coin ID + * + * @return ucid + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_UCID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public BigDecimal getUcid() { + return ucid; + } + + @JsonProperty(JSON_PROPERTY_UCID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUcid(@jakarta.annotation.Nullable BigDecimal ucid) { + this.ucid = ucid; + } + + public TRLinkAssetData contractAddress(@jakarta.annotation.Nullable String contractAddress) { + this.contractAddress = contractAddress; + return this; + } + + /** + * Contract address for tokens + * + * @return contractAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CONTRACT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getContractAddress() { + return contractAddress; + } + + @JsonProperty(JSON_PROPERTY_CONTRACT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setContractAddress(@jakarta.annotation.Nullable String contractAddress) { + this.contractAddress = contractAddress; + } + + public TRLinkAssetData id(@jakarta.annotation.Nullable String id) { + this.id = id; + return this; + } + + /** + * Fireblocks asset ID + * + * @return id + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setId(@jakarta.annotation.Nullable String id) { + this.id = id; + } + + /** Return true if this TRLinkAssetData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkAssetData trLinkAssetData = (TRLinkAssetData) o; + return Objects.equals(this.ticker, trLinkAssetData.ticker) + && Objects.equals(this.network, trLinkAssetData.network) + && Objects.equals(this.ucid, trLinkAssetData.ucid) + && Objects.equals(this.contractAddress, trLinkAssetData.contractAddress) + && Objects.equals(this.id, trLinkAssetData.id); + } + + @Override + public int hashCode() { + return Objects.hash(ticker, network, ucid, contractAddress, id); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkAssetData {\n"); + sb.append(" ticker: ").append(toIndentedString(ticker)).append("\n"); + sb.append(" network: ").append(toIndentedString(network)).append("\n"); + sb.append(" ucid: ").append(toIndentedString(ucid)).append("\n"); + sb.append(" contractAddress: ").append(toIndentedString(contractAddress)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `ticker` to the URL query string + if (getTicker() != null) { + joiner.add( + String.format( + "%sticker%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTicker())))); + } + + // add `network` to the URL query string + if (getNetwork() != null) { + joiner.add( + String.format( + "%snetwork%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNetwork())))); + } + + // add `ucid` to the URL query string + if (getUcid() != null) { + joiner.add( + String.format( + "%sucid%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getUcid())))); + } + + // add `contractAddress` to the URL query string + if (getContractAddress() != null) { + joiner.add( + String.format( + "%scontractAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getContractAddress())))); + } + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/ErrorCodes.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAssetFormat.java similarity index 61% rename from src/main/java/com/fireblocks/sdk/model/ErrorCodes.java rename to src/main/java/com/fireblocks/sdk/model/TRLinkAssetFormat.java index bee62cc3..81a190cf 100644 --- a/src/main/java/com/fireblocks/sdk/model/ErrorCodes.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAssetFormat.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -16,27 +16,17 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Gets or Sets ErrorCodes */ -public enum ErrorCodes { - INVALID_TOKEN("INVALID_TOKEN"), +/** Asset format type */ +public enum TRLinkAssetFormat { + FIREBLOCKS("fireblocks"), - MISSING_PARAMETER("MISSING_PARAMETER"), + COINMARKETCAP("coinmarketcap"), - 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"); + SLIP44("slip44"); private String value; - ErrorCodes(String value) { + TRLinkAssetFormat(String value) { this.value = value; } @@ -51,8 +41,8 @@ public String toString() { } @JsonCreator - public static ErrorCodes fromValue(String value) { - for (ErrorCodes b : ErrorCodes.values()) { + public static TRLinkAssetFormat fromValue(String value) { + for (TRLinkAssetFormat b : TRLinkAssetFormat.values()) { if (b.value.equals(value)) { return b; } diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkAssetsListPagedResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkAssetsListPagedResponse.java new file mode 100644 index 00000000..50ad83ad --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkAssetsListPagedResponse.java @@ -0,0 +1,299 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** Paginated list of supported assets with partner capability flag */ +@JsonPropertyOrder({ + TRLinkAssetsListPagedResponse.JSON_PROPERTY_DATA, + TRLinkAssetsListPagedResponse.JSON_PROPERTY_PAGING, + TRLinkAssetsListPagedResponse.JSON_PROPERTY_PARTNER_CAN_HANDLE_ANY_ASSET, + TRLinkAssetsListPagedResponse.JSON_PROPERTY_NOTE +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkAssetsListPagedResponse { + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nonnull private List data; + + public static final String JSON_PROPERTY_PAGING = "paging"; + @jakarta.annotation.Nullable private TRLinkPaging paging; + + public static final String JSON_PROPERTY_PARTNER_CAN_HANDLE_ANY_ASSET = + "partnerCanHandleAnyAsset"; + @jakarta.annotation.Nonnull private Boolean partnerCanHandleAnyAsset; + + public static final String JSON_PROPERTY_NOTE = "note"; + @jakarta.annotation.Nonnull private String note; + + public TRLinkAssetsListPagedResponse() {} + + @JsonCreator + public TRLinkAssetsListPagedResponse( + @JsonProperty(value = JSON_PROPERTY_DATA, required = true) + List data, + @JsonProperty(value = JSON_PROPERTY_PARTNER_CAN_HANDLE_ANY_ASSET, required = true) + Boolean partnerCanHandleAnyAsset, + @JsonProperty(value = JSON_PROPERTY_NOTE, required = true) String note) { + this.data = data; + this.partnerCanHandleAnyAsset = partnerCanHandleAnyAsset; + this.note = note; + } + + public TRLinkAssetsListPagedResponse data( + @jakarta.annotation.Nonnull List data) { + this.data = data; + return this; + } + + public TRLinkAssetsListPagedResponse addDataItem(TRLinkPublicAssetInfo dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * List of supported assets + * + * @return data + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setData(@jakarta.annotation.Nonnull List data) { + this.data = data; + } + + public TRLinkAssetsListPagedResponse paging(@jakarta.annotation.Nullable TRLinkPaging paging) { + this.paging = paging; + return this; + } + + /** + * Get paging + * + * @return paging + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PAGING) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkPaging getPaging() { + return paging; + } + + @JsonProperty(JSON_PROPERTY_PAGING) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPaging(@jakarta.annotation.Nullable TRLinkPaging paging) { + this.paging = paging; + } + + public TRLinkAssetsListPagedResponse partnerCanHandleAnyAsset( + @jakarta.annotation.Nonnull Boolean partnerCanHandleAnyAsset) { + this.partnerCanHandleAnyAsset = partnerCanHandleAnyAsset; + return this; + } + + /** + * Whether partner can handle any asset (not just explicitly listed ones) + * + * @return partnerCanHandleAnyAsset + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_PARTNER_CAN_HANDLE_ANY_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getPartnerCanHandleAnyAsset() { + return partnerCanHandleAnyAsset; + } + + @JsonProperty(JSON_PROPERTY_PARTNER_CAN_HANDLE_ANY_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setPartnerCanHandleAnyAsset( + @jakarta.annotation.Nonnull Boolean partnerCanHandleAnyAsset) { + this.partnerCanHandleAnyAsset = partnerCanHandleAnyAsset; + } + + public TRLinkAssetsListPagedResponse note(@jakarta.annotation.Nonnull String note) { + this.note = note; + return this; + } + + /** + * Note about asset support capabilities + * + * @return note + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_NOTE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getNote() { + return note; + } + + @JsonProperty(JSON_PROPERTY_NOTE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setNote(@jakarta.annotation.Nonnull String note) { + this.note = note; + } + + /** Return true if this TRLinkAssetsListPagedResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkAssetsListPagedResponse trLinkAssetsListPagedResponse = + (TRLinkAssetsListPagedResponse) o; + return Objects.equals(this.data, trLinkAssetsListPagedResponse.data) + && Objects.equals(this.paging, trLinkAssetsListPagedResponse.paging) + && Objects.equals( + this.partnerCanHandleAnyAsset, + trLinkAssetsListPagedResponse.partnerCanHandleAnyAsset) + && Objects.equals(this.note, trLinkAssetsListPagedResponse.note); + } + + @Override + public int hashCode() { + return Objects.hash(data, paging, partnerCanHandleAnyAsset, note); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkAssetsListPagedResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" paging: ").append(toIndentedString(paging)).append("\n"); + sb.append(" partnerCanHandleAnyAsset: ") + .append(toIndentedString(partnerCanHandleAnyAsset)) + .append("\n"); + sb.append(" note: ").append(toIndentedString(note)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `data` to the URL query string + if (getData() != null) { + for (int i = 0; i < getData().size(); i++) { + if (getData().get(i) != null) { + joiner.add( + getData() + .get(i) + .toUrlQueryString( + String.format( + "%sdata%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + // add `paging` to the URL query string + if (getPaging() != null) { + joiner.add(getPaging().toUrlQueryString(prefix + "paging" + suffix)); + } + + // add `partnerCanHandleAnyAsset` to the URL query string + if (getPartnerCanHandleAnyAsset() != null) { + joiner.add( + String.format( + "%spartnerCanHandleAnyAsset%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getPartnerCanHandleAnyAsset())))); + } + + // add `note` to the URL query string + if (getNote() != null) { + joiner.add( + String.format( + "%snote%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNote())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkCancelTrmRequest.java b/src/main/java/com/fireblocks/sdk/model/TRLinkCancelTrmRequest.java new file mode 100644 index 00000000..0292505f --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkCancelTrmRequest.java @@ -0,0 +1,180 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkCancelTrmRequest */ +@JsonPropertyOrder({ + TRLinkCancelTrmRequest.JSON_PROPERTY_REASON, + TRLinkCancelTrmRequest.JSON_PROPERTY_CANCELLED_BY +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkCancelTrmRequest { + public static final String JSON_PROPERTY_REASON = "reason"; + @jakarta.annotation.Nullable private String reason; + + public static final String JSON_PROPERTY_CANCELLED_BY = "cancelledBy"; + @jakarta.annotation.Nullable private String cancelledBy; + + public TRLinkCancelTrmRequest() {} + + public TRLinkCancelTrmRequest reason(@jakarta.annotation.Nullable String reason) { + this.reason = reason; + return this; + } + + /** + * Reason for cancellation + * + * @return reason + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_REASON) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getReason() { + return reason; + } + + @JsonProperty(JSON_PROPERTY_REASON) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReason(@jakarta.annotation.Nullable String reason) { + this.reason = reason; + } + + public TRLinkCancelTrmRequest cancelledBy(@jakarta.annotation.Nullable String cancelledBy) { + this.cancelledBy = cancelledBy; + return this; + } + + /** + * User ID who cancelled the TRM + * + * @return cancelledBy + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CANCELLED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCancelledBy() { + return cancelledBy; + } + + @JsonProperty(JSON_PROPERTY_CANCELLED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCancelledBy(@jakarta.annotation.Nullable String cancelledBy) { + this.cancelledBy = cancelledBy; + } + + /** Return true if this TRLinkCancelTrmRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkCancelTrmRequest trLinkCancelTrmRequest = (TRLinkCancelTrmRequest) o; + return Objects.equals(this.reason, trLinkCancelTrmRequest.reason) + && Objects.equals(this.cancelledBy, trLinkCancelTrmRequest.cancelledBy); + } + + @Override + public int hashCode() { + return Objects.hash(reason, cancelledBy); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkCancelTrmRequest {\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" cancelledBy: ").append(toIndentedString(cancelledBy)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `reason` to the URL query string + if (getReason() != null) { + joiner.add( + String.format( + "%sreason%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getReason())))); + } + + // add `cancelledBy` to the URL query string + if (getCancelledBy() != null) { + joiner.add( + String.format( + "%scancelledBy%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCancelledBy())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkConnectIntegrationRequest.java b/src/main/java/com/fireblocks/sdk/model/TRLinkConnectIntegrationRequest.java new file mode 100644 index 00000000..245ffeae --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkConnectIntegrationRequest.java @@ -0,0 +1,188 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkConnectIntegrationRequest */ +@JsonPropertyOrder({ + TRLinkConnectIntegrationRequest.JSON_PROPERTY_API_KEY, + TRLinkConnectIntegrationRequest.JSON_PROPERTY_SECRET +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkConnectIntegrationRequest { + public static final String JSON_PROPERTY_API_KEY = "apiKey"; + @jakarta.annotation.Nonnull private String apiKey; + + public static final String JSON_PROPERTY_SECRET = "secret"; + @jakarta.annotation.Nullable private String secret; + + public TRLinkConnectIntegrationRequest() {} + + @JsonCreator + public TRLinkConnectIntegrationRequest( + @JsonProperty(value = JSON_PROPERTY_API_KEY, required = true) String apiKey) { + this.apiKey = apiKey; + } + + public TRLinkConnectIntegrationRequest apiKey(@jakarta.annotation.Nonnull String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * API key provided by the Travel Rule partner + * + * @return apiKey + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_API_KEY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getApiKey() { + return apiKey; + } + + @JsonProperty(JSON_PROPERTY_API_KEY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setApiKey(@jakarta.annotation.Nonnull String apiKey) { + this.apiKey = apiKey; + } + + public TRLinkConnectIntegrationRequest secret(@jakarta.annotation.Nullable String secret) { + this.secret = secret; + return this; + } + + /** + * Secret/password provided by the Travel Rule partner (optional) + * + * @return secret + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SECRET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSecret() { + return secret; + } + + @JsonProperty(JSON_PROPERTY_SECRET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSecret(@jakarta.annotation.Nullable String secret) { + this.secret = secret; + } + + /** Return true if this TRLinkConnectIntegrationRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkConnectIntegrationRequest trLinkConnectIntegrationRequest = + (TRLinkConnectIntegrationRequest) o; + return Objects.equals(this.apiKey, trLinkConnectIntegrationRequest.apiKey) + && Objects.equals(this.secret, trLinkConnectIntegrationRequest.secret); + } + + @Override + public int hashCode() { + return Objects.hash(apiKey, secret); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkConnectIntegrationRequest {\n"); + sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n"); + sb.append(" secret: ").append(toIndentedString(secret)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `apiKey` to the URL query string + if (getApiKey() != null) { + joiner.add( + String.format( + "%sapiKey%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getApiKey())))); + } + + // add `secret` to the URL query string + if (getSecret() != null) { + joiner.add( + String.format( + "%ssecret%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSecret())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkCreateCustomerRequest.java b/src/main/java/com/fireblocks/sdk/model/TRLinkCreateCustomerRequest.java new file mode 100644 index 00000000..5c41cc51 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkCreateCustomerRequest.java @@ -0,0 +1,511 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.time.LocalDate; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkCreateCustomerRequest */ +@JsonPropertyOrder({ + TRLinkCreateCustomerRequest.JSON_PROPERTY_DISCOVERABLE, + TRLinkCreateCustomerRequest.JSON_PROPERTY_SHORT_NAME, + TRLinkCreateCustomerRequest.JSON_PROPERTY_FULL_LEGAL_NAME, + TRLinkCreateCustomerRequest.JSON_PROPERTY_GEOGRAPHIC_ADDRESS, + TRLinkCreateCustomerRequest.JSON_PROPERTY_COUNTRY_OF_REGISTRATION, + TRLinkCreateCustomerRequest.JSON_PROPERTY_NATIONAL_IDENTIFICATION, + TRLinkCreateCustomerRequest.JSON_PROPERTY_DATE_OF_INCORPORATION, + TRLinkCreateCustomerRequest.JSON_PROPERTY_VAULTS, + TRLinkCreateCustomerRequest.JSON_PROPERTY_TR_PRIMARY_PURPOSE +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkCreateCustomerRequest { + public static final String JSON_PROPERTY_DISCOVERABLE = "discoverable"; + @jakarta.annotation.Nullable private TRLinkDiscoverableStatus discoverable; + + public static final String JSON_PROPERTY_SHORT_NAME = "shortName"; + @jakarta.annotation.Nonnull private String shortName; + + public static final String JSON_PROPERTY_FULL_LEGAL_NAME = "fullLegalName"; + @jakarta.annotation.Nullable private String fullLegalName; + + public static final String JSON_PROPERTY_GEOGRAPHIC_ADDRESS = "geographicAddress"; + @jakarta.annotation.Nullable private TRLinkGeographicAddressRequest geographicAddress; + + public static final String JSON_PROPERTY_COUNTRY_OF_REGISTRATION = "countryOfRegistration"; + @jakarta.annotation.Nullable private String countryOfRegistration; + + public static final String JSON_PROPERTY_NATIONAL_IDENTIFICATION = "nationalIdentification"; + @jakarta.annotation.Nullable private String nationalIdentification; + + public static final String JSON_PROPERTY_DATE_OF_INCORPORATION = "dateOfIncorporation"; + @jakarta.annotation.Nullable private LocalDate dateOfIncorporation; + + public static final String JSON_PROPERTY_VAULTS = "vaults"; + @jakarta.annotation.Nullable private List vaults; + + public static final String JSON_PROPERTY_TR_PRIMARY_PURPOSE = "trPrimaryPurpose"; + @jakarta.annotation.Nullable private String trPrimaryPurpose; + + public TRLinkCreateCustomerRequest() {} + + @JsonCreator + public TRLinkCreateCustomerRequest( + @JsonProperty(value = JSON_PROPERTY_SHORT_NAME, required = true) String shortName) { + this.shortName = shortName; + } + + public TRLinkCreateCustomerRequest discoverable( + @jakarta.annotation.Nullable TRLinkDiscoverableStatus discoverable) { + this.discoverable = discoverable; + return this; + } + + /** + * Get discoverable + * + * @return discoverable + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkDiscoverableStatus getDiscoverable() { + return discoverable; + } + + @JsonProperty(JSON_PROPERTY_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDiscoverable( + @jakarta.annotation.Nullable TRLinkDiscoverableStatus discoverable) { + this.discoverable = discoverable; + } + + public TRLinkCreateCustomerRequest shortName(@jakarta.annotation.Nonnull String shortName) { + this.shortName = shortName; + return this; + } + + /** + * Short display name (required) + * + * @return shortName + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_SHORT_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getShortName() { + return shortName; + } + + @JsonProperty(JSON_PROPERTY_SHORT_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setShortName(@jakarta.annotation.Nonnull String shortName) { + this.shortName = shortName; + } + + public TRLinkCreateCustomerRequest fullLegalName( + @jakarta.annotation.Nullable String fullLegalName) { + this.fullLegalName = fullLegalName; + return this; + } + + /** + * Full legal entity name + * + * @return fullLegalName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FULL_LEGAL_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getFullLegalName() { + return fullLegalName; + } + + @JsonProperty(JSON_PROPERTY_FULL_LEGAL_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFullLegalName(@jakarta.annotation.Nullable String fullLegalName) { + this.fullLegalName = fullLegalName; + } + + public TRLinkCreateCustomerRequest geographicAddress( + @jakarta.annotation.Nullable TRLinkGeographicAddressRequest geographicAddress) { + this.geographicAddress = geographicAddress; + return this; + } + + /** + * Get geographicAddress + * + * @return geographicAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkGeographicAddressRequest getGeographicAddress() { + return geographicAddress; + } + + @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setGeographicAddress( + @jakarta.annotation.Nullable TRLinkGeographicAddressRequest geographicAddress) { + this.geographicAddress = geographicAddress; + } + + public TRLinkCreateCustomerRequest countryOfRegistration( + @jakarta.annotation.Nullable String countryOfRegistration) { + this.countryOfRegistration = countryOfRegistration; + return this; + } + + /** + * ISO 3166-1 alpha-2 country code where the entity is registered + * + * @return countryOfRegistration + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COUNTRY_OF_REGISTRATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCountryOfRegistration() { + return countryOfRegistration; + } + + @JsonProperty(JSON_PROPERTY_COUNTRY_OF_REGISTRATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCountryOfRegistration( + @jakarta.annotation.Nullable String countryOfRegistration) { + this.countryOfRegistration = countryOfRegistration; + } + + public TRLinkCreateCustomerRequest nationalIdentification( + @jakarta.annotation.Nullable String nationalIdentification) { + this.nationalIdentification = nationalIdentification; + return this; + } + + /** + * National identification as JSON string + * + * @return nationalIdentification + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NATIONAL_IDENTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNationalIdentification() { + return nationalIdentification; + } + + @JsonProperty(JSON_PROPERTY_NATIONAL_IDENTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNationalIdentification( + @jakarta.annotation.Nullable String nationalIdentification) { + this.nationalIdentification = nationalIdentification; + } + + public TRLinkCreateCustomerRequest dateOfIncorporation( + @jakarta.annotation.Nullable LocalDate dateOfIncorporation) { + this.dateOfIncorporation = dateOfIncorporation; + return this; + } + + /** + * Date of entity incorporation (ISO 8601 format: YYYY-MM-DD) + * + * @return dateOfIncorporation + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public LocalDate getDateOfIncorporation() { + return dateOfIncorporation; + } + + @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDateOfIncorporation(@jakarta.annotation.Nullable LocalDate dateOfIncorporation) { + this.dateOfIncorporation = dateOfIncorporation; + } + + public TRLinkCreateCustomerRequest vaults(@jakarta.annotation.Nullable List vaults) { + this.vaults = vaults; + return this; + } + + public TRLinkCreateCustomerRequest addVaultsItem(Integer vaultsItem) { + if (this.vaults == null) { + this.vaults = new ArrayList<>(); + } + this.vaults.add(vaultsItem); + return this; + } + + /** + * Associated Fireblocks vault account IDs + * + * @return vaults + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VAULTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getVaults() { + return vaults; + } + + @JsonProperty(JSON_PROPERTY_VAULTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVaults(@jakarta.annotation.Nullable List vaults) { + this.vaults = vaults; + } + + public TRLinkCreateCustomerRequest trPrimaryPurpose( + @jakarta.annotation.Nullable String trPrimaryPurpose) { + this.trPrimaryPurpose = trPrimaryPurpose; + return this; + } + + /** + * Primary purpose for Travel Rule compliance (enum value) + * + * @return trPrimaryPurpose + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TR_PRIMARY_PURPOSE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTrPrimaryPurpose() { + return trPrimaryPurpose; + } + + @JsonProperty(JSON_PROPERTY_TR_PRIMARY_PURPOSE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTrPrimaryPurpose(@jakarta.annotation.Nullable String trPrimaryPurpose) { + this.trPrimaryPurpose = trPrimaryPurpose; + } + + /** Return true if this TRLinkCreateCustomerRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkCreateCustomerRequest trLinkCreateCustomerRequest = (TRLinkCreateCustomerRequest) o; + return Objects.equals(this.discoverable, trLinkCreateCustomerRequest.discoverable) + && Objects.equals(this.shortName, trLinkCreateCustomerRequest.shortName) + && Objects.equals(this.fullLegalName, trLinkCreateCustomerRequest.fullLegalName) + && Objects.equals( + this.geographicAddress, trLinkCreateCustomerRequest.geographicAddress) + && Objects.equals( + this.countryOfRegistration, + trLinkCreateCustomerRequest.countryOfRegistration) + && Objects.equals( + this.nationalIdentification, + trLinkCreateCustomerRequest.nationalIdentification) + && Objects.equals( + this.dateOfIncorporation, trLinkCreateCustomerRequest.dateOfIncorporation) + && Objects.equals(this.vaults, trLinkCreateCustomerRequest.vaults) + && Objects.equals( + this.trPrimaryPurpose, trLinkCreateCustomerRequest.trPrimaryPurpose); + } + + @Override + public int hashCode() { + return Objects.hash( + discoverable, + shortName, + fullLegalName, + geographicAddress, + countryOfRegistration, + nationalIdentification, + dateOfIncorporation, + vaults, + trPrimaryPurpose); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkCreateCustomerRequest {\n"); + sb.append(" discoverable: ").append(toIndentedString(discoverable)).append("\n"); + sb.append(" shortName: ").append(toIndentedString(shortName)).append("\n"); + sb.append(" fullLegalName: ").append(toIndentedString(fullLegalName)).append("\n"); + sb.append(" geographicAddress: ") + .append(toIndentedString(geographicAddress)) + .append("\n"); + sb.append(" countryOfRegistration: ") + .append(toIndentedString(countryOfRegistration)) + .append("\n"); + sb.append(" nationalIdentification: ") + .append(toIndentedString(nationalIdentification)) + .append("\n"); + sb.append(" dateOfIncorporation: ") + .append(toIndentedString(dateOfIncorporation)) + .append("\n"); + sb.append(" vaults: ").append(toIndentedString(vaults)).append("\n"); + sb.append(" trPrimaryPurpose: ").append(toIndentedString(trPrimaryPurpose)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `discoverable` to the URL query string + if (getDiscoverable() != null) { + joiner.add( + String.format( + "%sdiscoverable%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDiscoverable())))); + } + + // add `shortName` to the URL query string + if (getShortName() != null) { + joiner.add( + String.format( + "%sshortName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getShortName())))); + } + + // add `fullLegalName` to the URL query string + if (getFullLegalName() != null) { + joiner.add( + String.format( + "%sfullLegalName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getFullLegalName())))); + } + + // add `geographicAddress` to the URL query string + if (getGeographicAddress() != null) { + joiner.add( + getGeographicAddress().toUrlQueryString(prefix + "geographicAddress" + suffix)); + } + + // add `countryOfRegistration` to the URL query string + if (getCountryOfRegistration() != null) { + joiner.add( + String.format( + "%scountryOfRegistration%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getCountryOfRegistration())))); + } + + // add `nationalIdentification` to the URL query string + if (getNationalIdentification() != null) { + joiner.add( + String.format( + "%snationalIdentification%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getNationalIdentification())))); + } + + // add `dateOfIncorporation` to the URL query string + if (getDateOfIncorporation() != null) { + joiner.add( + String.format( + "%sdateOfIncorporation%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getDateOfIncorporation())))); + } + + // add `vaults` to the URL query string + if (getVaults() != null) { + for (int i = 0; i < getVaults().size(); i++) { + joiner.add( + String.format( + "%svaults%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode(ApiClient.valueToString(getVaults().get(i))))); + } + } + + // add `trPrimaryPurpose` to the URL query string + if (getTrPrimaryPurpose() != null) { + joiner.add( + String.format( + "%strPrimaryPurpose%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTrPrimaryPurpose())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkCreateIntegrationRequest.java b/src/main/java/com/fireblocks/sdk/model/TRLinkCreateIntegrationRequest.java new file mode 100644 index 00000000..c64cfe6a --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkCreateIntegrationRequest.java @@ -0,0 +1,193 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; +import java.util.UUID; + +/** TRLinkCreateIntegrationRequest */ +@JsonPropertyOrder({ + TRLinkCreateIntegrationRequest.JSON_PROPERTY_CUSTOMER_ID, + TRLinkCreateIntegrationRequest.JSON_PROPERTY_PARTNER_IDENT +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkCreateIntegrationRequest { + public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId"; + @jakarta.annotation.Nonnull private UUID customerId; + + public static final String JSON_PROPERTY_PARTNER_IDENT = "partnerIdent"; + @jakarta.annotation.Nonnull private String partnerIdent; + + public TRLinkCreateIntegrationRequest() {} + + @JsonCreator + public TRLinkCreateIntegrationRequest( + @JsonProperty(value = JSON_PROPERTY_CUSTOMER_ID, required = true) UUID customerId, + @JsonProperty(value = JSON_PROPERTY_PARTNER_IDENT, required = true) + String partnerIdent) { + this.customerId = customerId; + this.partnerIdent = partnerIdent; + } + + public TRLinkCreateIntegrationRequest customerId(@jakarta.annotation.Nonnull UUID customerId) { + this.customerId = customerId; + return this; + } + + /** + * Customer unique identifier + * + * @return customerId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CUSTOMER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getCustomerId() { + return customerId; + } + + @JsonProperty(JSON_PROPERTY_CUSTOMER_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCustomerId(@jakarta.annotation.Nonnull UUID customerId) { + this.customerId = customerId; + } + + public TRLinkCreateIntegrationRequest partnerIdent( + @jakarta.annotation.Nonnull String partnerIdent) { + this.partnerIdent = partnerIdent; + return this; + } + + /** + * Partner identification code (e.g., \"sumsub\", \"notabene\") + * + * @return partnerIdent + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_PARTNER_IDENT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getPartnerIdent() { + return partnerIdent; + } + + @JsonProperty(JSON_PROPERTY_PARTNER_IDENT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setPartnerIdent(@jakarta.annotation.Nonnull String partnerIdent) { + this.partnerIdent = partnerIdent; + } + + /** Return true if this TRLinkCreateIntegrationRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkCreateIntegrationRequest trLinkCreateIntegrationRequest = + (TRLinkCreateIntegrationRequest) o; + return Objects.equals(this.customerId, trLinkCreateIntegrationRequest.customerId) + && Objects.equals(this.partnerIdent, trLinkCreateIntegrationRequest.partnerIdent); + } + + @Override + public int hashCode() { + return Objects.hash(customerId, partnerIdent); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkCreateIntegrationRequest {\n"); + sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + sb.append(" partnerIdent: ").append(toIndentedString(partnerIdent)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `customerId` to the URL query string + if (getCustomerId() != null) { + joiner.add( + String.format( + "%scustomerId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCustomerId())))); + } + + // add `partnerIdent` to the URL query string + if (getPartnerIdent() != null) { + joiner.add( + String.format( + "%spartnerIdent%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPartnerIdent())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkCreateTrmRequest.java b/src/main/java/com/fireblocks/sdk/model/TRLinkCreateTrmRequest.java new file mode 100644 index 00000000..41c0ca21 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkCreateTrmRequest.java @@ -0,0 +1,663 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; +import java.util.UUID; + +/** Request to create a Travel Rule Message with IVMS101 PII data */ +@JsonPropertyOrder({ + TRLinkCreateTrmRequest.JSON_PROPERTY_ASSET_ID, + TRLinkCreateTrmRequest.JSON_PROPERTY_AMOUNT, + TRLinkCreateTrmRequest.JSON_PROPERTY_AMOUNT_U_S_D, + TRLinkCreateTrmRequest.JSON_PROPERTY_SOURCE, + TRLinkCreateTrmRequest.JSON_PROPERTY_SRC_ADDRESS, + TRLinkCreateTrmRequest.JSON_PROPERTY_DESTINATION, + TRLinkCreateTrmRequest.JSON_PROPERTY_DEST_ADDRESS, + TRLinkCreateTrmRequest.JSON_PROPERTY_DEST_TAG, + TRLinkCreateTrmRequest.JSON_PROPERTY_TX_ID, + TRLinkCreateTrmRequest.JSON_PROPERTY_TX_HASH, + TRLinkCreateTrmRequest.JSON_PROPERTY_DIRECTION, + TRLinkCreateTrmRequest.JSON_PROPERTY_ORIGINATOR_VASP_ID, + TRLinkCreateTrmRequest.JSON_PROPERTY_BENEFICIARY_VASP_ID, + TRLinkCreateTrmRequest.JSON_PROPERTY_IVMS101 +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkCreateTrmRequest { + public static final String JSON_PROPERTY_ASSET_ID = "assetId"; + @jakarta.annotation.Nullable private String assetId; + + public static final String JSON_PROPERTY_AMOUNT = "amount"; + @jakarta.annotation.Nullable private String amount; + + public static final String JSON_PROPERTY_AMOUNT_U_S_D = "amountUSD"; + @jakarta.annotation.Nullable private String amountUSD; + + public static final String JSON_PROPERTY_SOURCE = "source"; + @jakarta.annotation.Nullable private TRLinkSourceTransferPeerPath source; + + public static final String JSON_PROPERTY_SRC_ADDRESS = "srcAddress"; + @jakarta.annotation.Nullable private String srcAddress; + + public static final String JSON_PROPERTY_DESTINATION = "destination"; + @jakarta.annotation.Nullable private TRLinkDestinationTransferPeerPath destination; + + public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress"; + @jakarta.annotation.Nullable private String destAddress; + + public static final String JSON_PROPERTY_DEST_TAG = "destTag"; + @jakarta.annotation.Nullable private String destTag; + + public static final String JSON_PROPERTY_TX_ID = "txId"; + @jakarta.annotation.Nullable private UUID txId; + + public static final String JSON_PROPERTY_TX_HASH = "txHash"; + @jakarta.annotation.Nullable private String txHash; + + public static final String JSON_PROPERTY_DIRECTION = "direction"; + @jakarta.annotation.Nullable private TRLinkTransactionDirection direction; + + public static final String JSON_PROPERTY_ORIGINATOR_VASP_ID = "originatorVaspId"; + @jakarta.annotation.Nullable private String originatorVaspId; + + public static final String JSON_PROPERTY_BENEFICIARY_VASP_ID = "beneficiaryVaspId"; + @jakarta.annotation.Nullable private String beneficiaryVaspId; + + public static final String JSON_PROPERTY_IVMS101 = "ivms101"; + @jakarta.annotation.Nonnull private TRLinkIvms ivms101; + + public TRLinkCreateTrmRequest() {} + + @JsonCreator + public TRLinkCreateTrmRequest( + @JsonProperty(value = JSON_PROPERTY_IVMS101, required = true) TRLinkIvms ivms101) { + this.ivms101 = ivms101; + } + + public TRLinkCreateTrmRequest assetId(@jakarta.annotation.Nullable String assetId) { + this.assetId = assetId; + return this; + } + + /** + * Asset identifier (required when txId not provided) + * + * @return assetId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAssetId() { + return assetId; + } + + @JsonProperty(JSON_PROPERTY_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAssetId(@jakarta.annotation.Nullable String assetId) { + this.assetId = assetId; + } + + public TRLinkCreateTrmRequest amount(@jakarta.annotation.Nullable String amount) { + this.amount = amount; + return this; + } + + /** + * Transaction amount (required when txId not provided) + * + * @return amount + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAmount() { + return amount; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAmount(@jakarta.annotation.Nullable String amount) { + this.amount = amount; + } + + public TRLinkCreateTrmRequest amountUSD(@jakarta.annotation.Nullable String amountUSD) { + this.amountUSD = amountUSD; + return this; + } + + /** + * Amount in USD (optional) + * + * @return amountUSD + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAmountUSD() { + return amountUSD; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT_U_S_D) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAmountUSD(@jakarta.annotation.Nullable String amountUSD) { + this.amountUSD = amountUSD; + } + + public TRLinkCreateTrmRequest source( + @jakarta.annotation.Nullable TRLinkSourceTransferPeerPath source) { + this.source = source; + return this; + } + + /** + * Get source + * + * @return source + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkSourceTransferPeerPath getSource() { + return source; + } + + @JsonProperty(JSON_PROPERTY_SOURCE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSource(@jakarta.annotation.Nullable TRLinkSourceTransferPeerPath source) { + this.source = source; + } + + public TRLinkCreateTrmRequest srcAddress(@jakarta.annotation.Nullable String srcAddress) { + this.srcAddress = srcAddress; + return this; + } + + /** + * Source address (optional) + * + * @return srcAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SRC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSrcAddress() { + return srcAddress; + } + + @JsonProperty(JSON_PROPERTY_SRC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSrcAddress(@jakarta.annotation.Nullable String srcAddress) { + this.srcAddress = srcAddress; + } + + public TRLinkCreateTrmRequest destination( + @jakarta.annotation.Nullable TRLinkDestinationTransferPeerPath destination) { + this.destination = destination; + return this; + } + + /** + * Get destination + * + * @return destination + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESTINATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkDestinationTransferPeerPath getDestination() { + return destination; + } + + @JsonProperty(JSON_PROPERTY_DESTINATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestination( + @jakarta.annotation.Nullable TRLinkDestinationTransferPeerPath destination) { + this.destination = destination; + } + + public TRLinkCreateTrmRequest destAddress(@jakarta.annotation.Nullable String destAddress) { + this.destAddress = destAddress; + return this; + } + + /** + * Destination address (optional) + * + * @return destAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestAddress() { + return destAddress; + } + + @JsonProperty(JSON_PROPERTY_DEST_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestAddress(@jakarta.annotation.Nullable String destAddress) { + this.destAddress = destAddress; + } + + public TRLinkCreateTrmRequest destTag(@jakarta.annotation.Nullable String destTag) { + this.destTag = destTag; + return this; + } + + /** + * Destination tag (optional) + * + * @return destTag + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_TAG) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestTag() { + return destTag; + } + + @JsonProperty(JSON_PROPERTY_DEST_TAG) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestTag(@jakarta.annotation.Nullable String destTag) { + this.destTag = destTag; + } + + public TRLinkCreateTrmRequest txId(@jakarta.annotation.Nullable UUID txId) { + this.txId = txId; + return this; + } + + /** + * Fireblocks transaction ID (optional) - RECOMMENDED for inbound transactions + * + * @return txId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TX_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public UUID getTxId() { + return txId; + } + + @JsonProperty(JSON_PROPERTY_TX_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTxId(@jakarta.annotation.Nullable UUID txId) { + this.txId = txId; + } + + public TRLinkCreateTrmRequest txHash(@jakarta.annotation.Nullable String txHash) { + this.txHash = txHash; + return this; + } + + /** + * Transaction hash (optional) + * + * @return txHash + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TX_HASH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTxHash() { + return txHash; + } + + @JsonProperty(JSON_PROPERTY_TX_HASH) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTxHash(@jakarta.annotation.Nullable String txHash) { + this.txHash = txHash; + } + + public TRLinkCreateTrmRequest direction( + @jakarta.annotation.Nullable TRLinkTransactionDirection direction) { + this.direction = direction; + return this; + } + + /** + * Get direction + * + * @return direction + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkTransactionDirection getDirection() { + return direction; + } + + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDirection(@jakarta.annotation.Nullable TRLinkTransactionDirection direction) { + this.direction = direction; + } + + public TRLinkCreateTrmRequest originatorVaspId( + @jakarta.annotation.Nullable String originatorVaspId) { + this.originatorVaspId = originatorVaspId; + return this; + } + + /** + * Originator VASP identifier - required for inbound transactions + * + * @return originatorVaspId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ORIGINATOR_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getOriginatorVaspId() { + return originatorVaspId; + } + + @JsonProperty(JSON_PROPERTY_ORIGINATOR_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOriginatorVaspId(@jakarta.annotation.Nullable String originatorVaspId) { + this.originatorVaspId = originatorVaspId; + } + + public TRLinkCreateTrmRequest beneficiaryVaspId( + @jakarta.annotation.Nullable String beneficiaryVaspId) { + this.beneficiaryVaspId = beneficiaryVaspId; + return this; + } + + /** + * Beneficiary VASP identifier - required for outbound transactions + * + * @return beneficiaryVaspId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BENEFICIARY_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBeneficiaryVaspId() { + return beneficiaryVaspId; + } + + @JsonProperty(JSON_PROPERTY_BENEFICIARY_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBeneficiaryVaspId(@jakarta.annotation.Nullable String beneficiaryVaspId) { + this.beneficiaryVaspId = beneficiaryVaspId; + } + + public TRLinkCreateTrmRequest ivms101(@jakarta.annotation.Nonnull TRLinkIvms ivms101) { + this.ivms101 = ivms101; + return this; + } + + /** + * Get ivms101 + * + * @return ivms101 + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_IVMS101) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkIvms getIvms101() { + return ivms101; + } + + @JsonProperty(JSON_PROPERTY_IVMS101) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIvms101(@jakarta.annotation.Nonnull TRLinkIvms ivms101) { + this.ivms101 = ivms101; + } + + /** Return true if this TRLinkCreateTrmRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkCreateTrmRequest trLinkCreateTrmRequest = (TRLinkCreateTrmRequest) o; + return Objects.equals(this.assetId, trLinkCreateTrmRequest.assetId) + && Objects.equals(this.amount, trLinkCreateTrmRequest.amount) + && Objects.equals(this.amountUSD, trLinkCreateTrmRequest.amountUSD) + && Objects.equals(this.source, trLinkCreateTrmRequest.source) + && Objects.equals(this.srcAddress, trLinkCreateTrmRequest.srcAddress) + && Objects.equals(this.destination, trLinkCreateTrmRequest.destination) + && Objects.equals(this.destAddress, trLinkCreateTrmRequest.destAddress) + && Objects.equals(this.destTag, trLinkCreateTrmRequest.destTag) + && Objects.equals(this.txId, trLinkCreateTrmRequest.txId) + && Objects.equals(this.txHash, trLinkCreateTrmRequest.txHash) + && Objects.equals(this.direction, trLinkCreateTrmRequest.direction) + && Objects.equals(this.originatorVaspId, trLinkCreateTrmRequest.originatorVaspId) + && Objects.equals(this.beneficiaryVaspId, trLinkCreateTrmRequest.beneficiaryVaspId) + && Objects.equals(this.ivms101, trLinkCreateTrmRequest.ivms101); + } + + @Override + public int hashCode() { + return Objects.hash( + assetId, + amount, + amountUSD, + source, + srcAddress, + destination, + destAddress, + destTag, + txId, + txHash, + direction, + originatorVaspId, + beneficiaryVaspId, + ivms101); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkCreateTrmRequest {\n"); + sb.append(" assetId: ").append(toIndentedString(assetId)).append("\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" amountUSD: ").append(toIndentedString(amountUSD)).append("\n"); + sb.append(" source: ").append(toIndentedString(source)).append("\n"); + sb.append(" srcAddress: ").append(toIndentedString(srcAddress)).append("\n"); + sb.append(" destination: ").append(toIndentedString(destination)).append("\n"); + sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n"); + sb.append(" destTag: ").append(toIndentedString(destTag)).append("\n"); + sb.append(" txId: ").append(toIndentedString(txId)).append("\n"); + sb.append(" txHash: ").append(toIndentedString(txHash)).append("\n"); + sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); + sb.append(" originatorVaspId: ").append(toIndentedString(originatorVaspId)).append("\n"); + sb.append(" beneficiaryVaspId: ") + .append(toIndentedString(beneficiaryVaspId)) + .append("\n"); + sb.append(" ivms101: ").append(toIndentedString(ivms101)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `assetId` to the URL query string + if (getAssetId() != null) { + joiner.add( + String.format( + "%sassetId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAssetId())))); + } + + // add `amount` to the URL query string + if (getAmount() != null) { + joiner.add( + String.format( + "%samount%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAmount())))); + } + + // add `amountUSD` to the URL query string + if (getAmountUSD() != null) { + joiner.add( + String.format( + "%samountUSD%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAmountUSD())))); + } + + // add `source` to the URL query string + if (getSource() != null) { + joiner.add(getSource().toUrlQueryString(prefix + "source" + suffix)); + } + + // add `srcAddress` to the URL query string + if (getSrcAddress() != null) { + joiner.add( + String.format( + "%ssrcAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSrcAddress())))); + } + + // add `destination` to the URL query string + if (getDestination() != null) { + joiner.add(getDestination().toUrlQueryString(prefix + "destination" + suffix)); + } + + // add `destAddress` to the URL query string + if (getDestAddress() != null) { + joiner.add( + String.format( + "%sdestAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestAddress())))); + } + + // add `destTag` to the URL query string + if (getDestTag() != null) { + joiner.add( + String.format( + "%sdestTag%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestTag())))); + } + + // add `txId` to the URL query string + if (getTxId() != null) { + joiner.add( + String.format( + "%stxId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTxId())))); + } + + // add `txHash` to the URL query string + if (getTxHash() != null) { + joiner.add( + String.format( + "%stxHash%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTxHash())))); + } + + // add `direction` to the URL query string + if (getDirection() != null) { + joiner.add( + String.format( + "%sdirection%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDirection())))); + } + + // add `originatorVaspId` to the URL query string + if (getOriginatorVaspId() != null) { + joiner.add( + String.format( + "%soriginatorVaspId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getOriginatorVaspId())))); + } + + // add `beneficiaryVaspId` to the URL query string + if (getBeneficiaryVaspId() != null) { + joiner.add( + String.format( + "%sbeneficiaryVaspId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBeneficiaryVaspId())))); + } + + // add `ivms101` to the URL query string + if (getIvms101() != null) { + joiner.add(getIvms101().toUrlQueryString(prefix + "ivms101" + suffix)); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkCurrency.java b/src/main/java/com/fireblocks/sdk/model/TRLinkCurrency.java new file mode 100644 index 00000000..3222c143 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkCurrency.java @@ -0,0 +1,64 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets TRLinkCurrency */ +public enum TRLinkCurrency { + USD("USD"), + + NATIVE("NATIVE"); + + private String value; + + TRLinkCurrency(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TRLinkCurrency fromValue(String value) { + for (TRLinkCurrency b : TRLinkCurrency.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkCustomerIntegrationResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkCustomerIntegrationResponse.java new file mode 100644 index 00000000..ab13b8a2 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkCustomerIntegrationResponse.java @@ -0,0 +1,399 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.StringJoiner; +import java.util.UUID; + +/** TRLinkCustomerIntegrationResponse */ +@JsonPropertyOrder({ + TRLinkCustomerIntegrationResponse.JSON_PROPERTY_CUSTOMER_INTEGRATION_ID, + TRLinkCustomerIntegrationResponse.JSON_PROPERTY_API_KEY, + TRLinkCustomerIntegrationResponse.JSON_PROPERTY_SECRET, + TRLinkCustomerIntegrationResponse.JSON_PROPERTY_CREATE_DATE, + TRLinkCustomerIntegrationResponse.JSON_PROPERTY_LAST_UPDATE, + TRLinkCustomerIntegrationResponse.JSON_PROPERTY_PARTNER, + TRLinkCustomerIntegrationResponse.JSON_PROPERTY_CUSTOMER +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkCustomerIntegrationResponse { + public static final String JSON_PROPERTY_CUSTOMER_INTEGRATION_ID = "customerIntegrationId"; + @jakarta.annotation.Nonnull private UUID customerIntegrationId; + + public static final String JSON_PROPERTY_API_KEY = "apiKey"; + @jakarta.annotation.Nullable private String apiKey; + + public static final String JSON_PROPERTY_SECRET = "secret"; + @jakarta.annotation.Nullable private String secret; + + public static final String JSON_PROPERTY_CREATE_DATE = "createDate"; + @jakarta.annotation.Nonnull private OffsetDateTime createDate; + + public static final String JSON_PROPERTY_LAST_UPDATE = "lastUpdate"; + @jakarta.annotation.Nonnull private OffsetDateTime lastUpdate; + + public static final String JSON_PROPERTY_PARTNER = "partner"; + @jakarta.annotation.Nonnull private TRLinkPartnerResponse partner; + + public static final String JSON_PROPERTY_CUSTOMER = "customer"; + @jakarta.annotation.Nonnull private TRLinkCustomerResponse customer; + + public TRLinkCustomerIntegrationResponse() {} + + @JsonCreator + public TRLinkCustomerIntegrationResponse( + @JsonProperty(value = JSON_PROPERTY_CUSTOMER_INTEGRATION_ID, required = true) + UUID customerIntegrationId, + @JsonProperty(value = JSON_PROPERTY_CREATE_DATE, required = true) + OffsetDateTime createDate, + @JsonProperty(value = JSON_PROPERTY_LAST_UPDATE, required = true) + OffsetDateTime lastUpdate, + @JsonProperty(value = JSON_PROPERTY_PARTNER, required = true) + TRLinkPartnerResponse partner, + @JsonProperty(value = JSON_PROPERTY_CUSTOMER, required = true) + TRLinkCustomerResponse customer) { + this.customerIntegrationId = customerIntegrationId; + this.createDate = createDate; + this.lastUpdate = lastUpdate; + this.partner = partner; + this.customer = customer; + } + + public TRLinkCustomerIntegrationResponse customerIntegrationId( + @jakarta.annotation.Nonnull UUID customerIntegrationId) { + this.customerIntegrationId = customerIntegrationId; + return this; + } + + /** + * Customer integration unique identifier + * + * @return customerIntegrationId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CUSTOMER_INTEGRATION_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getCustomerIntegrationId() { + return customerIntegrationId; + } + + @JsonProperty(JSON_PROPERTY_CUSTOMER_INTEGRATION_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCustomerIntegrationId(@jakarta.annotation.Nonnull UUID customerIntegrationId) { + this.customerIntegrationId = customerIntegrationId; + } + + public TRLinkCustomerIntegrationResponse apiKey(@jakarta.annotation.Nullable String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * API key for partner integration (censored for security) + * + * @return apiKey + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_API_KEY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getApiKey() { + return apiKey; + } + + @JsonProperty(JSON_PROPERTY_API_KEY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setApiKey(@jakarta.annotation.Nullable String apiKey) { + this.apiKey = apiKey; + } + + public TRLinkCustomerIntegrationResponse secret(@jakarta.annotation.Nullable String secret) { + this.secret = secret; + return this; + } + + /** + * Secret for partner integration (censored for security) + * + * @return secret + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SECRET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSecret() { + return secret; + } + + @JsonProperty(JSON_PROPERTY_SECRET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSecret(@jakarta.annotation.Nullable String secret) { + this.secret = secret; + } + + public TRLinkCustomerIntegrationResponse createDate( + @jakarta.annotation.Nonnull OffsetDateTime createDate) { + this.createDate = createDate; + return this; + } + + /** + * Timestamp when the integration was created (ISO 8601 format) + * + * @return createDate + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CREATE_DATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getCreateDate() { + return createDate; + } + + @JsonProperty(JSON_PROPERTY_CREATE_DATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCreateDate(@jakarta.annotation.Nonnull OffsetDateTime createDate) { + this.createDate = createDate; + } + + public TRLinkCustomerIntegrationResponse lastUpdate( + @jakarta.annotation.Nonnull OffsetDateTime lastUpdate) { + this.lastUpdate = lastUpdate; + return this; + } + + /** + * Timestamp when the integration was last updated (ISO 8601 format) + * + * @return lastUpdate + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_LAST_UPDATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getLastUpdate() { + return lastUpdate; + } + + @JsonProperty(JSON_PROPERTY_LAST_UPDATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setLastUpdate(@jakarta.annotation.Nonnull OffsetDateTime lastUpdate) { + this.lastUpdate = lastUpdate; + } + + public TRLinkCustomerIntegrationResponse partner( + @jakarta.annotation.Nonnull TRLinkPartnerResponse partner) { + this.partner = partner; + return this; + } + + /** + * Get partner + * + * @return partner + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_PARTNER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkPartnerResponse getPartner() { + return partner; + } + + @JsonProperty(JSON_PROPERTY_PARTNER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setPartner(@jakarta.annotation.Nonnull TRLinkPartnerResponse partner) { + this.partner = partner; + } + + public TRLinkCustomerIntegrationResponse customer( + @jakarta.annotation.Nonnull TRLinkCustomerResponse customer) { + this.customer = customer; + return this; + } + + /** + * Get customer + * + * @return customer + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CUSTOMER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkCustomerResponse getCustomer() { + return customer; + } + + @JsonProperty(JSON_PROPERTY_CUSTOMER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCustomer(@jakarta.annotation.Nonnull TRLinkCustomerResponse customer) { + this.customer = customer; + } + + /** Return true if this TRLinkCustomerIntegrationResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkCustomerIntegrationResponse trLinkCustomerIntegrationResponse = + (TRLinkCustomerIntegrationResponse) o; + return Objects.equals( + this.customerIntegrationId, + trLinkCustomerIntegrationResponse.customerIntegrationId) + && Objects.equals(this.apiKey, trLinkCustomerIntegrationResponse.apiKey) + && Objects.equals(this.secret, trLinkCustomerIntegrationResponse.secret) + && Objects.equals(this.createDate, trLinkCustomerIntegrationResponse.createDate) + && Objects.equals(this.lastUpdate, trLinkCustomerIntegrationResponse.lastUpdate) + && Objects.equals(this.partner, trLinkCustomerIntegrationResponse.partner) + && Objects.equals(this.customer, trLinkCustomerIntegrationResponse.customer); + } + + @Override + public int hashCode() { + return Objects.hash( + customerIntegrationId, apiKey, secret, createDate, lastUpdate, partner, customer); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkCustomerIntegrationResponse {\n"); + sb.append(" customerIntegrationId: ") + .append(toIndentedString(customerIntegrationId)) + .append("\n"); + sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n"); + sb.append(" secret: ").append(toIndentedString(secret)).append("\n"); + sb.append(" createDate: ").append(toIndentedString(createDate)).append("\n"); + sb.append(" lastUpdate: ").append(toIndentedString(lastUpdate)).append("\n"); + sb.append(" partner: ").append(toIndentedString(partner)).append("\n"); + sb.append(" customer: ").append(toIndentedString(customer)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `customerIntegrationId` to the URL query string + if (getCustomerIntegrationId() != null) { + joiner.add( + String.format( + "%scustomerIntegrationId%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getCustomerIntegrationId())))); + } + + // add `apiKey` to the URL query string + if (getApiKey() != null) { + joiner.add( + String.format( + "%sapiKey%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getApiKey())))); + } + + // add `secret` to the URL query string + if (getSecret() != null) { + joiner.add( + String.format( + "%ssecret%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSecret())))); + } + + // add `createDate` to the URL query string + if (getCreateDate() != null) { + joiner.add( + String.format( + "%screateDate%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCreateDate())))); + } + + // add `lastUpdate` to the URL query string + if (getLastUpdate() != null) { + joiner.add( + String.format( + "%slastUpdate%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getLastUpdate())))); + } + + // add `partner` to the URL query string + if (getPartner() != null) { + joiner.add(getPartner().toUrlQueryString(prefix + "partner" + suffix)); + } + + // add `customer` to the URL query string + if (getCustomer() != null) { + joiner.add(getCustomer().toUrlQueryString(prefix + "customer" + suffix)); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkCustomerResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkCustomerResponse.java new file mode 100644 index 00000000..86313f27 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkCustomerResponse.java @@ -0,0 +1,686 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.time.LocalDate; +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; +import java.util.UUID; + +/** TRLinkCustomerResponse */ +@JsonPropertyOrder({ + TRLinkCustomerResponse.JSON_PROPERTY_ID, + TRLinkCustomerResponse.JSON_PROPERTY_TENANT_ID, + TRLinkCustomerResponse.JSON_PROPERTY_DISCOVERABLE, + TRLinkCustomerResponse.JSON_PROPERTY_SHORT_NAME, + TRLinkCustomerResponse.JSON_PROPERTY_FULL_LEGAL_NAME, + TRLinkCustomerResponse.JSON_PROPERTY_GEOGRAPHIC_ADDRESS, + TRLinkCustomerResponse.JSON_PROPERTY_COUNTRY_OF_REGISTRATION, + TRLinkCustomerResponse.JSON_PROPERTY_NATIONAL_IDENTIFICATION, + TRLinkCustomerResponse.JSON_PROPERTY_DATE_OF_INCORPORATION, + TRLinkCustomerResponse.JSON_PROPERTY_VAULTS, + TRLinkCustomerResponse.JSON_PROPERTY_TR_PRIMARY_PURPOSE, + TRLinkCustomerResponse.JSON_PROPERTY_CREATE_DATE, + TRLinkCustomerResponse.JSON_PROPERTY_LAST_UPDATE +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkCustomerResponse { + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nonnull private UUID id; + + public static final String JSON_PROPERTY_TENANT_ID = "tenantId"; + @jakarta.annotation.Nonnull private UUID tenantId; + + public static final String JSON_PROPERTY_DISCOVERABLE = "discoverable"; + @jakarta.annotation.Nullable private TRLinkDiscoverableStatus discoverable; + + public static final String JSON_PROPERTY_SHORT_NAME = "shortName"; + @jakarta.annotation.Nonnull private String shortName; + + public static final String JSON_PROPERTY_FULL_LEGAL_NAME = "fullLegalName"; + @jakarta.annotation.Nonnull private String fullLegalName; + + public static final String JSON_PROPERTY_GEOGRAPHIC_ADDRESS = "geographicAddress"; + @jakarta.annotation.Nullable private TRLinkGeographicAddressRequest geographicAddress; + + public static final String JSON_PROPERTY_COUNTRY_OF_REGISTRATION = "countryOfRegistration"; + @jakarta.annotation.Nonnull private String countryOfRegistration; + + public static final String JSON_PROPERTY_NATIONAL_IDENTIFICATION = "nationalIdentification"; + @jakarta.annotation.Nullable private String nationalIdentification; + + public static final String JSON_PROPERTY_DATE_OF_INCORPORATION = "dateOfIncorporation"; + @jakarta.annotation.Nullable private LocalDate dateOfIncorporation; + + public static final String JSON_PROPERTY_VAULTS = "vaults"; + @jakarta.annotation.Nullable private List vaults; + + public static final String JSON_PROPERTY_TR_PRIMARY_PURPOSE = "trPrimaryPurpose"; + @jakarta.annotation.Nullable private String trPrimaryPurpose; + + public static final String JSON_PROPERTY_CREATE_DATE = "createDate"; + @jakarta.annotation.Nonnull private OffsetDateTime createDate; + + public static final String JSON_PROPERTY_LAST_UPDATE = "lastUpdate"; + @jakarta.annotation.Nonnull private OffsetDateTime lastUpdate; + + public TRLinkCustomerResponse() {} + + @JsonCreator + public TRLinkCustomerResponse( + @JsonProperty(value = JSON_PROPERTY_ID, required = true) UUID id, + @JsonProperty(value = JSON_PROPERTY_TENANT_ID, required = true) UUID tenantId, + @JsonProperty(value = JSON_PROPERTY_DISCOVERABLE, required = true) + TRLinkDiscoverableStatus discoverable, + @JsonProperty(value = JSON_PROPERTY_SHORT_NAME, required = true) String shortName, + @JsonProperty(value = JSON_PROPERTY_FULL_LEGAL_NAME, required = true) + String fullLegalName, + @JsonProperty(value = JSON_PROPERTY_COUNTRY_OF_REGISTRATION, required = true) + String countryOfRegistration, + @JsonProperty(value = JSON_PROPERTY_CREATE_DATE, required = true) + OffsetDateTime createDate, + @JsonProperty(value = JSON_PROPERTY_LAST_UPDATE, required = true) + OffsetDateTime lastUpdate) { + this.id = id; + this.tenantId = tenantId; + this.discoverable = discoverable; + this.shortName = shortName; + this.fullLegalName = fullLegalName; + this.countryOfRegistration = countryOfRegistration; + this.createDate = createDate; + this.lastUpdate = lastUpdate; + } + + public TRLinkCustomerResponse id(@jakarta.annotation.Nonnull UUID id) { + this.id = id; + return this; + } + + /** + * Customer unique identifier + * + * @return id + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setId(@jakarta.annotation.Nonnull UUID id) { + this.id = id; + } + + public TRLinkCustomerResponse tenantId(@jakarta.annotation.Nonnull UUID tenantId) { + this.tenantId = tenantId; + return this; + } + + /** + * Fireblocks tenant ID + * + * @return tenantId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TENANT_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getTenantId() { + return tenantId; + } + + @JsonProperty(JSON_PROPERTY_TENANT_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTenantId(@jakarta.annotation.Nonnull UUID tenantId) { + this.tenantId = tenantId; + } + + public TRLinkCustomerResponse discoverable( + @jakarta.annotation.Nullable TRLinkDiscoverableStatus discoverable) { + this.discoverable = discoverable; + return this; + } + + /** + * Get discoverable + * + * @return discoverable + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkDiscoverableStatus getDiscoverable() { + return discoverable; + } + + @JsonProperty(JSON_PROPERTY_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDiscoverable( + @jakarta.annotation.Nullable TRLinkDiscoverableStatus discoverable) { + this.discoverable = discoverable; + } + + public TRLinkCustomerResponse shortName(@jakarta.annotation.Nonnull String shortName) { + this.shortName = shortName; + return this; + } + + /** + * Short display name + * + * @return shortName + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_SHORT_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getShortName() { + return shortName; + } + + @JsonProperty(JSON_PROPERTY_SHORT_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setShortName(@jakarta.annotation.Nonnull String shortName) { + this.shortName = shortName; + } + + public TRLinkCustomerResponse fullLegalName(@jakarta.annotation.Nonnull String fullLegalName) { + this.fullLegalName = fullLegalName; + return this; + } + + /** + * Full legal entity name + * + * @return fullLegalName + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_FULL_LEGAL_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getFullLegalName() { + return fullLegalName; + } + + @JsonProperty(JSON_PROPERTY_FULL_LEGAL_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFullLegalName(@jakarta.annotation.Nonnull String fullLegalName) { + this.fullLegalName = fullLegalName; + } + + public TRLinkCustomerResponse geographicAddress( + @jakarta.annotation.Nullable TRLinkGeographicAddressRequest geographicAddress) { + this.geographicAddress = geographicAddress; + return this; + } + + /** + * Get geographicAddress + * + * @return geographicAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkGeographicAddressRequest getGeographicAddress() { + return geographicAddress; + } + + @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setGeographicAddress( + @jakarta.annotation.Nullable TRLinkGeographicAddressRequest geographicAddress) { + this.geographicAddress = geographicAddress; + } + + public TRLinkCustomerResponse countryOfRegistration( + @jakarta.annotation.Nonnull String countryOfRegistration) { + this.countryOfRegistration = countryOfRegistration; + return this; + } + + /** + * ISO 3166-1 alpha-2 country code where the entity is registered + * + * @return countryOfRegistration + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_COUNTRY_OF_REGISTRATION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getCountryOfRegistration() { + return countryOfRegistration; + } + + @JsonProperty(JSON_PROPERTY_COUNTRY_OF_REGISTRATION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCountryOfRegistration(@jakarta.annotation.Nonnull String countryOfRegistration) { + this.countryOfRegistration = countryOfRegistration; + } + + public TRLinkCustomerResponse nationalIdentification( + @jakarta.annotation.Nullable String nationalIdentification) { + this.nationalIdentification = nationalIdentification; + return this; + } + + /** + * National identification (serialized as string) + * + * @return nationalIdentification + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NATIONAL_IDENTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNationalIdentification() { + return nationalIdentification; + } + + @JsonProperty(JSON_PROPERTY_NATIONAL_IDENTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNationalIdentification( + @jakarta.annotation.Nullable String nationalIdentification) { + this.nationalIdentification = nationalIdentification; + } + + public TRLinkCustomerResponse dateOfIncorporation( + @jakarta.annotation.Nullable LocalDate dateOfIncorporation) { + this.dateOfIncorporation = dateOfIncorporation; + return this; + } + + /** + * Date of entity incorporation (ISO 8601 format) + * + * @return dateOfIncorporation + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public LocalDate getDateOfIncorporation() { + return dateOfIncorporation; + } + + @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDateOfIncorporation(@jakarta.annotation.Nullable LocalDate dateOfIncorporation) { + this.dateOfIncorporation = dateOfIncorporation; + } + + public TRLinkCustomerResponse vaults(@jakarta.annotation.Nullable List vaults) { + this.vaults = vaults; + return this; + } + + public TRLinkCustomerResponse addVaultsItem(Integer vaultsItem) { + if (this.vaults == null) { + this.vaults = new ArrayList<>(); + } + this.vaults.add(vaultsItem); + return this; + } + + /** + * Associated Fireblocks vault account IDs + * + * @return vaults + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VAULTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getVaults() { + return vaults; + } + + @JsonProperty(JSON_PROPERTY_VAULTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVaults(@jakarta.annotation.Nullable List vaults) { + this.vaults = vaults; + } + + public TRLinkCustomerResponse trPrimaryPurpose( + @jakarta.annotation.Nullable String trPrimaryPurpose) { + this.trPrimaryPurpose = trPrimaryPurpose; + return this; + } + + /** + * Primary purpose for Travel Rule compliance + * + * @return trPrimaryPurpose + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TR_PRIMARY_PURPOSE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTrPrimaryPurpose() { + return trPrimaryPurpose; + } + + @JsonProperty(JSON_PROPERTY_TR_PRIMARY_PURPOSE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTrPrimaryPurpose(@jakarta.annotation.Nullable String trPrimaryPurpose) { + this.trPrimaryPurpose = trPrimaryPurpose; + } + + public TRLinkCustomerResponse createDate( + @jakarta.annotation.Nonnull OffsetDateTime createDate) { + this.createDate = createDate; + return this; + } + + /** + * Timestamp when the customer was created (ISO 8601 format) + * + * @return createDate + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CREATE_DATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getCreateDate() { + return createDate; + } + + @JsonProperty(JSON_PROPERTY_CREATE_DATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCreateDate(@jakarta.annotation.Nonnull OffsetDateTime createDate) { + this.createDate = createDate; + } + + public TRLinkCustomerResponse lastUpdate( + @jakarta.annotation.Nonnull OffsetDateTime lastUpdate) { + this.lastUpdate = lastUpdate; + return this; + } + + /** + * Timestamp when the customer was last updated (ISO 8601 format) + * + * @return lastUpdate + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_LAST_UPDATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getLastUpdate() { + return lastUpdate; + } + + @JsonProperty(JSON_PROPERTY_LAST_UPDATE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setLastUpdate(@jakarta.annotation.Nonnull OffsetDateTime lastUpdate) { + this.lastUpdate = lastUpdate; + } + + /** Return true if this TRLinkCustomerResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkCustomerResponse trLinkCustomerResponse = (TRLinkCustomerResponse) o; + return Objects.equals(this.id, trLinkCustomerResponse.id) + && Objects.equals(this.tenantId, trLinkCustomerResponse.tenantId) + && Objects.equals(this.discoverable, trLinkCustomerResponse.discoverable) + && Objects.equals(this.shortName, trLinkCustomerResponse.shortName) + && Objects.equals(this.fullLegalName, trLinkCustomerResponse.fullLegalName) + && Objects.equals(this.geographicAddress, trLinkCustomerResponse.geographicAddress) + && Objects.equals( + this.countryOfRegistration, trLinkCustomerResponse.countryOfRegistration) + && Objects.equals( + this.nationalIdentification, trLinkCustomerResponse.nationalIdentification) + && Objects.equals( + this.dateOfIncorporation, trLinkCustomerResponse.dateOfIncorporation) + && Objects.equals(this.vaults, trLinkCustomerResponse.vaults) + && Objects.equals(this.trPrimaryPurpose, trLinkCustomerResponse.trPrimaryPurpose) + && Objects.equals(this.createDate, trLinkCustomerResponse.createDate) + && Objects.equals(this.lastUpdate, trLinkCustomerResponse.lastUpdate); + } + + @Override + public int hashCode() { + return Objects.hash( + id, + tenantId, + discoverable, + shortName, + fullLegalName, + geographicAddress, + countryOfRegistration, + nationalIdentification, + dateOfIncorporation, + vaults, + trPrimaryPurpose, + createDate, + lastUpdate); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkCustomerResponse {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" tenantId: ").append(toIndentedString(tenantId)).append("\n"); + sb.append(" discoverable: ").append(toIndentedString(discoverable)).append("\n"); + sb.append(" shortName: ").append(toIndentedString(shortName)).append("\n"); + sb.append(" fullLegalName: ").append(toIndentedString(fullLegalName)).append("\n"); + sb.append(" geographicAddress: ") + .append(toIndentedString(geographicAddress)) + .append("\n"); + sb.append(" countryOfRegistration: ") + .append(toIndentedString(countryOfRegistration)) + .append("\n"); + sb.append(" nationalIdentification: ") + .append(toIndentedString(nationalIdentification)) + .append("\n"); + sb.append(" dateOfIncorporation: ") + .append(toIndentedString(dateOfIncorporation)) + .append("\n"); + sb.append(" vaults: ").append(toIndentedString(vaults)).append("\n"); + sb.append(" trPrimaryPurpose: ").append(toIndentedString(trPrimaryPurpose)).append("\n"); + sb.append(" createDate: ").append(toIndentedString(createDate)).append("\n"); + sb.append(" lastUpdate: ").append(toIndentedString(lastUpdate)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `tenantId` to the URL query string + if (getTenantId() != null) { + joiner.add( + String.format( + "%stenantId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTenantId())))); + } + + // add `discoverable` to the URL query string + if (getDiscoverable() != null) { + joiner.add( + String.format( + "%sdiscoverable%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDiscoverable())))); + } + + // add `shortName` to the URL query string + if (getShortName() != null) { + joiner.add( + String.format( + "%sshortName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getShortName())))); + } + + // add `fullLegalName` to the URL query string + if (getFullLegalName() != null) { + joiner.add( + String.format( + "%sfullLegalName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getFullLegalName())))); + } + + // add `geographicAddress` to the URL query string + if (getGeographicAddress() != null) { + joiner.add( + getGeographicAddress().toUrlQueryString(prefix + "geographicAddress" + suffix)); + } + + // add `countryOfRegistration` to the URL query string + if (getCountryOfRegistration() != null) { + joiner.add( + String.format( + "%scountryOfRegistration%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getCountryOfRegistration())))); + } + + // add `nationalIdentification` to the URL query string + if (getNationalIdentification() != null) { + joiner.add( + String.format( + "%snationalIdentification%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getNationalIdentification())))); + } + + // add `dateOfIncorporation` to the URL query string + if (getDateOfIncorporation() != null) { + joiner.add( + String.format( + "%sdateOfIncorporation%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getDateOfIncorporation())))); + } + + // add `vaults` to the URL query string + if (getVaults() != null) { + for (int i = 0; i < getVaults().size(); i++) { + joiner.add( + String.format( + "%svaults%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode(ApiClient.valueToString(getVaults().get(i))))); + } + } + + // add `trPrimaryPurpose` to the URL query string + if (getTrPrimaryPurpose() != null) { + joiner.add( + String.format( + "%strPrimaryPurpose%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTrPrimaryPurpose())))); + } + + // add `createDate` to the URL query string + if (getCreateDate() != null) { + joiner.add( + String.format( + "%screateDate%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCreateDate())))); + } + + // add `lastUpdate` to the URL query string + if (getLastUpdate() != null) { + joiner.add( + String.format( + "%slastUpdate%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getLastUpdate())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkDestinationTransferPeerPath.java b/src/main/java/com/fireblocks/sdk/model/TRLinkDestinationTransferPeerPath.java new file mode 100644 index 00000000..71197aa1 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkDestinationTransferPeerPath.java @@ -0,0 +1,263 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** Destination peer path for transaction */ +@JsonPropertyOrder({ + TRLinkDestinationTransferPeerPath.JSON_PROPERTY_TYPE, + TRLinkDestinationTransferPeerPath.JSON_PROPERTY_ID, + TRLinkDestinationTransferPeerPath.JSON_PROPERTY_WALLET_ID, + TRLinkDestinationTransferPeerPath.JSON_PROPERTY_ONE_TIME_ADDRESS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkDestinationTransferPeerPath { + public static final String JSON_PROPERTY_TYPE = "type"; + @jakarta.annotation.Nonnull private String type; + + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nullable private String id; + + public static final String JSON_PROPERTY_WALLET_ID = "walletId"; + @jakarta.annotation.Nullable private String walletId; + + public static final String JSON_PROPERTY_ONE_TIME_ADDRESS = "oneTimeAddress"; + @jakarta.annotation.Nullable private TRLinkOneTimeAddress oneTimeAddress; + + public TRLinkDestinationTransferPeerPath() {} + + @JsonCreator + public TRLinkDestinationTransferPeerPath( + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) String type) { + this.type = type; + } + + public TRLinkDestinationTransferPeerPath type(@jakarta.annotation.Nonnull String type) { + this.type = type; + return this; + } + + /** + * Destination peer type (e.g., ONE_TIME_ADDRESS, VAULT_ACCOUNT) + * + * @return type + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getType() { + return type; + } + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setType(@jakarta.annotation.Nonnull String type) { + this.type = type; + } + + public TRLinkDestinationTransferPeerPath id(@jakarta.annotation.Nullable String id) { + this.id = id; + return this; + } + + /** + * Destination peer ID + * + * @return id + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setId(@jakarta.annotation.Nullable String id) { + this.id = id; + } + + public TRLinkDestinationTransferPeerPath walletId( + @jakarta.annotation.Nullable String walletId) { + this.walletId = walletId; + return this; + } + + /** + * Destination wallet ID + * + * @return walletId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_WALLET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getWalletId() { + return walletId; + } + + @JsonProperty(JSON_PROPERTY_WALLET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setWalletId(@jakarta.annotation.Nullable String walletId) { + this.walletId = walletId; + } + + public TRLinkDestinationTransferPeerPath oneTimeAddress( + @jakarta.annotation.Nullable TRLinkOneTimeAddress oneTimeAddress) { + this.oneTimeAddress = oneTimeAddress; + return this; + } + + /** + * Get oneTimeAddress + * + * @return oneTimeAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ONE_TIME_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkOneTimeAddress getOneTimeAddress() { + return oneTimeAddress; + } + + @JsonProperty(JSON_PROPERTY_ONE_TIME_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOneTimeAddress( + @jakarta.annotation.Nullable TRLinkOneTimeAddress oneTimeAddress) { + this.oneTimeAddress = oneTimeAddress; + } + + /** Return true if this TRLinkDestinationTransferPeerPath object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkDestinationTransferPeerPath trLinkDestinationTransferPeerPath = + (TRLinkDestinationTransferPeerPath) o; + return Objects.equals(this.type, trLinkDestinationTransferPeerPath.type) + && Objects.equals(this.id, trLinkDestinationTransferPeerPath.id) + && Objects.equals(this.walletId, trLinkDestinationTransferPeerPath.walletId) + && Objects.equals( + this.oneTimeAddress, trLinkDestinationTransferPeerPath.oneTimeAddress); + } + + @Override + public int hashCode() { + return Objects.hash(type, id, walletId, oneTimeAddress); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkDestinationTransferPeerPath {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" walletId: ").append(toIndentedString(walletId)).append("\n"); + sb.append(" oneTimeAddress: ").append(toIndentedString(oneTimeAddress)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `type` to the URL query string + if (getType() != null) { + joiner.add( + String.format( + "%stype%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getType())))); + } + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `walletId` to the URL query string + if (getWalletId() != null) { + joiner.add( + String.format( + "%swalletId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getWalletId())))); + } + + // add `oneTimeAddress` to the URL query string + if (getOneTimeAddress() != null) { + joiner.add(getOneTimeAddress().toUrlQueryString(prefix + "oneTimeAddress" + suffix)); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkDiscoverableStatus.java b/src/main/java/com/fireblocks/sdk/model/TRLinkDiscoverableStatus.java new file mode 100644 index 00000000..35a4e438 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkDiscoverableStatus.java @@ -0,0 +1,66 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Customer discoverability status in the Travel Rule network */ +public enum TRLinkDiscoverableStatus { + ANONYMOUS("anonymous"), + + HIDDEN("hidden"), + + DISCOVERABLE("discoverable"); + + private String value; + + TRLinkDiscoverableStatus(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TRLinkDiscoverableStatus fromValue(String value) { + for (TRLinkDiscoverableStatus b : TRLinkDiscoverableStatus.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkFiatValue.java b/src/main/java/com/fireblocks/sdk/model/TRLinkFiatValue.java new file mode 100644 index 00000000..940483a0 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkFiatValue.java @@ -0,0 +1,186 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkFiatValue */ +@JsonPropertyOrder({TRLinkFiatValue.JSON_PROPERTY_AMOUNT, TRLinkFiatValue.JSON_PROPERTY_CURRENCY}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkFiatValue { + public static final String JSON_PROPERTY_AMOUNT = "amount"; + @jakarta.annotation.Nonnull private String amount; + + public static final String JSON_PROPERTY_CURRENCY = "currency"; + @jakarta.annotation.Nonnull private String currency; + + public TRLinkFiatValue() {} + + @JsonCreator + public TRLinkFiatValue( + @JsonProperty(value = JSON_PROPERTY_AMOUNT, required = true) String amount, + @JsonProperty(value = JSON_PROPERTY_CURRENCY, required = true) String currency) { + this.amount = amount; + this.currency = currency; + } + + public TRLinkFiatValue amount(@jakarta.annotation.Nonnull String amount) { + this.amount = amount; + return this; + } + + /** + * Fiat amount + * + * @return amount + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAmount() { + return amount; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAmount(@jakarta.annotation.Nonnull String amount) { + this.amount = amount; + } + + public TRLinkFiatValue currency(@jakarta.annotation.Nonnull String currency) { + this.currency = currency; + return this; + } + + /** + * Fiat currency code + * + * @return currency + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CURRENCY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getCurrency() { + return currency; + } + + @JsonProperty(JSON_PROPERTY_CURRENCY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCurrency(@jakarta.annotation.Nonnull String currency) { + this.currency = currency; + } + + /** Return true if this TRLinkFiatValue object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkFiatValue trLinkFiatValue = (TRLinkFiatValue) o; + return Objects.equals(this.amount, trLinkFiatValue.amount) + && Objects.equals(this.currency, trLinkFiatValue.currency); + } + + @Override + public int hashCode() { + return Objects.hash(amount, currency); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkFiatValue {\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `amount` to the URL query string + if (getAmount() != null) { + joiner.add( + String.format( + "%samount%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAmount())))); + } + + // add `currency` to the URL query string + if (getCurrency() != null) { + joiner.add( + String.format( + "%scurrency%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCurrency())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkGeographicAddressRequest.java b/src/main/java/com/fireblocks/sdk/model/TRLinkGeographicAddressRequest.java new file mode 100644 index 00000000..c6452282 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkGeographicAddressRequest.java @@ -0,0 +1,529 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** Geographic address following IVMS101 standard */ +@JsonPropertyOrder({ + TRLinkGeographicAddressRequest.JSON_PROPERTY_ADDRESS_LINE, + TRLinkGeographicAddressRequest.JSON_PROPERTY_STREET_NAME, + TRLinkGeographicAddressRequest.JSON_PROPERTY_BUILDING_NUMBER, + TRLinkGeographicAddressRequest.JSON_PROPERTY_FLOOR, + TRLinkGeographicAddressRequest.JSON_PROPERTY_POST_BOX, + TRLinkGeographicAddressRequest.JSON_PROPERTY_POST_CODE, + TRLinkGeographicAddressRequest.JSON_PROPERTY_TOWN_NAME, + TRLinkGeographicAddressRequest.JSON_PROPERTY_DISTRICT_NAME, + TRLinkGeographicAddressRequest.JSON_PROPERTY_COUNTRY_SUB_DIVISION, + TRLinkGeographicAddressRequest.JSON_PROPERTY_COUNTRY +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkGeographicAddressRequest { + public static final String JSON_PROPERTY_ADDRESS_LINE = "addressLine"; + @jakarta.annotation.Nullable private List addressLine; + + public static final String JSON_PROPERTY_STREET_NAME = "streetName"; + @jakarta.annotation.Nullable private String streetName; + + public static final String JSON_PROPERTY_BUILDING_NUMBER = "buildingNumber"; + @jakarta.annotation.Nullable private String buildingNumber; + + public static final String JSON_PROPERTY_FLOOR = "floor"; + @jakarta.annotation.Nullable private String floor; + + public static final String JSON_PROPERTY_POST_BOX = "postBox"; + @jakarta.annotation.Nullable private String postBox; + + public static final String JSON_PROPERTY_POST_CODE = "postCode"; + @jakarta.annotation.Nullable private String postCode; + + public static final String JSON_PROPERTY_TOWN_NAME = "townName"; + @jakarta.annotation.Nullable private String townName; + + public static final String JSON_PROPERTY_DISTRICT_NAME = "districtName"; + @jakarta.annotation.Nullable private String districtName; + + public static final String JSON_PROPERTY_COUNTRY_SUB_DIVISION = "countrySubDivision"; + @jakarta.annotation.Nullable private String countrySubDivision; + + public static final String JSON_PROPERTY_COUNTRY = "country"; + @jakarta.annotation.Nullable private String country; + + public TRLinkGeographicAddressRequest() {} + + public TRLinkGeographicAddressRequest addressLine( + @jakarta.annotation.Nullable List addressLine) { + this.addressLine = addressLine; + return this; + } + + public TRLinkGeographicAddressRequest addAddressLineItem(String addressLineItem) { + if (this.addressLine == null) { + this.addressLine = new ArrayList<>(); + } + this.addressLine.add(addressLineItem); + return this; + } + + /** + * Address lines (max 3, each up to 70 characters) + * + * @return addressLine + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ADDRESS_LINE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getAddressLine() { + return addressLine; + } + + @JsonProperty(JSON_PROPERTY_ADDRESS_LINE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAddressLine(@jakarta.annotation.Nullable List addressLine) { + this.addressLine = addressLine; + } + + public TRLinkGeographicAddressRequest streetName( + @jakarta.annotation.Nullable String streetName) { + this.streetName = streetName; + return this; + } + + /** + * Street name (required if buildingNumber is provided) + * + * @return streetName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STREET_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getStreetName() { + return streetName; + } + + @JsonProperty(JSON_PROPERTY_STREET_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStreetName(@jakarta.annotation.Nullable String streetName) { + this.streetName = streetName; + } + + public TRLinkGeographicAddressRequest buildingNumber( + @jakarta.annotation.Nullable String buildingNumber) { + this.buildingNumber = buildingNumber; + return this; + } + + /** + * Building number + * + * @return buildingNumber + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BUILDING_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBuildingNumber() { + return buildingNumber; + } + + @JsonProperty(JSON_PROPERTY_BUILDING_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBuildingNumber(@jakarta.annotation.Nullable String buildingNumber) { + this.buildingNumber = buildingNumber; + } + + public TRLinkGeographicAddressRequest floor(@jakarta.annotation.Nullable String floor) { + this.floor = floor; + return this; + } + + /** + * Floor number + * + * @return floor + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FLOOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getFloor() { + return floor; + } + + @JsonProperty(JSON_PROPERTY_FLOOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFloor(@jakarta.annotation.Nullable String floor) { + this.floor = floor; + } + + public TRLinkGeographicAddressRequest postBox(@jakarta.annotation.Nullable String postBox) { + this.postBox = postBox; + return this; + } + + /** + * Post box number + * + * @return postBox + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_POST_BOX) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPostBox() { + return postBox; + } + + @JsonProperty(JSON_PROPERTY_POST_BOX) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPostBox(@jakarta.annotation.Nullable String postBox) { + this.postBox = postBox; + } + + public TRLinkGeographicAddressRequest postCode(@jakarta.annotation.Nullable String postCode) { + this.postCode = postCode; + return this; + } + + /** + * Postal code (required if townName is provided) + * + * @return postCode + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_POST_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPostCode() { + return postCode; + } + + @JsonProperty(JSON_PROPERTY_POST_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPostCode(@jakarta.annotation.Nullable String postCode) { + this.postCode = postCode; + } + + public TRLinkGeographicAddressRequest townName(@jakarta.annotation.Nullable String townName) { + this.townName = townName; + return this; + } + + /** + * City or town name (required if postCode is provided) + * + * @return townName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TOWN_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTownName() { + return townName; + } + + @JsonProperty(JSON_PROPERTY_TOWN_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTownName(@jakarta.annotation.Nullable String townName) { + this.townName = townName; + } + + public TRLinkGeographicAddressRequest districtName( + @jakarta.annotation.Nullable String districtName) { + this.districtName = districtName; + return this; + } + + /** + * District name + * + * @return districtName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DISTRICT_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDistrictName() { + return districtName; + } + + @JsonProperty(JSON_PROPERTY_DISTRICT_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDistrictName(@jakarta.annotation.Nullable String districtName) { + this.districtName = districtName; + } + + public TRLinkGeographicAddressRequest countrySubDivision( + @jakarta.annotation.Nullable String countrySubDivision) { + this.countrySubDivision = countrySubDivision; + return this; + } + + /** + * State or province (validated against country) + * + * @return countrySubDivision + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COUNTRY_SUB_DIVISION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCountrySubDivision() { + return countrySubDivision; + } + + @JsonProperty(JSON_PROPERTY_COUNTRY_SUB_DIVISION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCountrySubDivision(@jakarta.annotation.Nullable String countrySubDivision) { + this.countrySubDivision = countrySubDivision; + } + + public TRLinkGeographicAddressRequest country(@jakarta.annotation.Nullable String country) { + this.country = country; + return this; + } + + /** + * ISO 3166-1 alpha-2 country code (required if town, district, or sub-division provided) + * + * @return country + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COUNTRY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCountry() { + return country; + } + + @JsonProperty(JSON_PROPERTY_COUNTRY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCountry(@jakarta.annotation.Nullable String country) { + this.country = country; + } + + /** Return true if this TRLinkGeographicAddressRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkGeographicAddressRequest trLinkGeographicAddressRequest = + (TRLinkGeographicAddressRequest) o; + return Objects.equals(this.addressLine, trLinkGeographicAddressRequest.addressLine) + && Objects.equals(this.streetName, trLinkGeographicAddressRequest.streetName) + && Objects.equals( + this.buildingNumber, trLinkGeographicAddressRequest.buildingNumber) + && Objects.equals(this.floor, trLinkGeographicAddressRequest.floor) + && Objects.equals(this.postBox, trLinkGeographicAddressRequest.postBox) + && Objects.equals(this.postCode, trLinkGeographicAddressRequest.postCode) + && Objects.equals(this.townName, trLinkGeographicAddressRequest.townName) + && Objects.equals(this.districtName, trLinkGeographicAddressRequest.districtName) + && Objects.equals( + this.countrySubDivision, trLinkGeographicAddressRequest.countrySubDivision) + && Objects.equals(this.country, trLinkGeographicAddressRequest.country); + } + + @Override + public int hashCode() { + return Objects.hash( + addressLine, + streetName, + buildingNumber, + floor, + postBox, + postCode, + townName, + districtName, + countrySubDivision, + country); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkGeographicAddressRequest {\n"); + sb.append(" addressLine: ").append(toIndentedString(addressLine)).append("\n"); + sb.append(" streetName: ").append(toIndentedString(streetName)).append("\n"); + sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + sb.append(" floor: ").append(toIndentedString(floor)).append("\n"); + sb.append(" postBox: ").append(toIndentedString(postBox)).append("\n"); + sb.append(" postCode: ").append(toIndentedString(postCode)).append("\n"); + sb.append(" townName: ").append(toIndentedString(townName)).append("\n"); + sb.append(" districtName: ").append(toIndentedString(districtName)).append("\n"); + sb.append(" countrySubDivision: ") + .append(toIndentedString(countrySubDivision)) + .append("\n"); + sb.append(" country: ").append(toIndentedString(country)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `addressLine` to the URL query string + if (getAddressLine() != null) { + for (int i = 0; i < getAddressLine().size(); i++) { + joiner.add( + String.format( + "%saddressLine%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode( + ApiClient.valueToString(getAddressLine().get(i))))); + } + } + + // add `streetName` to the URL query string + if (getStreetName() != null) { + joiner.add( + String.format( + "%sstreetName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getStreetName())))); + } + + // add `buildingNumber` to the URL query string + if (getBuildingNumber() != null) { + joiner.add( + String.format( + "%sbuildingNumber%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBuildingNumber())))); + } + + // add `floor` to the URL query string + if (getFloor() != null) { + joiner.add( + String.format( + "%sfloor%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getFloor())))); + } + + // add `postBox` to the URL query string + if (getPostBox() != null) { + joiner.add( + String.format( + "%spostBox%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPostBox())))); + } + + // add `postCode` to the URL query string + if (getPostCode() != null) { + joiner.add( + String.format( + "%spostCode%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPostCode())))); + } + + // add `townName` to the URL query string + if (getTownName() != null) { + joiner.add( + String.format( + "%stownName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTownName())))); + } + + // add `districtName` to the URL query string + if (getDistrictName() != null) { + joiner.add( + String.format( + "%sdistrictName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDistrictName())))); + } + + // add `countrySubDivision` to the URL query string + if (getCountrySubDivision() != null) { + joiner.add( + String.format( + "%scountrySubDivision%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCountrySubDivision())))); + } + + // add `country` to the URL query string + if (getCountry() != null) { + joiner.add( + String.format( + "%scountry%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCountry())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkGetSupportedAssetResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkGetSupportedAssetResponse.java new file mode 100644 index 00000000..f0605679 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkGetSupportedAssetResponse.java @@ -0,0 +1,345 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.StringJoiner; + +/** Response for getting a single supported asset by ID */ +@JsonPropertyOrder({ + TRLinkGetSupportedAssetResponse.JSON_PROPERTY_FIREBLOCKS_ASSET, + TRLinkGetSupportedAssetResponse.JSON_PROPERTY_PARTNER_RESPONSE, + TRLinkGetSupportedAssetResponse.JSON_PROPERTY_PARTNER_CAN_HANDLE_ANY_ASSET, + TRLinkGetSupportedAssetResponse.JSON_PROPERTY_NOTE, + TRLinkGetSupportedAssetResponse.JSON_PROPERTY_SUPPORTED +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkGetSupportedAssetResponse { + public static final String JSON_PROPERTY_FIREBLOCKS_ASSET = "fireblocksAsset"; + @jakarta.annotation.Nonnull private TRLinkPublicAssetInfo fireblocksAsset; + + public static final String JSON_PROPERTY_PARTNER_RESPONSE = "partnerResponse"; + @jakarta.annotation.Nullable private Map partnerResponse; + + public static final String JSON_PROPERTY_PARTNER_CAN_HANDLE_ANY_ASSET = + "partnerCanHandleAnyAsset"; + @jakarta.annotation.Nonnull private Boolean partnerCanHandleAnyAsset; + + public static final String JSON_PROPERTY_NOTE = "note"; + @jakarta.annotation.Nonnull private String note; + + public static final String JSON_PROPERTY_SUPPORTED = "supported"; + @jakarta.annotation.Nonnull private Boolean supported; + + public TRLinkGetSupportedAssetResponse() {} + + @JsonCreator + public TRLinkGetSupportedAssetResponse( + @JsonProperty(value = JSON_PROPERTY_FIREBLOCKS_ASSET, required = true) + TRLinkPublicAssetInfo fireblocksAsset, + @JsonProperty(value = JSON_PROPERTY_PARTNER_RESPONSE, required = true) + Map partnerResponse, + @JsonProperty(value = JSON_PROPERTY_PARTNER_CAN_HANDLE_ANY_ASSET, required = true) + Boolean partnerCanHandleAnyAsset, + @JsonProperty(value = JSON_PROPERTY_NOTE, required = true) String note, + @JsonProperty(value = JSON_PROPERTY_SUPPORTED, required = true) Boolean supported) { + this.fireblocksAsset = fireblocksAsset; + this.partnerResponse = partnerResponse; + this.partnerCanHandleAnyAsset = partnerCanHandleAnyAsset; + this.note = note; + this.supported = supported; + } + + public TRLinkGetSupportedAssetResponse fireblocksAsset( + @jakarta.annotation.Nonnull TRLinkPublicAssetInfo fireblocksAsset) { + this.fireblocksAsset = fireblocksAsset; + return this; + } + + /** + * Get fireblocksAsset + * + * @return fireblocksAsset + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_FIREBLOCKS_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkPublicAssetInfo getFireblocksAsset() { + return fireblocksAsset; + } + + @JsonProperty(JSON_PROPERTY_FIREBLOCKS_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFireblocksAsset( + @jakarta.annotation.Nonnull TRLinkPublicAssetInfo fireblocksAsset) { + this.fireblocksAsset = fireblocksAsset; + } + + public TRLinkGetSupportedAssetResponse partnerResponse( + @jakarta.annotation.Nullable Map partnerResponse) { + this.partnerResponse = partnerResponse; + return this; + } + + public TRLinkGetSupportedAssetResponse putPartnerResponseItem( + String key, Object partnerResponseItem) { + if (this.partnerResponse == null) { + this.partnerResponse = new HashMap<>(); + } + this.partnerResponse.put(key, partnerResponseItem); + return this; + } + + /** + * Raw partner response data + * + * @return partnerResponse + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PARTNER_RESPONSE) + @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.ALWAYS) + public Map getPartnerResponse() { + return partnerResponse; + } + + @JsonProperty(JSON_PROPERTY_PARTNER_RESPONSE) + @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.ALWAYS) + public void setPartnerResponse( + @jakarta.annotation.Nullable Map partnerResponse) { + this.partnerResponse = partnerResponse; + } + + public TRLinkGetSupportedAssetResponse partnerCanHandleAnyAsset( + @jakarta.annotation.Nonnull Boolean partnerCanHandleAnyAsset) { + this.partnerCanHandleAnyAsset = partnerCanHandleAnyAsset; + return this; + } + + /** + * Whether partner can handle any asset (not just explicitly listed ones) + * + * @return partnerCanHandleAnyAsset + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_PARTNER_CAN_HANDLE_ANY_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getPartnerCanHandleAnyAsset() { + return partnerCanHandleAnyAsset; + } + + @JsonProperty(JSON_PROPERTY_PARTNER_CAN_HANDLE_ANY_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setPartnerCanHandleAnyAsset( + @jakarta.annotation.Nonnull Boolean partnerCanHandleAnyAsset) { + this.partnerCanHandleAnyAsset = partnerCanHandleAnyAsset; + } + + public TRLinkGetSupportedAssetResponse note(@jakarta.annotation.Nonnull String note) { + this.note = note; + return this; + } + + /** + * Note about asset support capabilities + * + * @return note + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_NOTE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getNote() { + return note; + } + + @JsonProperty(JSON_PROPERTY_NOTE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setNote(@jakarta.annotation.Nonnull String note) { + this.note = note; + } + + public TRLinkGetSupportedAssetResponse supported( + @jakarta.annotation.Nonnull Boolean supported) { + this.supported = supported; + return this; + } + + /** + * Whether the asset is supported by the partner + * + * @return supported + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_SUPPORTED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getSupported() { + return supported; + } + + @JsonProperty(JSON_PROPERTY_SUPPORTED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setSupported(@jakarta.annotation.Nonnull Boolean supported) { + this.supported = supported; + } + + /** Return true if this TRLinkGetSupportedAssetResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkGetSupportedAssetResponse trLinkGetSupportedAssetResponse = + (TRLinkGetSupportedAssetResponse) o; + return Objects.equals(this.fireblocksAsset, trLinkGetSupportedAssetResponse.fireblocksAsset) + && Objects.equals( + this.partnerResponse, trLinkGetSupportedAssetResponse.partnerResponse) + && Objects.equals( + this.partnerCanHandleAnyAsset, + trLinkGetSupportedAssetResponse.partnerCanHandleAnyAsset) + && Objects.equals(this.note, trLinkGetSupportedAssetResponse.note) + && Objects.equals(this.supported, trLinkGetSupportedAssetResponse.supported); + } + + @Override + public int hashCode() { + return Objects.hash( + fireblocksAsset, partnerResponse, partnerCanHandleAnyAsset, note, supported); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkGetSupportedAssetResponse {\n"); + sb.append(" fireblocksAsset: ").append(toIndentedString(fireblocksAsset)).append("\n"); + sb.append(" partnerResponse: ").append(toIndentedString(partnerResponse)).append("\n"); + sb.append(" partnerCanHandleAnyAsset: ") + .append(toIndentedString(partnerCanHandleAnyAsset)) + .append("\n"); + sb.append(" note: ").append(toIndentedString(note)).append("\n"); + sb.append(" supported: ").append(toIndentedString(supported)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `fireblocksAsset` to the URL query string + if (getFireblocksAsset() != null) { + joiner.add(getFireblocksAsset().toUrlQueryString(prefix + "fireblocksAsset" + suffix)); + } + + // add `partnerResponse` to the URL query string + if (getPartnerResponse() != null) { + for (String _key : getPartnerResponse().keySet()) { + joiner.add( + String.format( + "%spartnerResponse%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, _key, containerSuffix), + getPartnerResponse().get(_key), + ApiClient.urlEncode( + ApiClient.valueToString(getPartnerResponse().get(_key))))); + } + } + + // add `partnerCanHandleAnyAsset` to the URL query string + if (getPartnerCanHandleAnyAsset() != null) { + joiner.add( + String.format( + "%spartnerCanHandleAnyAsset%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getPartnerCanHandleAnyAsset())))); + } + + // add `note` to the URL query string + if (getNote() != null) { + joiner.add( + String.format( + "%snote%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNote())))); + } + + // add `supported` to the URL query string + if (getSupported() != null) { + joiner.add( + String.format( + "%ssupported%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSupported())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkIvms.java b/src/main/java/com/fireblocks/sdk/model/TRLinkIvms.java new file mode 100644 index 00000000..d4129308 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkIvms.java @@ -0,0 +1,248 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** IVMS101 data structure containing encrypted PII */ +@JsonPropertyOrder({ + TRLinkIvms.JSON_PROPERTY_VERSION, + TRLinkIvms.JSON_PROPERTY_DATA, + TRLinkIvms.JSON_PROPERTY_FILLED_FIELDS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkIvms { + public static final String JSON_PROPERTY_VERSION = "version"; + @jakarta.annotation.Nonnull private String version; + + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nonnull private String data; + + public static final String JSON_PROPERTY_FILLED_FIELDS = "filledFields"; + @jakarta.annotation.Nonnull private List filledFields; + + public TRLinkIvms() {} + + @JsonCreator + public TRLinkIvms( + @JsonProperty(value = JSON_PROPERTY_VERSION, required = true) String version, + @JsonProperty(value = JSON_PROPERTY_DATA, required = true) String data, + @JsonProperty(value = JSON_PROPERTY_FILLED_FIELDS, required = true) + List filledFields) { + this.version = version; + this.data = data; + this.filledFields = filledFields; + } + + public TRLinkIvms version(@jakarta.annotation.Nonnull String version) { + this.version = version; + return this; + } + + /** + * IVMS version + * + * @return version + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_VERSION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getVersion() { + return version; + } + + @JsonProperty(JSON_PROPERTY_VERSION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setVersion(@jakarta.annotation.Nonnull String version) { + this.version = version; + } + + public TRLinkIvms data(@jakarta.annotation.Nonnull String data) { + this.data = data; + return this; + } + + /** + * Encrypted IVMS101 data containing originator and beneficiary information + * + * @return data + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setData(@jakarta.annotation.Nonnull String data) { + this.data = data; + } + + public TRLinkIvms filledFields(@jakarta.annotation.Nonnull List filledFields) { + this.filledFields = filledFields; + return this; + } + + public TRLinkIvms addFilledFieldsItem(String filledFieldsItem) { + if (this.filledFields == null) { + this.filledFields = new ArrayList<>(); + } + this.filledFields.add(filledFieldsItem); + return this; + } + + /** + * List of fields that are filled in the IVMS data + * + * @return filledFields + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_FILLED_FIELDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getFilledFields() { + return filledFields; + } + + @JsonProperty(JSON_PROPERTY_FILLED_FIELDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFilledFields(@jakarta.annotation.Nonnull List filledFields) { + this.filledFields = filledFields; + } + + /** Return true if this TRLinkIvms object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkIvms trLinkIvms = (TRLinkIvms) o; + return Objects.equals(this.version, trLinkIvms.version) + && Objects.equals(this.data, trLinkIvms.data) + && Objects.equals(this.filledFields, trLinkIvms.filledFields); + } + + @Override + public int hashCode() { + return Objects.hash(version, data, filledFields); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkIvms {\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" filledFields: ").append(toIndentedString(filledFields)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `version` to the URL query string + if (getVersion() != null) { + joiner.add( + String.format( + "%sversion%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getVersion())))); + } + + // add `data` to the URL query string + if (getData() != null) { + joiner.add( + String.format( + "%sdata%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getData())))); + } + + // add `filledFields` to the URL query string + if (getFilledFields() != null) { + for (int i = 0; i < getFilledFields().size(); i++) { + joiner.add( + String.format( + "%sfilledFields%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode( + ApiClient.valueToString(getFilledFields().get(i))))); + } + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkIvmsResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkIvmsResponse.java new file mode 100644 index 00000000..9b89d11d --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkIvmsResponse.java @@ -0,0 +1,248 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** IVMS101 data in response format */ +@JsonPropertyOrder({ + TRLinkIvmsResponse.JSON_PROPERTY_VERSION, + TRLinkIvmsResponse.JSON_PROPERTY_DATA, + TRLinkIvmsResponse.JSON_PROPERTY_FILLED_FIELDS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkIvmsResponse { + public static final String JSON_PROPERTY_VERSION = "version"; + @jakarta.annotation.Nonnull private String version; + + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nonnull private String data; + + public static final String JSON_PROPERTY_FILLED_FIELDS = "filledFields"; + @jakarta.annotation.Nonnull private List filledFields; + + public TRLinkIvmsResponse() {} + + @JsonCreator + public TRLinkIvmsResponse( + @JsonProperty(value = JSON_PROPERTY_VERSION, required = true) String version, + @JsonProperty(value = JSON_PROPERTY_DATA, required = true) String data, + @JsonProperty(value = JSON_PROPERTY_FILLED_FIELDS, required = true) + List filledFields) { + this.version = version; + this.data = data; + this.filledFields = filledFields; + } + + public TRLinkIvmsResponse version(@jakarta.annotation.Nonnull String version) { + this.version = version; + return this; + } + + /** + * IVMS101 version + * + * @return version + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_VERSION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getVersion() { + return version; + } + + @JsonProperty(JSON_PROPERTY_VERSION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setVersion(@jakarta.annotation.Nonnull String version) { + this.version = version; + } + + public TRLinkIvmsResponse data(@jakarta.annotation.Nonnull String data) { + this.data = data; + return this; + } + + /** + * Base64 encoded IVMS101 data containing originator and beneficiary information + * + * @return data + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setData(@jakarta.annotation.Nonnull String data) { + this.data = data; + } + + public TRLinkIvmsResponse filledFields(@jakarta.annotation.Nonnull List filledFields) { + this.filledFields = filledFields; + return this; + } + + public TRLinkIvmsResponse addFilledFieldsItem(String filledFieldsItem) { + if (this.filledFields == null) { + this.filledFields = new ArrayList<>(); + } + this.filledFields.add(filledFieldsItem); + return this; + } + + /** + * List of fields that are filled in the IVMS101 data + * + * @return filledFields + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_FILLED_FIELDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getFilledFields() { + return filledFields; + } + + @JsonProperty(JSON_PROPERTY_FILLED_FIELDS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFilledFields(@jakarta.annotation.Nonnull List filledFields) { + this.filledFields = filledFields; + } + + /** Return true if this TRLinkIvmsResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkIvmsResponse trLinkIvmsResponse = (TRLinkIvmsResponse) o; + return Objects.equals(this.version, trLinkIvmsResponse.version) + && Objects.equals(this.data, trLinkIvmsResponse.data) + && Objects.equals(this.filledFields, trLinkIvmsResponse.filledFields); + } + + @Override + public int hashCode() { + return Objects.hash(version, data, filledFields); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkIvmsResponse {\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" filledFields: ").append(toIndentedString(filledFields)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `version` to the URL query string + if (getVersion() != null) { + joiner.add( + String.format( + "%sversion%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getVersion())))); + } + + // add `data` to the URL query string + if (getData() != null) { + joiner.add( + String.format( + "%sdata%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getData())))); + } + + // add `filledFields` to the URL query string + if (getFilledFields() != null) { + for (int i = 0; i < getFilledFields().size(); i++) { + joiner.add( + String.format( + "%sfilledFields%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode( + ApiClient.valueToString(getFilledFields().get(i))))); + } + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkJwkPublicKey.java b/src/main/java/com/fireblocks/sdk/model/TRLinkJwkPublicKey.java new file mode 100644 index 00000000..b0e67282 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkJwkPublicKey.java @@ -0,0 +1,371 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.annotation.JsonValue; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** JSON Web Key (JWK) format public key */ +@JsonPropertyOrder({ + TRLinkJwkPublicKey.JSON_PROPERTY_KTY, + TRLinkJwkPublicKey.JSON_PROPERTY_E, + TRLinkJwkPublicKey.JSON_PROPERTY_USE, + TRLinkJwkPublicKey.JSON_PROPERTY_KID, + TRLinkJwkPublicKey.JSON_PROPERTY_N +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkJwkPublicKey { + /** Key type */ + public enum KtyEnum { + RSA(String.valueOf("RSA")); + + private String value; + + KtyEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static KtyEnum fromValue(String value) { + for (KtyEnum b : KtyEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_KTY = "kty"; + @jakarta.annotation.Nonnull private KtyEnum kty; + + public static final String JSON_PROPERTY_E = "e"; + @jakarta.annotation.Nonnull private String e; + + /** Public key use (encryption) */ + public enum UseEnum { + ENC(String.valueOf("enc")); + + private String value; + + UseEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static UseEnum fromValue(String value) { + for (UseEnum b : UseEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_USE = "use"; + @jakarta.annotation.Nonnull private UseEnum use; + + public static final String JSON_PROPERTY_KID = "kid"; + @jakarta.annotation.Nonnull private String kid; + + public static final String JSON_PROPERTY_N = "n"; + @jakarta.annotation.Nonnull private String n; + + public TRLinkJwkPublicKey() {} + + @JsonCreator + public TRLinkJwkPublicKey( + @JsonProperty(value = JSON_PROPERTY_KTY, required = true) KtyEnum kty, + @JsonProperty(value = JSON_PROPERTY_E, required = true) String e, + @JsonProperty(value = JSON_PROPERTY_USE, required = true) UseEnum use, + @JsonProperty(value = JSON_PROPERTY_KID, required = true) String kid, + @JsonProperty(value = JSON_PROPERTY_N, required = true) String n) { + this.kty = kty; + this.e = e; + this.use = use; + this.kid = kid; + this.n = n; + } + + public TRLinkJwkPublicKey kty(@jakarta.annotation.Nonnull KtyEnum kty) { + this.kty = kty; + return this; + } + + /** + * Key type + * + * @return kty + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_KTY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public KtyEnum getKty() { + return kty; + } + + @JsonProperty(JSON_PROPERTY_KTY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setKty(@jakarta.annotation.Nonnull KtyEnum kty) { + this.kty = kty; + } + + public TRLinkJwkPublicKey e(@jakarta.annotation.Nonnull String e) { + this.e = e; + return this; + } + + /** + * RSA public exponent + * + * @return e + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_E) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getE() { + return e; + } + + @JsonProperty(JSON_PROPERTY_E) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setE(@jakarta.annotation.Nonnull String e) { + this.e = e; + } + + public TRLinkJwkPublicKey use(@jakarta.annotation.Nonnull UseEnum use) { + this.use = use; + return this; + } + + /** + * Public key use (encryption) + * + * @return use + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_USE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UseEnum getUse() { + return use; + } + + @JsonProperty(JSON_PROPERTY_USE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUse(@jakarta.annotation.Nonnull UseEnum use) { + this.use = use; + } + + public TRLinkJwkPublicKey kid(@jakarta.annotation.Nonnull String kid) { + this.kid = kid; + return this; + } + + /** + * Key ID + * + * @return kid + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_KID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getKid() { + return kid; + } + + @JsonProperty(JSON_PROPERTY_KID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setKid(@jakarta.annotation.Nonnull String kid) { + this.kid = kid; + } + + public TRLinkJwkPublicKey n(@jakarta.annotation.Nonnull String n) { + this.n = n; + return this; + } + + /** + * RSA modulus + * + * @return n + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_N) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getN() { + return n; + } + + @JsonProperty(JSON_PROPERTY_N) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setN(@jakarta.annotation.Nonnull String n) { + this.n = n; + } + + /** Return true if this TRLinkJwkPublicKey object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkJwkPublicKey trLinkJwkPublicKey = (TRLinkJwkPublicKey) o; + return Objects.equals(this.kty, trLinkJwkPublicKey.kty) + && Objects.equals(this.e, trLinkJwkPublicKey.e) + && Objects.equals(this.use, trLinkJwkPublicKey.use) + && Objects.equals(this.kid, trLinkJwkPublicKey.kid) + && Objects.equals(this.n, trLinkJwkPublicKey.n); + } + + @Override + public int hashCode() { + return Objects.hash(kty, e, use, kid, n); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkJwkPublicKey {\n"); + sb.append(" kty: ").append(toIndentedString(kty)).append("\n"); + sb.append(" e: ").append(toIndentedString(e)).append("\n"); + sb.append(" use: ").append(toIndentedString(use)).append("\n"); + sb.append(" kid: ").append(toIndentedString(kid)).append("\n"); + sb.append(" n: ").append(toIndentedString(n)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `kty` to the URL query string + if (getKty() != null) { + joiner.add( + String.format( + "%skty%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getKty())))); + } + + // add `e` to the URL query string + if (getE() != null) { + joiner.add( + String.format( + "%se%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getE())))); + } + + // add `use` to the URL query string + if (getUse() != null) { + joiner.add( + String.format( + "%suse%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getUse())))); + } + + // add `kid` to the URL query string + if (getKid() != null) { + joiner.add( + String.format( + "%skid%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getKid())))); + } + + // add `n` to the URL query string + if (getN() != null) { + joiner.add( + String.format( + "%sn%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getN())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction.java b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction.java index 1dd9ec76..a102e5c6 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction2.java b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction2.java new file mode 100644 index 00000000..a0d7da87 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction2.java @@ -0,0 +1,66 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets TRLinkMissingTrmAction-2 */ +public enum TRLinkMissingTrmAction2 { + WAIT("WAIT"), + + REJECT("REJECT"), + + ACCEPT("ACCEPT"); + + private String value; + + TRLinkMissingTrmAction2(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TRLinkMissingTrmAction2 fromValue(String value) { + for (TRLinkMissingTrmAction2 b : TRLinkMissingTrmAction2.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnum.java b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnum.java index aab486c9..b9cbcfec 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecision.java b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecision.java index 02545cf4..7005cf48 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecision.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecision.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule.java b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule.java index a4a4fa67..3d8cd626 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule2.java b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule2.java new file mode 100644 index 00000000..eb1f124f --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule2.java @@ -0,0 +1,908 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** Rule for handling transactions when TRM screening data is missing or unavailable */ +@JsonPropertyOrder({ + TRLinkMissingTrmRule2.JSON_PROPERTY_CUSTOMER_ID, + TRLinkMissingTrmRule2.JSON_PROPERTY_DIRECTION, + TRLinkMissingTrmRule2.JSON_PROPERTY_SOURCE_TYPE, + TRLinkMissingTrmRule2.JSON_PROPERTY_SOURCE_SUB_TYPE, + TRLinkMissingTrmRule2.JSON_PROPERTY_SOURCE_ADDRESS, + TRLinkMissingTrmRule2.JSON_PROPERTY_DEST_TYPE, + TRLinkMissingTrmRule2.JSON_PROPERTY_DEST_SUB_TYPE, + TRLinkMissingTrmRule2.JSON_PROPERTY_DEST_ADDRESS, + TRLinkMissingTrmRule2.JSON_PROPERTY_SOURCE_ID, + TRLinkMissingTrmRule2.JSON_PROPERTY_DEST_ID, + TRLinkMissingTrmRule2.JSON_PROPERTY_ASSET, + TRLinkMissingTrmRule2.JSON_PROPERTY_BASE_ASSET, + TRLinkMissingTrmRule2.JSON_PROPERTY_AMOUNT, + TRLinkMissingTrmRule2.JSON_PROPERTY_NETWORK_PROTOCOL, + TRLinkMissingTrmRule2.JSON_PROPERTY_OPERATION, + TRLinkMissingTrmRule2.JSON_PROPERTY_DESCRIPTION, + TRLinkMissingTrmRule2.JSON_PROPERTY_IS_DEFAULT, + TRLinkMissingTrmRule2.JSON_PROPERTY_VALID_BEFORE, + TRLinkMissingTrmRule2.JSON_PROPERTY_VALID_AFTER, + TRLinkMissingTrmRule2.JSON_PROPERTY_ACTION +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkMissingTrmRule2 { + public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId"; + @jakarta.annotation.Nullable private String customerId; + + public static final String JSON_PROPERTY_DIRECTION = "direction"; + @jakarta.annotation.Nullable private TRLinkTransactionDirection direction; + + public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType"; + @jakarta.annotation.Nullable private String sourceType; + + public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType"; + @jakarta.annotation.Nullable private String sourceSubType; + + public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress"; + @jakarta.annotation.Nullable private String sourceAddress; + + public static final String JSON_PROPERTY_DEST_TYPE = "destType"; + @jakarta.annotation.Nullable private String destType; + + public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType"; + @jakarta.annotation.Nullable private String destSubType; + + public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress"; + @jakarta.annotation.Nullable private String destAddress; + + public static final String JSON_PROPERTY_SOURCE_ID = "sourceId"; + @jakarta.annotation.Nullable private String sourceId; + + public static final String JSON_PROPERTY_DEST_ID = "destId"; + @jakarta.annotation.Nullable private String destId; + + public static final String JSON_PROPERTY_ASSET = "asset"; + @jakarta.annotation.Nullable private String asset; + + public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset"; + @jakarta.annotation.Nullable private String baseAsset; + + public static final String JSON_PROPERTY_AMOUNT = "amount"; + @jakarta.annotation.Nullable private TRLinkAmount2 amount; + + public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol"; + @jakarta.annotation.Nullable private String networkProtocol; + + public static final String JSON_PROPERTY_OPERATION = "operation"; + @jakarta.annotation.Nullable private String operation; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + @jakarta.annotation.Nullable private String description; + + public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault"; + @jakarta.annotation.Nullable private Boolean isDefault; + + public static final String JSON_PROPERTY_VALID_BEFORE = "validBefore"; + @jakarta.annotation.Nullable private Long validBefore; + + public static final String JSON_PROPERTY_VALID_AFTER = "validAfter"; + @jakarta.annotation.Nullable private Long validAfter; + + public static final String JSON_PROPERTY_ACTION = "action"; + @jakarta.annotation.Nonnull private TRLinkMissingTrmAction2 action; + + public TRLinkMissingTrmRule2() {} + + @JsonCreator + public TRLinkMissingTrmRule2( + @JsonProperty(value = JSON_PROPERTY_ACTION, required = true) + TRLinkMissingTrmAction2 action) { + this.action = action; + } + + public TRLinkMissingTrmRule2 customerId(@jakarta.annotation.Nullable String customerId) { + this.customerId = customerId; + return this; + } + + /** + * Customer identifier + * + * @return customerId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CUSTOMER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCustomerId() { + return customerId; + } + + @JsonProperty(JSON_PROPERTY_CUSTOMER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomerId(@jakarta.annotation.Nullable String customerId) { + this.customerId = customerId; + } + + public TRLinkMissingTrmRule2 direction( + @jakarta.annotation.Nullable TRLinkTransactionDirection direction) { + this.direction = direction; + return this; + } + + /** + * Get direction + * + * @return direction + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkTransactionDirection getDirection() { + return direction; + } + + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDirection(@jakarta.annotation.Nullable TRLinkTransactionDirection direction) { + this.direction = direction; + } + + public TRLinkMissingTrmRule2 sourceType(@jakarta.annotation.Nullable String sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Source entity type + * + * @return sourceType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceType() { + return sourceType; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceType(@jakarta.annotation.Nullable String sourceType) { + this.sourceType = sourceType; + } + + public TRLinkMissingTrmRule2 sourceSubType(@jakarta.annotation.Nullable String sourceSubType) { + this.sourceSubType = sourceSubType; + return this; + } + + /** + * Source entity subtype + * + * @return sourceSubType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceSubType() { + return sourceSubType; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceSubType(@jakarta.annotation.Nullable String sourceSubType) { + this.sourceSubType = sourceSubType; + } + + public TRLinkMissingTrmRule2 sourceAddress(@jakarta.annotation.Nullable String sourceAddress) { + this.sourceAddress = sourceAddress; + return this; + } + + /** + * Source blockchain address + * + * @return sourceAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceAddress() { + return sourceAddress; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) { + this.sourceAddress = sourceAddress; + } + + public TRLinkMissingTrmRule2 destType(@jakarta.annotation.Nullable String destType) { + this.destType = destType; + return this; + } + + /** + * Destination entity type + * + * @return destType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestType() { + return destType; + } + + @JsonProperty(JSON_PROPERTY_DEST_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestType(@jakarta.annotation.Nullable String destType) { + this.destType = destType; + } + + public TRLinkMissingTrmRule2 destSubType(@jakarta.annotation.Nullable String destSubType) { + this.destSubType = destSubType; + return this; + } + + /** + * Destination entity subtype + * + * @return destSubType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestSubType() { + return destSubType; + } + + @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestSubType(@jakarta.annotation.Nullable String destSubType) { + this.destSubType = destSubType; + } + + public TRLinkMissingTrmRule2 destAddress(@jakarta.annotation.Nullable String destAddress) { + this.destAddress = destAddress; + return this; + } + + /** + * Destination blockchain address + * + * @return destAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestAddress() { + return destAddress; + } + + @JsonProperty(JSON_PROPERTY_DEST_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestAddress(@jakarta.annotation.Nullable String destAddress) { + this.destAddress = destAddress; + } + + public TRLinkMissingTrmRule2 sourceId(@jakarta.annotation.Nullable String sourceId) { + this.sourceId = sourceId; + return this; + } + + /** + * Source identifier + * + * @return sourceId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceId() { + return sourceId; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceId(@jakarta.annotation.Nullable String sourceId) { + this.sourceId = sourceId; + } + + public TRLinkMissingTrmRule2 destId(@jakarta.annotation.Nullable String destId) { + this.destId = destId; + return this; + } + + /** + * Destination identifier + * + * @return destId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestId() { + return destId; + } + + @JsonProperty(JSON_PROPERTY_DEST_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestId(@jakarta.annotation.Nullable String destId) { + this.destId = destId; + } + + public TRLinkMissingTrmRule2 asset(@jakarta.annotation.Nullable String asset) { + this.asset = asset; + return this; + } + + /** + * Asset or cryptocurrency type + * + * @return asset + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAsset() { + return asset; + } + + @JsonProperty(JSON_PROPERTY_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAsset(@jakarta.annotation.Nullable String asset) { + this.asset = asset; + } + + public TRLinkMissingTrmRule2 baseAsset(@jakarta.annotation.Nullable String baseAsset) { + this.baseAsset = baseAsset; + return this; + } + + /** + * Base asset for derivatives + * + * @return baseAsset + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BASE_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBaseAsset() { + return baseAsset; + } + + @JsonProperty(JSON_PROPERTY_BASE_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) { + this.baseAsset = baseAsset; + } + + public TRLinkMissingTrmRule2 amount(@jakarta.annotation.Nullable TRLinkAmount2 amount) { + this.amount = amount; + return this; + } + + /** + * Get amount + * + * @return amount + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkAmount2 getAmount() { + return amount; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAmount(@jakarta.annotation.Nullable TRLinkAmount2 amount) { + this.amount = amount; + } + + public TRLinkMissingTrmRule2 networkProtocol( + @jakarta.annotation.Nullable String networkProtocol) { + this.networkProtocol = networkProtocol; + return this; + } + + /** + * Network protocol identifier + * + * @return networkProtocol + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNetworkProtocol() { + return networkProtocol; + } + + @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) { + this.networkProtocol = networkProtocol; + } + + public TRLinkMissingTrmRule2 operation(@jakarta.annotation.Nullable String operation) { + this.operation = operation; + return this; + } + + /** + * Operation type + * + * @return operation + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_OPERATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getOperation() { + return operation; + } + + @JsonProperty(JSON_PROPERTY_OPERATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperation(@jakarta.annotation.Nullable String operation) { + this.operation = operation; + } + + public TRLinkMissingTrmRule2 description(@jakarta.annotation.Nullable String description) { + this.description = description; + return this; + } + + /** + * Rule description + * + * @return description + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDescription() { + return description; + } + + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDescription(@jakarta.annotation.Nullable String description) { + this.description = description; + } + + public TRLinkMissingTrmRule2 isDefault(@jakarta.annotation.Nullable Boolean isDefault) { + this.isDefault = isDefault; + return this; + } + + /** + * Whether this is a default rule + * + * @return isDefault + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IS_DEFAULT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIsDefault() { + return isDefault; + } + + @JsonProperty(JSON_PROPERTY_IS_DEFAULT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) { + this.isDefault = isDefault; + } + + public TRLinkMissingTrmRule2 validBefore(@jakarta.annotation.Nullable Long validBefore) { + this.validBefore = validBefore; + return this; + } + + /** + * Rule is valid before this timestamp (milliseconds) + * + * @return validBefore + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VALID_BEFORE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getValidBefore() { + return validBefore; + } + + @JsonProperty(JSON_PROPERTY_VALID_BEFORE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setValidBefore(@jakarta.annotation.Nullable Long validBefore) { + this.validBefore = validBefore; + } + + public TRLinkMissingTrmRule2 validAfter(@jakarta.annotation.Nullable Long validAfter) { + this.validAfter = validAfter; + return this; + } + + /** + * Rule is valid after this timestamp (milliseconds) + * + * @return validAfter + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VALID_AFTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getValidAfter() { + return validAfter; + } + + @JsonProperty(JSON_PROPERTY_VALID_AFTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setValidAfter(@jakarta.annotation.Nullable Long validAfter) { + this.validAfter = validAfter; + } + + public TRLinkMissingTrmRule2 action( + @jakarta.annotation.Nonnull TRLinkMissingTrmAction2 action) { + this.action = action; + return this; + } + + /** + * Get action + * + * @return action + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ACTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkMissingTrmAction2 getAction() { + return action; + } + + @JsonProperty(JSON_PROPERTY_ACTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAction(@jakarta.annotation.Nonnull TRLinkMissingTrmAction2 action) { + this.action = action; + } + + /** Return true if this TRLinkMissingTrmRule-2 object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkMissingTrmRule2 trLinkMissingTrmRule2 = (TRLinkMissingTrmRule2) o; + return Objects.equals(this.customerId, trLinkMissingTrmRule2.customerId) + && Objects.equals(this.direction, trLinkMissingTrmRule2.direction) + && Objects.equals(this.sourceType, trLinkMissingTrmRule2.sourceType) + && Objects.equals(this.sourceSubType, trLinkMissingTrmRule2.sourceSubType) + && Objects.equals(this.sourceAddress, trLinkMissingTrmRule2.sourceAddress) + && Objects.equals(this.destType, trLinkMissingTrmRule2.destType) + && Objects.equals(this.destSubType, trLinkMissingTrmRule2.destSubType) + && Objects.equals(this.destAddress, trLinkMissingTrmRule2.destAddress) + && Objects.equals(this.sourceId, trLinkMissingTrmRule2.sourceId) + && Objects.equals(this.destId, trLinkMissingTrmRule2.destId) + && Objects.equals(this.asset, trLinkMissingTrmRule2.asset) + && Objects.equals(this.baseAsset, trLinkMissingTrmRule2.baseAsset) + && Objects.equals(this.amount, trLinkMissingTrmRule2.amount) + && Objects.equals(this.networkProtocol, trLinkMissingTrmRule2.networkProtocol) + && Objects.equals(this.operation, trLinkMissingTrmRule2.operation) + && Objects.equals(this.description, trLinkMissingTrmRule2.description) + && Objects.equals(this.isDefault, trLinkMissingTrmRule2.isDefault) + && Objects.equals(this.validBefore, trLinkMissingTrmRule2.validBefore) + && Objects.equals(this.validAfter, trLinkMissingTrmRule2.validAfter) + && Objects.equals(this.action, trLinkMissingTrmRule2.action); + } + + @Override + public int hashCode() { + return Objects.hash( + customerId, + direction, + sourceType, + sourceSubType, + sourceAddress, + destType, + destSubType, + destAddress, + sourceId, + destId, + asset, + baseAsset, + amount, + networkProtocol, + operation, + description, + isDefault, + validBefore, + validAfter, + action); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkMissingTrmRule2 {\n"); + sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); + sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n"); + sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n"); + sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n"); + sb.append(" destType: ").append(toIndentedString(destType)).append("\n"); + sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n"); + sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n"); + sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n"); + sb.append(" destId: ").append(toIndentedString(destId)).append("\n"); + sb.append(" asset: ").append(toIndentedString(asset)).append("\n"); + sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n"); + sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); + sb.append(" validBefore: ").append(toIndentedString(validBefore)).append("\n"); + sb.append(" validAfter: ").append(toIndentedString(validAfter)).append("\n"); + sb.append(" action: ").append(toIndentedString(action)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `customerId` to the URL query string + if (getCustomerId() != null) { + joiner.add( + String.format( + "%scustomerId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCustomerId())))); + } + + // add `direction` to the URL query string + if (getDirection() != null) { + joiner.add( + String.format( + "%sdirection%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDirection())))); + } + + // add `sourceType` to the URL query string + if (getSourceType() != null) { + joiner.add( + String.format( + "%ssourceType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceType())))); + } + + // add `sourceSubType` to the URL query string + if (getSourceSubType() != null) { + joiner.add( + String.format( + "%ssourceSubType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType())))); + } + + // add `sourceAddress` to the URL query string + if (getSourceAddress() != null) { + joiner.add( + String.format( + "%ssourceAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress())))); + } + + // add `destType` to the URL query string + if (getDestType() != null) { + joiner.add( + String.format( + "%sdestType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestType())))); + } + + // add `destSubType` to the URL query string + if (getDestSubType() != null) { + joiner.add( + String.format( + "%sdestSubType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestSubType())))); + } + + // add `destAddress` to the URL query string + if (getDestAddress() != null) { + joiner.add( + String.format( + "%sdestAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestAddress())))); + } + + // add `sourceId` to the URL query string + if (getSourceId() != null) { + joiner.add( + String.format( + "%ssourceId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceId())))); + } + + // add `destId` to the URL query string + if (getDestId() != null) { + joiner.add( + String.format( + "%sdestId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestId())))); + } + + // add `asset` to the URL query string + if (getAsset() != null) { + joiner.add( + String.format( + "%sasset%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAsset())))); + } + + // add `baseAsset` to the URL query string + if (getBaseAsset() != null) { + joiner.add( + String.format( + "%sbaseAsset%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset())))); + } + + // add `amount` to the URL query string + if (getAmount() != null) { + joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix)); + } + + // add `networkProtocol` to the URL query string + if (getNetworkProtocol() != null) { + joiner.add( + String.format( + "%snetworkProtocol%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol())))); + } + + // add `operation` to the URL query string + if (getOperation() != null) { + joiner.add( + String.format( + "%soperation%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getOperation())))); + } + + // add `description` to the URL query string + if (getDescription() != null) { + joiner.add( + String.format( + "%sdescription%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDescription())))); + } + + // add `isDefault` to the URL query string + if (getIsDefault() != null) { + joiner.add( + String.format( + "%sisDefault%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getIsDefault())))); + } + + // add `validBefore` to the URL query string + if (getValidBefore() != null) { + joiner.add( + String.format( + "%svalidBefore%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getValidBefore())))); + } + + // add `validAfter` to the URL query string + if (getValidAfter() != null) { + joiner.add( + String.format( + "%svalidAfter%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getValidAfter())))); + } + + // add `action` to the URL query string + if (getAction() != null) { + joiner.add( + String.format( + "%saction%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAction())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkOneTimeAddress.java b/src/main/java/com/fireblocks/sdk/model/TRLinkOneTimeAddress.java new file mode 100644 index 00000000..260c7c2f --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkOneTimeAddress.java @@ -0,0 +1,187 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkOneTimeAddress */ +@JsonPropertyOrder({ + TRLinkOneTimeAddress.JSON_PROPERTY_ADDRESS, + TRLinkOneTimeAddress.JSON_PROPERTY_TAG +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkOneTimeAddress { + public static final String JSON_PROPERTY_ADDRESS = "address"; + @jakarta.annotation.Nonnull private String address; + + public static final String JSON_PROPERTY_TAG = "tag"; + @jakarta.annotation.Nullable private String tag; + + public TRLinkOneTimeAddress() {} + + @JsonCreator + public TRLinkOneTimeAddress( + @JsonProperty(value = JSON_PROPERTY_ADDRESS, required = true) String address) { + this.address = address; + } + + public TRLinkOneTimeAddress address(@jakarta.annotation.Nonnull String address) { + this.address = address; + return this; + } + + /** + * Blockchain address + * + * @return address + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAddress() { + return address; + } + + @JsonProperty(JSON_PROPERTY_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAddress(@jakarta.annotation.Nonnull String address) { + this.address = address; + } + + public TRLinkOneTimeAddress tag(@jakarta.annotation.Nullable String tag) { + this.tag = tag; + return this; + } + + /** + * Destination tag (memo, memo ID, etc.) + * + * @return tag + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TAG) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTag() { + return tag; + } + + @JsonProperty(JSON_PROPERTY_TAG) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTag(@jakarta.annotation.Nullable String tag) { + this.tag = tag; + } + + /** Return true if this TRLinkOneTimeAddress object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkOneTimeAddress trLinkOneTimeAddress = (TRLinkOneTimeAddress) o; + return Objects.equals(this.address, trLinkOneTimeAddress.address) + && Objects.equals(this.tag, trLinkOneTimeAddress.tag); + } + + @Override + public int hashCode() { + return Objects.hash(address, tag); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkOneTimeAddress {\n"); + sb.append(" address: ").append(toIndentedString(address)).append("\n"); + sb.append(" tag: ").append(toIndentedString(tag)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `address` to the URL query string + if (getAddress() != null) { + joiner.add( + String.format( + "%saddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAddress())))); + } + + // add `tag` to the URL query string + if (getTag() != null) { + joiner.add( + String.format( + "%stag%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTag())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/Version.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPaging.java similarity index 64% rename from src/main/java/com/fireblocks/sdk/model/Version.java rename to src/main/java/com/fireblocks/sdk/model/TRLinkPaging.java index 14dfd101..e56a3cd2 100644 --- a/src/main/java/com/fireblocks/sdk/model/Version.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPaging.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -21,46 +21,46 @@ import java.util.Objects; import java.util.StringJoiner; -/** Version */ -@JsonPropertyOrder({Version.JSON_PROPERTY_HASH}) +/** TRLinkPaging */ +@JsonPropertyOrder({TRLinkPaging.JSON_PROPERTY_NEXT}) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") -public class Version { - public static final String JSON_PROPERTY_HASH = "hash"; - @jakarta.annotation.Nonnull private String hash; +public class TRLinkPaging { + public static final String JSON_PROPERTY_NEXT = "next"; + @jakarta.annotation.Nonnull private String next; - public Version() {} + public TRLinkPaging() {} @JsonCreator - public Version(@JsonProperty(value = JSON_PROPERTY_HASH, required = true) String hash) { - this.hash = hash; + public TRLinkPaging(@JsonProperty(value = JSON_PROPERTY_NEXT, required = true) String next) { + this.next = next; } - public Version hash(@jakarta.annotation.Nonnull String hash) { - this.hash = hash; + public TRLinkPaging next(@jakarta.annotation.Nonnull String next) { + this.next = next; return this; } /** - * The version hash of the cosigner + * Cursor for next page * - * @return hash + * @return next */ @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_HASH) + @JsonProperty(JSON_PROPERTY_NEXT) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getHash() { - return hash; + public String getNext() { + return next; } - @JsonProperty(JSON_PROPERTY_HASH) + @JsonProperty(JSON_PROPERTY_NEXT) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setHash(@jakarta.annotation.Nonnull String hash) { - this.hash = hash; + public void setNext(@jakarta.annotation.Nonnull String next) { + this.next = next; } - /** Return true if this Version object is equal to o. */ + /** Return true if this TRLinkPaging object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -69,20 +69,20 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Version version = (Version) o; - return Objects.equals(this.hash, version.hash); + TRLinkPaging trLinkPaging = (TRLinkPaging) o; + return Objects.equals(this.next, trLinkPaging.next); } @Override public int hashCode() { - return Objects.hash(hash); + return Objects.hash(next); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Version {\n"); - sb.append(" hash: ").append(toIndentedString(hash)).append("\n"); + sb.append("class TRLinkPaging {\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); sb.append("}"); return sb.toString(); } @@ -130,14 +130,14 @@ public String toUrlQueryString(String prefix) { StringJoiner joiner = new StringJoiner("&"); - // add `hash` to the URL query string - if (getHash() != null) { + // add `next` to the URL query string + if (getNext() != null) { joiner.add( String.format( - "%shash%s=%s", + "%snext%s=%s", prefix, suffix, - ApiClient.urlEncode(ApiClient.valueToString(getHash())))); + ApiClient.urlEncode(ApiClient.valueToString(getNext())))); } return joiner.toString(); diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPartnerResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPartnerResponse.java new file mode 100644 index 00000000..da5da205 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPartnerResponse.java @@ -0,0 +1,391 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; +import java.util.UUID; + +/** TRLinkPartnerResponse */ +@JsonPropertyOrder({ + TRLinkPartnerResponse.JSON_PROPERTY_ID, + TRLinkPartnerResponse.JSON_PROPERTY_IDENT, + TRLinkPartnerResponse.JSON_PROPERTY_NAME, + TRLinkPartnerResponse.JSON_PROPERTY_DESCRIPTION, + TRLinkPartnerResponse.JSON_PROPERTY_BASE_URL, + TRLinkPartnerResponse.JSON_PROPERTY_ACTIVE, + TRLinkPartnerResponse.JSON_PROPERTY_IS_TEST +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkPartnerResponse { + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nonnull private UUID id; + + public static final String JSON_PROPERTY_IDENT = "ident"; + @jakarta.annotation.Nonnull private String ident; + + public static final String JSON_PROPERTY_NAME = "name"; + @jakarta.annotation.Nonnull private String name; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + @jakarta.annotation.Nullable private String description; + + public static final String JSON_PROPERTY_BASE_URL = "baseUrl"; + @jakarta.annotation.Nonnull private String baseUrl; + + public static final String JSON_PROPERTY_ACTIVE = "active"; + @jakarta.annotation.Nonnull private Boolean active; + + public static final String JSON_PROPERTY_IS_TEST = "isTest"; + @jakarta.annotation.Nonnull private Boolean isTest; + + public TRLinkPartnerResponse() {} + + @JsonCreator + public TRLinkPartnerResponse( + @JsonProperty(value = JSON_PROPERTY_ID, required = true) UUID id, + @JsonProperty(value = JSON_PROPERTY_IDENT, required = true) String ident, + @JsonProperty(value = JSON_PROPERTY_NAME, required = true) String name, + @JsonProperty(value = JSON_PROPERTY_BASE_URL, required = true) String baseUrl, + @JsonProperty(value = JSON_PROPERTY_ACTIVE, required = true) Boolean active, + @JsonProperty(value = JSON_PROPERTY_IS_TEST, required = true) Boolean isTest) { + this.id = id; + this.ident = ident; + this.name = name; + this.baseUrl = baseUrl; + this.active = active; + this.isTest = isTest; + } + + public TRLinkPartnerResponse id(@jakarta.annotation.Nonnull UUID id) { + this.id = id; + return this; + } + + /** + * Partner unique identifier + * + * @return id + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setId(@jakarta.annotation.Nonnull UUID id) { + this.id = id; + } + + public TRLinkPartnerResponse ident(@jakarta.annotation.Nonnull String ident) { + this.ident = ident; + return this; + } + + /** + * Partner identification code + * + * @return ident + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_IDENT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getIdent() { + return ident; + } + + @JsonProperty(JSON_PROPERTY_IDENT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIdent(@jakarta.annotation.Nonnull String ident) { + this.ident = ident; + } + + public TRLinkPartnerResponse name(@jakarta.annotation.Nonnull String name) { + this.name = name; + return this; + } + + /** + * Partner display name + * + * @return name + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getName() { + return name; + } + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setName(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + public TRLinkPartnerResponse description(@jakarta.annotation.Nullable String description) { + this.description = description; + return this; + } + + /** + * Partner description + * + * @return description + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDescription() { + return description; + } + + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDescription(@jakarta.annotation.Nullable String description) { + this.description = description; + } + + public TRLinkPartnerResponse baseUrl(@jakarta.annotation.Nonnull String baseUrl) { + this.baseUrl = baseUrl; + return this; + } + + /** + * Partner API base URL + * + * @return baseUrl + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BASE_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBaseUrl() { + return baseUrl; + } + + @JsonProperty(JSON_PROPERTY_BASE_URL) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBaseUrl(@jakarta.annotation.Nonnull String baseUrl) { + this.baseUrl = baseUrl; + } + + public TRLinkPartnerResponse active(@jakarta.annotation.Nonnull Boolean active) { + this.active = active; + return this; + } + + /** + * Whether the partner is active + * + * @return active + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ACTIVE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getActive() { + return active; + } + + @JsonProperty(JSON_PROPERTY_ACTIVE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setActive(@jakarta.annotation.Nonnull Boolean active) { + this.active = active; + } + + public TRLinkPartnerResponse isTest(@jakarta.annotation.Nonnull Boolean isTest) { + this.isTest = isTest; + return this; + } + + /** + * Whether this is a test/sandbox partner + * + * @return isTest + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_IS_TEST) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getIsTest() { + return isTest; + } + + @JsonProperty(JSON_PROPERTY_IS_TEST) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIsTest(@jakarta.annotation.Nonnull Boolean isTest) { + this.isTest = isTest; + } + + /** Return true if this TRLinkPartnerResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkPartnerResponse trLinkPartnerResponse = (TRLinkPartnerResponse) o; + return Objects.equals(this.id, trLinkPartnerResponse.id) + && Objects.equals(this.ident, trLinkPartnerResponse.ident) + && Objects.equals(this.name, trLinkPartnerResponse.name) + && Objects.equals(this.description, trLinkPartnerResponse.description) + && Objects.equals(this.baseUrl, trLinkPartnerResponse.baseUrl) + && Objects.equals(this.active, trLinkPartnerResponse.active) + && Objects.equals(this.isTest, trLinkPartnerResponse.isTest); + } + + @Override + public int hashCode() { + return Objects.hash(id, ident, name, description, baseUrl, active, isTest); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkPartnerResponse {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" ident: ").append(toIndentedString(ident)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" baseUrl: ").append(toIndentedString(baseUrl)).append("\n"); + sb.append(" active: ").append(toIndentedString(active)).append("\n"); + sb.append(" isTest: ").append(toIndentedString(isTest)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `ident` to the URL query string + if (getIdent() != null) { + joiner.add( + String.format( + "%sident%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getIdent())))); + } + + // add `name` to the URL query string + if (getName() != null) { + joiner.add( + String.format( + "%sname%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getName())))); + } + + // add `description` to the URL query string + if (getDescription() != null) { + joiner.add( + String.format( + "%sdescription%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDescription())))); + } + + // add `baseUrl` to the URL query string + if (getBaseUrl() != null) { + joiner.add( + String.format( + "%sbaseUrl%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBaseUrl())))); + } + + // add `active` to the URL query string + if (getActive() != null) { + joiner.add( + String.format( + "%sactive%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getActive())))); + } + + // add `isTest` to the URL query string + if (getIsTest() != null) { + joiner.add( + String.format( + "%sisTest%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getIsTest())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPolicyResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPolicyResponse.java new file mode 100644 index 00000000..871bf8eb --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPolicyResponse.java @@ -0,0 +1,309 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLink policy response containing pre-screening, post-screening, and missing TRM rules */ +@JsonPropertyOrder({ + TRLinkPolicyResponse.JSON_PROPERTY_PRE_SCREENING_RULES, + TRLinkPolicyResponse.JSON_PROPERTY_POST_SCREENING_RULES, + TRLinkPolicyResponse.JSON_PROPERTY_MISSING_TRM_RULES +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkPolicyResponse { + public static final String JSON_PROPERTY_PRE_SCREENING_RULES = "preScreeningRules"; + @jakarta.annotation.Nonnull private List preScreeningRules; + + public static final String JSON_PROPERTY_POST_SCREENING_RULES = "postScreeningRules"; + @jakarta.annotation.Nonnull private List postScreeningRules; + + public static final String JSON_PROPERTY_MISSING_TRM_RULES = "missingTrmRules"; + @jakarta.annotation.Nonnull private List missingTrmRules; + + public TRLinkPolicyResponse() {} + + @JsonCreator + public TRLinkPolicyResponse( + @JsonProperty(value = JSON_PROPERTY_PRE_SCREENING_RULES, required = true) + List preScreeningRules, + @JsonProperty(value = JSON_PROPERTY_POST_SCREENING_RULES, required = true) + List postScreeningRules, + @JsonProperty(value = JSON_PROPERTY_MISSING_TRM_RULES, required = true) + List missingTrmRules) { + this.preScreeningRules = preScreeningRules; + this.postScreeningRules = postScreeningRules; + this.missingTrmRules = missingTrmRules; + } + + public TRLinkPolicyResponse preScreeningRules( + @jakarta.annotation.Nonnull List preScreeningRules) { + this.preScreeningRules = preScreeningRules; + return this; + } + + public TRLinkPolicyResponse addPreScreeningRulesItem( + TRLinkPreScreeningRule2 preScreeningRulesItem) { + if (this.preScreeningRules == null) { + this.preScreeningRules = new ArrayList<>(); + } + this.preScreeningRules.add(preScreeningRulesItem); + return this; + } + + /** + * Pre-screening rules that determine whether transactions should be screened + * + * @return preScreeningRules + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_PRE_SCREENING_RULES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getPreScreeningRules() { + return preScreeningRules; + } + + @JsonProperty(JSON_PROPERTY_PRE_SCREENING_RULES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setPreScreeningRules( + @jakarta.annotation.Nonnull List preScreeningRules) { + this.preScreeningRules = preScreeningRules; + } + + public TRLinkPolicyResponse postScreeningRules( + @jakarta.annotation.Nonnull List postScreeningRules) { + this.postScreeningRules = postScreeningRules; + return this; + } + + public TRLinkPolicyResponse addPostScreeningRulesItem( + TRLinkPostScreeningRule2 postScreeningRulesItem) { + if (this.postScreeningRules == null) { + this.postScreeningRules = new ArrayList<>(); + } + this.postScreeningRules.add(postScreeningRulesItem); + return this; + } + + /** + * Post-screening rules that determine actions based on screening results + * + * @return postScreeningRules + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_POST_SCREENING_RULES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getPostScreeningRules() { + return postScreeningRules; + } + + @JsonProperty(JSON_PROPERTY_POST_SCREENING_RULES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setPostScreeningRules( + @jakarta.annotation.Nonnull List postScreeningRules) { + this.postScreeningRules = postScreeningRules; + } + + public TRLinkPolicyResponse missingTrmRules( + @jakarta.annotation.Nonnull List missingTrmRules) { + this.missingTrmRules = missingTrmRules; + return this; + } + + public TRLinkPolicyResponse addMissingTrmRulesItem(TRLinkMissingTrmRule2 missingTrmRulesItem) { + if (this.missingTrmRules == null) { + this.missingTrmRules = new ArrayList<>(); + } + this.missingTrmRules.add(missingTrmRulesItem); + return this; + } + + /** + * Rules for handling transactions when TRM screening data is unavailable + * + * @return missingTrmRules + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_MISSING_TRM_RULES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getMissingTrmRules() { + return missingTrmRules; + } + + @JsonProperty(JSON_PROPERTY_MISSING_TRM_RULES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMissingTrmRules( + @jakarta.annotation.Nonnull List missingTrmRules) { + this.missingTrmRules = missingTrmRules; + } + + /** Return true if this TRLinkPolicyResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkPolicyResponse trLinkPolicyResponse = (TRLinkPolicyResponse) o; + return Objects.equals(this.preScreeningRules, trLinkPolicyResponse.preScreeningRules) + && Objects.equals(this.postScreeningRules, trLinkPolicyResponse.postScreeningRules) + && Objects.equals(this.missingTrmRules, trLinkPolicyResponse.missingTrmRules); + } + + @Override + public int hashCode() { + return Objects.hash(preScreeningRules, postScreeningRules, missingTrmRules); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkPolicyResponse {\n"); + sb.append(" preScreeningRules: ") + .append(toIndentedString(preScreeningRules)) + .append("\n"); + sb.append(" postScreeningRules: ") + .append(toIndentedString(postScreeningRules)) + .append("\n"); + sb.append(" missingTrmRules: ").append(toIndentedString(missingTrmRules)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `preScreeningRules` to the URL query string + if (getPreScreeningRules() != null) { + for (int i = 0; i < getPreScreeningRules().size(); i++) { + if (getPreScreeningRules().get(i) != null) { + joiner.add( + getPreScreeningRules() + .get(i) + .toUrlQueryString( + String.format( + "%spreScreeningRules%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + // add `postScreeningRules` to the URL query string + if (getPostScreeningRules() != null) { + for (int i = 0; i < getPostScreeningRules().size(); i++) { + if (getPostScreeningRules().get(i) != null) { + joiner.add( + getPostScreeningRules() + .get(i) + .toUrlQueryString( + String.format( + "%spostScreeningRules%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + // add `missingTrmRules` to the URL query string + if (getMissingTrmRules() != null) { + for (int i = 0; i < getMissingTrmRules().size(); i++) { + if (getMissingTrmRules().get(i) != null) { + joiner.add( + getMissingTrmRules() + .get(i) + .toUrlQueryString( + String.format( + "%smissingTrmRules%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningAction.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningAction.java new file mode 100644 index 00000000..6f0dbb91 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningAction.java @@ -0,0 +1,68 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets TRLinkPostScreeningAction */ +public enum TRLinkPostScreeningAction { + ACCEPT("ACCEPT"), + + ALERT("ALERT"), + + REJECT("REJECT"), + + WAIT("WAIT"); + + private String value; + + TRLinkPostScreeningAction(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TRLinkPostScreeningAction fromValue(String value) { + for (TRLinkPostScreeningAction b : TRLinkPostScreeningAction.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule.java index 2c28e4a0..049ac33f 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule2.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule2.java new file mode 100644 index 00000000..c53b369b --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule2.java @@ -0,0 +1,992 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** Post-screening rule that determines the verdict based on screening results */ +@JsonPropertyOrder({ + TRLinkPostScreeningRule2.JSON_PROPERTY_CUSTOMER_ID, + TRLinkPostScreeningRule2.JSON_PROPERTY_DIRECTION, + TRLinkPostScreeningRule2.JSON_PROPERTY_SOURCE_TYPE, + TRLinkPostScreeningRule2.JSON_PROPERTY_SOURCE_SUB_TYPE, + TRLinkPostScreeningRule2.JSON_PROPERTY_SOURCE_ADDRESS, + TRLinkPostScreeningRule2.JSON_PROPERTY_DEST_TYPE, + TRLinkPostScreeningRule2.JSON_PROPERTY_DEST_SUB_TYPE, + TRLinkPostScreeningRule2.JSON_PROPERTY_DEST_ADDRESS, + TRLinkPostScreeningRule2.JSON_PROPERTY_SOURCE_ID, + TRLinkPostScreeningRule2.JSON_PROPERTY_DEST_ID, + TRLinkPostScreeningRule2.JSON_PROPERTY_ASSET, + TRLinkPostScreeningRule2.JSON_PROPERTY_BASE_ASSET, + TRLinkPostScreeningRule2.JSON_PROPERTY_AMOUNT, + TRLinkPostScreeningRule2.JSON_PROPERTY_NETWORK_PROTOCOL, + TRLinkPostScreeningRule2.JSON_PROPERTY_OPERATION, + TRLinkPostScreeningRule2.JSON_PROPERTY_DESCRIPTION, + TRLinkPostScreeningRule2.JSON_PROPERTY_IS_DEFAULT, + TRLinkPostScreeningRule2.JSON_PROPERTY_PROVIDER_IDENT, + TRLinkPostScreeningRule2.JSON_PROPERTY_TRM_STATUS, + TRLinkPostScreeningRule2.JSON_PROPERTY_VALID_BEFORE, + TRLinkPostScreeningRule2.JSON_PROPERTY_VALID_AFTER, + TRLinkPostScreeningRule2.JSON_PROPERTY_ACTION +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkPostScreeningRule2 { + public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId"; + @jakarta.annotation.Nullable private String customerId; + + public static final String JSON_PROPERTY_DIRECTION = "direction"; + @jakarta.annotation.Nullable private TRLinkTransactionDirection direction; + + public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType"; + @jakarta.annotation.Nullable private String sourceType; + + public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType"; + @jakarta.annotation.Nullable private String sourceSubType; + + public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress"; + @jakarta.annotation.Nullable private String sourceAddress; + + public static final String JSON_PROPERTY_DEST_TYPE = "destType"; + @jakarta.annotation.Nullable private String destType; + + public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType"; + @jakarta.annotation.Nullable private String destSubType; + + public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress"; + @jakarta.annotation.Nullable private String destAddress; + + public static final String JSON_PROPERTY_SOURCE_ID = "sourceId"; + @jakarta.annotation.Nullable private String sourceId; + + public static final String JSON_PROPERTY_DEST_ID = "destId"; + @jakarta.annotation.Nullable private String destId; + + public static final String JSON_PROPERTY_ASSET = "asset"; + @jakarta.annotation.Nullable private String asset; + + public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset"; + @jakarta.annotation.Nullable private String baseAsset; + + public static final String JSON_PROPERTY_AMOUNT = "amount"; + @jakarta.annotation.Nullable private TRLinkAmount2 amount; + + public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol"; + @jakarta.annotation.Nullable private String networkProtocol; + + public static final String JSON_PROPERTY_OPERATION = "operation"; + @jakarta.annotation.Nullable private String operation; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + @jakarta.annotation.Nullable private String description; + + public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault"; + @jakarta.annotation.Nullable private Boolean isDefault; + + public static final String JSON_PROPERTY_PROVIDER_IDENT = "providerIdent"; + @jakarta.annotation.Nullable private String providerIdent; + + public static final String JSON_PROPERTY_TRM_STATUS = "trmStatus"; + @jakarta.annotation.Nullable private TRLinkTrmStatus trmStatus; + + public static final String JSON_PROPERTY_VALID_BEFORE = "validBefore"; + @jakarta.annotation.Nullable private Long validBefore; + + public static final String JSON_PROPERTY_VALID_AFTER = "validAfter"; + @jakarta.annotation.Nullable private Long validAfter; + + public static final String JSON_PROPERTY_ACTION = "action"; + @jakarta.annotation.Nonnull private TRLinkPostScreeningAction action; + + public TRLinkPostScreeningRule2() {} + + @JsonCreator + public TRLinkPostScreeningRule2( + @JsonProperty(value = JSON_PROPERTY_ACTION, required = true) + TRLinkPostScreeningAction action) { + this.action = action; + } + + public TRLinkPostScreeningRule2 customerId(@jakarta.annotation.Nullable String customerId) { + this.customerId = customerId; + return this; + } + + /** + * Customer identifier + * + * @return customerId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CUSTOMER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCustomerId() { + return customerId; + } + + @JsonProperty(JSON_PROPERTY_CUSTOMER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomerId(@jakarta.annotation.Nullable String customerId) { + this.customerId = customerId; + } + + public TRLinkPostScreeningRule2 direction( + @jakarta.annotation.Nullable TRLinkTransactionDirection direction) { + this.direction = direction; + return this; + } + + /** + * Get direction + * + * @return direction + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkTransactionDirection getDirection() { + return direction; + } + + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDirection(@jakarta.annotation.Nullable TRLinkTransactionDirection direction) { + this.direction = direction; + } + + public TRLinkPostScreeningRule2 sourceType(@jakarta.annotation.Nullable String sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Source entity type + * + * @return sourceType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceType() { + return sourceType; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceType(@jakarta.annotation.Nullable String sourceType) { + this.sourceType = sourceType; + } + + public TRLinkPostScreeningRule2 sourceSubType( + @jakarta.annotation.Nullable String sourceSubType) { + this.sourceSubType = sourceSubType; + return this; + } + + /** + * Source entity subtype + * + * @return sourceSubType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceSubType() { + return sourceSubType; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceSubType(@jakarta.annotation.Nullable String sourceSubType) { + this.sourceSubType = sourceSubType; + } + + public TRLinkPostScreeningRule2 sourceAddress( + @jakarta.annotation.Nullable String sourceAddress) { + this.sourceAddress = sourceAddress; + return this; + } + + /** + * Source blockchain address + * + * @return sourceAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceAddress() { + return sourceAddress; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) { + this.sourceAddress = sourceAddress; + } + + public TRLinkPostScreeningRule2 destType(@jakarta.annotation.Nullable String destType) { + this.destType = destType; + return this; + } + + /** + * Destination entity type + * + * @return destType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestType() { + return destType; + } + + @JsonProperty(JSON_PROPERTY_DEST_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestType(@jakarta.annotation.Nullable String destType) { + this.destType = destType; + } + + public TRLinkPostScreeningRule2 destSubType(@jakarta.annotation.Nullable String destSubType) { + this.destSubType = destSubType; + return this; + } + + /** + * Destination entity subtype + * + * @return destSubType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestSubType() { + return destSubType; + } + + @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestSubType(@jakarta.annotation.Nullable String destSubType) { + this.destSubType = destSubType; + } + + public TRLinkPostScreeningRule2 destAddress(@jakarta.annotation.Nullable String destAddress) { + this.destAddress = destAddress; + return this; + } + + /** + * Destination blockchain address + * + * @return destAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestAddress() { + return destAddress; + } + + @JsonProperty(JSON_PROPERTY_DEST_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestAddress(@jakarta.annotation.Nullable String destAddress) { + this.destAddress = destAddress; + } + + public TRLinkPostScreeningRule2 sourceId(@jakarta.annotation.Nullable String sourceId) { + this.sourceId = sourceId; + return this; + } + + /** + * Source identifier + * + * @return sourceId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceId() { + return sourceId; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceId(@jakarta.annotation.Nullable String sourceId) { + this.sourceId = sourceId; + } + + public TRLinkPostScreeningRule2 destId(@jakarta.annotation.Nullable String destId) { + this.destId = destId; + return this; + } + + /** + * Destination identifier + * + * @return destId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestId() { + return destId; + } + + @JsonProperty(JSON_PROPERTY_DEST_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestId(@jakarta.annotation.Nullable String destId) { + this.destId = destId; + } + + public TRLinkPostScreeningRule2 asset(@jakarta.annotation.Nullable String asset) { + this.asset = asset; + return this; + } + + /** + * Asset or cryptocurrency type + * + * @return asset + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAsset() { + return asset; + } + + @JsonProperty(JSON_PROPERTY_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAsset(@jakarta.annotation.Nullable String asset) { + this.asset = asset; + } + + public TRLinkPostScreeningRule2 baseAsset(@jakarta.annotation.Nullable String baseAsset) { + this.baseAsset = baseAsset; + return this; + } + + /** + * Base asset for derivatives + * + * @return baseAsset + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BASE_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBaseAsset() { + return baseAsset; + } + + @JsonProperty(JSON_PROPERTY_BASE_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) { + this.baseAsset = baseAsset; + } + + public TRLinkPostScreeningRule2 amount(@jakarta.annotation.Nullable TRLinkAmount2 amount) { + this.amount = amount; + return this; + } + + /** + * Get amount + * + * @return amount + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkAmount2 getAmount() { + return amount; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAmount(@jakarta.annotation.Nullable TRLinkAmount2 amount) { + this.amount = amount; + } + + public TRLinkPostScreeningRule2 networkProtocol( + @jakarta.annotation.Nullable String networkProtocol) { + this.networkProtocol = networkProtocol; + return this; + } + + /** + * Network protocol identifier + * + * @return networkProtocol + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNetworkProtocol() { + return networkProtocol; + } + + @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) { + this.networkProtocol = networkProtocol; + } + + public TRLinkPostScreeningRule2 operation(@jakarta.annotation.Nullable String operation) { + this.operation = operation; + return this; + } + + /** + * Operation type + * + * @return operation + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_OPERATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getOperation() { + return operation; + } + + @JsonProperty(JSON_PROPERTY_OPERATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperation(@jakarta.annotation.Nullable String operation) { + this.operation = operation; + } + + public TRLinkPostScreeningRule2 description(@jakarta.annotation.Nullable String description) { + this.description = description; + return this; + } + + /** + * Rule description + * + * @return description + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDescription() { + return description; + } + + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDescription(@jakarta.annotation.Nullable String description) { + this.description = description; + } + + public TRLinkPostScreeningRule2 isDefault(@jakarta.annotation.Nullable Boolean isDefault) { + this.isDefault = isDefault; + return this; + } + + /** + * Whether this is a default rule + * + * @return isDefault + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IS_DEFAULT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIsDefault() { + return isDefault; + } + + @JsonProperty(JSON_PROPERTY_IS_DEFAULT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) { + this.isDefault = isDefault; + } + + public TRLinkPostScreeningRule2 providerIdent( + @jakarta.annotation.Nullable String providerIdent) { + this.providerIdent = providerIdent; + return this; + } + + /** + * TRP provider identifier + * + * @return providerIdent + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PROVIDER_IDENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getProviderIdent() { + return providerIdent; + } + + @JsonProperty(JSON_PROPERTY_PROVIDER_IDENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setProviderIdent(@jakarta.annotation.Nullable String providerIdent) { + this.providerIdent = providerIdent; + } + + public TRLinkPostScreeningRule2 trmStatus( + @jakarta.annotation.Nullable TRLinkTrmStatus trmStatus) { + this.trmStatus = trmStatus; + return this; + } + + /** + * Get trmStatus + * + * @return trmStatus + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TRM_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkTrmStatus getTrmStatus() { + return trmStatus; + } + + @JsonProperty(JSON_PROPERTY_TRM_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTrmStatus(@jakarta.annotation.Nullable TRLinkTrmStatus trmStatus) { + this.trmStatus = trmStatus; + } + + public TRLinkPostScreeningRule2 validBefore(@jakarta.annotation.Nullable Long validBefore) { + this.validBefore = validBefore; + return this; + } + + /** + * Rule is valid before this timestamp (milliseconds) + * + * @return validBefore + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VALID_BEFORE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getValidBefore() { + return validBefore; + } + + @JsonProperty(JSON_PROPERTY_VALID_BEFORE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setValidBefore(@jakarta.annotation.Nullable Long validBefore) { + this.validBefore = validBefore; + } + + public TRLinkPostScreeningRule2 validAfter(@jakarta.annotation.Nullable Long validAfter) { + this.validAfter = validAfter; + return this; + } + + /** + * Rule is valid after this timestamp (milliseconds) + * + * @return validAfter + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VALID_AFTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getValidAfter() { + return validAfter; + } + + @JsonProperty(JSON_PROPERTY_VALID_AFTER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setValidAfter(@jakarta.annotation.Nullable Long validAfter) { + this.validAfter = validAfter; + } + + public TRLinkPostScreeningRule2 action( + @jakarta.annotation.Nonnull TRLinkPostScreeningAction action) { + this.action = action; + return this; + } + + /** + * Get action + * + * @return action + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ACTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkPostScreeningAction getAction() { + return action; + } + + @JsonProperty(JSON_PROPERTY_ACTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAction(@jakarta.annotation.Nonnull TRLinkPostScreeningAction action) { + this.action = action; + } + + /** Return true if this TRLinkPostScreeningRule-2 object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkPostScreeningRule2 trLinkPostScreeningRule2 = (TRLinkPostScreeningRule2) o; + return Objects.equals(this.customerId, trLinkPostScreeningRule2.customerId) + && Objects.equals(this.direction, trLinkPostScreeningRule2.direction) + && Objects.equals(this.sourceType, trLinkPostScreeningRule2.sourceType) + && Objects.equals(this.sourceSubType, trLinkPostScreeningRule2.sourceSubType) + && Objects.equals(this.sourceAddress, trLinkPostScreeningRule2.sourceAddress) + && Objects.equals(this.destType, trLinkPostScreeningRule2.destType) + && Objects.equals(this.destSubType, trLinkPostScreeningRule2.destSubType) + && Objects.equals(this.destAddress, trLinkPostScreeningRule2.destAddress) + && Objects.equals(this.sourceId, trLinkPostScreeningRule2.sourceId) + && Objects.equals(this.destId, trLinkPostScreeningRule2.destId) + && Objects.equals(this.asset, trLinkPostScreeningRule2.asset) + && Objects.equals(this.baseAsset, trLinkPostScreeningRule2.baseAsset) + && Objects.equals(this.amount, trLinkPostScreeningRule2.amount) + && Objects.equals(this.networkProtocol, trLinkPostScreeningRule2.networkProtocol) + && Objects.equals(this.operation, trLinkPostScreeningRule2.operation) + && Objects.equals(this.description, trLinkPostScreeningRule2.description) + && Objects.equals(this.isDefault, trLinkPostScreeningRule2.isDefault) + && Objects.equals(this.providerIdent, trLinkPostScreeningRule2.providerIdent) + && Objects.equals(this.trmStatus, trLinkPostScreeningRule2.trmStatus) + && Objects.equals(this.validBefore, trLinkPostScreeningRule2.validBefore) + && Objects.equals(this.validAfter, trLinkPostScreeningRule2.validAfter) + && Objects.equals(this.action, trLinkPostScreeningRule2.action); + } + + @Override + public int hashCode() { + return Objects.hash( + customerId, + direction, + sourceType, + sourceSubType, + sourceAddress, + destType, + destSubType, + destAddress, + sourceId, + destId, + asset, + baseAsset, + amount, + networkProtocol, + operation, + description, + isDefault, + providerIdent, + trmStatus, + validBefore, + validAfter, + action); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkPostScreeningRule2 {\n"); + sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); + sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n"); + sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n"); + sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n"); + sb.append(" destType: ").append(toIndentedString(destType)).append("\n"); + sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n"); + sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n"); + sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n"); + sb.append(" destId: ").append(toIndentedString(destId)).append("\n"); + sb.append(" asset: ").append(toIndentedString(asset)).append("\n"); + sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n"); + sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); + sb.append(" providerIdent: ").append(toIndentedString(providerIdent)).append("\n"); + sb.append(" trmStatus: ").append(toIndentedString(trmStatus)).append("\n"); + sb.append(" validBefore: ").append(toIndentedString(validBefore)).append("\n"); + sb.append(" validAfter: ").append(toIndentedString(validAfter)).append("\n"); + sb.append(" action: ").append(toIndentedString(action)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `customerId` to the URL query string + if (getCustomerId() != null) { + joiner.add( + String.format( + "%scustomerId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCustomerId())))); + } + + // add `direction` to the URL query string + if (getDirection() != null) { + joiner.add( + String.format( + "%sdirection%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDirection())))); + } + + // add `sourceType` to the URL query string + if (getSourceType() != null) { + joiner.add( + String.format( + "%ssourceType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceType())))); + } + + // add `sourceSubType` to the URL query string + if (getSourceSubType() != null) { + joiner.add( + String.format( + "%ssourceSubType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType())))); + } + + // add `sourceAddress` to the URL query string + if (getSourceAddress() != null) { + joiner.add( + String.format( + "%ssourceAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress())))); + } + + // add `destType` to the URL query string + if (getDestType() != null) { + joiner.add( + String.format( + "%sdestType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestType())))); + } + + // add `destSubType` to the URL query string + if (getDestSubType() != null) { + joiner.add( + String.format( + "%sdestSubType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestSubType())))); + } + + // add `destAddress` to the URL query string + if (getDestAddress() != null) { + joiner.add( + String.format( + "%sdestAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestAddress())))); + } + + // add `sourceId` to the URL query string + if (getSourceId() != null) { + joiner.add( + String.format( + "%ssourceId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceId())))); + } + + // add `destId` to the URL query string + if (getDestId() != null) { + joiner.add( + String.format( + "%sdestId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestId())))); + } + + // add `asset` to the URL query string + if (getAsset() != null) { + joiner.add( + String.format( + "%sasset%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAsset())))); + } + + // add `baseAsset` to the URL query string + if (getBaseAsset() != null) { + joiner.add( + String.format( + "%sbaseAsset%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset())))); + } + + // add `amount` to the URL query string + if (getAmount() != null) { + joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix)); + } + + // add `networkProtocol` to the URL query string + if (getNetworkProtocol() != null) { + joiner.add( + String.format( + "%snetworkProtocol%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol())))); + } + + // add `operation` to the URL query string + if (getOperation() != null) { + joiner.add( + String.format( + "%soperation%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getOperation())))); + } + + // add `description` to the URL query string + if (getDescription() != null) { + joiner.add( + String.format( + "%sdescription%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDescription())))); + } + + // add `isDefault` to the URL query string + if (getIsDefault() != null) { + joiner.add( + String.format( + "%sisDefault%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getIsDefault())))); + } + + // add `providerIdent` to the URL query string + if (getProviderIdent() != null) { + joiner.add( + String.format( + "%sproviderIdent%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getProviderIdent())))); + } + + // add `trmStatus` to the URL query string + if (getTrmStatus() != null) { + joiner.add( + String.format( + "%strmStatus%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTrmStatus())))); + } + + // add `validBefore` to the URL query string + if (getValidBefore() != null) { + joiner.add( + String.format( + "%svalidBefore%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getValidBefore())))); + } + + // add `validAfter` to the URL query string + if (getValidAfter() != null) { + joiner.add( + String.format( + "%svalidAfter%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getValidAfter())))); + } + + // add `action` to the URL query string + if (getAction() != null) { + joiner.add( + String.format( + "%saction%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAction())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction.java index 74c49fe0..9dd5cd2c 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction2.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction2.java new file mode 100644 index 00000000..5b00628d --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction2.java @@ -0,0 +1,64 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Gets or Sets TRLinkPreScreeningAction-2 */ +public enum TRLinkPreScreeningAction2 { + SCREEN("SCREEN"), + + PASS("PASS"); + + private String value; + + TRLinkPreScreeningAction2(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TRLinkPreScreeningAction2 fromValue(String value) { + for (TRLinkPreScreeningAction2 b : TRLinkPreScreeningAction2.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnum.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnum.java index 463da88c..4fb3ebe4 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule.java index 2e455341..b870b3ae 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule2.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule2.java new file mode 100644 index 00000000..b6dae9f7 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule2.java @@ -0,0 +1,830 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** Pre-screening rule that determines if a transaction should be screened */ +@JsonPropertyOrder({ + TRLinkPreScreeningRule2.JSON_PROPERTY_CUSTOMER_ID, + TRLinkPreScreeningRule2.JSON_PROPERTY_DIRECTION, + TRLinkPreScreeningRule2.JSON_PROPERTY_SOURCE_TYPE, + TRLinkPreScreeningRule2.JSON_PROPERTY_SOURCE_SUB_TYPE, + TRLinkPreScreeningRule2.JSON_PROPERTY_SOURCE_ADDRESS, + TRLinkPreScreeningRule2.JSON_PROPERTY_DEST_TYPE, + TRLinkPreScreeningRule2.JSON_PROPERTY_DEST_SUB_TYPE, + TRLinkPreScreeningRule2.JSON_PROPERTY_DEST_ADDRESS, + TRLinkPreScreeningRule2.JSON_PROPERTY_SOURCE_ID, + TRLinkPreScreeningRule2.JSON_PROPERTY_DEST_ID, + TRLinkPreScreeningRule2.JSON_PROPERTY_ASSET, + TRLinkPreScreeningRule2.JSON_PROPERTY_BASE_ASSET, + TRLinkPreScreeningRule2.JSON_PROPERTY_AMOUNT, + TRLinkPreScreeningRule2.JSON_PROPERTY_NETWORK_PROTOCOL, + TRLinkPreScreeningRule2.JSON_PROPERTY_OPERATION, + TRLinkPreScreeningRule2.JSON_PROPERTY_DESCRIPTION, + TRLinkPreScreeningRule2.JSON_PROPERTY_IS_DEFAULT, + TRLinkPreScreeningRule2.JSON_PROPERTY_ACTION +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkPreScreeningRule2 { + public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId"; + @jakarta.annotation.Nullable private String customerId; + + public static final String JSON_PROPERTY_DIRECTION = "direction"; + @jakarta.annotation.Nullable private TRLinkTransactionDirection direction; + + public static final String JSON_PROPERTY_SOURCE_TYPE = "sourceType"; + @jakarta.annotation.Nullable private String sourceType; + + public static final String JSON_PROPERTY_SOURCE_SUB_TYPE = "sourceSubType"; + @jakarta.annotation.Nullable private String sourceSubType; + + public static final String JSON_PROPERTY_SOURCE_ADDRESS = "sourceAddress"; + @jakarta.annotation.Nullable private String sourceAddress; + + public static final String JSON_PROPERTY_DEST_TYPE = "destType"; + @jakarta.annotation.Nullable private String destType; + + public static final String JSON_PROPERTY_DEST_SUB_TYPE = "destSubType"; + @jakarta.annotation.Nullable private String destSubType; + + public static final String JSON_PROPERTY_DEST_ADDRESS = "destAddress"; + @jakarta.annotation.Nullable private String destAddress; + + public static final String JSON_PROPERTY_SOURCE_ID = "sourceId"; + @jakarta.annotation.Nullable private String sourceId; + + public static final String JSON_PROPERTY_DEST_ID = "destId"; + @jakarta.annotation.Nullable private String destId; + + public static final String JSON_PROPERTY_ASSET = "asset"; + @jakarta.annotation.Nullable private String asset; + + public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset"; + @jakarta.annotation.Nullable private String baseAsset; + + public static final String JSON_PROPERTY_AMOUNT = "amount"; + @jakarta.annotation.Nullable private TRLinkAmount2 amount; + + public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol"; + @jakarta.annotation.Nullable private String networkProtocol; + + public static final String JSON_PROPERTY_OPERATION = "operation"; + @jakarta.annotation.Nullable private String operation; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + @jakarta.annotation.Nullable private String description; + + public static final String JSON_PROPERTY_IS_DEFAULT = "isDefault"; + @jakarta.annotation.Nullable private Boolean isDefault; + + public static final String JSON_PROPERTY_ACTION = "action"; + @jakarta.annotation.Nonnull private TRLinkPreScreeningAction2 action; + + public TRLinkPreScreeningRule2() {} + + @JsonCreator + public TRLinkPreScreeningRule2( + @JsonProperty(value = JSON_PROPERTY_ACTION, required = true) + TRLinkPreScreeningAction2 action) { + this.action = action; + } + + public TRLinkPreScreeningRule2 customerId(@jakarta.annotation.Nullable String customerId) { + this.customerId = customerId; + return this; + } + + /** + * Customer identifier + * + * @return customerId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CUSTOMER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCustomerId() { + return customerId; + } + + @JsonProperty(JSON_PROPERTY_CUSTOMER_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCustomerId(@jakarta.annotation.Nullable String customerId) { + this.customerId = customerId; + } + + public TRLinkPreScreeningRule2 direction( + @jakarta.annotation.Nullable TRLinkTransactionDirection direction) { + this.direction = direction; + return this; + } + + /** + * Get direction + * + * @return direction + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkTransactionDirection getDirection() { + return direction; + } + + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDirection(@jakarta.annotation.Nullable TRLinkTransactionDirection direction) { + this.direction = direction; + } + + public TRLinkPreScreeningRule2 sourceType(@jakarta.annotation.Nullable String sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Source entity type + * + * @return sourceType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceType() { + return sourceType; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceType(@jakarta.annotation.Nullable String sourceType) { + this.sourceType = sourceType; + } + + public TRLinkPreScreeningRule2 sourceSubType( + @jakarta.annotation.Nullable String sourceSubType) { + this.sourceSubType = sourceSubType; + return this; + } + + /** + * Source entity subtype + * + * @return sourceSubType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceSubType() { + return sourceSubType; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceSubType(@jakarta.annotation.Nullable String sourceSubType) { + this.sourceSubType = sourceSubType; + } + + public TRLinkPreScreeningRule2 sourceAddress( + @jakarta.annotation.Nullable String sourceAddress) { + this.sourceAddress = sourceAddress; + return this; + } + + /** + * Source blockchain address + * + * @return sourceAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceAddress() { + return sourceAddress; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceAddress(@jakarta.annotation.Nullable String sourceAddress) { + this.sourceAddress = sourceAddress; + } + + public TRLinkPreScreeningRule2 destType(@jakarta.annotation.Nullable String destType) { + this.destType = destType; + return this; + } + + /** + * Destination entity type + * + * @return destType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestType() { + return destType; + } + + @JsonProperty(JSON_PROPERTY_DEST_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestType(@jakarta.annotation.Nullable String destType) { + this.destType = destType; + } + + public TRLinkPreScreeningRule2 destSubType(@jakarta.annotation.Nullable String destSubType) { + this.destSubType = destSubType; + return this; + } + + /** + * Destination entity subtype + * + * @return destSubType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestSubType() { + return destSubType; + } + + @JsonProperty(JSON_PROPERTY_DEST_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestSubType(@jakarta.annotation.Nullable String destSubType) { + this.destSubType = destSubType; + } + + public TRLinkPreScreeningRule2 destAddress(@jakarta.annotation.Nullable String destAddress) { + this.destAddress = destAddress; + return this; + } + + /** + * Destination blockchain address + * + * @return destAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestAddress() { + return destAddress; + } + + @JsonProperty(JSON_PROPERTY_DEST_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestAddress(@jakarta.annotation.Nullable String destAddress) { + this.destAddress = destAddress; + } + + public TRLinkPreScreeningRule2 sourceId(@jakarta.annotation.Nullable String sourceId) { + this.sourceId = sourceId; + return this; + } + + /** + * Source identifier + * + * @return sourceId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SOURCE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSourceId() { + return sourceId; + } + + @JsonProperty(JSON_PROPERTY_SOURCE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSourceId(@jakarta.annotation.Nullable String sourceId) { + this.sourceId = sourceId; + } + + public TRLinkPreScreeningRule2 destId(@jakarta.annotation.Nullable String destId) { + this.destId = destId; + return this; + } + + /** + * Destination identifier + * + * @return destId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DEST_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDestId() { + return destId; + } + + @JsonProperty(JSON_PROPERTY_DEST_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDestId(@jakarta.annotation.Nullable String destId) { + this.destId = destId; + } + + public TRLinkPreScreeningRule2 asset(@jakarta.annotation.Nullable String asset) { + this.asset = asset; + return this; + } + + /** + * Asset or cryptocurrency type + * + * @return asset + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAsset() { + return asset; + } + + @JsonProperty(JSON_PROPERTY_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAsset(@jakarta.annotation.Nullable String asset) { + this.asset = asset; + } + + public TRLinkPreScreeningRule2 baseAsset(@jakarta.annotation.Nullable String baseAsset) { + this.baseAsset = baseAsset; + return this; + } + + /** + * Base asset for derivatives + * + * @return baseAsset + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BASE_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBaseAsset() { + return baseAsset; + } + + @JsonProperty(JSON_PROPERTY_BASE_ASSET) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) { + this.baseAsset = baseAsset; + } + + public TRLinkPreScreeningRule2 amount(@jakarta.annotation.Nullable TRLinkAmount2 amount) { + this.amount = amount; + return this; + } + + /** + * Get amount + * + * @return amount + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkAmount2 getAmount() { + return amount; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAmount(@jakarta.annotation.Nullable TRLinkAmount2 amount) { + this.amount = amount; + } + + public TRLinkPreScreeningRule2 networkProtocol( + @jakarta.annotation.Nullable String networkProtocol) { + this.networkProtocol = networkProtocol; + return this; + } + + /** + * Network protocol identifier + * + * @return networkProtocol + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNetworkProtocol() { + return networkProtocol; + } + + @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) { + this.networkProtocol = networkProtocol; + } + + public TRLinkPreScreeningRule2 operation(@jakarta.annotation.Nullable String operation) { + this.operation = operation; + return this; + } + + /** + * Operation type + * + * @return operation + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_OPERATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getOperation() { + return operation; + } + + @JsonProperty(JSON_PROPERTY_OPERATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOperation(@jakarta.annotation.Nullable String operation) { + this.operation = operation; + } + + public TRLinkPreScreeningRule2 description(@jakarta.annotation.Nullable String description) { + this.description = description; + return this; + } + + /** + * Rule description + * + * @return description + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDescription() { + return description; + } + + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDescription(@jakarta.annotation.Nullable String description) { + this.description = description; + } + + public TRLinkPreScreeningRule2 isDefault(@jakarta.annotation.Nullable Boolean isDefault) { + this.isDefault = isDefault; + return this; + } + + /** + * Whether this is a default rule + * + * @return isDefault + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IS_DEFAULT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIsDefault() { + return isDefault; + } + + @JsonProperty(JSON_PROPERTY_IS_DEFAULT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIsDefault(@jakarta.annotation.Nullable Boolean isDefault) { + this.isDefault = isDefault; + } + + public TRLinkPreScreeningRule2 action( + @jakarta.annotation.Nonnull TRLinkPreScreeningAction2 action) { + this.action = action; + return this; + } + + /** + * Get action + * + * @return action + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ACTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkPreScreeningAction2 getAction() { + return action; + } + + @JsonProperty(JSON_PROPERTY_ACTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAction(@jakarta.annotation.Nonnull TRLinkPreScreeningAction2 action) { + this.action = action; + } + + /** Return true if this TRLinkPreScreeningRule-2 object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkPreScreeningRule2 trLinkPreScreeningRule2 = (TRLinkPreScreeningRule2) o; + return Objects.equals(this.customerId, trLinkPreScreeningRule2.customerId) + && Objects.equals(this.direction, trLinkPreScreeningRule2.direction) + && Objects.equals(this.sourceType, trLinkPreScreeningRule2.sourceType) + && Objects.equals(this.sourceSubType, trLinkPreScreeningRule2.sourceSubType) + && Objects.equals(this.sourceAddress, trLinkPreScreeningRule2.sourceAddress) + && Objects.equals(this.destType, trLinkPreScreeningRule2.destType) + && Objects.equals(this.destSubType, trLinkPreScreeningRule2.destSubType) + && Objects.equals(this.destAddress, trLinkPreScreeningRule2.destAddress) + && Objects.equals(this.sourceId, trLinkPreScreeningRule2.sourceId) + && Objects.equals(this.destId, trLinkPreScreeningRule2.destId) + && Objects.equals(this.asset, trLinkPreScreeningRule2.asset) + && Objects.equals(this.baseAsset, trLinkPreScreeningRule2.baseAsset) + && Objects.equals(this.amount, trLinkPreScreeningRule2.amount) + && Objects.equals(this.networkProtocol, trLinkPreScreeningRule2.networkProtocol) + && Objects.equals(this.operation, trLinkPreScreeningRule2.operation) + && Objects.equals(this.description, trLinkPreScreeningRule2.description) + && Objects.equals(this.isDefault, trLinkPreScreeningRule2.isDefault) + && Objects.equals(this.action, trLinkPreScreeningRule2.action); + } + + @Override + public int hashCode() { + return Objects.hash( + customerId, + direction, + sourceType, + sourceSubType, + sourceAddress, + destType, + destSubType, + destAddress, + sourceId, + destId, + asset, + baseAsset, + amount, + networkProtocol, + operation, + description, + isDefault, + action); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkPreScreeningRule2 {\n"); + sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n"); + sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); + sb.append(" sourceType: ").append(toIndentedString(sourceType)).append("\n"); + sb.append(" sourceSubType: ").append(toIndentedString(sourceSubType)).append("\n"); + sb.append(" sourceAddress: ").append(toIndentedString(sourceAddress)).append("\n"); + sb.append(" destType: ").append(toIndentedString(destType)).append("\n"); + sb.append(" destSubType: ").append(toIndentedString(destSubType)).append("\n"); + sb.append(" destAddress: ").append(toIndentedString(destAddress)).append("\n"); + sb.append(" sourceId: ").append(toIndentedString(sourceId)).append("\n"); + sb.append(" destId: ").append(toIndentedString(destId)).append("\n"); + sb.append(" asset: ").append(toIndentedString(asset)).append("\n"); + sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n"); + sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); + sb.append(" action: ").append(toIndentedString(action)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `customerId` to the URL query string + if (getCustomerId() != null) { + joiner.add( + String.format( + "%scustomerId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCustomerId())))); + } + + // add `direction` to the URL query string + if (getDirection() != null) { + joiner.add( + String.format( + "%sdirection%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDirection())))); + } + + // add `sourceType` to the URL query string + if (getSourceType() != null) { + joiner.add( + String.format( + "%ssourceType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceType())))); + } + + // add `sourceSubType` to the URL query string + if (getSourceSubType() != null) { + joiner.add( + String.format( + "%ssourceSubType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceSubType())))); + } + + // add `sourceAddress` to the URL query string + if (getSourceAddress() != null) { + joiner.add( + String.format( + "%ssourceAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceAddress())))); + } + + // add `destType` to the URL query string + if (getDestType() != null) { + joiner.add( + String.format( + "%sdestType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestType())))); + } + + // add `destSubType` to the URL query string + if (getDestSubType() != null) { + joiner.add( + String.format( + "%sdestSubType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestSubType())))); + } + + // add `destAddress` to the URL query string + if (getDestAddress() != null) { + joiner.add( + String.format( + "%sdestAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestAddress())))); + } + + // add `sourceId` to the URL query string + if (getSourceId() != null) { + joiner.add( + String.format( + "%ssourceId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSourceId())))); + } + + // add `destId` to the URL query string + if (getDestId() != null) { + joiner.add( + String.format( + "%sdestId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDestId())))); + } + + // add `asset` to the URL query string + if (getAsset() != null) { + joiner.add( + String.format( + "%sasset%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAsset())))); + } + + // add `baseAsset` to the URL query string + if (getBaseAsset() != null) { + joiner.add( + String.format( + "%sbaseAsset%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset())))); + } + + // add `amount` to the URL query string + if (getAmount() != null) { + joiner.add(getAmount().toUrlQueryString(prefix + "amount" + suffix)); + } + + // add `networkProtocol` to the URL query string + if (getNetworkProtocol() != null) { + joiner.add( + String.format( + "%snetworkProtocol%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol())))); + } + + // add `operation` to the URL query string + if (getOperation() != null) { + joiner.add( + String.format( + "%soperation%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getOperation())))); + } + + // add `description` to the URL query string + if (getDescription() != null) { + joiner.add( + String.format( + "%sdescription%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDescription())))); + } + + // add `isDefault` to the URL query string + if (getIsDefault() != null) { + joiner.add( + String.format( + "%sisDefault%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getIsDefault())))); + } + + // add `action` to the URL query string + if (getAction() != null) { + joiner.add( + String.format( + "%saction%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAction())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkProviderData.java b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderData.java new file mode 100644 index 00000000..6411a4bf --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderData.java @@ -0,0 +1,197 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkProviderData */ +@JsonPropertyOrder({ + TRLinkProviderData.JSON_PROPERTY_PROVIDER, + TRLinkProviderData.JSON_PROPERTY_DATA +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkProviderData { + public static final String JSON_PROPERTY_PROVIDER = "provider"; + @jakarta.annotation.Nullable private String provider; + + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nullable private Map data; + + public TRLinkProviderData() {} + + public TRLinkProviderData provider(@jakarta.annotation.Nullable String provider) { + this.provider = provider; + return this; + } + + /** + * Provider name + * + * @return provider + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PROVIDER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getProvider() { + return provider; + } + + @JsonProperty(JSON_PROPERTY_PROVIDER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setProvider(@jakarta.annotation.Nullable String provider) { + this.provider = provider; + } + + public TRLinkProviderData data(@jakarta.annotation.Nullable Map data) { + this.data = data; + return this; + } + + public TRLinkProviderData putDataItem(String key, Object dataItem) { + if (this.data == null) { + this.data = new HashMap<>(); + } + this.data.put(key, dataItem); + return this; + } + + /** + * Provider-specific data + * + * @return data + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) + public Map getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) + public void setData(@jakarta.annotation.Nullable Map data) { + this.data = data; + } + + /** Return true if this TRLinkProviderData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkProviderData trLinkProviderData = (TRLinkProviderData) o; + return Objects.equals(this.provider, trLinkProviderData.provider) + && Objects.equals(this.data, trLinkProviderData.data); + } + + @Override + public int hashCode() { + return Objects.hash(provider, data); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkProviderData {\n"); + sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `provider` to the URL query string + if (getProvider() != null) { + joiner.add( + String.format( + "%sprovider%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getProvider())))); + } + + // add `data` to the URL query string + if (getData() != null) { + for (String _key : getData().keySet()) { + joiner.add( + String.format( + "%sdata%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, _key, containerSuffix), + getData().get(_key), + ApiClient.urlEncode(ApiClient.valueToString(getData().get(_key))))); + } + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResult.java b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResult.java index 56f2fad4..da87ec49 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResult.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule.java b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule.java index 18d26af0..2a6b867d 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2.java b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2.java index b2479df6..6d02fc4b 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPublicAssetInfo.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPublicAssetInfo.java new file mode 100644 index 00000000..13683b81 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPublicAssetInfo.java @@ -0,0 +1,393 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.Objects; +import java.util.StringJoiner; + +/** Public asset information with limited properties for API consumption */ +@JsonPropertyOrder({ + TRLinkPublicAssetInfo.JSON_PROPERTY_ID, + TRLinkPublicAssetInfo.JSON_PROPERTY_NAME, + TRLinkPublicAssetInfo.JSON_PROPERTY_TYPE, + TRLinkPublicAssetInfo.JSON_PROPERTY_CONTRACT_ADDRESS, + TRLinkPublicAssetInfo.JSON_PROPERTY_NATIVE_ASSET, + TRLinkPublicAssetInfo.JSON_PROPERTY_DECIMALS, + TRLinkPublicAssetInfo.JSON_PROPERTY_ISSUER_ADDRESS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkPublicAssetInfo { + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nonnull private String id; + + public static final String JSON_PROPERTY_NAME = "name"; + @jakarta.annotation.Nonnull private String name; + + public static final String JSON_PROPERTY_TYPE = "type"; + @jakarta.annotation.Nonnull private String type; + + public static final String JSON_PROPERTY_CONTRACT_ADDRESS = "contractAddress"; + @jakarta.annotation.Nonnull private String contractAddress; + + public static final String JSON_PROPERTY_NATIVE_ASSET = "nativeAsset"; + @jakarta.annotation.Nonnull private String nativeAsset; + + public static final String JSON_PROPERTY_DECIMALS = "decimals"; + @jakarta.annotation.Nonnull private BigDecimal decimals; + + public static final String JSON_PROPERTY_ISSUER_ADDRESS = "issuerAddress"; + @jakarta.annotation.Nullable private String issuerAddress; + + public TRLinkPublicAssetInfo() {} + + @JsonCreator + public TRLinkPublicAssetInfo( + @JsonProperty(value = JSON_PROPERTY_ID, required = true) String id, + @JsonProperty(value = JSON_PROPERTY_NAME, required = true) String name, + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) String type, + @JsonProperty(value = JSON_PROPERTY_CONTRACT_ADDRESS, required = true) + String contractAddress, + @JsonProperty(value = JSON_PROPERTY_NATIVE_ASSET, required = true) String nativeAsset, + @JsonProperty(value = JSON_PROPERTY_DECIMALS, required = true) BigDecimal decimals) { + this.id = id; + this.name = name; + this.type = type; + this.contractAddress = contractAddress; + this.nativeAsset = nativeAsset; + this.decimals = decimals; + } + + public TRLinkPublicAssetInfo id(@jakarta.annotation.Nonnull String id) { + this.id = id; + return this; + } + + /** + * The unique ID of the asset (e.g., Fireblocks asset ID) + * + * @return id + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setId(@jakarta.annotation.Nonnull String id) { + this.id = id; + } + + public TRLinkPublicAssetInfo name(@jakarta.annotation.Nonnull String name) { + this.name = name; + return this; + } + + /** + * The name of the asset + * + * @return name + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getName() { + return name; + } + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setName(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + public TRLinkPublicAssetInfo type(@jakarta.annotation.Nonnull String type) { + this.type = type; + return this; + } + + /** + * The type of the asset (e.g., BASE_ASSET, ERC20) + * + * @return type + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getType() { + return type; + } + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setType(@jakarta.annotation.Nonnull String type) { + this.type = type; + } + + public TRLinkPublicAssetInfo contractAddress( + @jakarta.annotation.Nonnull String contractAddress) { + this.contractAddress = contractAddress; + return this; + } + + /** + * The contract address of the asset (for tokenized assets) + * + * @return contractAddress + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CONTRACT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getContractAddress() { + return contractAddress; + } + + @JsonProperty(JSON_PROPERTY_CONTRACT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setContractAddress(@jakarta.annotation.Nonnull String contractAddress) { + this.contractAddress = contractAddress; + } + + public TRLinkPublicAssetInfo nativeAsset(@jakarta.annotation.Nonnull String nativeAsset) { + this.nativeAsset = nativeAsset; + return this; + } + + /** + * The native asset of the network (e.g., ETH for ERC20 tokens) + * + * @return nativeAsset + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_NATIVE_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getNativeAsset() { + return nativeAsset; + } + + @JsonProperty(JSON_PROPERTY_NATIVE_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setNativeAsset(@jakarta.annotation.Nonnull String nativeAsset) { + this.nativeAsset = nativeAsset; + } + + public TRLinkPublicAssetInfo decimals(@jakarta.annotation.Nonnull BigDecimal decimals) { + this.decimals = decimals; + return this; + } + + /** + * The number of decimal places for the asset + * + * @return decimals + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DECIMALS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public BigDecimal getDecimals() { + return decimals; + } + + @JsonProperty(JSON_PROPERTY_DECIMALS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDecimals(@jakarta.annotation.Nonnull BigDecimal decimals) { + this.decimals = decimals; + } + + public TRLinkPublicAssetInfo issuerAddress(@jakarta.annotation.Nullable String issuerAddress) { + this.issuerAddress = issuerAddress; + return this; + } + + /** + * The issuer address of the asset (optional) + * + * @return issuerAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ISSUER_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getIssuerAddress() { + return issuerAddress; + } + + @JsonProperty(JSON_PROPERTY_ISSUER_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIssuerAddress(@jakarta.annotation.Nullable String issuerAddress) { + this.issuerAddress = issuerAddress; + } + + /** Return true if this TRLinkPublicAssetInfo object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkPublicAssetInfo trLinkPublicAssetInfo = (TRLinkPublicAssetInfo) o; + return Objects.equals(this.id, trLinkPublicAssetInfo.id) + && Objects.equals(this.name, trLinkPublicAssetInfo.name) + && Objects.equals(this.type, trLinkPublicAssetInfo.type) + && Objects.equals(this.contractAddress, trLinkPublicAssetInfo.contractAddress) + && Objects.equals(this.nativeAsset, trLinkPublicAssetInfo.nativeAsset) + && Objects.equals(this.decimals, trLinkPublicAssetInfo.decimals) + && Objects.equals(this.issuerAddress, trLinkPublicAssetInfo.issuerAddress); + } + + @Override + public int hashCode() { + return Objects.hash(id, name, type, contractAddress, nativeAsset, decimals, issuerAddress); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkPublicAssetInfo {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" contractAddress: ").append(toIndentedString(contractAddress)).append("\n"); + sb.append(" nativeAsset: ").append(toIndentedString(nativeAsset)).append("\n"); + sb.append(" decimals: ").append(toIndentedString(decimals)).append("\n"); + sb.append(" issuerAddress: ").append(toIndentedString(issuerAddress)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `name` to the URL query string + if (getName() != null) { + joiner.add( + String.format( + "%sname%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getName())))); + } + + // add `type` to the URL query string + if (getType() != null) { + joiner.add( + String.format( + "%stype%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getType())))); + } + + // add `contractAddress` to the URL query string + if (getContractAddress() != null) { + joiner.add( + String.format( + "%scontractAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getContractAddress())))); + } + + // add `nativeAsset` to the URL query string + if (getNativeAsset() != null) { + joiner.add( + String.format( + "%snativeAsset%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNativeAsset())))); + } + + // add `decimals` to the URL query string + if (getDecimals() != null) { + joiner.add( + String.format( + "%sdecimals%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDecimals())))); + } + + // add `issuerAddress` to the URL query string + if (getIssuerAddress() != null) { + joiner.add( + String.format( + "%sissuerAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getIssuerAddress())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkPublicKeyResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkPublicKeyResponse.java new file mode 100644 index 00000000..7975cdfb --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkPublicKeyResponse.java @@ -0,0 +1,186 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkPublicKeyResponse */ +@JsonPropertyOrder({ + TRLinkPublicKeyResponse.JSON_PROPERTY_ISSUER, + TRLinkPublicKeyResponse.JSON_PROPERTY_PUBLIC_KEY +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkPublicKeyResponse { + public static final String JSON_PROPERTY_ISSUER = "issuer"; + @jakarta.annotation.Nonnull private String issuer; + + public static final String JSON_PROPERTY_PUBLIC_KEY = "publicKey"; + @jakarta.annotation.Nonnull private TRLinkJwkPublicKey publicKey; + + public TRLinkPublicKeyResponse() {} + + @JsonCreator + public TRLinkPublicKeyResponse( + @JsonProperty(value = JSON_PROPERTY_ISSUER, required = true) String issuer, + @JsonProperty(value = JSON_PROPERTY_PUBLIC_KEY, required = true) + TRLinkJwkPublicKey publicKey) { + this.issuer = issuer; + this.publicKey = publicKey; + } + + public TRLinkPublicKeyResponse issuer(@jakarta.annotation.Nonnull String issuer) { + this.issuer = issuer; + return this; + } + + /** + * Partner issuer identifier + * + * @return issuer + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ISSUER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getIssuer() { + return issuer; + } + + @JsonProperty(JSON_PROPERTY_ISSUER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIssuer(@jakarta.annotation.Nonnull String issuer) { + this.issuer = issuer; + } + + public TRLinkPublicKeyResponse publicKey( + @jakarta.annotation.Nonnull TRLinkJwkPublicKey publicKey) { + this.publicKey = publicKey; + return this; + } + + /** + * Get publicKey + * + * @return publicKey + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_PUBLIC_KEY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkJwkPublicKey getPublicKey() { + return publicKey; + } + + @JsonProperty(JSON_PROPERTY_PUBLIC_KEY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setPublicKey(@jakarta.annotation.Nonnull TRLinkJwkPublicKey publicKey) { + this.publicKey = publicKey; + } + + /** Return true if this TRLinkPublicKeyResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkPublicKeyResponse trLinkPublicKeyResponse = (TRLinkPublicKeyResponse) o; + return Objects.equals(this.issuer, trLinkPublicKeyResponse.issuer) + && Objects.equals(this.publicKey, trLinkPublicKeyResponse.publicKey); + } + + @Override + public int hashCode() { + return Objects.hash(issuer, publicKey); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkPublicKeyResponse {\n"); + sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n"); + sb.append(" publicKey: ").append(toIndentedString(publicKey)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `issuer` to the URL query string + if (getIssuer() != null) { + joiner.add( + String.format( + "%sissuer%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getIssuer())))); + } + + // add `publicKey` to the URL query string + if (getPublicKey() != null) { + joiner.add(getPublicKey().toUrlQueryString(prefix + "publicKey" + suffix)); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkRedirectTrmRequest.java b/src/main/java/com/fireblocks/sdk/model/TRLinkRedirectTrmRequest.java new file mode 100644 index 00000000..37106ace --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkRedirectTrmRequest.java @@ -0,0 +1,148 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkRedirectTrmRequest */ +@JsonPropertyOrder({TRLinkRedirectTrmRequest.JSON_PROPERTY_SUBSIDIARY_VASP_ID}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkRedirectTrmRequest { + public static final String JSON_PROPERTY_SUBSIDIARY_VASP_ID = "subsidiaryVaspId"; + @jakarta.annotation.Nonnull private String subsidiaryVaspId; + + public TRLinkRedirectTrmRequest() {} + + @JsonCreator + public TRLinkRedirectTrmRequest( + @JsonProperty(value = JSON_PROPERTY_SUBSIDIARY_VASP_ID, required = true) + String subsidiaryVaspId) { + this.subsidiaryVaspId = subsidiaryVaspId; + } + + public TRLinkRedirectTrmRequest subsidiaryVaspId( + @jakarta.annotation.Nonnull String subsidiaryVaspId) { + this.subsidiaryVaspId = subsidiaryVaspId; + return this; + } + + /** + * ID of the subsidiary VASP to redirect the TRM to + * + * @return subsidiaryVaspId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_SUBSIDIARY_VASP_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getSubsidiaryVaspId() { + return subsidiaryVaspId; + } + + @JsonProperty(JSON_PROPERTY_SUBSIDIARY_VASP_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setSubsidiaryVaspId(@jakarta.annotation.Nonnull String subsidiaryVaspId) { + this.subsidiaryVaspId = subsidiaryVaspId; + } + + /** Return true if this TRLinkRedirectTrmRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkRedirectTrmRequest trLinkRedirectTrmRequest = (TRLinkRedirectTrmRequest) o; + return Objects.equals(this.subsidiaryVaspId, trLinkRedirectTrmRequest.subsidiaryVaspId); + } + + @Override + public int hashCode() { + return Objects.hash(subsidiaryVaspId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkRedirectTrmRequest {\n"); + sb.append(" subsidiaryVaspId: ").append(toIndentedString(subsidiaryVaspId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `subsidiaryVaspId` to the URL query string + if (getSubsidiaryVaspId() != null) { + joiner.add( + String.format( + "%ssubsidiaryVaspId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSubsidiaryVaspId())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResult.java b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResult.java index 852c6d9e..1e411de9 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResult.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayload.java b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayload.java index 4afb5e38..3cb0169d 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayload.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayload.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatus.java b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatus.java index 057acdb5..86a824a3 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnum.java b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnum.java index 26640406..003a734e 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkResult.java b/src/main/java/com/fireblocks/sdk/model/TRLinkResult.java index f39fec1d..449d6b8d 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkResult.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkResultFullPayload.java b/src/main/java/com/fireblocks/sdk/model/TRLinkResultFullPayload.java index 2a8449d9..10fdcdf6 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkResultFullPayload.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkResultFullPayload.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkRuleBase.java b/src/main/java/com/fireblocks/sdk/model/TRLinkRuleBase.java index 62142f45..8729c93d 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkRuleBase.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkRuleBase.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdRequest.java b/src/main/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdRequest.java new file mode 100644 index 00000000..31c5766d --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdRequest.java @@ -0,0 +1,239 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** Request to set TRM ID for specific transaction destination */ +@JsonPropertyOrder({ + TRLinkSetDestinationTravelRuleMessageIdRequest.JSON_PROPERTY_AMOUNT, + TRLinkSetDestinationTravelRuleMessageIdRequest.JSON_PROPERTY_DESTINATION, + TRLinkSetDestinationTravelRuleMessageIdRequest.JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkSetDestinationTravelRuleMessageIdRequest { + public static final String JSON_PROPERTY_AMOUNT = "amount"; + @jakarta.annotation.Nonnull private String amount; + + public static final String JSON_PROPERTY_DESTINATION = "destination"; + @jakarta.annotation.Nonnull private TRLinkTransferPeerPath destination; + + public static final String JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID = "travelRuleMessageId"; + @jakarta.annotation.Nullable private String travelRuleMessageId; + + public TRLinkSetDestinationTravelRuleMessageIdRequest() {} + + @JsonCreator + public TRLinkSetDestinationTravelRuleMessageIdRequest( + @JsonProperty(value = JSON_PROPERTY_AMOUNT, required = true) String amount, + @JsonProperty(value = JSON_PROPERTY_DESTINATION, required = true) + TRLinkTransferPeerPath destination, + @JsonProperty(value = JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID, required = true) + String travelRuleMessageId) { + this.amount = amount; + this.destination = destination; + this.travelRuleMessageId = travelRuleMessageId; + } + + public TRLinkSetDestinationTravelRuleMessageIdRequest amount( + @jakarta.annotation.Nonnull String amount) { + this.amount = amount; + return this; + } + + /** + * Destination amount for matching + * + * @return amount + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAmount() { + return amount; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAmount(@jakarta.annotation.Nonnull String amount) { + this.amount = amount; + } + + public TRLinkSetDestinationTravelRuleMessageIdRequest destination( + @jakarta.annotation.Nonnull TRLinkTransferPeerPath destination) { + this.destination = destination; + return this; + } + + /** + * Get destination + * + * @return destination + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DESTINATION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkTransferPeerPath getDestination() { + return destination; + } + + @JsonProperty(JSON_PROPERTY_DESTINATION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDestination(@jakarta.annotation.Nonnull TRLinkTransferPeerPath destination) { + this.destination = destination; + } + + public TRLinkSetDestinationTravelRuleMessageIdRequest travelRuleMessageId( + @jakarta.annotation.Nullable String travelRuleMessageId) { + this.travelRuleMessageId = travelRuleMessageId; + return this; + } + + /** + * Travel Rule Message ID to associate with destination (null to unset) + * + * @return travelRuleMessageId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getTravelRuleMessageId() { + return travelRuleMessageId; + } + + @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTravelRuleMessageId(@jakarta.annotation.Nullable String travelRuleMessageId) { + this.travelRuleMessageId = travelRuleMessageId; + } + + /** Return true if this TRLinkSetDestinationTravelRuleMessageIdRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkSetDestinationTravelRuleMessageIdRequest + trLinkSetDestinationTravelRuleMessageIdRequest = + (TRLinkSetDestinationTravelRuleMessageIdRequest) o; + return Objects.equals(this.amount, trLinkSetDestinationTravelRuleMessageIdRequest.amount) + && Objects.equals( + this.destination, + trLinkSetDestinationTravelRuleMessageIdRequest.destination) + && Objects.equals( + this.travelRuleMessageId, + trLinkSetDestinationTravelRuleMessageIdRequest.travelRuleMessageId); + } + + @Override + public int hashCode() { + return Objects.hash(amount, destination, travelRuleMessageId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkSetDestinationTravelRuleMessageIdRequest {\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" destination: ").append(toIndentedString(destination)).append("\n"); + sb.append(" travelRuleMessageId: ") + .append(toIndentedString(travelRuleMessageId)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `amount` to the URL query string + if (getAmount() != null) { + joiner.add( + String.format( + "%samount%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAmount())))); + } + + // add `destination` to the URL query string + if (getDestination() != null) { + joiner.add(getDestination().toUrlQueryString(prefix + "destination" + suffix)); + } + + // add `travelRuleMessageId` to the URL query string + if (getTravelRuleMessageId() != null) { + joiner.add( + String.format( + "%stravelRuleMessageId%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getTravelRuleMessageId())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdResponse.java new file mode 100644 index 00000000..9494a6c7 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdResponse.java @@ -0,0 +1,304 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkSetDestinationTravelRuleMessageIdResponse */ +@JsonPropertyOrder({ + TRLinkSetDestinationTravelRuleMessageIdResponse.JSON_PROPERTY_SUCCESS, + TRLinkSetDestinationTravelRuleMessageIdResponse.JSON_PROPERTY_UPDATED_DESTINATIONS, + TRLinkSetDestinationTravelRuleMessageIdResponse.JSON_PROPERTY_FAILED_DESTINATIONS, + TRLinkSetDestinationTravelRuleMessageIdResponse.JSON_PROPERTY_ERRORS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkSetDestinationTravelRuleMessageIdResponse { + public static final String JSON_PROPERTY_SUCCESS = "success"; + @jakarta.annotation.Nonnull private Boolean success; + + public static final String JSON_PROPERTY_UPDATED_DESTINATIONS = "updatedDestinations"; + @jakarta.annotation.Nonnull private BigDecimal updatedDestinations; + + public static final String JSON_PROPERTY_FAILED_DESTINATIONS = "failedDestinations"; + @jakarta.annotation.Nonnull private BigDecimal failedDestinations; + + public static final String JSON_PROPERTY_ERRORS = "errors"; + @jakarta.annotation.Nullable private List errors; + + public TRLinkSetDestinationTravelRuleMessageIdResponse() {} + + @JsonCreator + public TRLinkSetDestinationTravelRuleMessageIdResponse( + @JsonProperty(value = JSON_PROPERTY_SUCCESS, required = true) Boolean success, + @JsonProperty(value = JSON_PROPERTY_UPDATED_DESTINATIONS, required = true) + BigDecimal updatedDestinations, + @JsonProperty(value = JSON_PROPERTY_FAILED_DESTINATIONS, required = true) + BigDecimal failedDestinations) { + this.success = success; + this.updatedDestinations = updatedDestinations; + this.failedDestinations = failedDestinations; + } + + public TRLinkSetDestinationTravelRuleMessageIdResponse success( + @jakarta.annotation.Nonnull Boolean success) { + this.success = success; + return this; + } + + /** + * Whether the operation was successful + * + * @return success + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_SUCCESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getSuccess() { + return success; + } + + @JsonProperty(JSON_PROPERTY_SUCCESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setSuccess(@jakarta.annotation.Nonnull Boolean success) { + this.success = success; + } + + public TRLinkSetDestinationTravelRuleMessageIdResponse updatedDestinations( + @jakarta.annotation.Nonnull BigDecimal updatedDestinations) { + this.updatedDestinations = updatedDestinations; + return this; + } + + /** + * Number of destinations updated + * + * @return updatedDestinations + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_UPDATED_DESTINATIONS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public BigDecimal getUpdatedDestinations() { + return updatedDestinations; + } + + @JsonProperty(JSON_PROPERTY_UPDATED_DESTINATIONS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUpdatedDestinations(@jakarta.annotation.Nonnull BigDecimal updatedDestinations) { + this.updatedDestinations = updatedDestinations; + } + + public TRLinkSetDestinationTravelRuleMessageIdResponse failedDestinations( + @jakarta.annotation.Nonnull BigDecimal failedDestinations) { + this.failedDestinations = failedDestinations; + return this; + } + + /** + * Number of destinations that failed to update + * + * @return failedDestinations + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_FAILED_DESTINATIONS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public BigDecimal getFailedDestinations() { + return failedDestinations; + } + + @JsonProperty(JSON_PROPERTY_FAILED_DESTINATIONS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setFailedDestinations(@jakarta.annotation.Nonnull BigDecimal failedDestinations) { + this.failedDestinations = failedDestinations; + } + + public TRLinkSetDestinationTravelRuleMessageIdResponse errors( + @jakarta.annotation.Nullable List errors) { + this.errors = errors; + return this; + } + + public TRLinkSetDestinationTravelRuleMessageIdResponse addErrorsItem(String errorsItem) { + if (this.errors == null) { + this.errors = new ArrayList<>(); + } + this.errors.add(errorsItem); + return this; + } + + /** + * List of errors (if any) + * + * @return errors + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getErrors() { + return errors; + } + + @JsonProperty(JSON_PROPERTY_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setErrors(@jakarta.annotation.Nullable List errors) { + this.errors = errors; + } + + /** Return true if this TRLinkSetDestinationTravelRuleMessageIdResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkSetDestinationTravelRuleMessageIdResponse + trLinkSetDestinationTravelRuleMessageIdResponse = + (TRLinkSetDestinationTravelRuleMessageIdResponse) o; + return Objects.equals(this.success, trLinkSetDestinationTravelRuleMessageIdResponse.success) + && Objects.equals( + this.updatedDestinations, + trLinkSetDestinationTravelRuleMessageIdResponse.updatedDestinations) + && Objects.equals( + this.failedDestinations, + trLinkSetDestinationTravelRuleMessageIdResponse.failedDestinations) + && Objects.equals( + this.errors, trLinkSetDestinationTravelRuleMessageIdResponse.errors); + } + + @Override + public int hashCode() { + return Objects.hash(success, updatedDestinations, failedDestinations, errors); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkSetDestinationTravelRuleMessageIdResponse {\n"); + sb.append(" success: ").append(toIndentedString(success)).append("\n"); + sb.append(" updatedDestinations: ") + .append(toIndentedString(updatedDestinations)) + .append("\n"); + sb.append(" failedDestinations: ") + .append(toIndentedString(failedDestinations)) + .append("\n"); + sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `success` to the URL query string + if (getSuccess() != null) { + joiner.add( + String.format( + "%ssuccess%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSuccess())))); + } + + // add `updatedDestinations` to the URL query string + if (getUpdatedDestinations() != null) { + joiner.add( + String.format( + "%supdatedDestinations%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getUpdatedDestinations())))); + } + + // add `failedDestinations` to the URL query string + if (getFailedDestinations() != null) { + joiner.add( + String.format( + "%sfailedDestinations%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getFailedDestinations())))); + } + + // add `errors` to the URL query string + if (getErrors() != null) { + for (int i = 0; i < getErrors().size(); i++) { + joiner.add( + String.format( + "%serrors%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode(ApiClient.valueToString(getErrors().get(i))))); + } + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdRequest.java b/src/main/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdRequest.java new file mode 100644 index 00000000..ab97d8c4 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdRequest.java @@ -0,0 +1,157 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkSetTransactionTravelRuleMessageIdRequest */ +@JsonPropertyOrder({ + TRLinkSetTransactionTravelRuleMessageIdRequest.JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkSetTransactionTravelRuleMessageIdRequest { + public static final String JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID = "travelRuleMessageId"; + @jakarta.annotation.Nullable private String travelRuleMessageId; + + public TRLinkSetTransactionTravelRuleMessageIdRequest() {} + + @JsonCreator + public TRLinkSetTransactionTravelRuleMessageIdRequest( + @JsonProperty(value = JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID, required = true) + String travelRuleMessageId) { + this.travelRuleMessageId = travelRuleMessageId; + } + + public TRLinkSetTransactionTravelRuleMessageIdRequest travelRuleMessageId( + @jakarta.annotation.Nullable String travelRuleMessageId) { + this.travelRuleMessageId = travelRuleMessageId; + return this; + } + + /** + * Travel Rule Message ID to associate with transaction (null to unset) + * + * @return travelRuleMessageId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getTravelRuleMessageId() { + return travelRuleMessageId; + } + + @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTravelRuleMessageId(@jakarta.annotation.Nullable String travelRuleMessageId) { + this.travelRuleMessageId = travelRuleMessageId; + } + + /** Return true if this TRLinkSetTransactionTravelRuleMessageIdRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkSetTransactionTravelRuleMessageIdRequest + trLinkSetTransactionTravelRuleMessageIdRequest = + (TRLinkSetTransactionTravelRuleMessageIdRequest) o; + return Objects.equals( + this.travelRuleMessageId, + trLinkSetTransactionTravelRuleMessageIdRequest.travelRuleMessageId); + } + + @Override + public int hashCode() { + return Objects.hash(travelRuleMessageId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkSetTransactionTravelRuleMessageIdRequest {\n"); + sb.append(" travelRuleMessageId: ") + .append(toIndentedString(travelRuleMessageId)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `travelRuleMessageId` to the URL query string + if (getTravelRuleMessageId() != null) { + joiner.add( + String.format( + "%stravelRuleMessageId%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getTravelRuleMessageId())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdResponse.java new file mode 100644 index 00000000..c8dee1e8 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdResponse.java @@ -0,0 +1,150 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkSetTransactionTravelRuleMessageIdResponse */ +@JsonPropertyOrder({TRLinkSetTransactionTravelRuleMessageIdResponse.JSON_PROPERTY_SUCCESS}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkSetTransactionTravelRuleMessageIdResponse { + public static final String JSON_PROPERTY_SUCCESS = "success"; + @jakarta.annotation.Nonnull private Boolean success; + + public TRLinkSetTransactionTravelRuleMessageIdResponse() {} + + @JsonCreator + public TRLinkSetTransactionTravelRuleMessageIdResponse( + @JsonProperty(value = JSON_PROPERTY_SUCCESS, required = true) Boolean success) { + this.success = success; + } + + public TRLinkSetTransactionTravelRuleMessageIdResponse success( + @jakarta.annotation.Nonnull Boolean success) { + this.success = success; + return this; + } + + /** + * Whether the operation was successful + * + * @return success + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_SUCCESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getSuccess() { + return success; + } + + @JsonProperty(JSON_PROPERTY_SUCCESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setSuccess(@jakarta.annotation.Nonnull Boolean success) { + this.success = success; + } + + /** Return true if this TRLinkSetTransactionTravelRuleMessageIdResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkSetTransactionTravelRuleMessageIdResponse + trLinkSetTransactionTravelRuleMessageIdResponse = + (TRLinkSetTransactionTravelRuleMessageIdResponse) o; + return Objects.equals( + this.success, trLinkSetTransactionTravelRuleMessageIdResponse.success); + } + + @Override + public int hashCode() { + return Objects.hash(success); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkSetTransactionTravelRuleMessageIdResponse {\n"); + sb.append(" success: ").append(toIndentedString(success)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `success` to the URL query string + if (getSuccess() != null) { + joiner.add( + String.format( + "%ssuccess%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSuccess())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkSourceTransferPeerPath.java b/src/main/java/com/fireblocks/sdk/model/TRLinkSourceTransferPeerPath.java new file mode 100644 index 00000000..49a65794 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkSourceTransferPeerPath.java @@ -0,0 +1,225 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** Source peer path for transaction */ +@JsonPropertyOrder({ + TRLinkSourceTransferPeerPath.JSON_PROPERTY_TYPE, + TRLinkSourceTransferPeerPath.JSON_PROPERTY_ID, + TRLinkSourceTransferPeerPath.JSON_PROPERTY_WALLET_ID +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkSourceTransferPeerPath { + public static final String JSON_PROPERTY_TYPE = "type"; + @jakarta.annotation.Nonnull private String type; + + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nullable private String id; + + public static final String JSON_PROPERTY_WALLET_ID = "walletId"; + @jakarta.annotation.Nullable private String walletId; + + public TRLinkSourceTransferPeerPath() {} + + @JsonCreator + public TRLinkSourceTransferPeerPath( + @JsonProperty(value = JSON_PROPERTY_TYPE, required = true) String type) { + this.type = type; + } + + public TRLinkSourceTransferPeerPath type(@jakarta.annotation.Nonnull String type) { + this.type = type; + return this; + } + + /** + * Source peer type (e.g., VAULT_ACCOUNT, UNKNOWN) + * + * @return type + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getType() { + return type; + } + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setType(@jakarta.annotation.Nonnull String type) { + this.type = type; + } + + public TRLinkSourceTransferPeerPath id(@jakarta.annotation.Nullable String id) { + this.id = id; + return this; + } + + /** + * Source peer ID + * + * @return id + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setId(@jakarta.annotation.Nullable String id) { + this.id = id; + } + + public TRLinkSourceTransferPeerPath walletId(@jakarta.annotation.Nullable String walletId) { + this.walletId = walletId; + return this; + } + + /** + * Source wallet ID + * + * @return walletId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_WALLET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getWalletId() { + return walletId; + } + + @JsonProperty(JSON_PROPERTY_WALLET_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setWalletId(@jakarta.annotation.Nullable String walletId) { + this.walletId = walletId; + } + + /** Return true if this TRLinkSourceTransferPeerPath object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkSourceTransferPeerPath trLinkSourceTransferPeerPath = + (TRLinkSourceTransferPeerPath) o; + return Objects.equals(this.type, trLinkSourceTransferPeerPath.type) + && Objects.equals(this.id, trLinkSourceTransferPeerPath.id) + && Objects.equals(this.walletId, trLinkSourceTransferPeerPath.walletId); + } + + @Override + public int hashCode() { + return Objects.hash(type, id, walletId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkSourceTransferPeerPath {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" walletId: ").append(toIndentedString(walletId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `type` to the URL query string + if (getType() != null) { + joiner.add( + String.format( + "%stype%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getType())))); + } + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `walletId` to the URL query string + if (getWalletId() != null) { + joiner.add( + String.format( + "%swalletId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getWalletId())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkTestConnectionResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkTestConnectionResponse.java new file mode 100644 index 00000000..649f272f --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkTestConnectionResponse.java @@ -0,0 +1,312 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkTestConnectionResponse */ +@JsonPropertyOrder({ + TRLinkTestConnectionResponse.JSON_PROPERTY_SUCCESS, + TRLinkTestConnectionResponse.JSON_PROPERTY_MESSAGE, + TRLinkTestConnectionResponse.JSON_PROPERTY_TIMESTAMP, + TRLinkTestConnectionResponse.JSON_PROPERTY_PARTNER_IDENT, + TRLinkTestConnectionResponse.JSON_PROPERTY_PARTNER_NAME +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkTestConnectionResponse { + public static final String JSON_PROPERTY_SUCCESS = "success"; + @jakarta.annotation.Nonnull private Boolean success; + + public static final String JSON_PROPERTY_MESSAGE = "message"; + @jakarta.annotation.Nullable private String message; + + public static final String JSON_PROPERTY_TIMESTAMP = "timestamp"; + @jakarta.annotation.Nonnull private OffsetDateTime timestamp; + + public static final String JSON_PROPERTY_PARTNER_IDENT = "partnerIdent"; + @jakarta.annotation.Nullable private String partnerIdent; + + public static final String JSON_PROPERTY_PARTNER_NAME = "partnerName"; + @jakarta.annotation.Nullable private String partnerName; + + public TRLinkTestConnectionResponse() {} + + @JsonCreator + public TRLinkTestConnectionResponse( + @JsonProperty(value = JSON_PROPERTY_SUCCESS, required = true) Boolean success, + @JsonProperty(value = JSON_PROPERTY_TIMESTAMP, required = true) + OffsetDateTime timestamp) { + this.success = success; + this.timestamp = timestamp; + } + + public TRLinkTestConnectionResponse success(@jakarta.annotation.Nonnull Boolean success) { + this.success = success; + return this; + } + + /** + * Whether the connection test was successful + * + * @return success + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_SUCCESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getSuccess() { + return success; + } + + @JsonProperty(JSON_PROPERTY_SUCCESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setSuccess(@jakarta.annotation.Nonnull Boolean success) { + this.success = success; + } + + public TRLinkTestConnectionResponse message(@jakarta.annotation.Nullable String message) { + this.message = message; + return this; + } + + /** + * Additional message about the connection test (present when success is false) + * + * @return message + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getMessage() { + return message; + } + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setMessage(@jakarta.annotation.Nullable String message) { + this.message = message; + } + + public TRLinkTestConnectionResponse timestamp( + @jakarta.annotation.Nonnull OffsetDateTime timestamp) { + this.timestamp = timestamp; + return this; + } + + /** + * Timestamp when the test was performed (ISO 8601 format) + * + * @return timestamp + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getTimestamp() { + return timestamp; + } + + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTimestamp(@jakarta.annotation.Nonnull OffsetDateTime timestamp) { + this.timestamp = timestamp; + } + + public TRLinkTestConnectionResponse partnerIdent( + @jakarta.annotation.Nullable String partnerIdent) { + this.partnerIdent = partnerIdent; + return this; + } + + /** + * Partner identification code + * + * @return partnerIdent + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PARTNER_IDENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPartnerIdent() { + return partnerIdent; + } + + @JsonProperty(JSON_PROPERTY_PARTNER_IDENT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPartnerIdent(@jakarta.annotation.Nullable String partnerIdent) { + this.partnerIdent = partnerIdent; + } + + public TRLinkTestConnectionResponse partnerName( + @jakarta.annotation.Nullable String partnerName) { + this.partnerName = partnerName; + return this; + } + + /** + * Partner display name + * + * @return partnerName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PARTNER_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPartnerName() { + return partnerName; + } + + @JsonProperty(JSON_PROPERTY_PARTNER_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPartnerName(@jakarta.annotation.Nullable String partnerName) { + this.partnerName = partnerName; + } + + /** Return true if this TRLinkTestConnectionResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkTestConnectionResponse trLinkTestConnectionResponse = + (TRLinkTestConnectionResponse) o; + return Objects.equals(this.success, trLinkTestConnectionResponse.success) + && Objects.equals(this.message, trLinkTestConnectionResponse.message) + && Objects.equals(this.timestamp, trLinkTestConnectionResponse.timestamp) + && Objects.equals(this.partnerIdent, trLinkTestConnectionResponse.partnerIdent) + && Objects.equals(this.partnerName, trLinkTestConnectionResponse.partnerName); + } + + @Override + public int hashCode() { + return Objects.hash(success, message, timestamp, partnerIdent, partnerName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkTestConnectionResponse {\n"); + sb.append(" success: ").append(toIndentedString(success)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); + sb.append(" partnerIdent: ").append(toIndentedString(partnerIdent)).append("\n"); + sb.append(" partnerName: ").append(toIndentedString(partnerName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `success` to the URL query string + if (getSuccess() != null) { + joiner.add( + String.format( + "%ssuccess%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSuccess())))); + } + + // add `message` to the URL query string + if (getMessage() != null) { + joiner.add( + String.format( + "%smessage%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getMessage())))); + } + + // add `timestamp` to the URL query string + if (getTimestamp() != null) { + joiner.add( + String.format( + "%stimestamp%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTimestamp())))); + } + + // add `partnerIdent` to the URL query string + if (getPartnerIdent() != null) { + joiner.add( + String.format( + "%spartnerIdent%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPartnerIdent())))); + } + + // add `partnerName` to the URL query string + if (getPartnerName() != null) { + joiner.add( + String.format( + "%spartnerName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPartnerName())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkThresholds.java b/src/main/java/com/fireblocks/sdk/model/TRLinkThresholds.java new file mode 100644 index 00000000..873503ef --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkThresholds.java @@ -0,0 +1,177 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkThresholds */ +@JsonPropertyOrder({TRLinkThresholds.JSON_PROPERTY_AMOUNT, TRLinkThresholds.JSON_PROPERTY_CURRENCY}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkThresholds { + public static final String JSON_PROPERTY_AMOUNT = "amount"; + @jakarta.annotation.Nullable private String amount; + + public static final String JSON_PROPERTY_CURRENCY = "currency"; + @jakarta.annotation.Nullable private String currency; + + public TRLinkThresholds() {} + + public TRLinkThresholds amount(@jakarta.annotation.Nullable String amount) { + this.amount = amount; + return this; + } + + /** + * Threshold amount + * + * @return amount + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAmount() { + return amount; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAmount(@jakarta.annotation.Nullable String amount) { + this.amount = amount; + } + + public TRLinkThresholds currency(@jakarta.annotation.Nullable String currency) { + this.currency = currency; + return this; + } + + /** + * Currency code + * + * @return currency + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CURRENCY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCurrency() { + return currency; + } + + @JsonProperty(JSON_PROPERTY_CURRENCY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCurrency(@jakarta.annotation.Nullable String currency) { + this.currency = currency; + } + + /** Return true if this TRLinkThresholds object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkThresholds trLinkThresholds = (TRLinkThresholds) o; + return Objects.equals(this.amount, trLinkThresholds.amount) + && Objects.equals(this.currency, trLinkThresholds.currency); + } + + @Override + public int hashCode() { + return Objects.hash(amount, currency); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkThresholds {\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `amount` to the URL query string + if (getAmount() != null) { + joiner.add( + String.format( + "%samount%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAmount())))); + } + + // add `currency` to the URL query string + if (getCurrency() != null) { + joiner.add( + String.format( + "%scurrency%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCurrency())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkTransactionDirection.java b/src/main/java/com/fireblocks/sdk/model/TRLinkTransactionDirection.java new file mode 100644 index 00000000..45321201 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkTransactionDirection.java @@ -0,0 +1,64 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Transaction direction from workspace perspective */ +public enum TRLinkTransactionDirection { + INBOUND("INBOUND"), + + OUTBOUND("OUTBOUND"); + + private String value; + + TRLinkTransactionDirection(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TRLinkTransactionDirection fromValue(String value) { + for (TRLinkTransactionDirection b : TRLinkTransactionDirection.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkTransferPeerPath.java b/src/main/java/com/fireblocks/sdk/model/TRLinkTransferPeerPath.java new file mode 100644 index 00000000..56287492 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkTransferPeerPath.java @@ -0,0 +1,256 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** Transfer peer path for destination matching */ +@JsonPropertyOrder({ + TRLinkTransferPeerPath.JSON_PROPERTY_TYPE, + TRLinkTransferPeerPath.JSON_PROPERTY_ID, + TRLinkTransferPeerPath.JSON_PROPERTY_SUB_TYPE, + TRLinkTransferPeerPath.JSON_PROPERTY_ADDRESS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkTransferPeerPath { + public static final String JSON_PROPERTY_TYPE = "type"; + @jakarta.annotation.Nullable private String type; + + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nullable private String id; + + public static final String JSON_PROPERTY_SUB_TYPE = "subType"; + @jakarta.annotation.Nullable private String subType; + + public static final String JSON_PROPERTY_ADDRESS = "address"; + @jakarta.annotation.Nullable private String address; + + public TRLinkTransferPeerPath() {} + + public TRLinkTransferPeerPath type(@jakarta.annotation.Nullable String type) { + this.type = type; + return this; + } + + /** + * Peer type + * + * @return type + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getType() { + return type; + } + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setType(@jakarta.annotation.Nullable String type) { + this.type = type; + } + + public TRLinkTransferPeerPath id(@jakarta.annotation.Nullable String id) { + this.id = id; + return this; + } + + /** + * Peer ID + * + * @return id + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setId(@jakarta.annotation.Nullable String id) { + this.id = id; + } + + public TRLinkTransferPeerPath subType(@jakarta.annotation.Nullable String subType) { + this.subType = subType; + return this; + } + + /** + * Peer subtype + * + * @return subType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getSubType() { + return subType; + } + + @JsonProperty(JSON_PROPERTY_SUB_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setSubType(@jakarta.annotation.Nullable String subType) { + this.subType = subType; + } + + public TRLinkTransferPeerPath address(@jakarta.annotation.Nullable String address) { + this.address = address; + return this; + } + + /** + * Peer address + * + * @return address + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAddress() { + return address; + } + + @JsonProperty(JSON_PROPERTY_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAddress(@jakarta.annotation.Nullable String address) { + this.address = address; + } + + /** Return true if this TRLinkTransferPeerPath object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkTransferPeerPath trLinkTransferPeerPath = (TRLinkTransferPeerPath) o; + return Objects.equals(this.type, trLinkTransferPeerPath.type) + && Objects.equals(this.id, trLinkTransferPeerPath.id) + && Objects.equals(this.subType, trLinkTransferPeerPath.subType) + && Objects.equals(this.address, trLinkTransferPeerPath.address); + } + + @Override + public int hashCode() { + return Objects.hash(type, id, subType, address); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkTransferPeerPath {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" subType: ").append(toIndentedString(subType)).append("\n"); + sb.append(" address: ").append(toIndentedString(address)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `type` to the URL query string + if (getType() != null) { + joiner.add( + String.format( + "%stype%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getType())))); + } + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `subType` to the URL query string + if (getSubType() != null) { + joiner.add( + String.format( + "%ssubType%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSubType())))); + } + + // add `address` to the URL query string + if (getAddress() != null) { + joiner.add( + String.format( + "%saddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAddress())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkTrmDirection.java b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmDirection.java new file mode 100644 index 00000000..77d2dc18 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmDirection.java @@ -0,0 +1,64 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Transaction direction for TRM (in = inbound, out = outbound) */ +public enum TRLinkTrmDirection { + IN("in"), + + OUT("out"); + + private String value; + + TRLinkTrmDirection(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TRLinkTrmDirection fromValue(String value) { + for (TRLinkTrmDirection b : TRLinkTrmDirection.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkTrmInfoResponse.java b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmInfoResponse.java new file mode 100644 index 00000000..314074e5 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmInfoResponse.java @@ -0,0 +1,662 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** Travel Rule Message information */ +@JsonPropertyOrder({ + TRLinkTrmInfoResponse.JSON_PROPERTY_ID, + TRLinkTrmInfoResponse.JSON_PROPERTY_VERSION, + TRLinkTrmInfoResponse.JSON_PROPERTY_STATUS, + TRLinkTrmInfoResponse.JSON_PROPERTY_REASON, + TRLinkTrmInfoResponse.JSON_PROPERTY_EXTERNAL_ID, + TRLinkTrmInfoResponse.JSON_PROPERTY_ASSET, + TRLinkTrmInfoResponse.JSON_PROPERTY_AMOUNT, + TRLinkTrmInfoResponse.JSON_PROPERTY_FIAT_VALUE, + TRLinkTrmInfoResponse.JSON_PROPERTY_DIRECTION, + TRLinkTrmInfoResponse.JSON_PROPERTY_ORIGINATOR_VASP_ID, + TRLinkTrmInfoResponse.JSON_PROPERTY_BENEFICIARY_VASP_ID, + TRLinkTrmInfoResponse.JSON_PROPERTY_TXN_INFO, + TRLinkTrmInfoResponse.JSON_PROPERTY_IVMS101, + TRLinkTrmInfoResponse.JSON_PROPERTY_PROVIDER_DATA +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkTrmInfoResponse { + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nonnull private String id; + + public static final String JSON_PROPERTY_VERSION = "version"; + @jakarta.annotation.Nullable private String version; + + public static final String JSON_PROPERTY_STATUS = "status"; + @jakarta.annotation.Nullable private TRLinkTrmStatus status; + + public static final String JSON_PROPERTY_REASON = "reason"; + @jakarta.annotation.Nullable private String reason; + + public static final String JSON_PROPERTY_EXTERNAL_ID = "externalId"; + @jakarta.annotation.Nonnull private String externalId; + + public static final String JSON_PROPERTY_ASSET = "asset"; + @jakarta.annotation.Nonnull private TRLinkAsset asset; + + public static final String JSON_PROPERTY_AMOUNT = "amount"; + @jakarta.annotation.Nonnull private String amount; + + public static final String JSON_PROPERTY_FIAT_VALUE = "fiatValue"; + @jakarta.annotation.Nullable private TRLinkFiatValue fiatValue; + + public static final String JSON_PROPERTY_DIRECTION = "direction"; + @jakarta.annotation.Nonnull private TRLinkTrmDirection direction; + + public static final String JSON_PROPERTY_ORIGINATOR_VASP_ID = "originatorVaspId"; + @jakarta.annotation.Nullable private String originatorVaspId; + + public static final String JSON_PROPERTY_BENEFICIARY_VASP_ID = "beneficiaryVaspId"; + @jakarta.annotation.Nullable private String beneficiaryVaspId; + + public static final String JSON_PROPERTY_TXN_INFO = "txnInfo"; + @jakarta.annotation.Nonnull private TRLinkTxnInfo txnInfo; + + public static final String JSON_PROPERTY_IVMS101 = "ivms101"; + @jakarta.annotation.Nonnull private TRLinkIvmsResponse ivms101; + + public static final String JSON_PROPERTY_PROVIDER_DATA = "providerData"; + @jakarta.annotation.Nullable private TRLinkProviderData providerData; + + public TRLinkTrmInfoResponse() {} + + @JsonCreator + public TRLinkTrmInfoResponse( + @JsonProperty(value = JSON_PROPERTY_ID, required = true) String id, + @JsonProperty(value = JSON_PROPERTY_EXTERNAL_ID, required = true) String externalId, + @JsonProperty(value = JSON_PROPERTY_ASSET, required = true) TRLinkAsset asset, + @JsonProperty(value = JSON_PROPERTY_AMOUNT, required = true) String amount, + @JsonProperty(value = JSON_PROPERTY_DIRECTION, required = true) + TRLinkTrmDirection direction, + @JsonProperty(value = JSON_PROPERTY_TXN_INFO, required = true) TRLinkTxnInfo txnInfo, + @JsonProperty(value = JSON_PROPERTY_IVMS101, required = true) + TRLinkIvmsResponse ivms101) { + this.id = id; + this.externalId = externalId; + this.asset = asset; + this.amount = amount; + this.direction = direction; + this.txnInfo = txnInfo; + this.ivms101 = ivms101; + } + + public TRLinkTrmInfoResponse id(@jakarta.annotation.Nonnull String id) { + this.id = id; + return this; + } + + /** + * TRM message ID + * + * @return id + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setId(@jakarta.annotation.Nonnull String id) { + this.id = id; + } + + public TRLinkTrmInfoResponse version(@jakarta.annotation.Nullable String version) { + this.version = version; + return this; + } + + /** + * TRM version + * + * @return version + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VERSION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getVersion() { + return version; + } + + @JsonProperty(JSON_PROPERTY_VERSION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVersion(@jakarta.annotation.Nullable String version) { + this.version = version; + } + + public TRLinkTrmInfoResponse status(@jakarta.annotation.Nullable TRLinkTrmStatus status) { + this.status = status; + return this; + } + + /** + * Get status + * + * @return status + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkTrmStatus getStatus() { + return status; + } + + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStatus(@jakarta.annotation.Nullable TRLinkTrmStatus status) { + this.status = status; + } + + public TRLinkTrmInfoResponse reason(@jakarta.annotation.Nullable String reason) { + this.reason = reason; + return this; + } + + /** + * Human readable reason for the current status + * + * @return reason + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_REASON) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getReason() { + return reason; + } + + @JsonProperty(JSON_PROPERTY_REASON) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setReason(@jakarta.annotation.Nullable String reason) { + this.reason = reason; + } + + public TRLinkTrmInfoResponse externalId(@jakarta.annotation.Nonnull String externalId) { + this.externalId = externalId; + return this; + } + + /** + * External ID (e.g., Fireblocks ID) + * + * @return externalId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_EXTERNAL_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getExternalId() { + return externalId; + } + + @JsonProperty(JSON_PROPERTY_EXTERNAL_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setExternalId(@jakarta.annotation.Nonnull String externalId) { + this.externalId = externalId; + } + + public TRLinkTrmInfoResponse asset(@jakarta.annotation.Nonnull TRLinkAsset asset) { + this.asset = asset; + return this; + } + + /** + * Get asset + * + * @return asset + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkAsset getAsset() { + return asset; + } + + @JsonProperty(JSON_PROPERTY_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAsset(@jakarta.annotation.Nonnull TRLinkAsset asset) { + this.asset = asset; + } + + public TRLinkTrmInfoResponse amount(@jakarta.annotation.Nonnull String amount) { + this.amount = amount; + return this; + } + + /** + * Transaction amount in asset units + * + * @return amount + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAmount() { + return amount; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAmount(@jakarta.annotation.Nonnull String amount) { + this.amount = amount; + } + + public TRLinkTrmInfoResponse fiatValue(@jakarta.annotation.Nullable TRLinkFiatValue fiatValue) { + this.fiatValue = fiatValue; + return this; + } + + /** + * Get fiatValue + * + * @return fiatValue + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FIAT_VALUE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkFiatValue getFiatValue() { + return fiatValue; + } + + @JsonProperty(JSON_PROPERTY_FIAT_VALUE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFiatValue(@jakarta.annotation.Nullable TRLinkFiatValue fiatValue) { + this.fiatValue = fiatValue; + } + + public TRLinkTrmInfoResponse direction( + @jakarta.annotation.Nonnull TRLinkTrmDirection direction) { + this.direction = direction; + return this; + } + + /** + * Get direction + * + * @return direction + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkTrmDirection getDirection() { + return direction; + } + + @JsonProperty(JSON_PROPERTY_DIRECTION) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setDirection(@jakarta.annotation.Nonnull TRLinkTrmDirection direction) { + this.direction = direction; + } + + public TRLinkTrmInfoResponse originatorVaspId( + @jakarta.annotation.Nullable String originatorVaspId) { + this.originatorVaspId = originatorVaspId; + return this; + } + + /** + * ID of the originator VASP + * + * @return originatorVaspId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ORIGINATOR_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getOriginatorVaspId() { + return originatorVaspId; + } + + @JsonProperty(JSON_PROPERTY_ORIGINATOR_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setOriginatorVaspId(@jakarta.annotation.Nullable String originatorVaspId) { + this.originatorVaspId = originatorVaspId; + } + + public TRLinkTrmInfoResponse beneficiaryVaspId( + @jakarta.annotation.Nullable String beneficiaryVaspId) { + this.beneficiaryVaspId = beneficiaryVaspId; + return this; + } + + /** + * ID of the beneficiary VASP + * + * @return beneficiaryVaspId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BENEFICIARY_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBeneficiaryVaspId() { + return beneficiaryVaspId; + } + + @JsonProperty(JSON_PROPERTY_BENEFICIARY_VASP_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBeneficiaryVaspId(@jakarta.annotation.Nullable String beneficiaryVaspId) { + this.beneficiaryVaspId = beneficiaryVaspId; + } + + public TRLinkTrmInfoResponse txnInfo(@jakarta.annotation.Nonnull TRLinkTxnInfo txnInfo) { + this.txnInfo = txnInfo; + return this; + } + + /** + * Get txnInfo + * + * @return txnInfo + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TXN_INFO) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkTxnInfo getTxnInfo() { + return txnInfo; + } + + @JsonProperty(JSON_PROPERTY_TXN_INFO) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTxnInfo(@jakarta.annotation.Nonnull TRLinkTxnInfo txnInfo) { + this.txnInfo = txnInfo; + } + + public TRLinkTrmInfoResponse ivms101(@jakarta.annotation.Nonnull TRLinkIvmsResponse ivms101) { + this.ivms101 = ivms101; + return this; + } + + /** + * Get ivms101 + * + * @return ivms101 + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_IVMS101) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TRLinkIvmsResponse getIvms101() { + return ivms101; + } + + @JsonProperty(JSON_PROPERTY_IVMS101) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIvms101(@jakarta.annotation.Nonnull TRLinkIvmsResponse ivms101) { + this.ivms101 = ivms101; + } + + public TRLinkTrmInfoResponse providerData( + @jakarta.annotation.Nullable TRLinkProviderData providerData) { + this.providerData = providerData; + return this; + } + + /** + * Get providerData + * + * @return providerData + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PROVIDER_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkProviderData getProviderData() { + return providerData; + } + + @JsonProperty(JSON_PROPERTY_PROVIDER_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setProviderData(@jakarta.annotation.Nullable TRLinkProviderData providerData) { + this.providerData = providerData; + } + + /** Return true if this TRLinkTrmInfoResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkTrmInfoResponse trLinkTrmInfoResponse = (TRLinkTrmInfoResponse) o; + return Objects.equals(this.id, trLinkTrmInfoResponse.id) + && Objects.equals(this.version, trLinkTrmInfoResponse.version) + && Objects.equals(this.status, trLinkTrmInfoResponse.status) + && Objects.equals(this.reason, trLinkTrmInfoResponse.reason) + && Objects.equals(this.externalId, trLinkTrmInfoResponse.externalId) + && Objects.equals(this.asset, trLinkTrmInfoResponse.asset) + && Objects.equals(this.amount, trLinkTrmInfoResponse.amount) + && Objects.equals(this.fiatValue, trLinkTrmInfoResponse.fiatValue) + && Objects.equals(this.direction, trLinkTrmInfoResponse.direction) + && Objects.equals(this.originatorVaspId, trLinkTrmInfoResponse.originatorVaspId) + && Objects.equals(this.beneficiaryVaspId, trLinkTrmInfoResponse.beneficiaryVaspId) + && Objects.equals(this.txnInfo, trLinkTrmInfoResponse.txnInfo) + && Objects.equals(this.ivms101, trLinkTrmInfoResponse.ivms101) + && Objects.equals(this.providerData, trLinkTrmInfoResponse.providerData); + } + + @Override + public int hashCode() { + return Objects.hash( + id, + version, + status, + reason, + externalId, + asset, + amount, + fiatValue, + direction, + originatorVaspId, + beneficiaryVaspId, + txnInfo, + ivms101, + providerData); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkTrmInfoResponse {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" externalId: ").append(toIndentedString(externalId)).append("\n"); + sb.append(" asset: ").append(toIndentedString(asset)).append("\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" fiatValue: ").append(toIndentedString(fiatValue)).append("\n"); + sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); + sb.append(" originatorVaspId: ").append(toIndentedString(originatorVaspId)).append("\n"); + sb.append(" beneficiaryVaspId: ") + .append(toIndentedString(beneficiaryVaspId)) + .append("\n"); + sb.append(" txnInfo: ").append(toIndentedString(txnInfo)).append("\n"); + sb.append(" ivms101: ").append(toIndentedString(ivms101)).append("\n"); + sb.append(" providerData: ").append(toIndentedString(providerData)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `version` to the URL query string + if (getVersion() != null) { + joiner.add( + String.format( + "%sversion%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getVersion())))); + } + + // add `status` to the URL query string + if (getStatus() != null) { + joiner.add( + String.format( + "%sstatus%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getStatus())))); + } + + // add `reason` to the URL query string + if (getReason() != null) { + joiner.add( + String.format( + "%sreason%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getReason())))); + } + + // add `externalId` to the URL query string + if (getExternalId() != null) { + joiner.add( + String.format( + "%sexternalId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getExternalId())))); + } + + // add `asset` to the URL query string + if (getAsset() != null) { + joiner.add(getAsset().toUrlQueryString(prefix + "asset" + suffix)); + } + + // add `amount` to the URL query string + if (getAmount() != null) { + joiner.add( + String.format( + "%samount%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAmount())))); + } + + // add `fiatValue` to the URL query string + if (getFiatValue() != null) { + joiner.add(getFiatValue().toUrlQueryString(prefix + "fiatValue" + suffix)); + } + + // add `direction` to the URL query string + if (getDirection() != null) { + joiner.add( + String.format( + "%sdirection%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDirection())))); + } + + // add `originatorVaspId` to the URL query string + if (getOriginatorVaspId() != null) { + joiner.add( + String.format( + "%soriginatorVaspId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getOriginatorVaspId())))); + } + + // add `beneficiaryVaspId` to the URL query string + if (getBeneficiaryVaspId() != null) { + joiner.add( + String.format( + "%sbeneficiaryVaspId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBeneficiaryVaspId())))); + } + + // add `txnInfo` to the URL query string + if (getTxnInfo() != null) { + joiner.add(getTxnInfo().toUrlQueryString(prefix + "txnInfo" + suffix)); + } + + // add `ivms101` to the URL query string + if (getIvms101() != null) { + joiner.add(getIvms101().toUrlQueryString(prefix + "ivms101" + suffix)); + } + + // add `providerData` to the URL query string + if (getProviderData() != null) { + joiner.add(getProviderData().toUrlQueryString(prefix + "providerData" + suffix)); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatus.java b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatus.java index e054ca0b..786ec484 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnum.java b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnum.java index aefd41fd..0e3bf0ea 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkTrmStatus.java b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmStatus.java new file mode 100644 index 00000000..3c72807f --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkTrmStatus.java @@ -0,0 +1,68 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** Current status of the Travel Rule Message */ +public enum TRLinkTrmStatus { + PENDING("PENDING"), + + ACCEPTED("ACCEPTED"), + + REJECTED("REJECTED"), + + FAILED("FAILED"); + + private String value; + + TRLinkTrmStatus(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TRLinkTrmStatus fromValue(String value) { + for (TRLinkTrmStatus b : TRLinkTrmStatus.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkTxnInfo.java b/src/main/java/com/fireblocks/sdk/model/TRLinkTxnInfo.java new file mode 100644 index 00000000..d3eb09fc --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkTxnInfo.java @@ -0,0 +1,244 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkTxnInfo */ +@JsonPropertyOrder({ + TRLinkTxnInfo.JSON_PROPERTY_ORIGINATOR_WALLET_ADDRESS, + TRLinkTxnInfo.JSON_PROPERTY_BENEFICIARY_WALLET_ADDRESS, + TRLinkTxnInfo.JSON_PROPERTY_TX_HASH +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkTxnInfo { + public static final String JSON_PROPERTY_ORIGINATOR_WALLET_ADDRESS = "originatorWalletAddress"; + @jakarta.annotation.Nonnull private String originatorWalletAddress; + + public static final String JSON_PROPERTY_BENEFICIARY_WALLET_ADDRESS = + "beneficiaryWalletAddress"; + @jakarta.annotation.Nonnull private String beneficiaryWalletAddress; + + public static final String JSON_PROPERTY_TX_HASH = "txHash"; + @jakarta.annotation.Nonnull private String txHash; + + public TRLinkTxnInfo() {} + + @JsonCreator + public TRLinkTxnInfo( + @JsonProperty(value = JSON_PROPERTY_ORIGINATOR_WALLET_ADDRESS, required = true) + String originatorWalletAddress, + @JsonProperty(value = JSON_PROPERTY_BENEFICIARY_WALLET_ADDRESS, required = true) + String beneficiaryWalletAddress, + @JsonProperty(value = JSON_PROPERTY_TX_HASH, required = true) String txHash) { + this.originatorWalletAddress = originatorWalletAddress; + this.beneficiaryWalletAddress = beneficiaryWalletAddress; + this.txHash = txHash; + } + + public TRLinkTxnInfo originatorWalletAddress( + @jakarta.annotation.Nonnull String originatorWalletAddress) { + this.originatorWalletAddress = originatorWalletAddress; + return this; + } + + /** + * Originator's blockchain wallet address + * + * @return originatorWalletAddress + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ORIGINATOR_WALLET_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getOriginatorWalletAddress() { + return originatorWalletAddress; + } + + @JsonProperty(JSON_PROPERTY_ORIGINATOR_WALLET_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setOriginatorWalletAddress( + @jakarta.annotation.Nonnull String originatorWalletAddress) { + this.originatorWalletAddress = originatorWalletAddress; + } + + public TRLinkTxnInfo beneficiaryWalletAddress( + @jakarta.annotation.Nonnull String beneficiaryWalletAddress) { + this.beneficiaryWalletAddress = beneficiaryWalletAddress; + return this; + } + + /** + * Beneficiary's blockchain wallet address + * + * @return beneficiaryWalletAddress + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BENEFICIARY_WALLET_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBeneficiaryWalletAddress() { + return beneficiaryWalletAddress; + } + + @JsonProperty(JSON_PROPERTY_BENEFICIARY_WALLET_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBeneficiaryWalletAddress( + @jakarta.annotation.Nonnull String beneficiaryWalletAddress) { + this.beneficiaryWalletAddress = beneficiaryWalletAddress; + } + + public TRLinkTxnInfo txHash(@jakarta.annotation.Nonnull String txHash) { + this.txHash = txHash; + return this; + } + + /** + * Blockchain transaction hash + * + * @return txHash + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TX_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getTxHash() { + return txHash; + } + + @JsonProperty(JSON_PROPERTY_TX_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTxHash(@jakarta.annotation.Nonnull String txHash) { + this.txHash = txHash; + } + + /** Return true if this TRLinkTxnInfo object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkTxnInfo trLinkTxnInfo = (TRLinkTxnInfo) o; + return Objects.equals(this.originatorWalletAddress, trLinkTxnInfo.originatorWalletAddress) + && Objects.equals( + this.beneficiaryWalletAddress, trLinkTxnInfo.beneficiaryWalletAddress) + && Objects.equals(this.txHash, trLinkTxnInfo.txHash); + } + + @Override + public int hashCode() { + return Objects.hash(originatorWalletAddress, beneficiaryWalletAddress, txHash); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkTxnInfo {\n"); + sb.append(" originatorWalletAddress: ") + .append(toIndentedString(originatorWalletAddress)) + .append("\n"); + sb.append(" beneficiaryWalletAddress: ") + .append(toIndentedString(beneficiaryWalletAddress)) + .append("\n"); + sb.append(" txHash: ").append(toIndentedString(txHash)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `originatorWalletAddress` to the URL query string + if (getOriginatorWalletAddress() != null) { + joiner.add( + String.format( + "%soriginatorWalletAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getOriginatorWalletAddress())))); + } + + // add `beneficiaryWalletAddress` to the URL query string + if (getBeneficiaryWalletAddress() != null) { + joiner.add( + String.format( + "%sbeneficiaryWalletAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getBeneficiaryWalletAddress())))); + } + + // add `txHash` to the URL query string + if (getTxHash() != null) { + joiner.add( + String.format( + "%stxHash%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTxHash())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkUpdateCustomerRequest.java b/src/main/java/com/fireblocks/sdk/model/TRLinkUpdateCustomerRequest.java new file mode 100644 index 00000000..5f463793 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkUpdateCustomerRequest.java @@ -0,0 +1,504 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.time.LocalDate; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkUpdateCustomerRequest */ +@JsonPropertyOrder({ + TRLinkUpdateCustomerRequest.JSON_PROPERTY_DISCOVERABLE, + TRLinkUpdateCustomerRequest.JSON_PROPERTY_SHORT_NAME, + TRLinkUpdateCustomerRequest.JSON_PROPERTY_FULL_LEGAL_NAME, + TRLinkUpdateCustomerRequest.JSON_PROPERTY_GEOGRAPHIC_ADDRESS, + TRLinkUpdateCustomerRequest.JSON_PROPERTY_COUNTRY_OF_REGISTRATION, + TRLinkUpdateCustomerRequest.JSON_PROPERTY_NATIONAL_IDENTIFICATION, + TRLinkUpdateCustomerRequest.JSON_PROPERTY_DATE_OF_INCORPORATION, + TRLinkUpdateCustomerRequest.JSON_PROPERTY_VAULTS, + TRLinkUpdateCustomerRequest.JSON_PROPERTY_TR_PRIMARY_PURPOSE +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkUpdateCustomerRequest { + public static final String JSON_PROPERTY_DISCOVERABLE = "discoverable"; + @jakarta.annotation.Nullable private TRLinkDiscoverableStatus discoverable; + + public static final String JSON_PROPERTY_SHORT_NAME = "shortName"; + @jakarta.annotation.Nullable private String shortName; + + public static final String JSON_PROPERTY_FULL_LEGAL_NAME = "fullLegalName"; + @jakarta.annotation.Nullable private String fullLegalName; + + public static final String JSON_PROPERTY_GEOGRAPHIC_ADDRESS = "geographicAddress"; + @jakarta.annotation.Nullable private TRLinkGeographicAddressRequest geographicAddress; + + public static final String JSON_PROPERTY_COUNTRY_OF_REGISTRATION = "countryOfRegistration"; + @jakarta.annotation.Nullable private String countryOfRegistration; + + public static final String JSON_PROPERTY_NATIONAL_IDENTIFICATION = "nationalIdentification"; + @jakarta.annotation.Nullable private String nationalIdentification; + + public static final String JSON_PROPERTY_DATE_OF_INCORPORATION = "dateOfIncorporation"; + @jakarta.annotation.Nullable private LocalDate dateOfIncorporation; + + public static final String JSON_PROPERTY_VAULTS = "vaults"; + @jakarta.annotation.Nullable private List vaults; + + public static final String JSON_PROPERTY_TR_PRIMARY_PURPOSE = "trPrimaryPurpose"; + @jakarta.annotation.Nullable private String trPrimaryPurpose; + + public TRLinkUpdateCustomerRequest() {} + + public TRLinkUpdateCustomerRequest discoverable( + @jakarta.annotation.Nullable TRLinkDiscoverableStatus discoverable) { + this.discoverable = discoverable; + return this; + } + + /** + * Get discoverable + * + * @return discoverable + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkDiscoverableStatus getDiscoverable() { + return discoverable; + } + + @JsonProperty(JSON_PROPERTY_DISCOVERABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDiscoverable( + @jakarta.annotation.Nullable TRLinkDiscoverableStatus discoverable) { + this.discoverable = discoverable; + } + + public TRLinkUpdateCustomerRequest shortName(@jakarta.annotation.Nullable String shortName) { + this.shortName = shortName; + return this; + } + + /** + * Short display name + * + * @return shortName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_SHORT_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getShortName() { + return shortName; + } + + @JsonProperty(JSON_PROPERTY_SHORT_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setShortName(@jakarta.annotation.Nullable String shortName) { + this.shortName = shortName; + } + + public TRLinkUpdateCustomerRequest fullLegalName( + @jakarta.annotation.Nullable String fullLegalName) { + this.fullLegalName = fullLegalName; + return this; + } + + /** + * Full legal entity name + * + * @return fullLegalName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FULL_LEGAL_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getFullLegalName() { + return fullLegalName; + } + + @JsonProperty(JSON_PROPERTY_FULL_LEGAL_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFullLegalName(@jakarta.annotation.Nullable String fullLegalName) { + this.fullLegalName = fullLegalName; + } + + public TRLinkUpdateCustomerRequest geographicAddress( + @jakarta.annotation.Nullable TRLinkGeographicAddressRequest geographicAddress) { + this.geographicAddress = geographicAddress; + return this; + } + + /** + * Get geographicAddress + * + * @return geographicAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkGeographicAddressRequest getGeographicAddress() { + return geographicAddress; + } + + @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setGeographicAddress( + @jakarta.annotation.Nullable TRLinkGeographicAddressRequest geographicAddress) { + this.geographicAddress = geographicAddress; + } + + public TRLinkUpdateCustomerRequest countryOfRegistration( + @jakarta.annotation.Nullable String countryOfRegistration) { + this.countryOfRegistration = countryOfRegistration; + return this; + } + + /** + * ISO 3166-1 alpha-2 country code where the entity is registered + * + * @return countryOfRegistration + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COUNTRY_OF_REGISTRATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCountryOfRegistration() { + return countryOfRegistration; + } + + @JsonProperty(JSON_PROPERTY_COUNTRY_OF_REGISTRATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCountryOfRegistration( + @jakarta.annotation.Nullable String countryOfRegistration) { + this.countryOfRegistration = countryOfRegistration; + } + + public TRLinkUpdateCustomerRequest nationalIdentification( + @jakarta.annotation.Nullable String nationalIdentification) { + this.nationalIdentification = nationalIdentification; + return this; + } + + /** + * National identification as JSON string + * + * @return nationalIdentification + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NATIONAL_IDENTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNationalIdentification() { + return nationalIdentification; + } + + @JsonProperty(JSON_PROPERTY_NATIONAL_IDENTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNationalIdentification( + @jakarta.annotation.Nullable String nationalIdentification) { + this.nationalIdentification = nationalIdentification; + } + + public TRLinkUpdateCustomerRequest dateOfIncorporation( + @jakarta.annotation.Nullable LocalDate dateOfIncorporation) { + this.dateOfIncorporation = dateOfIncorporation; + return this; + } + + /** + * Date of entity incorporation (ISO 8601 format: YYYY-MM-DD) + * + * @return dateOfIncorporation + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public LocalDate getDateOfIncorporation() { + return dateOfIncorporation; + } + + @JsonProperty(JSON_PROPERTY_DATE_OF_INCORPORATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDateOfIncorporation(@jakarta.annotation.Nullable LocalDate dateOfIncorporation) { + this.dateOfIncorporation = dateOfIncorporation; + } + + public TRLinkUpdateCustomerRequest vaults(@jakarta.annotation.Nullable List vaults) { + this.vaults = vaults; + return this; + } + + public TRLinkUpdateCustomerRequest addVaultsItem(Integer vaultsItem) { + if (this.vaults == null) { + this.vaults = new ArrayList<>(); + } + this.vaults.add(vaultsItem); + return this; + } + + /** + * Associated Fireblocks vault account IDs + * + * @return vaults + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VAULTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getVaults() { + return vaults; + } + + @JsonProperty(JSON_PROPERTY_VAULTS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVaults(@jakarta.annotation.Nullable List vaults) { + this.vaults = vaults; + } + + public TRLinkUpdateCustomerRequest trPrimaryPurpose( + @jakarta.annotation.Nullable String trPrimaryPurpose) { + this.trPrimaryPurpose = trPrimaryPurpose; + return this; + } + + /** + * Primary purpose for Travel Rule compliance + * + * @return trPrimaryPurpose + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TR_PRIMARY_PURPOSE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTrPrimaryPurpose() { + return trPrimaryPurpose; + } + + @JsonProperty(JSON_PROPERTY_TR_PRIMARY_PURPOSE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTrPrimaryPurpose(@jakarta.annotation.Nullable String trPrimaryPurpose) { + this.trPrimaryPurpose = trPrimaryPurpose; + } + + /** Return true if this TRLinkUpdateCustomerRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkUpdateCustomerRequest trLinkUpdateCustomerRequest = (TRLinkUpdateCustomerRequest) o; + return Objects.equals(this.discoverable, trLinkUpdateCustomerRequest.discoverable) + && Objects.equals(this.shortName, trLinkUpdateCustomerRequest.shortName) + && Objects.equals(this.fullLegalName, trLinkUpdateCustomerRequest.fullLegalName) + && Objects.equals( + this.geographicAddress, trLinkUpdateCustomerRequest.geographicAddress) + && Objects.equals( + this.countryOfRegistration, + trLinkUpdateCustomerRequest.countryOfRegistration) + && Objects.equals( + this.nationalIdentification, + trLinkUpdateCustomerRequest.nationalIdentification) + && Objects.equals( + this.dateOfIncorporation, trLinkUpdateCustomerRequest.dateOfIncorporation) + && Objects.equals(this.vaults, trLinkUpdateCustomerRequest.vaults) + && Objects.equals( + this.trPrimaryPurpose, trLinkUpdateCustomerRequest.trPrimaryPurpose); + } + + @Override + public int hashCode() { + return Objects.hash( + discoverable, + shortName, + fullLegalName, + geographicAddress, + countryOfRegistration, + nationalIdentification, + dateOfIncorporation, + vaults, + trPrimaryPurpose); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkUpdateCustomerRequest {\n"); + sb.append(" discoverable: ").append(toIndentedString(discoverable)).append("\n"); + sb.append(" shortName: ").append(toIndentedString(shortName)).append("\n"); + sb.append(" fullLegalName: ").append(toIndentedString(fullLegalName)).append("\n"); + sb.append(" geographicAddress: ") + .append(toIndentedString(geographicAddress)) + .append("\n"); + sb.append(" countryOfRegistration: ") + .append(toIndentedString(countryOfRegistration)) + .append("\n"); + sb.append(" nationalIdentification: ") + .append(toIndentedString(nationalIdentification)) + .append("\n"); + sb.append(" dateOfIncorporation: ") + .append(toIndentedString(dateOfIncorporation)) + .append("\n"); + sb.append(" vaults: ").append(toIndentedString(vaults)).append("\n"); + sb.append(" trPrimaryPurpose: ").append(toIndentedString(trPrimaryPurpose)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `discoverable` to the URL query string + if (getDiscoverable() != null) { + joiner.add( + String.format( + "%sdiscoverable%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDiscoverable())))); + } + + // add `shortName` to the URL query string + if (getShortName() != null) { + joiner.add( + String.format( + "%sshortName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getShortName())))); + } + + // add `fullLegalName` to the URL query string + if (getFullLegalName() != null) { + joiner.add( + String.format( + "%sfullLegalName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getFullLegalName())))); + } + + // add `geographicAddress` to the URL query string + if (getGeographicAddress() != null) { + joiner.add( + getGeographicAddress().toUrlQueryString(prefix + "geographicAddress" + suffix)); + } + + // add `countryOfRegistration` to the URL query string + if (getCountryOfRegistration() != null) { + joiner.add( + String.format( + "%scountryOfRegistration%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getCountryOfRegistration())))); + } + + // add `nationalIdentification` to the URL query string + if (getNationalIdentification() != null) { + joiner.add( + String.format( + "%snationalIdentification%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getNationalIdentification())))); + } + + // add `dateOfIncorporation` to the URL query string + if (getDateOfIncorporation() != null) { + joiner.add( + String.format( + "%sdateOfIncorporation%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getDateOfIncorporation())))); + } + + // add `vaults` to the URL query string + if (getVaults() != null) { + for (int i = 0; i < getVaults().size(); i++) { + joiner.add( + String.format( + "%svaults%s%s=%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", containerPrefix, i, containerSuffix), + ApiClient.urlEncode(ApiClient.valueToString(getVaults().get(i))))); + } + } + + // add `trPrimaryPurpose` to the URL query string + if (getTrPrimaryPurpose() != null) { + joiner.add( + String.format( + "%strPrimaryPurpose%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTrPrimaryPurpose())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkVaspDto.java b/src/main/java/com/fireblocks/sdk/model/TRLinkVaspDto.java new file mode 100644 index 00000000..62150e9b --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkVaspDto.java @@ -0,0 +1,408 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkVaspDto */ +@JsonPropertyOrder({ + TRLinkVaspDto.JSON_PROPERTY_ID, + TRLinkVaspDto.JSON_PROPERTY_NAME, + TRLinkVaspDto.JSON_PROPERTY_LEGAL_NAME, + TRLinkVaspDto.JSON_PROPERTY_NATIONAL_IDENTIFICATION, + TRLinkVaspDto.JSON_PROPERTY_GEOGRAPHIC_ADDRESS, + TRLinkVaspDto.JSON_PROPERTY_PUBLIC_KEY +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkVaspDto extends HashMap { + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nonnull private String id; + + public static final String JSON_PROPERTY_NAME = "name"; + @jakarta.annotation.Nonnull private String name; + + public static final String JSON_PROPERTY_LEGAL_NAME = "legalName"; + @jakarta.annotation.Nullable private String legalName; + + public static final String JSON_PROPERTY_NATIONAL_IDENTIFICATION = "nationalIdentification"; + @jakarta.annotation.Nullable private TRLinkVaspNationalIdentification nationalIdentification; + + public static final String JSON_PROPERTY_GEOGRAPHIC_ADDRESS = "geographicAddress"; + @jakarta.annotation.Nullable private TRLinkVaspGeographicAddress geographicAddress; + + public static final String JSON_PROPERTY_PUBLIC_KEY = "publicKey"; + @jakarta.annotation.Nullable private String publicKey; + + public TRLinkVaspDto() {} + + @JsonCreator + public TRLinkVaspDto( + @JsonProperty(value = JSON_PROPERTY_ID, required = true) String id, + @JsonProperty(value = JSON_PROPERTY_NAME, required = true) String name) { + this.id = id; + this.name = name; + } + + public TRLinkVaspDto id(@jakarta.annotation.Nonnull String id) { + this.id = id; + return this; + } + + /** + * VASP unique identifier (DID format) + * + * @return id + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setId(@jakarta.annotation.Nonnull String id) { + this.id = id; + } + + public TRLinkVaspDto name(@jakarta.annotation.Nonnull String name) { + this.name = name; + return this; + } + + /** + * VASP display name + * + * @return name + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getName() { + return name; + } + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setName(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + public TRLinkVaspDto legalName(@jakarta.annotation.Nullable String legalName) { + this.legalName = legalName; + return this; + } + + /** + * Legal entity name + * + * @return legalName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LEGAL_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getLegalName() { + return legalName; + } + + @JsonProperty(JSON_PROPERTY_LEGAL_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLegalName(@jakarta.annotation.Nullable String legalName) { + this.legalName = legalName; + } + + public TRLinkVaspDto nationalIdentification( + @jakarta.annotation.Nullable TRLinkVaspNationalIdentification nationalIdentification) { + this.nationalIdentification = nationalIdentification; + return this; + } + + /** + * Get nationalIdentification + * + * @return nationalIdentification + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NATIONAL_IDENTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkVaspNationalIdentification getNationalIdentification() { + return nationalIdentification; + } + + @JsonProperty(JSON_PROPERTY_NATIONAL_IDENTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNationalIdentification( + @jakarta.annotation.Nullable TRLinkVaspNationalIdentification nationalIdentification) { + this.nationalIdentification = nationalIdentification; + } + + public TRLinkVaspDto geographicAddress( + @jakarta.annotation.Nullable TRLinkVaspGeographicAddress geographicAddress) { + this.geographicAddress = geographicAddress; + return this; + } + + /** + * Get geographicAddress + * + * @return geographicAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkVaspGeographicAddress getGeographicAddress() { + return geographicAddress; + } + + @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setGeographicAddress( + @jakarta.annotation.Nullable TRLinkVaspGeographicAddress geographicAddress) { + this.geographicAddress = geographicAddress; + } + + public TRLinkVaspDto publicKey(@jakarta.annotation.Nullable String publicKey) { + this.publicKey = publicKey; + return this; + } + + /** + * VASP public key for encryption + * + * @return publicKey + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PUBLIC_KEY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPublicKey() { + return publicKey; + } + + @JsonProperty(JSON_PROPERTY_PUBLIC_KEY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPublicKey(@jakarta.annotation.Nullable String publicKey) { + this.publicKey = publicKey; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key the name of the property + * @param value the value of the property + * @return self reference + */ + @JsonAnySetter + public TRLinkVaspDto putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) properties. + * + * @return the additional (undeclared) properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key the name of the property + * @return the additional (undeclared) property with the specified name + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this TRLinkVaspDto object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkVaspDto trLinkVaspDto = (TRLinkVaspDto) o; + return Objects.equals(this.id, trLinkVaspDto.id) + && Objects.equals(this.name, trLinkVaspDto.name) + && Objects.equals(this.legalName, trLinkVaspDto.legalName) + && Objects.equals(this.nationalIdentification, trLinkVaspDto.nationalIdentification) + && Objects.equals(this.geographicAddress, trLinkVaspDto.geographicAddress) + && Objects.equals(this.publicKey, trLinkVaspDto.publicKey) + && Objects.equals(this.additionalProperties, trLinkVaspDto.additionalProperties) + && super.equals(o); + } + + @Override + public int hashCode() { + return Objects.hash( + id, + name, + legalName, + nationalIdentification, + geographicAddress, + publicKey, + super.hashCode(), + additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkVaspDto {\n"); + sb.append(" ").append(toIndentedString(super.toString())).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" legalName: ").append(toIndentedString(legalName)).append("\n"); + sb.append(" nationalIdentification: ") + .append(toIndentedString(nationalIdentification)) + .append("\n"); + sb.append(" geographicAddress: ") + .append(toIndentedString(geographicAddress)) + .append("\n"); + sb.append(" publicKey: ").append(toIndentedString(publicKey)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `name` to the URL query string + if (getName() != null) { + joiner.add( + String.format( + "%sname%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getName())))); + } + + // add `legalName` to the URL query string + if (getLegalName() != null) { + joiner.add( + String.format( + "%slegalName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getLegalName())))); + } + + // add `nationalIdentification` to the URL query string + if (getNationalIdentification() != null) { + joiner.add( + getNationalIdentification() + .toUrlQueryString(prefix + "nationalIdentification" + suffix)); + } + + // add `geographicAddress` to the URL query string + if (getGeographicAddress() != null) { + joiner.add( + getGeographicAddress().toUrlQueryString(prefix + "geographicAddress" + suffix)); + } + + // add `publicKey` to the URL query string + if (getPublicKey() != null) { + joiner.add( + String.format( + "%spublicKey%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPublicKey())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkVaspGeographicAddress.java b/src/main/java/com/fireblocks/sdk/model/TRLinkVaspGeographicAddress.java new file mode 100644 index 00000000..39eb3f0e --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkVaspGeographicAddress.java @@ -0,0 +1,339 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkVaspGeographicAddress */ +@JsonPropertyOrder({ + TRLinkVaspGeographicAddress.JSON_PROPERTY_FORMATTED_ADDRESS, + TRLinkVaspGeographicAddress.JSON_PROPERTY_COUNTRY, + TRLinkVaspGeographicAddress.JSON_PROPERTY_STREET_NAME, + TRLinkVaspGeographicAddress.JSON_PROPERTY_BUILDING_NUMBER, + TRLinkVaspGeographicAddress.JSON_PROPERTY_CITY, + TRLinkVaspGeographicAddress.JSON_PROPERTY_POSTAL_CODE +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkVaspGeographicAddress { + public static final String JSON_PROPERTY_FORMATTED_ADDRESS = "formattedAddress"; + @jakarta.annotation.Nullable private String formattedAddress; + + public static final String JSON_PROPERTY_COUNTRY = "country"; + @jakarta.annotation.Nullable private String country; + + public static final String JSON_PROPERTY_STREET_NAME = "streetName"; + @jakarta.annotation.Nullable private String streetName; + + public static final String JSON_PROPERTY_BUILDING_NUMBER = "buildingNumber"; + @jakarta.annotation.Nullable private String buildingNumber; + + public static final String JSON_PROPERTY_CITY = "city"; + @jakarta.annotation.Nullable private String city; + + public static final String JSON_PROPERTY_POSTAL_CODE = "postalCode"; + @jakarta.annotation.Nullable private String postalCode; + + public TRLinkVaspGeographicAddress() {} + + public TRLinkVaspGeographicAddress formattedAddress( + @jakarta.annotation.Nullable String formattedAddress) { + this.formattedAddress = formattedAddress; + return this; + } + + /** + * Complete formatted address + * + * @return formattedAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FORMATTED_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getFormattedAddress() { + return formattedAddress; + } + + @JsonProperty(JSON_PROPERTY_FORMATTED_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setFormattedAddress(@jakarta.annotation.Nullable String formattedAddress) { + this.formattedAddress = formattedAddress; + } + + public TRLinkVaspGeographicAddress country(@jakarta.annotation.Nullable String country) { + this.country = country; + return this; + } + + /** + * Country code or name + * + * @return country + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_COUNTRY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCountry() { + return country; + } + + @JsonProperty(JSON_PROPERTY_COUNTRY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCountry(@jakarta.annotation.Nullable String country) { + this.country = country; + } + + public TRLinkVaspGeographicAddress streetName(@jakarta.annotation.Nullable String streetName) { + this.streetName = streetName; + return this; + } + + /** + * Street name + * + * @return streetName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STREET_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getStreetName() { + return streetName; + } + + @JsonProperty(JSON_PROPERTY_STREET_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setStreetName(@jakarta.annotation.Nullable String streetName) { + this.streetName = streetName; + } + + public TRLinkVaspGeographicAddress buildingNumber( + @jakarta.annotation.Nullable String buildingNumber) { + this.buildingNumber = buildingNumber; + return this; + } + + /** + * Building number + * + * @return buildingNumber + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_BUILDING_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getBuildingNumber() { + return buildingNumber; + } + + @JsonProperty(JSON_PROPERTY_BUILDING_NUMBER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setBuildingNumber(@jakarta.annotation.Nullable String buildingNumber) { + this.buildingNumber = buildingNumber; + } + + public TRLinkVaspGeographicAddress city(@jakarta.annotation.Nullable String city) { + this.city = city; + return this; + } + + /** + * City name + * + * @return city + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCity() { + return city; + } + + @JsonProperty(JSON_PROPERTY_CITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCity(@jakarta.annotation.Nullable String city) { + this.city = city; + } + + public TRLinkVaspGeographicAddress postalCode(@jakarta.annotation.Nullable String postalCode) { + this.postalCode = postalCode; + return this; + } + + /** + * Postal/ZIP code + * + * @return postalCode + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_POSTAL_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPostalCode() { + return postalCode; + } + + @JsonProperty(JSON_PROPERTY_POSTAL_CODE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPostalCode(@jakarta.annotation.Nullable String postalCode) { + this.postalCode = postalCode; + } + + /** Return true if this TRLinkVaspGeographicAddress object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkVaspGeographicAddress trLinkVaspGeographicAddress = (TRLinkVaspGeographicAddress) o; + return Objects.equals(this.formattedAddress, trLinkVaspGeographicAddress.formattedAddress) + && Objects.equals(this.country, trLinkVaspGeographicAddress.country) + && Objects.equals(this.streetName, trLinkVaspGeographicAddress.streetName) + && Objects.equals(this.buildingNumber, trLinkVaspGeographicAddress.buildingNumber) + && Objects.equals(this.city, trLinkVaspGeographicAddress.city) + && Objects.equals(this.postalCode, trLinkVaspGeographicAddress.postalCode); + } + + @Override + public int hashCode() { + return Objects.hash( + formattedAddress, country, streetName, buildingNumber, city, postalCode); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkVaspGeographicAddress {\n"); + sb.append(" formattedAddress: ").append(toIndentedString(formattedAddress)).append("\n"); + sb.append(" country: ").append(toIndentedString(country)).append("\n"); + sb.append(" streetName: ").append(toIndentedString(streetName)).append("\n"); + sb.append(" buildingNumber: ").append(toIndentedString(buildingNumber)).append("\n"); + sb.append(" city: ").append(toIndentedString(city)).append("\n"); + sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `formattedAddress` to the URL query string + if (getFormattedAddress() != null) { + joiner.add( + String.format( + "%sformattedAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getFormattedAddress())))); + } + + // add `country` to the URL query string + if (getCountry() != null) { + joiner.add( + String.format( + "%scountry%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCountry())))); + } + + // add `streetName` to the URL query string + if (getStreetName() != null) { + joiner.add( + String.format( + "%sstreetName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getStreetName())))); + } + + // add `buildingNumber` to the URL query string + if (getBuildingNumber() != null) { + joiner.add( + String.format( + "%sbuildingNumber%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBuildingNumber())))); + } + + // add `city` to the URL query string + if (getCity() != null) { + joiner.add( + String.format( + "%scity%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCity())))); + } + + // add `postalCode` to the URL query string + if (getPostalCode() != null) { + joiner.add( + String.format( + "%spostalCode%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPostalCode())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkVaspListDto.java b/src/main/java/com/fireblocks/sdk/model/TRLinkVaspListDto.java new file mode 100644 index 00000000..dfb39738 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkVaspListDto.java @@ -0,0 +1,369 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkVaspListDto */ +@JsonPropertyOrder({ + TRLinkVaspListDto.JSON_PROPERTY_ID, + TRLinkVaspListDto.JSON_PROPERTY_NAME, + TRLinkVaspListDto.JSON_PROPERTY_LEGAL_NAME, + TRLinkVaspListDto.JSON_PROPERTY_NATIONAL_IDENTIFICATION, + TRLinkVaspListDto.JSON_PROPERTY_GEOGRAPHIC_ADDRESS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkVaspListDto extends HashMap { + public static final String JSON_PROPERTY_ID = "id"; + @jakarta.annotation.Nonnull private String id; + + public static final String JSON_PROPERTY_NAME = "name"; + @jakarta.annotation.Nonnull private String name; + + public static final String JSON_PROPERTY_LEGAL_NAME = "legalName"; + @jakarta.annotation.Nullable private String legalName; + + public static final String JSON_PROPERTY_NATIONAL_IDENTIFICATION = "nationalIdentification"; + @jakarta.annotation.Nullable private TRLinkVaspNationalIdentification nationalIdentification; + + public static final String JSON_PROPERTY_GEOGRAPHIC_ADDRESS = "geographicAddress"; + @jakarta.annotation.Nullable private TRLinkVaspGeographicAddress geographicAddress; + + public TRLinkVaspListDto() {} + + @JsonCreator + public TRLinkVaspListDto( + @JsonProperty(value = JSON_PROPERTY_ID, required = true) String id, + @JsonProperty(value = JSON_PROPERTY_NAME, required = true) String name) { + this.id = id; + this.name = name; + } + + public TRLinkVaspListDto id(@jakarta.annotation.Nonnull String id) { + this.id = id; + return this; + } + + /** + * VASP unique identifier (DID format) + * + * @return id + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setId(@jakarta.annotation.Nonnull String id) { + this.id = id; + } + + public TRLinkVaspListDto name(@jakarta.annotation.Nonnull String name) { + this.name = name; + return this; + } + + /** + * VASP display name + * + * @return name + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getName() { + return name; + } + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setName(@jakarta.annotation.Nonnull String name) { + this.name = name; + } + + public TRLinkVaspListDto legalName(@jakarta.annotation.Nullable String legalName) { + this.legalName = legalName; + return this; + } + + /** + * Legal entity name + * + * @return legalName + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LEGAL_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getLegalName() { + return legalName; + } + + @JsonProperty(JSON_PROPERTY_LEGAL_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLegalName(@jakarta.annotation.Nullable String legalName) { + this.legalName = legalName; + } + + public TRLinkVaspListDto nationalIdentification( + @jakarta.annotation.Nullable TRLinkVaspNationalIdentification nationalIdentification) { + this.nationalIdentification = nationalIdentification; + return this; + } + + /** + * Get nationalIdentification + * + * @return nationalIdentification + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NATIONAL_IDENTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkVaspNationalIdentification getNationalIdentification() { + return nationalIdentification; + } + + @JsonProperty(JSON_PROPERTY_NATIONAL_IDENTIFICATION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNationalIdentification( + @jakarta.annotation.Nullable TRLinkVaspNationalIdentification nationalIdentification) { + this.nationalIdentification = nationalIdentification; + } + + public TRLinkVaspListDto geographicAddress( + @jakarta.annotation.Nullable TRLinkVaspGeographicAddress geographicAddress) { + this.geographicAddress = geographicAddress; + return this; + } + + /** + * Get geographicAddress + * + * @return geographicAddress + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public TRLinkVaspGeographicAddress getGeographicAddress() { + return geographicAddress; + } + + @JsonProperty(JSON_PROPERTY_GEOGRAPHIC_ADDRESS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setGeographicAddress( + @jakarta.annotation.Nullable TRLinkVaspGeographicAddress geographicAddress) { + this.geographicAddress = geographicAddress; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key the name of the property + * @param value the value of the property + * @return self reference + */ + @JsonAnySetter + public TRLinkVaspListDto putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) properties. + * + * @return the additional (undeclared) properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key the name of the property + * @return the additional (undeclared) property with the specified name + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this TRLinkVaspListDto object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkVaspListDto trLinkVaspListDto = (TRLinkVaspListDto) o; + return Objects.equals(this.id, trLinkVaspListDto.id) + && Objects.equals(this.name, trLinkVaspListDto.name) + && Objects.equals(this.legalName, trLinkVaspListDto.legalName) + && Objects.equals( + this.nationalIdentification, trLinkVaspListDto.nationalIdentification) + && Objects.equals(this.geographicAddress, trLinkVaspListDto.geographicAddress) + && Objects.equals(this.additionalProperties, trLinkVaspListDto.additionalProperties) + && super.equals(o); + } + + @Override + public int hashCode() { + return Objects.hash( + id, + name, + legalName, + nationalIdentification, + geographicAddress, + super.hashCode(), + additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkVaspListDto {\n"); + sb.append(" ").append(toIndentedString(super.toString())).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" legalName: ").append(toIndentedString(legalName)).append("\n"); + sb.append(" nationalIdentification: ") + .append(toIndentedString(nationalIdentification)) + .append("\n"); + sb.append(" geographicAddress: ") + .append(toIndentedString(geographicAddress)) + .append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `id` to the URL query string + if (getId() != null) { + joiner.add( + String.format( + "%sid%s=%s", + prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); + } + + // add `name` to the URL query string + if (getName() != null) { + joiner.add( + String.format( + "%sname%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getName())))); + } + + // add `legalName` to the URL query string + if (getLegalName() != null) { + joiner.add( + String.format( + "%slegalName%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getLegalName())))); + } + + // add `nationalIdentification` to the URL query string + if (getNationalIdentification() != null) { + joiner.add( + getNationalIdentification() + .toUrlQueryString(prefix + "nationalIdentification" + suffix)); + } + + // add `geographicAddress` to the URL query string + if (getGeographicAddress() != null) { + joiner.add( + getGeographicAddress().toUrlQueryString(prefix + "geographicAddress" + suffix)); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkVaspNationalIdentification.java b/src/main/java/com/fireblocks/sdk/model/TRLinkVaspNationalIdentification.java new file mode 100644 index 00000000..9e99e72c --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkVaspNationalIdentification.java @@ -0,0 +1,229 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** TRLinkVaspNationalIdentification */ +@JsonPropertyOrder({ + TRLinkVaspNationalIdentification.JSON_PROPERTY_IDENTIFIER, + TRLinkVaspNationalIdentification.JSON_PROPERTY_TYPE, + TRLinkVaspNationalIdentification.JSON_PROPERTY_AUTHORITY +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TRLinkVaspNationalIdentification { + public static final String JSON_PROPERTY_IDENTIFIER = "identifier"; + @jakarta.annotation.Nonnull private String identifier; + + public static final String JSON_PROPERTY_TYPE = "type"; + @jakarta.annotation.Nullable private String type; + + public static final String JSON_PROPERTY_AUTHORITY = "authority"; + @jakarta.annotation.Nullable private String authority; + + public TRLinkVaspNationalIdentification() {} + + @JsonCreator + public TRLinkVaspNationalIdentification( + @JsonProperty(value = JSON_PROPERTY_IDENTIFIER, required = true) String identifier) { + this.identifier = identifier; + } + + public TRLinkVaspNationalIdentification identifier( + @jakarta.annotation.Nonnull String identifier) { + this.identifier = identifier; + return this; + } + + /** + * National identification number + * + * @return identifier + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_IDENTIFIER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getIdentifier() { + return identifier; + } + + @JsonProperty(JSON_PROPERTY_IDENTIFIER) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIdentifier(@jakarta.annotation.Nonnull String identifier) { + this.identifier = identifier; + } + + public TRLinkVaspNationalIdentification type(@jakarta.annotation.Nullable String type) { + this.type = type; + return this; + } + + /** + * Type of national identification + * + * @return type + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getType() { + return type; + } + + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setType(@jakarta.annotation.Nullable String type) { + this.type = type; + } + + public TRLinkVaspNationalIdentification authority( + @jakarta.annotation.Nullable String authority) { + this.authority = authority; + return this; + } + + /** + * Issuing authority + * + * @return authority + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_AUTHORITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAuthority() { + return authority; + } + + @JsonProperty(JSON_PROPERTY_AUTHORITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAuthority(@jakarta.annotation.Nullable String authority) { + this.authority = authority; + } + + /** Return true if this TRLinkVaspNationalIdentification object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TRLinkVaspNationalIdentification trLinkVaspNationalIdentification = + (TRLinkVaspNationalIdentification) o; + return Objects.equals(this.identifier, trLinkVaspNationalIdentification.identifier) + && Objects.equals(this.type, trLinkVaspNationalIdentification.type) + && Objects.equals(this.authority, trLinkVaspNationalIdentification.authority); + } + + @Override + public int hashCode() { + return Objects.hash(identifier, type, authority); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TRLinkVaspNationalIdentification {\n"); + sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" authority: ").append(toIndentedString(authority)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `identifier` to the URL query string + if (getIdentifier() != null) { + joiner.add( + String.format( + "%sidentifier%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getIdentifier())))); + } + + // add `type` to the URL query string + if (getType() != null) { + joiner.add( + String.format( + "%stype%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getType())))); + } + + // add `authority` to the URL query string + if (getAuthority() != null) { + joiner.add( + String.format( + "%sauthority%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAuthority())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkVerdict.java b/src/main/java/com/fireblocks/sdk/model/TRLinkVerdict.java index 8dd364d3..f365b8e6 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkVerdict.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkVerdict.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TRLinkVerdictEnum.java b/src/main/java/com/fireblocks/sdk/model/TRLinkVerdictEnum.java index f0483ff7..e41fc4c6 100644 --- a/src/main/java/com/fireblocks/sdk/model/TRLinkVerdictEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TRLinkVerdictEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Tag.java b/src/main/java/com/fireblocks/sdk/model/Tag.java index ab184058..06e9395c 100644 --- a/src/main/java/com/fireblocks/sdk/model/Tag.java +++ b/src/main/java/com/fireblocks/sdk/model/Tag.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; import java.util.Objects; import java.util.StringJoiner; import java.util.UUID; @@ -27,9 +28,10 @@ Tag.JSON_PROPERTY_ID, Tag.JSON_PROPERTY_LABEL, Tag.JSON_PROPERTY_DESCRIPTION, - Tag.JSON_PROPERTY_IS_PROTECTED, Tag.JSON_PROPERTY_COLOR, - Tag.JSON_PROPERTY_UPDATED_AT + Tag.JSON_PROPERTY_IS_PROTECTED, + Tag.JSON_PROPERTY_UPDATED_AT, + Tag.JSON_PROPERTY_PENDING_APPROVAL_REQUEST }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -44,23 +46,30 @@ public class Tag { public static final String JSON_PROPERTY_DESCRIPTION = "description"; @jakarta.annotation.Nullable private String description; - public static final String JSON_PROPERTY_IS_PROTECTED = "isProtected"; - @jakarta.annotation.Nullable private Boolean isProtected; - public static final String JSON_PROPERTY_COLOR = "color"; @jakarta.annotation.Nullable private String color; + public static final String JSON_PROPERTY_IS_PROTECTED = "isProtected"; + @jakarta.annotation.Nonnull private Boolean isProtected = false; + public static final String JSON_PROPERTY_UPDATED_AT = "updatedAt"; - @jakarta.annotation.Nullable private String updatedAt; + @jakarta.annotation.Nonnull private BigDecimal updatedAt; + + public static final String JSON_PROPERTY_PENDING_APPROVAL_REQUEST = "pendingApprovalRequest"; + @jakarta.annotation.Nullable private ApprovalRequest pendingApprovalRequest; public Tag() {} @JsonCreator public Tag( @JsonProperty(value = JSON_PROPERTY_ID, required = true) UUID id, - @JsonProperty(value = JSON_PROPERTY_LABEL, required = true) String label) { + @JsonProperty(value = JSON_PROPERTY_LABEL, required = true) String label, + @JsonProperty(value = JSON_PROPERTY_IS_PROTECTED, required = true) Boolean isProtected, + @JsonProperty(value = JSON_PROPERTY_UPDATED_AT, required = true) BigDecimal updatedAt) { this.id = id; this.label = label; + this.isProtected = isProtected; + this.updatedAt = updatedAt; } public Tag id(@jakarta.annotation.Nonnull UUID id) { @@ -132,53 +141,53 @@ public void setDescription(@jakarta.annotation.Nullable String description) { this.description = description; } - public Tag isProtected(@jakarta.annotation.Nullable Boolean isProtected) { - this.isProtected = isProtected; + public Tag color(@jakarta.annotation.Nullable String color) { + this.color = color; return this; } /** - * Whether the tag is protected + * The tag color in hex format * - * @return isProtected + * @return color */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_IS_PROTECTED) + @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getIsProtected() { - return isProtected; + public String getColor() { + return color; } - @JsonProperty(JSON_PROPERTY_IS_PROTECTED) + @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setIsProtected(@jakarta.annotation.Nullable Boolean isProtected) { - this.isProtected = isProtected; + public void setColor(@jakarta.annotation.Nullable String color) { + this.color = color; } - public Tag color(@jakarta.annotation.Nullable String color) { - this.color = color; + public Tag isProtected(@jakarta.annotation.Nonnull Boolean isProtected) { + this.isProtected = isProtected; return this; } /** - * The color of the tag in hex format + * Indication if the tag is a protected tag * - * @return color + * @return isProtected */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getColor() { - return color; + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_IS_PROTECTED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getIsProtected() { + return isProtected; } - @JsonProperty(JSON_PROPERTY_COLOR) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setColor(@jakarta.annotation.Nullable String color) { - this.color = color; + @JsonProperty(JSON_PROPERTY_IS_PROTECTED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setIsProtected(@jakarta.annotation.Nonnull Boolean isProtected) { + this.isProtected = isProtected; } - public Tag updatedAt(@jakarta.annotation.Nullable String updatedAt) { + public Tag updatedAt(@jakarta.annotation.Nonnull BigDecimal updatedAt) { this.updatedAt = updatedAt; return this; } @@ -188,19 +197,44 @@ public Tag updatedAt(@jakarta.annotation.Nullable String updatedAt) { * * @return updatedAt */ - @jakarta.annotation.Nullable + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_UPDATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUpdatedAt() { + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public BigDecimal getUpdatedAt() { return updatedAt; } @JsonProperty(JSON_PROPERTY_UPDATED_AT) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUpdatedAt(@jakarta.annotation.Nullable String updatedAt) { + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setUpdatedAt(@jakarta.annotation.Nonnull BigDecimal updatedAt) { this.updatedAt = updatedAt; } + public Tag pendingApprovalRequest( + @jakarta.annotation.Nullable ApprovalRequest pendingApprovalRequest) { + this.pendingApprovalRequest = pendingApprovalRequest; + return this; + } + + /** + * Get pendingApprovalRequest + * + * @return pendingApprovalRequest + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PENDING_APPROVAL_REQUEST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public ApprovalRequest getPendingApprovalRequest() { + return pendingApprovalRequest; + } + + @JsonProperty(JSON_PROPERTY_PENDING_APPROVAL_REQUEST) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPendingApprovalRequest( + @jakarta.annotation.Nullable ApprovalRequest pendingApprovalRequest) { + this.pendingApprovalRequest = pendingApprovalRequest; + } + /** Return true if this Tag object is equal to o. */ @Override public boolean equals(Object o) { @@ -214,14 +248,16 @@ public boolean equals(Object o) { return Objects.equals(this.id, tag.id) && Objects.equals(this.label, tag.label) && Objects.equals(this.description, tag.description) - && Objects.equals(this.isProtected, tag.isProtected) && Objects.equals(this.color, tag.color) - && Objects.equals(this.updatedAt, tag.updatedAt); + && Objects.equals(this.isProtected, tag.isProtected) + && Objects.equals(this.updatedAt, tag.updatedAt) + && Objects.equals(this.pendingApprovalRequest, tag.pendingApprovalRequest); } @Override public int hashCode() { - return Objects.hash(id, label, description, isProtected, color, updatedAt); + return Objects.hash( + id, label, description, color, isProtected, updatedAt, pendingApprovalRequest); } @Override @@ -231,9 +267,12 @@ public String toString() { sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" label: ").append(toIndentedString(label)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" isProtected: ").append(toIndentedString(isProtected)).append("\n"); sb.append(" color: ").append(toIndentedString(color)).append("\n"); + sb.append(" isProtected: ").append(toIndentedString(isProtected)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" pendingApprovalRequest: ") + .append(toIndentedString(pendingApprovalRequest)) + .append("\n"); sb.append("}"); return sb.toString(); } @@ -309,24 +348,24 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getDescription())))); } - // add `isProtected` to the URL query string - if (getIsProtected() != null) { + // add `color` to the URL query string + if (getColor() != null) { joiner.add( String.format( - "%sisProtected%s=%s", + "%scolor%s=%s", prefix, suffix, - ApiClient.urlEncode(ApiClient.valueToString(getIsProtected())))); + ApiClient.urlEncode(ApiClient.valueToString(getColor())))); } - // add `color` to the URL query string - if (getColor() != null) { + // add `isProtected` to the URL query string + if (getIsProtected() != null) { joiner.add( String.format( - "%scolor%s=%s", + "%sisProtected%s=%s", prefix, suffix, - ApiClient.urlEncode(ApiClient.valueToString(getColor())))); + ApiClient.urlEncode(ApiClient.valueToString(getIsProtected())))); } // add `updatedAt` to the URL query string @@ -339,6 +378,13 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getUpdatedAt())))); } + // add `pendingApprovalRequest` to the URL query string + if (getPendingApprovalRequest() != null) { + joiner.add( + getPendingApprovalRequest() + .toUrlQueryString(prefix + "pendingApprovalRequest" + suffix)); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/TagAttachmentOperationAction.java b/src/main/java/com/fireblocks/sdk/model/TagAttachmentOperationAction.java index 29569af7..d4117a02 100644 --- a/src/main/java/com/fireblocks/sdk/model/TagAttachmentOperationAction.java +++ b/src/main/java/com/fireblocks/sdk/model/TagAttachmentOperationAction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TagsPagedResponse.java b/src/main/java/com/fireblocks/sdk/model/TagsPagedResponse.java index fdb399b1..54e6c81e 100644 --- a/src/main/java/com/fireblocks/sdk/model/TagsPagedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TagsPagedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Task.java b/src/main/java/com/fireblocks/sdk/model/Task.java deleted file mode 100644 index 01307ac4..00000000 --- a/src/main/java/com/fireblocks/sdk/model/Task.java +++ /dev/null @@ -1,374 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fireblocks.sdk.ApiClient; -import java.math.BigDecimal; -import java.util.Objects; -import java.util.StringJoiner; - -/** Task */ -@JsonPropertyOrder({ - Task.JSON_PROPERTY_ID, - Task.JSON_PROPERTY_JOB_ID, - Task.JSON_PROPERTY_TYPE, - Task.JSON_PROPERTY_TENANT_ID, - Task.JSON_PROPERTY_CREATED, - Task.JSON_PROPERTY_UPDATED, - Task.JSON_PROPERTY_STATE -}) -@jakarta.annotation.Generated( - value = "org.openapitools.codegen.languages.JavaClientCodegen", - comments = "Generator version: 7.14.0") -public class Task { - public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable private String id; - - public static final String JSON_PROPERTY_JOB_ID = "jobId"; - @jakarta.annotation.Nullable private String jobId; - - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable private String type; - - public static final String JSON_PROPERTY_TENANT_ID = "tenantId"; - @jakarta.annotation.Nullable private String tenantId; - - public static final String JSON_PROPERTY_CREATED = "created"; - @jakarta.annotation.Nullable private BigDecimal created; - - public static final String JSON_PROPERTY_UPDATED = "updated"; - @jakarta.annotation.Nullable private BigDecimal updated; - - public static final String JSON_PROPERTY_STATE = "state"; - @jakarta.annotation.Nullable private String state; - - public Task() {} - - public Task id(@jakarta.annotation.Nullable String id) { - this.id = id; - return this; - } - - /** - * Get id - * - * @return id - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getId() { - return id; - } - - @JsonProperty(JSON_PROPERTY_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setId(@jakarta.annotation.Nullable String id) { - this.id = id; - } - - public Task jobId(@jakarta.annotation.Nullable String jobId) { - this.jobId = jobId; - return this; - } - - /** - * Get jobId - * - * @return jobId - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JOB_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getJobId() { - return jobId; - } - - @JsonProperty(JSON_PROPERTY_JOB_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setJobId(@jakarta.annotation.Nullable String jobId) { - this.jobId = jobId; - } - - public Task type(@jakarta.annotation.Nullable String type) { - this.type = type; - return this; - } - - /** - * Get type - * - * @return type - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { - return type; - } - - @JsonProperty(JSON_PROPERTY_TYPE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setType(@jakarta.annotation.Nullable String type) { - this.type = type; - } - - public Task tenantId(@jakarta.annotation.Nullable String tenantId) { - this.tenantId = tenantId; - return this; - } - - /** - * Get tenantId - * - * @return tenantId - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TENANT_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getTenantId() { - return tenantId; - } - - @JsonProperty(JSON_PROPERTY_TENANT_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTenantId(@jakarta.annotation.Nullable String tenantId) { - this.tenantId = tenantId; - } - - public Task created(@jakarta.annotation.Nullable BigDecimal created) { - this.created = created; - return this; - } - - /** - * Get created - * - * @return created - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CREATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BigDecimal getCreated() { - return created; - } - - @JsonProperty(JSON_PROPERTY_CREATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setCreated(@jakarta.annotation.Nullable BigDecimal created) { - this.created = created; - } - - public Task updated(@jakarta.annotation.Nullable BigDecimal updated) { - this.updated = updated; - return this; - } - - /** - * Get updated - * - * @return updated - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UPDATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BigDecimal getUpdated() { - return updated; - } - - @JsonProperty(JSON_PROPERTY_UPDATED) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setUpdated(@jakarta.annotation.Nullable BigDecimal updated) { - this.updated = updated; - } - - public Task state(@jakarta.annotation.Nullable String state) { - this.state = state; - return this; - } - - /** - * Get state - * - * @return state - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getState() { - return state; - } - - @JsonProperty(JSON_PROPERTY_STATE) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setState(@jakarta.annotation.Nullable String state) { - this.state = state; - } - - /** Return true if this Task object is equal to o. */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Task task = (Task) o; - return Objects.equals(this.id, task.id) - && Objects.equals(this.jobId, task.jobId) - && Objects.equals(this.type, task.type) - && Objects.equals(this.tenantId, task.tenantId) - && Objects.equals(this.created, task.created) - && Objects.equals(this.updated, task.updated) - && Objects.equals(this.state, task.state); - } - - @Override - public int hashCode() { - return Objects.hash(id, jobId, type, tenantId, created, updated, state); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Task {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" jobId: ").append(toIndentedString(jobId)).append("\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" tenantId: ").append(toIndentedString(tenantId)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first - * line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `id` to the URL query string - if (getId() != null) { - joiner.add( - String.format( - "%sid%s=%s", - prefix, suffix, ApiClient.urlEncode(ApiClient.valueToString(getId())))); - } - - // add `jobId` to the URL query string - if (getJobId() != null) { - joiner.add( - String.format( - "%sjobId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getJobId())))); - } - - // add `type` to the URL query string - if (getType() != null) { - joiner.add( - String.format( - "%stype%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getType())))); - } - - // add `tenantId` to the URL query string - if (getTenantId() != null) { - joiner.add( - String.format( - "%stenantId%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getTenantId())))); - } - - // add `created` to the URL query string - if (getCreated() != null) { - joiner.add( - String.format( - "%screated%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getCreated())))); - } - - // add `updated` to the URL query string - if (getUpdated() != null) { - joiner.add( - String.format( - "%supdated%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getUpdated())))); - } - - // add `state` to the URL query string - if (getState() != null) { - joiner.add( - String.format( - "%sstate%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getState())))); - } - - return joiner.toString(); - } -} diff --git a/src/main/java/com/fireblocks/sdk/model/TemplatesPaginatedResponse.java b/src/main/java/com/fireblocks/sdk/model/TemplatesPaginatedResponse.java index 3c54ba59..b4d0dac3 100644 --- a/src/main/java/com/fireblocks/sdk/model/TemplatesPaginatedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TemplatesPaginatedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ThirdPartyRouting.java b/src/main/java/com/fireblocks/sdk/model/ThirdPartyRouting.java index 59a22139..3c038395 100644 --- a/src/main/java/com/fireblocks/sdk/model/ThirdPartyRouting.java +++ b/src/main/java/com/fireblocks/sdk/model/ThirdPartyRouting.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TimePeriodConfig.java b/src/main/java/com/fireblocks/sdk/model/TimePeriodConfig.java index 624bdb80..76e7858c 100644 --- a/src/main/java/com/fireblocks/sdk/model/TimePeriodConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/TimePeriodConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TimePeriodMatchType.java b/src/main/java/com/fireblocks/sdk/model/TimePeriodMatchType.java index 54054c9a..5e7dfeee 100644 --- a/src/main/java/com/fireblocks/sdk/model/TimePeriodMatchType.java +++ b/src/main/java/com/fireblocks/sdk/model/TimePeriodMatchType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ToCollateralTransaction.java b/src/main/java/com/fireblocks/sdk/model/ToCollateralTransaction.java index 03cbe44d..2c4283f3 100644 --- a/src/main/java/com/fireblocks/sdk/model/ToCollateralTransaction.java +++ b/src/main/java/com/fireblocks/sdk/model/ToCollateralTransaction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ToExchangeTransaction.java b/src/main/java/com/fireblocks/sdk/model/ToExchangeTransaction.java index 40c0941d..9e609010 100644 --- a/src/main/java/com/fireblocks/sdk/model/ToExchangeTransaction.java +++ b/src/main/java/com/fireblocks/sdk/model/ToExchangeTransaction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokenCollectionResponse.java b/src/main/java/com/fireblocks/sdk/model/TokenCollectionResponse.java index d76e8a75..986c752f 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokenCollectionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TokenCollectionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokenContractSummaryResponse.java b/src/main/java/com/fireblocks/sdk/model/TokenContractSummaryResponse.java new file mode 100644 index 00000000..ce56b2a6 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TokenContractSummaryResponse.java @@ -0,0 +1,280 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.Objects; +import java.util.StringJoiner; + +/** TokenContractSummaryResponse */ +@JsonPropertyOrder({ + TokenContractSummaryResponse.JSON_PROPERTY_BASE_ASSET_ID, + TokenContractSummaryResponse.JSON_PROPERTY_CONTRACT_ADDRESS, + TokenContractSummaryResponse.JSON_PROPERTY_TOTAL_ADDRESSES, + TokenContractSummaryResponse.JSON_PROPERTY_TOTAL_SUPPLY +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TokenContractSummaryResponse { + public static final String JSON_PROPERTY_BASE_ASSET_ID = "baseAssetId"; + @jakarta.annotation.Nonnull private String baseAssetId; + + public static final String JSON_PROPERTY_CONTRACT_ADDRESS = "contractAddress"; + @jakarta.annotation.Nonnull private String contractAddress; + + public static final String JSON_PROPERTY_TOTAL_ADDRESSES = "totalAddresses"; + @jakarta.annotation.Nonnull private BigDecimal totalAddresses; + + public static final String JSON_PROPERTY_TOTAL_SUPPLY = "totalSupply"; + @jakarta.annotation.Nonnull private String totalSupply; + + public TokenContractSummaryResponse() {} + + @JsonCreator + public TokenContractSummaryResponse( + @JsonProperty(value = JSON_PROPERTY_BASE_ASSET_ID, required = true) String baseAssetId, + @JsonProperty(value = JSON_PROPERTY_CONTRACT_ADDRESS, required = true) + String contractAddress, + @JsonProperty(value = JSON_PROPERTY_TOTAL_ADDRESSES, required = true) + BigDecimal totalAddresses, + @JsonProperty(value = JSON_PROPERTY_TOTAL_SUPPLY, required = true) String totalSupply) { + this.baseAssetId = baseAssetId; + this.contractAddress = contractAddress; + this.totalAddresses = totalAddresses; + this.totalSupply = totalSupply; + } + + public TokenContractSummaryResponse baseAssetId( + @jakarta.annotation.Nonnull String baseAssetId) { + this.baseAssetId = baseAssetId; + return this; + } + + /** + * The base asset ID + * + * @return baseAssetId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getBaseAssetId() { + return baseAssetId; + } + + @JsonProperty(JSON_PROPERTY_BASE_ASSET_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setBaseAssetId(@jakarta.annotation.Nonnull String baseAssetId) { + this.baseAssetId = baseAssetId; + } + + public TokenContractSummaryResponse contractAddress( + @jakarta.annotation.Nonnull String contractAddress) { + this.contractAddress = contractAddress; + return this; + } + + /** + * The contract address + * + * @return contractAddress + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CONTRACT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getContractAddress() { + return contractAddress; + } + + @JsonProperty(JSON_PROPERTY_CONTRACT_ADDRESS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setContractAddress(@jakarta.annotation.Nonnull String contractAddress) { + this.contractAddress = contractAddress; + } + + public TokenContractSummaryResponse totalAddresses( + @jakarta.annotation.Nonnull BigDecimal totalAddresses) { + this.totalAddresses = totalAddresses; + return this; + } + + /** + * Total number of addresses with balances + * + * @return totalAddresses + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TOTAL_ADDRESSES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public BigDecimal getTotalAddresses() { + return totalAddresses; + } + + @JsonProperty(JSON_PROPERTY_TOTAL_ADDRESSES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTotalAddresses(@jakarta.annotation.Nonnull BigDecimal totalAddresses) { + this.totalAddresses = totalAddresses; + } + + public TokenContractSummaryResponse totalSupply( + @jakarta.annotation.Nonnull String totalSupply) { + this.totalSupply = totalSupply; + return this; + } + + /** + * The total supply of the token + * + * @return totalSupply + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TOTAL_SUPPLY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getTotalSupply() { + return totalSupply; + } + + @JsonProperty(JSON_PROPERTY_TOTAL_SUPPLY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTotalSupply(@jakarta.annotation.Nonnull String totalSupply) { + this.totalSupply = totalSupply; + } + + /** Return true if this TokenContractSummaryResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TokenContractSummaryResponse tokenContractSummaryResponse = + (TokenContractSummaryResponse) o; + return Objects.equals(this.baseAssetId, tokenContractSummaryResponse.baseAssetId) + && Objects.equals( + this.contractAddress, tokenContractSummaryResponse.contractAddress) + && Objects.equals(this.totalAddresses, tokenContractSummaryResponse.totalAddresses) + && Objects.equals(this.totalSupply, tokenContractSummaryResponse.totalSupply); + } + + @Override + public int hashCode() { + return Objects.hash(baseAssetId, contractAddress, totalAddresses, totalSupply); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TokenContractSummaryResponse {\n"); + sb.append(" baseAssetId: ").append(toIndentedString(baseAssetId)).append("\n"); + sb.append(" contractAddress: ").append(toIndentedString(contractAddress)).append("\n"); + sb.append(" totalAddresses: ").append(toIndentedString(totalAddresses)).append("\n"); + sb.append(" totalSupply: ").append(toIndentedString(totalSupply)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `baseAssetId` to the URL query string + if (getBaseAssetId() != null) { + joiner.add( + String.format( + "%sbaseAssetId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getBaseAssetId())))); + } + + // add `contractAddress` to the URL query string + if (getContractAddress() != null) { + joiner.add( + String.format( + "%scontractAddress%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getContractAddress())))); + } + + // add `totalAddresses` to the URL query string + if (getTotalAddresses() != null) { + joiner.add( + String.format( + "%stotalAddresses%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTotalAddresses())))); + } + + // add `totalSupply` to the URL query string + if (getTotalSupply() != null) { + joiner.add( + String.format( + "%stotalSupply%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTotalSupply())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TokenInfoNotFoundErrorResponse.java b/src/main/java/com/fireblocks/sdk/model/TokenInfoNotFoundErrorResponse.java index e4b14b0f..21f88447 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokenInfoNotFoundErrorResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TokenInfoNotFoundErrorResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokenLinkDto.java b/src/main/java/com/fireblocks/sdk/model/TokenLinkDto.java index 8572a5b1..d188a9e3 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokenLinkDto.java +++ b/src/main/java/com/fireblocks/sdk/model/TokenLinkDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokenLinkDtoTokenMetadata.java b/src/main/java/com/fireblocks/sdk/model/TokenLinkDtoTokenMetadata.java index 77c5ebc8..cf2e788c 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokenLinkDtoTokenMetadata.java +++ b/src/main/java/com/fireblocks/sdk/model/TokenLinkDtoTokenMetadata.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokenLinkExistsHttpError.java b/src/main/java/com/fireblocks/sdk/model/TokenLinkExistsHttpError.java index 753a2460..fca2aacf 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokenLinkExistsHttpError.java +++ b/src/main/java/com/fireblocks/sdk/model/TokenLinkExistsHttpError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpError.java b/src/main/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpError.java index 6860840c..82e73436 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpError.java +++ b/src/main/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpError.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokenLinkRequestDto.java b/src/main/java/com/fireblocks/sdk/model/TokenLinkRequestDto.java index 2dd3b432..6d7b3222 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokenLinkRequestDto.java +++ b/src/main/java/com/fireblocks/sdk/model/TokenLinkRequestDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokenOwnershipResponse.java b/src/main/java/com/fireblocks/sdk/model/TokenOwnershipResponse.java index 8d6faa34..ed53abd8 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokenOwnershipResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TokenOwnershipResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokenOwnershipSpamUpdatePayload.java b/src/main/java/com/fireblocks/sdk/model/TokenOwnershipSpamUpdatePayload.java index b6dc99e5..f7f0e434 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokenOwnershipSpamUpdatePayload.java +++ b/src/main/java/com/fireblocks/sdk/model/TokenOwnershipSpamUpdatePayload.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokenOwnershipStatusUpdatePayload.java b/src/main/java/com/fireblocks/sdk/model/TokenOwnershipStatusUpdatePayload.java index 0592d0f7..c5e429b6 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokenOwnershipStatusUpdatePayload.java +++ b/src/main/java/com/fireblocks/sdk/model/TokenOwnershipStatusUpdatePayload.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokenResponse.java b/src/main/java/com/fireblocks/sdk/model/TokenResponse.java index 21e4a324..8d63f92b 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokenResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TokenResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TokensPaginatedResponse.java b/src/main/java/com/fireblocks/sdk/model/TokensPaginatedResponse.java index 2d7ba5ba..99dff751 100644 --- a/src/main/java/com/fireblocks/sdk/model/TokensPaginatedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TokensPaginatedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TotalSupplyItemDto.java b/src/main/java/com/fireblocks/sdk/model/TotalSupplyItemDto.java new file mode 100644 index 00000000..27090b27 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TotalSupplyItemDto.java @@ -0,0 +1,191 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.time.OffsetDateTime; +import java.util.Objects; +import java.util.StringJoiner; + +/** TotalSupplyItemDto */ +@JsonPropertyOrder({ + TotalSupplyItemDto.JSON_PROPERTY_TIMESTAMP, + TotalSupplyItemDto.JSON_PROPERTY_TOTAL_SUPPLY +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TotalSupplyItemDto { + public static final String JSON_PROPERTY_TIMESTAMP = "timestamp"; + @jakarta.annotation.Nonnull private OffsetDateTime timestamp; + + public static final String JSON_PROPERTY_TOTAL_SUPPLY = "totalSupply"; + @jakarta.annotation.Nonnull private String totalSupply; + + public TotalSupplyItemDto() {} + + @JsonCreator + public TotalSupplyItemDto( + @JsonProperty(value = JSON_PROPERTY_TIMESTAMP, required = true) + OffsetDateTime timestamp, + @JsonProperty(value = JSON_PROPERTY_TOTAL_SUPPLY, required = true) String totalSupply) { + this.timestamp = timestamp; + this.totalSupply = totalSupply; + } + + public TotalSupplyItemDto timestamp(@jakarta.annotation.Nonnull OffsetDateTime timestamp) { + this.timestamp = timestamp; + return this; + } + + /** + * Timestamp of the data point + * + * @return timestamp + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OffsetDateTime getTimestamp() { + return timestamp; + } + + @JsonProperty(JSON_PROPERTY_TIMESTAMP) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTimestamp(@jakarta.annotation.Nonnull OffsetDateTime timestamp) { + this.timestamp = timestamp; + } + + public TotalSupplyItemDto totalSupply(@jakarta.annotation.Nonnull String totalSupply) { + this.totalSupply = totalSupply; + return this; + } + + /** + * Total supply at the given timestamp + * + * @return totalSupply + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TOTAL_SUPPLY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getTotalSupply() { + return totalSupply; + } + + @JsonProperty(JSON_PROPERTY_TOTAL_SUPPLY) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTotalSupply(@jakarta.annotation.Nonnull String totalSupply) { + this.totalSupply = totalSupply; + } + + /** Return true if this TotalSupplyItemDto object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TotalSupplyItemDto totalSupplyItemDto = (TotalSupplyItemDto) o; + return Objects.equals(this.timestamp, totalSupplyItemDto.timestamp) + && Objects.equals(this.totalSupply, totalSupplyItemDto.totalSupply); + } + + @Override + public int hashCode() { + return Objects.hash(timestamp, totalSupply); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TotalSupplyItemDto {\n"); + sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n"); + sb.append(" totalSupply: ").append(toIndentedString(totalSupply)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `timestamp` to the URL query string + if (getTimestamp() != null) { + joiner.add( + String.format( + "%stimestamp%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTimestamp())))); + } + + // add `totalSupply` to the URL query string + if (getTotalSupply() != null) { + joiner.add( + String.format( + "%stotalSupply%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTotalSupply())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TotalSupplyPagedResponse.java b/src/main/java/com/fireblocks/sdk/model/TotalSupplyPagedResponse.java new file mode 100644 index 00000000..90b2d1a6 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TotalSupplyPagedResponse.java @@ -0,0 +1,291 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.StringJoiner; + +/** TotalSupplyPagedResponse */ +@JsonPropertyOrder({ + TotalSupplyPagedResponse.JSON_PROPERTY_DATA, + TotalSupplyPagedResponse.JSON_PROPERTY_NEXT, + TotalSupplyPagedResponse.JSON_PROPERTY_PREV, + TotalSupplyPagedResponse.JSON_PROPERTY_TOTAL +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TotalSupplyPagedResponse { + public static final String JSON_PROPERTY_DATA = "data"; + @jakarta.annotation.Nonnull private List data; + + public static final String JSON_PROPERTY_NEXT = "next"; + @jakarta.annotation.Nullable private String next; + + public static final String JSON_PROPERTY_PREV = "prev"; + @jakarta.annotation.Nullable private String prev; + + public static final String JSON_PROPERTY_TOTAL = "total"; + @jakarta.annotation.Nullable private BigDecimal total; + + public TotalSupplyPagedResponse() {} + + @JsonCreator + public TotalSupplyPagedResponse( + @JsonProperty(value = JSON_PROPERTY_DATA, required = true) + List data) { + this.data = data; + } + + public TotalSupplyPagedResponse data( + @jakarta.annotation.Nonnull List data) { + this.data = data; + return this; + } + + public TotalSupplyPagedResponse addDataItem(TotalSupplyItemDto dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Array of total supply data points + * + * @return data + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getData() { + return data; + } + + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setData(@jakarta.annotation.Nonnull List data) { + this.data = data; + } + + public TotalSupplyPagedResponse next(@jakarta.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * Cursor for next page + * + * @return next + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getNext() { + return next; + } + + @JsonProperty(JSON_PROPERTY_NEXT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setNext(@jakarta.annotation.Nullable String next) { + this.next = next; + } + + public TotalSupplyPagedResponse prev(@jakarta.annotation.Nullable String prev) { + this.prev = prev; + return this; + } + + /** + * Cursor for previous page + * + * @return prev + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PREV) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPrev() { + return prev; + } + + @JsonProperty(JSON_PROPERTY_PREV) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setPrev(@jakarta.annotation.Nullable String prev) { + this.prev = prev; + } + + public TotalSupplyPagedResponse total(@jakarta.annotation.Nullable BigDecimal total) { + this.total = total; + return this; + } + + /** + * Total count of items + * + * @return total + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public BigDecimal getTotal() { + return total; + } + + @JsonProperty(JSON_PROPERTY_TOTAL) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTotal(@jakarta.annotation.Nullable BigDecimal total) { + this.total = total; + } + + /** Return true if this TotalSupplyPagedResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TotalSupplyPagedResponse totalSupplyPagedResponse = (TotalSupplyPagedResponse) o; + return Objects.equals(this.data, totalSupplyPagedResponse.data) + && Objects.equals(this.next, totalSupplyPagedResponse.next) + && Objects.equals(this.prev, totalSupplyPagedResponse.prev) + && Objects.equals(this.total, totalSupplyPagedResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(data, next, prev, total); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TotalSupplyPagedResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" prev: ").append(toIndentedString(prev)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `data` to the URL query string + if (getData() != null) { + for (int i = 0; i < getData().size(); i++) { + if (getData().get(i) != null) { + joiner.add( + getData() + .get(i) + .toUrlQueryString( + String.format( + "%sdata%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } + } + + // add `next` to the URL query string + if (getNext() != null) { + joiner.add( + String.format( + "%snext%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getNext())))); + } + + // add `prev` to the URL query string + if (getPrev() != null) { + joiner.add( + String.format( + "%sprev%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPrev())))); + } + + // add `total` to the URL query string + if (getTotal() != null) { + joiner.add( + String.format( + "%stotal%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTotal())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TradingAccountType.java b/src/main/java/com/fireblocks/sdk/model/TradingAccountType.java index 63b96b56..cf625541 100644 --- a/src/main/java/com/fireblocks/sdk/model/TradingAccountType.java +++ b/src/main/java/com/fireblocks/sdk/model/TradingAccountType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -44,7 +44,29 @@ public enum TradingAccountType { USDT_FUTURES("USDT_FUTURES"), - UNIFIED("UNIFIED"); + 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"); private String value; diff --git a/src/main/java/com/fireblocks/sdk/model/TradingErrorSchema.java b/src/main/java/com/fireblocks/sdk/model/TradingErrorSchema.java new file mode 100644 index 00000000..3c1ffd47 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TradingErrorSchema.java @@ -0,0 +1,229 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.math.BigDecimal; +import java.util.Objects; +import java.util.StringJoiner; + +/** TradingErrorSchema */ +@JsonPropertyOrder({ + TradingErrorSchema.JSON_PROPERTY_MESSAGE, + TradingErrorSchema.JSON_PROPERTY_CODE, + TradingErrorSchema.JSON_PROPERTY_DESCRIPTOR +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TradingErrorSchema { + public static final String JSON_PROPERTY_MESSAGE = "message"; + @jakarta.annotation.Nonnull private String message; + + public static final String JSON_PROPERTY_CODE = "code"; + @jakarta.annotation.Nonnull private BigDecimal code; + + public static final String JSON_PROPERTY_DESCRIPTOR = "descriptor"; + @jakarta.annotation.Nullable private String descriptor; + + public TradingErrorSchema() {} + + @JsonCreator + public TradingErrorSchema( + @JsonProperty(value = JSON_PROPERTY_MESSAGE, required = true) String message, + @JsonProperty(value = JSON_PROPERTY_CODE, required = true) BigDecimal code) { + this.message = message; + this.code = code; + } + + public TradingErrorSchema message(@jakarta.annotation.Nonnull String message) { + this.message = message; + return this; + } + + /** + * Get message + * + * @return message + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getMessage() { + return message; + } + + @JsonProperty(JSON_PROPERTY_MESSAGE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setMessage(@jakarta.annotation.Nonnull String message) { + this.message = message; + } + + public TradingErrorSchema code(@jakarta.annotation.Nonnull BigDecimal code) { + this.code = code; + return this; + } + + /** + * Get code + * + * @return code + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_CODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public BigDecimal getCode() { + return code; + } + + @JsonProperty(JSON_PROPERTY_CODE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setCode(@jakarta.annotation.Nonnull BigDecimal code) { + this.code = code; + } + + public TradingErrorSchema descriptor(@jakarta.annotation.Nullable String descriptor) { + this.descriptor = descriptor; + return this; + } + + /** + * Get descriptor + * + * @return descriptor + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDescriptor() { + return descriptor; + } + + @JsonProperty(JSON_PROPERTY_DESCRIPTOR) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDescriptor(@jakarta.annotation.Nullable String descriptor) { + this.descriptor = descriptor; + } + + /** Return true if this TradingErrorSchema object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TradingErrorSchema tradingErrorSchema = (TradingErrorSchema) o; + return Objects.equals(this.message, tradingErrorSchema.message) + && Objects.equals(this.code, tradingErrorSchema.code) + && Objects.equals(this.descriptor, tradingErrorSchema.descriptor); + } + + @Override + public int hashCode() { + return Objects.hash(message, code, descriptor); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TradingErrorSchema {\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" descriptor: ").append(toIndentedString(descriptor)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `message` to the URL query string + if (getMessage() != null) { + joiner.add( + String.format( + "%smessage%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getMessage())))); + } + + // add `code` to the URL query string + if (getCode() != null) { + joiner.add( + String.format( + "%scode%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getCode())))); + } + + // add `descriptor` to the URL query string + if (getDescriptor() != null) { + joiner.add( + String.format( + "%sdescriptor%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getDescriptor())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TradingProvider.java b/src/main/java/com/fireblocks/sdk/model/TradingProvider.java index b6b1ea64..5da0bda5 100644 --- a/src/main/java/com/fireblocks/sdk/model/TradingProvider.java +++ b/src/main/java/com/fireblocks/sdk/model/TradingProvider.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Transaction.java b/src/main/java/com/fireblocks/sdk/model/Transaction.java index 02d0835d..486df9d6 100644 --- a/src/main/java/com/fireblocks/sdk/model/Transaction.java +++ b/src/main/java/com/fireblocks/sdk/model/Transaction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionDirection.java b/src/main/java/com/fireblocks/sdk/model/TransactionDirection.java index 061e5a5e..1ec12193 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionDirection.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionDirection.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionFee.java b/src/main/java/com/fireblocks/sdk/model/TransactionFee.java index 9624b9b5..55bd925b 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionFee.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionFee.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionOperation.java b/src/main/java/com/fireblocks/sdk/model/TransactionOperation.java index 05a0d1a5..a3135ba6 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -27,9 +27,9 @@ * 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 + * 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 diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionOperationEnum.java b/src/main/java/com/fireblocks/sdk/model/TransactionOperationEnum.java index 98fb5bc2..36aaf295 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionOperationEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionOperationEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionReceiptResponse.java b/src/main/java/com/fireblocks/sdk/model/TransactionReceiptResponse.java index 3ff5f403..aa961179 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionReceiptResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionReceiptResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionRequest.java b/src/main/java/com/fireblocks/sdk/model/TransactionRequest.java index 049749c4..dff01867 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -92,8 +92,8 @@ public class TransactionRequest { @jakarta.annotation.Nullable private Boolean forceSweep; /** - * 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. + * 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. */ public enum FeeLevelEnum { LOW(String.valueOf("LOW")), @@ -239,13 +239,13 @@ public TransactionRequest externalTxId(@jakarta.annotation.Nullable String exter } /** - * **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 + * 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. * @@ -272,7 +272,7 @@ public TransactionRequest assetId(@jakarta.annotation.Nullable String assetId) { /** * 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) + * Fireblocks.](https://developers.fireblocks.com/reference/gettrlinksupportedasset#/) * * @return assetId */ @@ -453,8 +453,8 @@ public TransactionRequest feeLevel(@jakarta.annotation.Nullable FeeLevelEnum fee } /** - * 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. + * 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. * * @return feeLevel */ diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionRequestAmount.java b/src/main/java/com/fireblocks/sdk/model/TransactionRequestAmount.java index a009fb63..0e68eece 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionRequestAmount.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionRequestAmount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionRequestDestination.java b/src/main/java/com/fireblocks/sdk/model/TransactionRequestDestination.java index e7ddd44b..81eb20cf 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionRequestDestination.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionRequestDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionRequestFee.java b/src/main/java/com/fireblocks/sdk/model/TransactionRequestFee.java index fc29933f..5193e43d 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionRequestFee.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionRequestFee.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionRequestGasLimit.java b/src/main/java/com/fireblocks/sdk/model/TransactionRequestGasLimit.java index b9f85218..6275cf88 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionRequestGasLimit.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionRequestGasLimit.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionRequestGasPrice.java b/src/main/java/com/fireblocks/sdk/model/TransactionRequestGasPrice.java index 7fe65765..9a9adb80 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionRequestGasPrice.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionRequestGasPrice.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionRequestNetworkFee.java b/src/main/java/com/fireblocks/sdk/model/TransactionRequestNetworkFee.java index c6584f7d..18150f6f 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionRequestNetworkFee.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionRequestNetworkFee.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionRequestNetworkStaking.java b/src/main/java/com/fireblocks/sdk/model/TransactionRequestNetworkStaking.java index 1ec370a1..0e984ca3 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionRequestNetworkStaking.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionRequestNetworkStaking.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionRequestPriorityFee.java b/src/main/java/com/fireblocks/sdk/model/TransactionRequestPriorityFee.java index fff1f1c1..106e9fbc 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionRequestPriorityFee.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionRequestPriorityFee.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionResponse.java b/src/main/java/com/fireblocks/sdk/model/TransactionResponse.java index 07bd7ec7..d4363b86 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -58,6 +58,7 @@ TransactionResponse.JSON_PROPERTY_AUTHORIZATION_INFO, TransactionResponse.JSON_PROPERTY_EXCHANGE_TX_ID, TransactionResponse.JSON_PROPERTY_CUSTOMER_REF_ID, + TransactionResponse.JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID, TransactionResponse.JSON_PROPERTY_AML_SCREENING_RESULT, TransactionResponse.JSON_PROPERTY_COMPLIANCE_RESULTS, TransactionResponse.JSON_PROPERTY_NOT_BROADCAST_BY_FIREBLOCKS, @@ -186,6 +187,9 @@ public class TransactionResponse { public static final String JSON_PROPERTY_CUSTOMER_REF_ID = "customerRefId"; @jakarta.annotation.Nullable private String customerRefId; + public static final String JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID = "travelRuleMessageId"; + @jakarta.annotation.Nullable private String travelRuleMessageId; + public static final String JSON_PROPERTY_AML_SCREENING_RESULT = "amlScreeningResult"; @jakarta.annotation.Nullable private AmlScreeningResult amlScreeningResult; @@ -230,7 +234,7 @@ public class TransactionResponse { @jakarta.annotation.Nullable private FeePayerInfo feePayerInfo; public static final String JSON_PROPERTY_SYSTEM_MESSAGES = "systemMessages"; - @jakarta.annotation.Nullable private SystemMessageInfo systemMessages; + @jakarta.annotation.Nullable private List systemMessages; /** Gets or Sets addressType */ public enum AddressTypeEnum { @@ -1101,6 +1105,31 @@ public void setCustomerRefId(@jakarta.annotation.Nullable String customerRefId) this.customerRefId = customerRefId; } + public TransactionResponse travelRuleMessageId( + @jakarta.annotation.Nullable String travelRuleMessageId) { + this.travelRuleMessageId = travelRuleMessageId; + return this; + } + + /** + * 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. + * + * @return travelRuleMessageId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTravelRuleMessageId() { + return travelRuleMessageId; + } + + @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTravelRuleMessageId(@jakarta.annotation.Nullable String travelRuleMessageId) { + this.travelRuleMessageId = travelRuleMessageId; + } + public TransactionResponse amlScreeningResult( @jakarta.annotation.Nullable AmlScreeningResult amlScreeningResult) { this.amlScreeningResult = amlScreeningResult; @@ -1466,11 +1495,19 @@ public void setFeePayerInfo(@jakarta.annotation.Nullable FeePayerInfo feePayerIn } public TransactionResponse systemMessages( - @jakarta.annotation.Nullable SystemMessageInfo systemMessages) { + @jakarta.annotation.Nullable List systemMessages) { this.systemMessages = systemMessages; return this; } + public TransactionResponse addSystemMessagesItem(SystemMessageInfo systemMessagesItem) { + if (this.systemMessages == null) { + this.systemMessages = new ArrayList<>(); + } + this.systemMessages.add(systemMessagesItem); + return this; + } + /** * Get systemMessages * @@ -1479,13 +1516,14 @@ public TransactionResponse systemMessages( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SYSTEM_MESSAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public SystemMessageInfo getSystemMessages() { + public List getSystemMessages() { return systemMessages; } @JsonProperty(JSON_PROPERTY_SYSTEM_MESSAGES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setSystemMessages(@jakarta.annotation.Nullable SystemMessageInfo systemMessages) { + public void setSystemMessages( + @jakarta.annotation.Nullable List systemMessages) { this.systemMessages = systemMessages; } @@ -1836,6 +1874,7 @@ public boolean equals(Object o) { && Objects.equals(this.authorizationInfo, transactionResponse.authorizationInfo) && Objects.equals(this.exchangeTxId, transactionResponse.exchangeTxId) && Objects.equals(this.customerRefId, transactionResponse.customerRefId) + && Objects.equals(this.travelRuleMessageId, transactionResponse.travelRuleMessageId) && Objects.equals(this.amlScreeningResult, transactionResponse.amlScreeningResult) && Objects.equals(this.complianceResults, transactionResponse.complianceResults) && Objects.equals( @@ -1900,6 +1939,7 @@ public int hashCode() { authorizationInfo, exchangeTxId, customerRefId, + travelRuleMessageId, amlScreeningResult, complianceResults, notBroadcastByFireblocks, @@ -1974,6 +2014,9 @@ public String toString() { .append("\n"); sb.append(" exchangeTxId: ").append(toIndentedString(exchangeTxId)).append("\n"); sb.append(" customerRefId: ").append(toIndentedString(customerRefId)).append("\n"); + sb.append(" travelRuleMessageId: ") + .append(toIndentedString(travelRuleMessageId)) + .append("\n"); sb.append(" amlScreeningResult: ") .append(toIndentedString(amlScreeningResult)) .append("\n"); @@ -2371,6 +2414,17 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getCustomerRefId())))); } + // add `travelRuleMessageId` to the URL query string + if (getTravelRuleMessageId() != null) { + joiner.add( + String.format( + "%stravelRuleMessageId%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getTravelRuleMessageId())))); + } + // add `amlScreeningResult` to the URL query string if (getAmlScreeningResult() != null) { joiner.add( @@ -2505,7 +2559,25 @@ public String toUrlQueryString(String prefix) { // add `systemMessages` to the URL query string if (getSystemMessages() != null) { - joiner.add(getSystemMessages().toUrlQueryString(prefix + "systemMessages" + suffix)); + for (int i = 0; i < getSystemMessages().size(); i++) { + if (getSystemMessages().get(i) != null) { + joiner.add( + getSystemMessages() + .get(i) + .toUrlQueryString( + String.format( + "%ssystemMessages%s%s", + prefix, + suffix, + "".equals(suffix) + ? "" + : String.format( + "%s%d%s", + containerPrefix, + i, + containerSuffix)))); + } + } } // add `addressType` to the URL query string diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionResponseContractCallDecodedData.java b/src/main/java/com/fireblocks/sdk/model/TransactionResponseContractCallDecodedData.java index 569697c8..4c6cfe74 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionResponseContractCallDecodedData.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionResponseContractCallDecodedData.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransactionResponseDestination.java b/src/main/java/com/fireblocks/sdk/model/TransactionResponseDestination.java index 30cbb976..92f32be1 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransactionResponseDestination.java +++ b/src/main/java/com/fireblocks/sdk/model/TransactionResponseDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -24,6 +24,7 @@ @JsonPropertyOrder({ TransactionResponseDestination.JSON_PROPERTY_AMOUNT, TransactionResponseDestination.JSON_PROPERTY_AMOUNT_U_S_D, + TransactionResponseDestination.JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID, TransactionResponseDestination.JSON_PROPERTY_AML_SCREENING_RESULT, TransactionResponseDestination.JSON_PROPERTY_DESTINATION, TransactionResponseDestination.JSON_PROPERTY_AUTHORIZATION_INFO @@ -38,6 +39,9 @@ public class TransactionResponseDestination { public static final String JSON_PROPERTY_AMOUNT_U_S_D = "amountUSD"; @jakarta.annotation.Nullable private String amountUSD; + public static final String JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID = "travelRuleMessageId"; + @jakarta.annotation.Nullable private String travelRuleMessageId; + public static final String JSON_PROPERTY_AML_SCREENING_RESULT = "amlScreeningResult"; @jakarta.annotation.Nullable private AmlScreeningResult amlScreeningResult; @@ -95,6 +99,31 @@ public void setAmountUSD(@jakarta.annotation.Nullable String amountUSD) { this.amountUSD = amountUSD; } + public TransactionResponseDestination travelRuleMessageId( + @jakarta.annotation.Nullable String travelRuleMessageId) { + this.travelRuleMessageId = travelRuleMessageId; + return this; + } + + /** + * 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. + * + * @return travelRuleMessageId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getTravelRuleMessageId() { + return travelRuleMessageId; + } + + @JsonProperty(JSON_PROPERTY_TRAVEL_RULE_MESSAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setTravelRuleMessageId(@jakarta.annotation.Nullable String travelRuleMessageId) { + this.travelRuleMessageId = travelRuleMessageId; + } + public TransactionResponseDestination amlScreeningResult( @jakarta.annotation.Nullable AmlScreeningResult amlScreeningResult) { this.amlScreeningResult = amlScreeningResult; @@ -183,6 +212,9 @@ public boolean equals(Object o) { (TransactionResponseDestination) o; return Objects.equals(this.amount, transactionResponseDestination.amount) && Objects.equals(this.amountUSD, transactionResponseDestination.amountUSD) + && Objects.equals( + this.travelRuleMessageId, + transactionResponseDestination.travelRuleMessageId) && Objects.equals( this.amlScreeningResult, transactionResponseDestination.amlScreeningResult) && Objects.equals(this.destination, transactionResponseDestination.destination) @@ -192,7 +224,13 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(amount, amountUSD, amlScreeningResult, destination, authorizationInfo); + return Objects.hash( + amount, + amountUSD, + travelRuleMessageId, + amlScreeningResult, + destination, + authorizationInfo); } @Override @@ -201,6 +239,9 @@ public String toString() { sb.append("class TransactionResponseDestination {\n"); sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); sb.append(" amountUSD: ").append(toIndentedString(amountUSD)).append("\n"); + sb.append(" travelRuleMessageId: ") + .append(toIndentedString(travelRuleMessageId)) + .append("\n"); sb.append(" amlScreeningResult: ") .append(toIndentedString(amlScreeningResult)) .append("\n"); @@ -275,6 +316,17 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getAmountUSD())))); } + // add `travelRuleMessageId` to the URL query string + if (getTravelRuleMessageId() != null) { + joiner.add( + String.format( + "%stravelRuleMessageId%s=%s", + prefix, + suffix, + ApiClient.urlEncode( + ApiClient.valueToString(getTravelRuleMessageId())))); + } + // add `amlScreeningResult` to the URL query string if (getAmlScreeningResult() != null) { joiner.add( diff --git a/src/main/java/com/fireblocks/sdk/model/TransferConfigOperation.java b/src/main/java/com/fireblocks/sdk/model/TransferConfigOperation.java index c79fba77..0c63989b 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferConfigOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferConfigOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferOperationConfigParams.java b/src/main/java/com/fireblocks/sdk/model/TransferOperationConfigParams.java index 410c9b81..ab1ec6eb 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferOperationConfigParams.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferOperationConfigParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferOperationExecution.java b/src/main/java/com/fireblocks/sdk/model/TransferOperationExecution.java index 90a94ee6..478b1944 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferOperationExecution.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferOperationExecution.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionOutput.java b/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionOutput.java index bca04ac7..6e78da9b 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionOutput.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionOutput.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionParams.java b/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionParams.java index 772785b8..303fc220 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionParams.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsExecutionParams.java b/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsExecutionParams.java index 6472e2a0..12103924 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsExecutionParams.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsExecutionParams.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferOperationFailure.java b/src/main/java/com/fireblocks/sdk/model/TransferOperationFailure.java index 88b225d1..a5a927ca 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferOperationFailure.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferOperationFailure.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferOperationFailureData.java b/src/main/java/com/fireblocks/sdk/model/TransferOperationFailureData.java index 04f1109a..03cadea9 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferOperationFailureData.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferOperationFailureData.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferOperationPreview.java b/src/main/java/com/fireblocks/sdk/model/TransferOperationPreview.java index b596ce98..b5e6955e 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferOperationPreview.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferOperationPreview.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferOperationPreviewOutput.java b/src/main/java/com/fireblocks/sdk/model/TransferOperationPreviewOutput.java index b092342f..e1c38e30 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferOperationPreviewOutput.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferOperationPreviewOutput.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferOperationType.java b/src/main/java/com/fireblocks/sdk/model/TransferOperationType.java index 6fd35b24..42ed015a 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferOperationType.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferOperationType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferPeerPathSubType.java b/src/main/java/com/fireblocks/sdk/model/TransferPeerPathSubType.java index dbe0278b..ff869c22 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferPeerPathSubType.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferPeerPathSubType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferPeerPathType.java b/src/main/java/com/fireblocks/sdk/model/TransferPeerPathType.java index 407b8036..fda1043e 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferPeerPathType.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferPeerPathType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnum.java index 77a194fb..341392a4 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferPeerTypeEnum.java b/src/main/java/com/fireblocks/sdk/model/TransferPeerTypeEnum.java index c0314aac..a6ba06c4 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferPeerTypeEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferPeerTypeEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferRail.java b/src/main/java/com/fireblocks/sdk/model/TransferRail.java index ba10db78..0fa09619 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferRail.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferRail.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferReceipt.java b/src/main/java/com/fireblocks/sdk/model/TransferReceipt.java index 52daf3d9..7561111a 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferReceipt.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferReceipt.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TransferValidationFailure.java b/src/main/java/com/fireblocks/sdk/model/TransferValidationFailure.java index 78be7417..586fdc35 100644 --- a/src/main/java/com/fireblocks/sdk/model/TransferValidationFailure.java +++ b/src/main/java/com/fireblocks/sdk/model/TransferValidationFailure.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleActionEnum.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleActionEnum.java index 0577c432..ebc21980 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleActionEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleActionEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleAddress.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleAddress.java index a19280aa..7709c7f4 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleCreateTransactionRequest.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleCreateTransactionRequest.java index bb980a22..130c8d7e 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleCreateTransactionRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleCreateTransactionRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleDateAndPlaceOfBirth.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleDateAndPlaceOfBirth.java index f29da696..1b22cb2a 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleDateAndPlaceOfBirth.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleDateAndPlaceOfBirth.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleDirectionEnum.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleDirectionEnum.java index 621dffcf..912599d4 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleDirectionEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleDirectionEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleGeographicAddress.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleGeographicAddress.java index 640567f0..6bdbae92 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleGeographicAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleGeographicAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleGetAllVASPsResponse.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleGetAllVASPsResponse.java index 67716b74..e5e545b0 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleGetAllVASPsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleGetAllVASPsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleIssuer.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleIssuer.java index 976a18af..00f97dcf 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleIssuer.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleIssuer.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleIssuers.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleIssuers.java index 3ffdb3f9..a5dc7cb5 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleIssuers.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleIssuers.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleLegalPerson.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleLegalPerson.java index df984b9a..662a05f4 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleLegalPerson.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleLegalPerson.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleLegalPersonNameIdentifier.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleLegalPersonNameIdentifier.java index 9364660f..b22f806a 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleLegalPersonNameIdentifier.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleLegalPersonNameIdentifier.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleMatchedRule.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleMatchedRule.java index f994b266..1552fcde 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleMatchedRule.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleMatchedRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleNationalIdentification.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleNationalIdentification.java index 2afe5f98..224bbb67 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleNationalIdentification.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleNationalIdentification.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalNameIdentifier.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalNameIdentifier.java index 1f722fb2..69d90e8e 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalNameIdentifier.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalNameIdentifier.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalPerson.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalPerson.java index 0209dd8c..b7811d87 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalPerson.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalPerson.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonNameIdentifier.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonNameIdentifier.java index d99e15d0..6b073593 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonNameIdentifier.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonNameIdentifier.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleOwnershipProof.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleOwnershipProof.java index b755b2b6..6ad522ff 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleOwnershipProof.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleOwnershipProof.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRulePerson.java b/src/main/java/com/fireblocks/sdk/model/TravelRulePerson.java index fde5208d..3ab566a7 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRulePerson.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRulePerson.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRulePiiIVMS.java b/src/main/java/com/fireblocks/sdk/model/TravelRulePiiIVMS.java index c69e1d29..28a42bb0 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRulePiiIVMS.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRulePiiIVMS.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRulePolicyRuleResponse.java b/src/main/java/com/fireblocks/sdk/model/TravelRulePolicyRuleResponse.java index 4c335701..638f3ab1 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRulePolicyRuleResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRulePolicyRuleResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRulePrescreeningRule.java b/src/main/java/com/fireblocks/sdk/model/TravelRulePrescreeningRule.java index d34bc3cf..b805f3d0 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRulePrescreeningRule.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRulePrescreeningRule.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleResult.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleResult.java index 22653a61..a41f9c3f 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleResult.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleResult.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleStatusEnum.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleStatusEnum.java index e33929a2..b13a9426 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleStatusEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleStatusEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleTransactionBlockchainInfo.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleTransactionBlockchainInfo.java index d06ccd0b..14e660d8 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleTransactionBlockchainInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleTransactionBlockchainInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleUpdateVASPDetails.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleUpdateVASPDetails.java index d8ba0ba5..d75112b4 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleUpdateVASPDetails.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleUpdateVASPDetails.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleVASP.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleVASP.java index 246a0657..6012bda9 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleVASP.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleVASP.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateDateAndPlaceOfBirth.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateDateAndPlaceOfBirth.java index 1efa835c..269b4abc 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateDateAndPlaceOfBirth.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateDateAndPlaceOfBirth.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateFullTransactionRequest.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateFullTransactionRequest.java index d939b0d5..ff04f6dd 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateFullTransactionRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateFullTransactionRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateGeographicAddress.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateGeographicAddress.java index f600a2b8..cf58a016 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateGeographicAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateGeographicAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPerson.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPerson.java index aa83044d..8a73222d 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPerson.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPerson.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonNameIdentifier.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonNameIdentifier.java index 5d785c3f..5094985b 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonNameIdentifier.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonNameIdentifier.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNationalIdentification.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNationalIdentification.java index fe081829..4d8f8d96 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNationalIdentification.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNationalIdentification.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalNameIdentifier.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalNameIdentifier.java index 00ce34af..d3ce93a7 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalNameIdentifier.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalNameIdentifier.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPerson.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPerson.java index 019d90b0..826b9e1e 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPerson.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPerson.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonNameIdentifier.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonNameIdentifier.java index edaff5d0..da0930af 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonNameIdentifier.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonNameIdentifier.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidatePerson.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidatePerson.java index 5fb08c3f..72130f52 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidatePerson.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidatePerson.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidatePiiIVMS.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidatePiiIVMS.java index 763855ab..d21fcfd6 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidatePiiIVMS.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidatePiiIVMS.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionRequest.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionRequest.java index 3f6a2ec9..4fec4631 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionResponse.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionResponse.java index 05271a12..212e99da 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleVaspForVault.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleVaspForVault.java index 60f3f2ef..7cfa738f 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleVaspForVault.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleVaspForVault.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TravelRuleVerdictEnum.java b/src/main/java/com/fireblocks/sdk/model/TravelRuleVerdictEnum.java index a3bfaa13..423fd9b9 100644 --- a/src/main/java/com/fireblocks/sdk/model/TravelRuleVerdictEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/TravelRuleVerdictEnum.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressCreateResponse.java b/src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressCreateResponse.java new file mode 100644 index 00000000..d4125aea --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressCreateResponse.java @@ -0,0 +1,194 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; +import java.util.UUID; + +/** Response from creating a proof of address transaction */ +@JsonPropertyOrder({ + TrustProofOfAddressCreateResponse.JSON_PROPERTY_TRANSACTION_ID, + TrustProofOfAddressCreateResponse.JSON_PROPERTY_STATUS +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TrustProofOfAddressCreateResponse { + public static final String JSON_PROPERTY_TRANSACTION_ID = "transactionId"; + @jakarta.annotation.Nonnull private UUID transactionId; + + public static final String JSON_PROPERTY_STATUS = "status"; + @jakarta.annotation.Nonnull private TypedMessageTransactionStatusEnum status; + + public TrustProofOfAddressCreateResponse() {} + + @JsonCreator + public TrustProofOfAddressCreateResponse( + @JsonProperty(value = JSON_PROPERTY_TRANSACTION_ID, required = true) UUID transactionId, + @JsonProperty(value = JSON_PROPERTY_STATUS, required = true) + TypedMessageTransactionStatusEnum status) { + this.transactionId = transactionId; + this.status = status; + } + + public TrustProofOfAddressCreateResponse transactionId( + @jakarta.annotation.Nonnull UUID transactionId) { + this.transactionId = transactionId; + return this; + } + + /** + * Transaction ID from Fireblocks (UUID format) + * + * @return transactionId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TRANSACTION_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getTransactionId() { + return transactionId; + } + + @JsonProperty(JSON_PROPERTY_TRANSACTION_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTransactionId(@jakarta.annotation.Nonnull UUID transactionId) { + this.transactionId = transactionId; + } + + public TrustProofOfAddressCreateResponse status( + @jakarta.annotation.Nonnull TypedMessageTransactionStatusEnum status) { + this.status = status; + return this; + } + + /** + * Get status + * + * @return status + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TypedMessageTransactionStatusEnum getStatus() { + return status; + } + + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setStatus(@jakarta.annotation.Nonnull TypedMessageTransactionStatusEnum status) { + this.status = status; + } + + /** Return true if this TrustProofOfAddressCreateResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TrustProofOfAddressCreateResponse trustProofOfAddressCreateResponse = + (TrustProofOfAddressCreateResponse) o; + return Objects.equals(this.transactionId, trustProofOfAddressCreateResponse.transactionId) + && Objects.equals(this.status, trustProofOfAddressCreateResponse.status); + } + + @Override + public int hashCode() { + return Objects.hash(transactionId, status); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TrustProofOfAddressCreateResponse {\n"); + sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `transactionId` to the URL query string + if (getTransactionId() != null) { + joiner.add( + String.format( + "%stransactionId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTransactionId())))); + } + + // add `status` to the URL query string + if (getStatus() != null) { + joiner.add( + String.format( + "%sstatus%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getStatus())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressRequest.java b/src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressRequest.java new file mode 100644 index 00000000..90036b39 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressRequest.java @@ -0,0 +1,274 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; +import java.util.UUID; + +/** Request to create a cryptographic proof of address ownership for TRUST network compliance */ +@JsonPropertyOrder({ + TrustProofOfAddressRequest.JSON_PROPERTY_VAULT_ACCOUNT_ID, + TrustProofOfAddressRequest.JSON_PROPERTY_ASSET, + TrustProofOfAddressRequest.JSON_PROPERTY_PREFIX, + TrustProofOfAddressRequest.JSON_PROPERTY_TRUST_UUID +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TrustProofOfAddressRequest { + public static final String JSON_PROPERTY_VAULT_ACCOUNT_ID = "vaultAccountId"; + @jakarta.annotation.Nonnull private String vaultAccountId; + + public static final String JSON_PROPERTY_ASSET = "asset"; + @jakarta.annotation.Nonnull private String asset; + + public static final String JSON_PROPERTY_PREFIX = "prefix"; + @jakarta.annotation.Nonnull private String prefix; + + public static final String JSON_PROPERTY_TRUST_UUID = "trustUuid"; + @jakarta.annotation.Nonnull private UUID trustUuid; + + public TrustProofOfAddressRequest() {} + + @JsonCreator + public TrustProofOfAddressRequest( + @JsonProperty(value = JSON_PROPERTY_VAULT_ACCOUNT_ID, required = true) + String vaultAccountId, + @JsonProperty(value = JSON_PROPERTY_ASSET, required = true) String asset, + @JsonProperty(value = JSON_PROPERTY_PREFIX, required = true) String prefix, + @JsonProperty(value = JSON_PROPERTY_TRUST_UUID, required = true) UUID trustUuid) { + this.vaultAccountId = vaultAccountId; + this.asset = asset; + this.prefix = prefix; + this.trustUuid = trustUuid; + } + + public TrustProofOfAddressRequest vaultAccountId( + @jakarta.annotation.Nonnull String vaultAccountId) { + this.vaultAccountId = vaultAccountId; + return this; + } + + /** + * The ID of the vault account. + * + * @return vaultAccountId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getVaultAccountId() { + return vaultAccountId; + } + + @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setVaultAccountId(@jakarta.annotation.Nonnull String vaultAccountId) { + this.vaultAccountId = vaultAccountId; + } + + public TrustProofOfAddressRequest asset(@jakarta.annotation.Nonnull String asset) { + this.asset = asset; + return this; + } + + /** + * The asset identifier for which proof of address is being created. + * + * @return asset + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getAsset() { + return asset; + } + + @JsonProperty(JSON_PROPERTY_ASSET) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setAsset(@jakarta.annotation.Nonnull String asset) { + this.asset = asset; + } + + public TrustProofOfAddressRequest prefix(@jakarta.annotation.Nonnull String prefix) { + this.prefix = prefix; + return this; + } + + /** + * The prefix to be used for signing messages. + * + * @return prefix + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_PREFIX) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getPrefix() { + return prefix; + } + + @JsonProperty(JSON_PROPERTY_PREFIX) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setPrefix(@jakarta.annotation.Nonnull String prefix) { + this.prefix = prefix; + } + + public TrustProofOfAddressRequest trustUuid(@jakarta.annotation.Nonnull UUID trustUuid) { + this.trustUuid = trustUuid; + return this; + } + + /** + * A unique identifier (UUID) obtained from TRUST (CreateAddressOwnership) + * + * @return trustUuid + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TRUST_UUID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getTrustUuid() { + return trustUuid; + } + + @JsonProperty(JSON_PROPERTY_TRUST_UUID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTrustUuid(@jakarta.annotation.Nonnull UUID trustUuid) { + this.trustUuid = trustUuid; + } + + /** Return true if this TrustProofOfAddressRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TrustProofOfAddressRequest trustProofOfAddressRequest = (TrustProofOfAddressRequest) o; + return Objects.equals(this.vaultAccountId, trustProofOfAddressRequest.vaultAccountId) + && Objects.equals(this.asset, trustProofOfAddressRequest.asset) + && Objects.equals(this.prefix, trustProofOfAddressRequest.prefix) + && Objects.equals(this.trustUuid, trustProofOfAddressRequest.trustUuid); + } + + @Override + public int hashCode() { + return Objects.hash(vaultAccountId, asset, prefix, trustUuid); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TrustProofOfAddressRequest {\n"); + sb.append(" vaultAccountId: ").append(toIndentedString(vaultAccountId)).append("\n"); + sb.append(" asset: ").append(toIndentedString(asset)).append("\n"); + sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); + sb.append(" trustUuid: ").append(toIndentedString(trustUuid)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `vaultAccountId` to the URL query string + if (getVaultAccountId() != null) { + joiner.add( + String.format( + "%svaultAccountId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getVaultAccountId())))); + } + + // add `asset` to the URL query string + if (getAsset() != null) { + joiner.add( + String.format( + "%sasset%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAsset())))); + } + + // add `prefix` to the URL query string + if (getPrefix() != null) { + joiner.add( + String.format( + "%sprefix%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getPrefix())))); + } + + // add `trustUuid` to the URL query string + if (getTrustUuid() != null) { + joiner.add( + String.format( + "%strustUuid%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTrustUuid())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressResponse.java b/src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressResponse.java new file mode 100644 index 00000000..e5bc21b2 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TrustProofOfAddressResponse.java @@ -0,0 +1,234 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; +import java.util.UUID; + +/** Response containing the TRUST-compatible encoded signature */ +@JsonPropertyOrder({ + TrustProofOfAddressResponse.JSON_PROPERTY_TRANSACTION_ID, + TrustProofOfAddressResponse.JSON_PROPERTY_STATUS, + TrustProofOfAddressResponse.JSON_PROPERTY_SIGNATURE +}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class TrustProofOfAddressResponse { + public static final String JSON_PROPERTY_TRANSACTION_ID = "transactionId"; + @jakarta.annotation.Nonnull private UUID transactionId; + + public static final String JSON_PROPERTY_STATUS = "status"; + @jakarta.annotation.Nonnull private TypedMessageTransactionStatusEnum status; + + public static final String JSON_PROPERTY_SIGNATURE = "signature"; + @jakarta.annotation.Nonnull private String signature; + + public TrustProofOfAddressResponse() {} + + @JsonCreator + public TrustProofOfAddressResponse( + @JsonProperty(value = JSON_PROPERTY_TRANSACTION_ID, required = true) UUID transactionId, + @JsonProperty(value = JSON_PROPERTY_STATUS, required = true) + TypedMessageTransactionStatusEnum status, + @JsonProperty(value = JSON_PROPERTY_SIGNATURE, required = true) String signature) { + this.transactionId = transactionId; + this.status = status; + this.signature = signature; + } + + public TrustProofOfAddressResponse transactionId( + @jakarta.annotation.Nonnull UUID transactionId) { + this.transactionId = transactionId; + return this; + } + + /** + * Transaction ID from Fireblocks (UUID format) + * + * @return transactionId + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_TRANSACTION_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public UUID getTransactionId() { + return transactionId; + } + + @JsonProperty(JSON_PROPERTY_TRANSACTION_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setTransactionId(@jakarta.annotation.Nonnull UUID transactionId) { + this.transactionId = transactionId; + } + + public TrustProofOfAddressResponse status( + @jakarta.annotation.Nonnull TypedMessageTransactionStatusEnum status) { + this.status = status; + return this; + } + + /** + * Get status + * + * @return status + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public TypedMessageTransactionStatusEnum getStatus() { + return status; + } + + @JsonProperty(JSON_PROPERTY_STATUS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setStatus(@jakarta.annotation.Nonnull TypedMessageTransactionStatusEnum status) { + this.status = status; + } + + public TrustProofOfAddressResponse signature(@jakarta.annotation.Nonnull String signature) { + this.signature = signature; + return this; + } + + /** + * TRUST-compatible encoded signature for proof of address verification. + * + * @return signature + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_SIGNATURE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getSignature() { + return signature; + } + + @JsonProperty(JSON_PROPERTY_SIGNATURE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setSignature(@jakarta.annotation.Nonnull String signature) { + this.signature = signature; + } + + /** Return true if this TrustProofOfAddressResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TrustProofOfAddressResponse trustProofOfAddressResponse = (TrustProofOfAddressResponse) o; + return Objects.equals(this.transactionId, trustProofOfAddressResponse.transactionId) + && Objects.equals(this.status, trustProofOfAddressResponse.status) + && Objects.equals(this.signature, trustProofOfAddressResponse.signature); + } + + @Override + public int hashCode() { + return Objects.hash(transactionId, status, signature); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TrustProofOfAddressResponse {\n"); + sb.append(" transactionId: ").append(toIndentedString(transactionId)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" signature: ").append(toIndentedString(signature)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `transactionId` to the URL query string + if (getTransactionId() != null) { + joiner.add( + String.format( + "%stransactionId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getTransactionId())))); + } + + // add `status` to the URL query string + if (getStatus() != null) { + joiner.add( + String.format( + "%sstatus%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getStatus())))); + } + + // add `signature` to the URL query string + if (getSignature() != null) { + joiner.add( + String.format( + "%ssignature%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getSignature())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/TxLog.java b/src/main/java/com/fireblocks/sdk/model/TxLog.java index a9c1f57a..073d532e 100644 --- a/src/main/java/com/fireblocks/sdk/model/TxLog.java +++ b/src/main/java/com/fireblocks/sdk/model/TxLog.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/TypedMessageTransactionStatusEnum.java b/src/main/java/com/fireblocks/sdk/model/TypedMessageTransactionStatusEnum.java new file mode 100644 index 00000000..416f1308 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/TypedMessageTransactionStatusEnum.java @@ -0,0 +1,95 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Status of the typed message transaction from Fireblocks. For details, see [Primary transaction + * statuses](https://developers.fireblocks.com/reference/primary-transaction-statuses) + */ +public enum TypedMessageTransactionStatusEnum { + 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"); + + private String value; + + TypedMessageTransactionStatusEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static TypedMessageTransactionStatusEnum fromValue(String value) { + for (TypedMessageTransactionStatusEnum b : TypedMessageTransactionStatusEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + if (prefix == null) { + prefix = ""; + } + + return String.format("%s=%s", prefix, this.toString()); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/USWireAddress.java b/src/main/java/com/fireblocks/sdk/model/USWireAddress.java index f2324782..09722801 100644 --- a/src/main/java/com/fireblocks/sdk/model/USWireAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/USWireAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -46,7 +46,7 @@ public class USWireAddress { @jakarta.annotation.Nonnull private String routingNumber; public static final String JSON_PROPERTY_BANK_ADDRESS = "bankAddress"; - @jakarta.annotation.Nullable private String bankAddress; + @jakarta.annotation.Nullable private BankAddress bankAddress; public USWireAddress() {} @@ -156,26 +156,26 @@ public void setRoutingNumber(@jakarta.annotation.Nonnull String routingNumber) { this.routingNumber = routingNumber; } - public USWireAddress bankAddress(@jakarta.annotation.Nullable String bankAddress) { + public USWireAddress bankAddress(@jakarta.annotation.Nullable BankAddress bankAddress) { this.bankAddress = bankAddress; return this; } /** - * Address of the bank. + * Get bankAddress * * @return bankAddress */ @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BANK_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBankAddress() { + public BankAddress getBankAddress() { return bankAddress; } @JsonProperty(JSON_PROPERTY_BANK_ADDRESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBankAddress(@jakarta.annotation.Nullable String bankAddress) { + public void setBankAddress(@jakarta.annotation.Nullable BankAddress bankAddress) { this.bankAddress = bankAddress; } @@ -296,12 +296,7 @@ public String toUrlQueryString(String prefix) { // add `bankAddress` to the URL query string if (getBankAddress() != null) { - joiner.add( - String.format( - "%sbankAddress%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBankAddress())))); + joiner.add(getBankAddress().toUrlQueryString(prefix + "bankAddress" + suffix)); } return joiner.toString(); diff --git a/src/main/java/com/fireblocks/sdk/model/USWireDestination.java b/src/main/java/com/fireblocks/sdk/model/USWireDestination.java index 56576a4e..bfea5c71 100644 --- a/src/main/java/com/fireblocks/sdk/model/USWireDestination.java +++ b/src/main/java/com/fireblocks/sdk/model/USWireDestination.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -30,7 +30,7 @@ public class USWireDestination { /** Gets or Sets type */ public enum TypeEnum { - US_WIRE(String.valueOf("US_WIRE")); + WIRE(String.valueOf("WIRE")); private String value; diff --git a/src/main/java/com/fireblocks/sdk/model/UnfreezeTransactionResponse.java b/src/main/java/com/fireblocks/sdk/model/UnfreezeTransactionResponse.java index 3362e5a1..46a0a062 100644 --- a/src/main/java/com/fireblocks/sdk/model/UnfreezeTransactionResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/UnfreezeTransactionResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UnmanagedWallet.java b/src/main/java/com/fireblocks/sdk/model/UnmanagedWallet.java index cd281e27..2fe56452 100644 --- a/src/main/java/com/fireblocks/sdk/model/UnmanagedWallet.java +++ b/src/main/java/com/fireblocks/sdk/model/UnmanagedWallet.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UnspentInput.java b/src/main/java/com/fireblocks/sdk/model/UnspentInput.java index 162d7c19..565e3c99 100644 --- a/src/main/java/com/fireblocks/sdk/model/UnspentInput.java +++ b/src/main/java/com/fireblocks/sdk/model/UnspentInput.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UnspentInputsResponse.java b/src/main/java/com/fireblocks/sdk/model/UnspentInputsResponse.java index f1c606fb..804bdd52 100644 --- a/src/main/java/com/fireblocks/sdk/model/UnspentInputsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/UnspentInputsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UnstakeRequest.java b/src/main/java/com/fireblocks/sdk/model/UnstakeRequest.java index 43fcaddd..bc7c5fe8 100644 --- a/src/main/java/com/fireblocks/sdk/model/UnstakeRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/UnstakeRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -154,9 +154,9 @@ public UnstakeRequest amount(@jakarta.annotation.Nullable String amount) { } /** - * 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 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. * * @return amount */ diff --git a/src/main/java/com/fireblocks/sdk/model/UpdateAssetUserMetadataRequest.java b/src/main/java/com/fireblocks/sdk/model/UpdateAssetUserMetadataRequest.java index ff6f8945..568d24fb 100644 --- a/src/main/java/com/fireblocks/sdk/model/UpdateAssetUserMetadataRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/UpdateAssetUserMetadataRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UpdateCallbackHandlerRequest.java b/src/main/java/com/fireblocks/sdk/model/UpdateCallbackHandlerRequest.java index d079f491..e06cc970 100644 --- a/src/main/java/com/fireblocks/sdk/model/UpdateCallbackHandlerRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/UpdateCallbackHandlerRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UpdateCallbackHandlerResponse.java b/src/main/java/com/fireblocks/sdk/model/UpdateCallbackHandlerResponse.java index 9556365d..3a3c7bf4 100644 --- a/src/main/java/com/fireblocks/sdk/model/UpdateCallbackHandlerResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/UpdateCallbackHandlerResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UpdateDraftRequest.java b/src/main/java/com/fireblocks/sdk/model/UpdateDraftRequest.java index 211e4aea..ef6f0e37 100644 --- a/src/main/java/com/fireblocks/sdk/model/UpdateDraftRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/UpdateDraftRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UpdateTagRequest.java b/src/main/java/com/fireblocks/sdk/model/UpdateTagRequest.java index 2f7aecf1..0bfd387b 100644 --- a/src/main/java/com/fireblocks/sdk/model/UpdateTagRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/UpdateTagRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UpdateTokenOwnershipStatusDto.java b/src/main/java/com/fireblocks/sdk/model/UpdateTokenOwnershipStatusDto.java index 9ee35f56..d008e04d 100644 --- a/src/main/java/com/fireblocks/sdk/model/UpdateTokenOwnershipStatusDto.java +++ b/src/main/java/com/fireblocks/sdk/model/UpdateTokenOwnershipStatusDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UpdateVaultAccountAssetAddressRequest.java b/src/main/java/com/fireblocks/sdk/model/UpdateVaultAccountAssetAddressRequest.java index ab848627..2640b19b 100644 --- a/src/main/java/com/fireblocks/sdk/model/UpdateVaultAccountAssetAddressRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/UpdateVaultAccountAssetAddressRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UpdateVaultAccountRequest.java b/src/main/java/com/fireblocks/sdk/model/UpdateVaultAccountRequest.java index 2691c1dd..bec740db 100644 --- a/src/main/java/com/fireblocks/sdk/model/UpdateVaultAccountRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/UpdateVaultAccountRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UpdateWebhookRequest.java b/src/main/java/com/fireblocks/sdk/model/UpdateWebhookRequest.java index 21cf0b65..576efcf5 100644 --- a/src/main/java/com/fireblocks/sdk/model/UpdateWebhookRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/UpdateWebhookRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UsWirePaymentInfo.java b/src/main/java/com/fireblocks/sdk/model/UsWirePaymentInfo.java index e9330a48..7e084c18 100644 --- a/src/main/java/com/fireblocks/sdk/model/UsWirePaymentInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/UsWirePaymentInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UserGroupCreateRequest.java b/src/main/java/com/fireblocks/sdk/model/UserGroupCreateRequest.java index 4fe2ee55..4a1d9968 100644 --- a/src/main/java/com/fireblocks/sdk/model/UserGroupCreateRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/UserGroupCreateRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UserGroupCreateResponse.java b/src/main/java/com/fireblocks/sdk/model/UserGroupCreateResponse.java index a921a09a..42d0a16f 100644 --- a/src/main/java/com/fireblocks/sdk/model/UserGroupCreateResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/UserGroupCreateResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UserGroupResponse.java b/src/main/java/com/fireblocks/sdk/model/UserGroupResponse.java index e71d9069..42f26298 100644 --- a/src/main/java/com/fireblocks/sdk/model/UserGroupResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/UserGroupResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UserGroupUpdateRequest.java b/src/main/java/com/fireblocks/sdk/model/UserGroupUpdateRequest.java index 7944ab14..13da713f 100644 --- a/src/main/java/com/fireblocks/sdk/model/UserGroupUpdateRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/UserGroupUpdateRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UserResponse.java b/src/main/java/com/fireblocks/sdk/model/UserResponse.java index 48569d79..90657394 100644 --- a/src/main/java/com/fireblocks/sdk/model/UserResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/UserResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UserRole.java b/src/main/java/com/fireblocks/sdk/model/UserRole.java index 48d3be55..168710e7 100644 --- a/src/main/java/com/fireblocks/sdk/model/UserRole.java +++ b/src/main/java/com/fireblocks/sdk/model/UserRole.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UserStatus.java b/src/main/java/com/fireblocks/sdk/model/UserStatus.java index 89f78910..0a626626 100644 --- a/src/main/java/com/fireblocks/sdk/model/UserStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/UserStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/UserType.java b/src/main/java/com/fireblocks/sdk/model/UserType.java index b2f3f167..8da1483c 100644 --- a/src/main/java/com/fireblocks/sdk/model/UserType.java +++ b/src/main/java/com/fireblocks/sdk/model/UserType.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ValidateAddressResponse.java b/src/main/java/com/fireblocks/sdk/model/ValidateAddressResponse.java index d476c221..fe96251c 100644 --- a/src/main/java/com/fireblocks/sdk/model/ValidateAddressResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ValidateAddressResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ValidateLayerZeroChannelResponse.java b/src/main/java/com/fireblocks/sdk/model/ValidateLayerZeroChannelResponse.java index 60b8925e..06749b0c 100644 --- a/src/main/java/com/fireblocks/sdk/model/ValidateLayerZeroChannelResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/ValidateLayerZeroChannelResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/ValidatedTransactionsForRescan.java b/src/main/java/com/fireblocks/sdk/model/ValidatedTransactionsForRescan.java deleted file mode 100644 index dabcc3d8..00000000 --- a/src/main/java/com/fireblocks/sdk/model/ValidatedTransactionsForRescan.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fireblocks.sdk.ApiClient; -import java.util.ArrayList; -import java.util.List; -import java.util.Objects; -import java.util.StringJoiner; - -/** ValidatedTransactionsForRescan */ -@JsonPropertyOrder({ - ValidatedTransactionsForRescan.JSON_PROPERTY_BASE_ASSET, - ValidatedTransactionsForRescan.JSON_PROPERTY_NETWORK_PROTOCOL, - ValidatedTransactionsForRescan.JSON_PROPERTY_TX_HASHES -}) -@jakarta.annotation.Generated( - value = "org.openapitools.codegen.languages.JavaClientCodegen", - comments = "Generator version: 7.14.0") -public class ValidatedTransactionsForRescan { - public static final String JSON_PROPERTY_BASE_ASSET = "baseAsset"; - @jakarta.annotation.Nullable private String baseAsset; - - public static final String JSON_PROPERTY_NETWORK_PROTOCOL = "networkProtocol"; - @jakarta.annotation.Nullable private String networkProtocol; - - public static final String JSON_PROPERTY_TX_HASHES = "txHashes"; - @jakarta.annotation.Nullable private List txHashes; - - public ValidatedTransactionsForRescan() {} - - public ValidatedTransactionsForRescan baseAsset(@jakarta.annotation.Nullable String baseAsset) { - this.baseAsset = baseAsset; - return this; - } - - /** - * Base asset symbol BTC_TEST, ETH_TEST5) - * - * @return baseAsset - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BASE_ASSET) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBaseAsset() { - return baseAsset; - } - - @JsonProperty(JSON_PROPERTY_BASE_ASSET) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setBaseAsset(@jakarta.annotation.Nullable String baseAsset) { - this.baseAsset = baseAsset; - } - - public ValidatedTransactionsForRescan networkProtocol( - @jakarta.annotation.Nullable String networkProtocol) { - this.networkProtocol = networkProtocol; - return this; - } - - /** - * Netowrk protocol of the blockchain (BTC, ETH) - * - * @return networkProtocol - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getNetworkProtocol() { - return networkProtocol; - } - - @JsonProperty(JSON_PROPERTY_NETWORK_PROTOCOL) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setNetworkProtocol(@jakarta.annotation.Nullable String networkProtocol) { - this.networkProtocol = networkProtocol; - } - - public ValidatedTransactionsForRescan txHashes( - @jakarta.annotation.Nullable List txHashes) { - this.txHashes = txHashes; - return this; - } - - public ValidatedTransactionsForRescan addTxHashesItem(String txHashesItem) { - if (this.txHashes == null) { - this.txHashes = new ArrayList<>(); - } - this.txHashes.add(txHashesItem); - return this; - } - - /** - * Blockchain TX hashes - * - * @return txHashes - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TX_HASHES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getTxHashes() { - return txHashes; - } - - @JsonProperty(JSON_PROPERTY_TX_HASHES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setTxHashes(@jakarta.annotation.Nullable List txHashes) { - this.txHashes = txHashes; - } - - /** Return true if this ValidatedTransactionsForRescan object is equal to o. */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ValidatedTransactionsForRescan validatedTransactionsForRescan = - (ValidatedTransactionsForRescan) o; - return Objects.equals(this.baseAsset, validatedTransactionsForRescan.baseAsset) - && Objects.equals( - this.networkProtocol, validatedTransactionsForRescan.networkProtocol) - && Objects.equals(this.txHashes, validatedTransactionsForRescan.txHashes); - } - - @Override - public int hashCode() { - return Objects.hash(baseAsset, networkProtocol, txHashes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ValidatedTransactionsForRescan {\n"); - sb.append(" baseAsset: ").append(toIndentedString(baseAsset)).append("\n"); - sb.append(" networkProtocol: ").append(toIndentedString(networkProtocol)).append("\n"); - sb.append(" txHashes: ").append(toIndentedString(txHashes)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first - * line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `baseAsset` to the URL query string - if (getBaseAsset() != null) { - joiner.add( - String.format( - "%sbaseAsset%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getBaseAsset())))); - } - - // add `networkProtocol` to the URL query string - if (getNetworkProtocol() != null) { - joiner.add( - String.format( - "%snetworkProtocol%s=%s", - prefix, - suffix, - ApiClient.urlEncode(ApiClient.valueToString(getNetworkProtocol())))); - } - - // add `txHashes` to the URL query string - if (getTxHashes() != null) { - for (int i = 0; i < getTxHashes().size(); i++) { - joiner.add( - String.format( - "%stxHashes%s%s=%s", - prefix, - suffix, - "".equals(suffix) - ? "" - : String.format( - "%s%d%s", containerPrefix, i, containerSuffix), - ApiClient.urlEncode( - ApiClient.valueToString(getTxHashes().get(i))))); - } - } - - return joiner.toString(); - } -} diff --git a/src/main/java/com/fireblocks/sdk/model/ValidationKeyDto.java b/src/main/java/com/fireblocks/sdk/model/ValidationKeyDto.java index 63a45edf..befd9766 100644 --- a/src/main/java/com/fireblocks/sdk/model/ValidationKeyDto.java +++ b/src/main/java/com/fireblocks/sdk/model/ValidationKeyDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Validator.java b/src/main/java/com/fireblocks/sdk/model/Validator.java index ecd07b48..f7c0b4e2 100644 --- a/src/main/java/com/fireblocks/sdk/model/Validator.java +++ b/src/main/java/com/fireblocks/sdk/model/Validator.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccount.java b/src/main/java/com/fireblocks/sdk/model/VaultAccount.java index 14563158..4819d88d 100644 --- a/src/main/java/com/fireblocks/sdk/model/VaultAccount.java +++ b/src/main/java/com/fireblocks/sdk/model/VaultAccount.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperation.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperation.java index 6e324755..d0cdd62d 100644 --- a/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperation.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperation.java index 4298b161..94a7baea 100644 --- a/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperation.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperation.java index 0600752c..74cf677f 100644 --- a/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountsPagedResponse.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountsPagedResponse.java index cbf8e02d..9237e74a 100644 --- a/src/main/java/com/fireblocks/sdk/model/VaultAccountsPagedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountsPagedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountsPagedResponsePaging.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountsPagedResponsePaging.java index 87773c06..ad3343ca 100644 --- a/src/main/java/com/fireblocks/sdk/model/VaultAccountsPagedResponsePaging.java +++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountsPagedResponsePaging.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequest.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequest.java index 4830688a..64d366e6 100644 --- a/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponse.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponse.java index d4594f42..3fe65937 100644 --- a/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentsRequest.java b/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentsRequest.java deleted file mode 100644 index 3a2d88b7..00000000 --- a/src/main/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentsRequest.java +++ /dev/null @@ -1,229 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fireblocks.sdk.ApiClient; -import java.util.ArrayList; -import java.util.List; -import java.util.Objects; -import java.util.StringJoiner; -import java.util.UUID; - -/** VaultAccountsTagAttachmentsRequest */ -@JsonPropertyOrder({ - VaultAccountsTagAttachmentsRequest.JSON_PROPERTY_TAG_IDS, - VaultAccountsTagAttachmentsRequest.JSON_PROPERTY_VAULT_ACCOUNT_IDS -}) -@jakarta.annotation.Generated( - value = "org.openapitools.codegen.languages.JavaClientCodegen", - comments = "Generator version: 7.14.0") -public class VaultAccountsTagAttachmentsRequest { - public static final String JSON_PROPERTY_TAG_IDS = "tagIds"; - @jakarta.annotation.Nonnull private List tagIds; - - public static final String JSON_PROPERTY_VAULT_ACCOUNT_IDS = "vaultAccountIds"; - @jakarta.annotation.Nonnull private List vaultAccountIds; - - public VaultAccountsTagAttachmentsRequest() {} - - @JsonCreator - public VaultAccountsTagAttachmentsRequest( - @JsonProperty(value = JSON_PROPERTY_TAG_IDS, required = true) List tagIds, - @JsonProperty(value = JSON_PROPERTY_VAULT_ACCOUNT_IDS, required = true) - List vaultAccountIds) { - this.tagIds = tagIds; - this.vaultAccountIds = vaultAccountIds; - } - - public VaultAccountsTagAttachmentsRequest tagIds( - @jakarta.annotation.Nonnull List tagIds) { - this.tagIds = tagIds; - return this; - } - - public VaultAccountsTagAttachmentsRequest addTagIdsItem(UUID tagIdsItem) { - if (this.tagIds == null) { - this.tagIds = new ArrayList<>(); - } - this.tagIds.add(tagIdsItem); - return this; - } - - /** - * The IDs of the tags to attach - * - * @return tagIds - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TAG_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getTagIds() { - return tagIds; - } - - @JsonProperty(JSON_PROPERTY_TAG_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setTagIds(@jakarta.annotation.Nonnull List tagIds) { - this.tagIds = tagIds; - } - - public VaultAccountsTagAttachmentsRequest vaultAccountIds( - @jakarta.annotation.Nonnull List vaultAccountIds) { - this.vaultAccountIds = vaultAccountIds; - return this; - } - - public VaultAccountsTagAttachmentsRequest addVaultAccountIdsItem(String vaultAccountIdsItem) { - if (this.vaultAccountIds == null) { - this.vaultAccountIds = new ArrayList<>(); - } - this.vaultAccountIds.add(vaultAccountIdsItem); - return this; - } - - /** - * The IDs of the vault accounts to attach tags to - * - * @return vaultAccountIds - */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getVaultAccountIds() { - return vaultAccountIds; - } - - @JsonProperty(JSON_PROPERTY_VAULT_ACCOUNT_IDS) - @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setVaultAccountIds(@jakarta.annotation.Nonnull List vaultAccountIds) { - this.vaultAccountIds = vaultAccountIds; - } - - /** Return true if this VaultAccountsTagAttachmentsRequest object is equal to o. */ - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VaultAccountsTagAttachmentsRequest vaultAccountsTagAttachmentsRequest = - (VaultAccountsTagAttachmentsRequest) o; - return Objects.equals(this.tagIds, vaultAccountsTagAttachmentsRequest.tagIds) - && Objects.equals( - this.vaultAccountIds, vaultAccountsTagAttachmentsRequest.vaultAccountIds); - } - - @Override - public int hashCode() { - return Objects.hash(tagIds, vaultAccountIds); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VaultAccountsTagAttachmentsRequest {\n"); - sb.append(" tagIds: ").append(toIndentedString(tagIds)).append("\n"); - sb.append(" vaultAccountIds: ").append(toIndentedString(vaultAccountIds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces (except the first - * line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - /** - * Convert the instance into URL query string. - * - * @return URL query string - */ - public String toUrlQueryString() { - return toUrlQueryString(null); - } - - /** - * Convert the instance into URL query string. - * - * @param prefix prefix of the query string - * @return URL query string - */ - public String toUrlQueryString(String prefix) { - String suffix = ""; - String containerSuffix = ""; - String containerPrefix = ""; - if (prefix == null) { - // style=form, explode=true, e.g. /pet?name=cat&type=manx - prefix = ""; - } else { - // deepObject style e.g. /pet?id[name]=cat&id[type]=manx - prefix = prefix + "["; - suffix = "]"; - containerSuffix = "]"; - containerPrefix = "["; - } - - StringJoiner joiner = new StringJoiner("&"); - - // add `tagIds` to the URL query string - if (getTagIds() != null) { - for (int i = 0; i < getTagIds().size(); i++) { - if (getTagIds().get(i) != null) { - joiner.add( - String.format( - "%stagIds%s%s=%s", - prefix, - suffix, - "".equals(suffix) - ? "" - : String.format( - "%s%d%s", containerPrefix, i, containerSuffix), - ApiClient.urlEncode( - ApiClient.valueToString(getTagIds().get(i))))); - } - } - } - - // add `vaultAccountIds` to the URL query string - if (getVaultAccountIds() != null) { - for (int i = 0; i < getVaultAccountIds().size(); i++) { - joiner.add( - String.format( - "%svaultAccountIds%s%s=%s", - prefix, - suffix, - "".equals(suffix) - ? "" - : String.format( - "%s%d%s", containerPrefix, i, containerSuffix), - ApiClient.urlEncode( - ApiClient.valueToString(getVaultAccountIds().get(i))))); - } - } - - return joiner.toString(); - } -} diff --git a/src/main/java/com/fireblocks/sdk/model/VaultActionStatus.java b/src/main/java/com/fireblocks/sdk/model/VaultActionStatus.java index 147faf14..1c700734 100644 --- a/src/main/java/com/fireblocks/sdk/model/VaultActionStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/VaultActionStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VaultAsset.java b/src/main/java/com/fireblocks/sdk/model/VaultAsset.java index 298e436d..ec53efd7 100644 --- a/src/main/java/com/fireblocks/sdk/model/VaultAsset.java +++ b/src/main/java/com/fireblocks/sdk/model/VaultAsset.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VaultWalletAddress.java b/src/main/java/com/fireblocks/sdk/model/VaultWalletAddress.java index 9a4b46ed..898ddb7e 100644 --- a/src/main/java/com/fireblocks/sdk/model/VaultWalletAddress.java +++ b/src/main/java/com/fireblocks/sdk/model/VaultWalletAddress.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VendorDto.java b/src/main/java/com/fireblocks/sdk/model/VendorDto.java index 6f6612ab..ad4715cf 100644 --- a/src/main/java/com/fireblocks/sdk/model/VendorDto.java +++ b/src/main/java/com/fireblocks/sdk/model/VendorDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VerdictConfig.java b/src/main/java/com/fireblocks/sdk/model/VerdictConfig.java index ae1a4af7..94d6350b 100644 --- a/src/main/java/com/fireblocks/sdk/model/VerdictConfig.java +++ b/src/main/java/com/fireblocks/sdk/model/VerdictConfig.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/VersionSummary.java b/src/main/java/com/fireblocks/sdk/model/VersionSummary.java new file mode 100644 index 00000000..a4926fa5 --- /dev/null +++ b/src/main/java/com/fireblocks/sdk/model/VersionSummary.java @@ -0,0 +1,183 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fireblocks.sdk.ApiClient; +import java.util.Objects; +import java.util.StringJoiner; + +/** VersionSummary */ +@JsonPropertyOrder({VersionSummary.JSON_PROPERTY_HASH, VersionSummary.JSON_PROPERTY_NAME}) +@jakarta.annotation.Generated( + value = "org.openapitools.codegen.languages.JavaClientCodegen", + comments = "Generator version: 7.14.0") +public class VersionSummary { + public static final String JSON_PROPERTY_HASH = "hash"; + @jakarta.annotation.Nonnull private String hash; + + public static final String JSON_PROPERTY_NAME = "name"; + @jakarta.annotation.Nullable private String name; + + public VersionSummary() {} + + @JsonCreator + public VersionSummary(@JsonProperty(value = JSON_PROPERTY_HASH, required = true) String hash) { + this.hash = hash; + } + + public VersionSummary hash(@jakarta.annotation.Nonnull String hash) { + this.hash = hash; + return this; + } + + /** + * The version hash of the cosigner + * + * @return hash + */ + @jakarta.annotation.Nonnull + @JsonProperty(JSON_PROPERTY_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getHash() { + return hash; + } + + @JsonProperty(JSON_PROPERTY_HASH) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public void setHash(@jakarta.annotation.Nonnull String hash) { + this.hash = hash; + } + + public VersionSummary name(@jakarta.annotation.Nullable String name) { + this.name = name; + return this; + } + + /** + * The name of the version + * + * @return name + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getName() { + return name; + } + + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setName(@jakarta.annotation.Nullable String name) { + this.name = name; + } + + /** Return true if this VersionSummary object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VersionSummary versionSummary = (VersionSummary) o; + return Objects.equals(this.hash, versionSummary.hash) + && Objects.equals(this.name, versionSummary.name); + } + + @Override + public int hashCode() { + return Objects.hash(hash, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class VersionSummary {\n"); + sb.append(" hash: ").append(toIndentedString(hash)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first + * line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + /** + * Convert the instance into URL query string. + * + * @return URL query string + */ + public String toUrlQueryString() { + return toUrlQueryString(null); + } + + /** + * Convert the instance into URL query string. + * + * @param prefix prefix of the query string + * @return URL query string + */ + public String toUrlQueryString(String prefix) { + String suffix = ""; + String containerSuffix = ""; + String containerPrefix = ""; + if (prefix == null) { + // style=form, explode=true, e.g. /pet?name=cat&type=manx + prefix = ""; + } else { + // deepObject style e.g. /pet?id[name]=cat&id[type]=manx + prefix = prefix + "["; + suffix = "]"; + containerSuffix = "]"; + containerPrefix = "["; + } + + StringJoiner joiner = new StringJoiner("&"); + + // add `hash` to the URL query string + if (getHash() != null) { + joiner.add( + String.format( + "%shash%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getHash())))); + } + + // add `name` to the URL query string + if (getName() != null) { + joiner.add( + String.format( + "%sname%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getName())))); + } + + return joiner.toString(); + } +} diff --git a/src/main/java/com/fireblocks/sdk/model/WalletAsset.java b/src/main/java/com/fireblocks/sdk/model/WalletAsset.java index 23af4416..94a834db 100644 --- a/src/main/java/com/fireblocks/sdk/model/WalletAsset.java +++ b/src/main/java/com/fireblocks/sdk/model/WalletAsset.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/WalletAssetAdditionalInfo.java b/src/main/java/com/fireblocks/sdk/model/WalletAssetAdditionalInfo.java index 27d4a669..e517baaf 100644 --- a/src/main/java/com/fireblocks/sdk/model/WalletAssetAdditionalInfo.java +++ b/src/main/java/com/fireblocks/sdk/model/WalletAssetAdditionalInfo.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/Webhook.java b/src/main/java/com/fireblocks/sdk/model/Webhook.java index fb5a2534..729f55ee 100644 --- a/src/main/java/com/fireblocks/sdk/model/Webhook.java +++ b/src/main/java/com/fireblocks/sdk/model/Webhook.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/WebhookEvent.java b/src/main/java/com/fireblocks/sdk/model/WebhookEvent.java index 1347f151..8c365f72 100644 --- a/src/main/java/com/fireblocks/sdk/model/WebhookEvent.java +++ b/src/main/java/com/fireblocks/sdk/model/WebhookEvent.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/WebhookMetric.java b/src/main/java/com/fireblocks/sdk/model/WebhookMetric.java index f99dfe8b..1f8e2b17 100644 --- a/src/main/java/com/fireblocks/sdk/model/WebhookMetric.java +++ b/src/main/java/com/fireblocks/sdk/model/WebhookMetric.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/WebhookPaginatedResponse.java b/src/main/java/com/fireblocks/sdk/model/WebhookPaginatedResponse.java index 555bc75c..e408ca28 100644 --- a/src/main/java/com/fireblocks/sdk/model/WebhookPaginatedResponse.java +++ b/src/main/java/com/fireblocks/sdk/model/WebhookPaginatedResponse.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/WithdrawRequest.java b/src/main/java/com/fireblocks/sdk/model/WithdrawRequest.java index d7a818d7..66103a18 100644 --- a/src/main/java/com/fireblocks/sdk/model/WithdrawRequest.java +++ b/src/main/java/com/fireblocks/sdk/model/WithdrawRequest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -26,7 +26,8 @@ WithdrawRequest.JSON_PROPERTY_ID, WithdrawRequest.JSON_PROPERTY_FEE, WithdrawRequest.JSON_PROPERTY_FEE_LEVEL, - WithdrawRequest.JSON_PROPERTY_TX_NOTE + WithdrawRequest.JSON_PROPERTY_TX_NOTE, + WithdrawRequest.JSON_PROPERTY_AMOUNT }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -44,6 +45,9 @@ public class WithdrawRequest { public static final String JSON_PROPERTY_TX_NOTE = "txNote"; @jakarta.annotation.Nullable private String txNote; + public static final String JSON_PROPERTY_AMOUNT = "amount"; + @jakarta.annotation.Nullable private String amount; + public WithdrawRequest() {} @JsonCreator @@ -144,6 +148,31 @@ public void setTxNote(@jakarta.annotation.Nullable String txNote) { this.txNote = txNote; } + public WithdrawRequest amount(@jakarta.annotation.Nullable String amount) { + this.amount = amount; + return this; + } + + /** + * 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. + * + * @return amount + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getAmount() { + return amount; + } + + @JsonProperty(JSON_PROPERTY_AMOUNT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setAmount(@jakarta.annotation.Nullable String amount) { + this.amount = amount; + } + /** Return true if this WithdrawRequest object is equal to o. */ @Override public boolean equals(Object o) { @@ -157,12 +186,13 @@ public boolean equals(Object o) { return Objects.equals(this.id, withdrawRequest.id) && Objects.equals(this.fee, withdrawRequest.fee) && Objects.equals(this.feeLevel, withdrawRequest.feeLevel) - && Objects.equals(this.txNote, withdrawRequest.txNote); + && Objects.equals(this.txNote, withdrawRequest.txNote) + && Objects.equals(this.amount, withdrawRequest.amount); } @Override public int hashCode() { - return Objects.hash(id, fee, feeLevel, txNote); + return Objects.hash(id, fee, feeLevel, txNote, amount); } @Override @@ -173,6 +203,7 @@ public String toString() { sb.append(" fee: ").append(toIndentedString(fee)).append("\n"); sb.append(" feeLevel: ").append(toIndentedString(feeLevel)).append("\n"); sb.append(" txNote: ").append(toIndentedString(txNote)).append("\n"); + sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); sb.append("}"); return sb.toString(); } @@ -258,6 +289,16 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getTxNote())))); } + // add `amount` to the URL query string + if (getAmount() != null) { + joiner.add( + String.format( + "%samount%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getAmount())))); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/WorkflowConfigStatus.java b/src/main/java/com/fireblocks/sdk/model/WorkflowConfigStatus.java index 920666d3..6d7c14f6 100644 --- a/src/main/java/com/fireblocks/sdk/model/WorkflowConfigStatus.java +++ b/src/main/java/com/fireblocks/sdk/model/WorkflowConfigStatus.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/WorkflowConfigurationId.java b/src/main/java/com/fireblocks/sdk/model/WorkflowConfigurationId.java index 630c65fe..4c8c3bf6 100644 --- a/src/main/java/com/fireblocks/sdk/model/WorkflowConfigurationId.java +++ b/src/main/java/com/fireblocks/sdk/model/WorkflowConfigurationId.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/WorkflowExecutionOperation.java b/src/main/java/com/fireblocks/sdk/model/WorkflowExecutionOperation.java index 16ba3e4f..ce5293c0 100644 --- a/src/main/java/com/fireblocks/sdk/model/WorkflowExecutionOperation.java +++ b/src/main/java/com/fireblocks/sdk/model/WorkflowExecutionOperation.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/WriteAbiFunction.java b/src/main/java/com/fireblocks/sdk/model/WriteAbiFunction.java index 5ad334a4..e3dd552d 100644 --- a/src/main/java/com/fireblocks/sdk/model/WriteAbiFunction.java +++ b/src/main/java/com/fireblocks/sdk/model/WriteAbiFunction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionDto.java b/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionDto.java index f81bcb5b..f5716c2f 100644 --- a/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionDto.java +++ b/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionDtoAbiFunction.java b/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionDtoAbiFunction.java index 791f66f2..2e5d1361 100644 --- a/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionDtoAbiFunction.java +++ b/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionDtoAbiFunction.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionResponseDto.java b/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionResponseDto.java index b8f27b01..ed4af88e 100644 --- a/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionResponseDto.java +++ b/src/main/java/com/fireblocks/sdk/model/WriteCallFunctionResponseDto.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/FireblocksTest.java b/src/test/java/com/fireblocks/sdk/FireblocksTest.java index 59aac5da..51f2c9a9 100644 --- a/src/test/java/com/fireblocks/sdk/FireblocksTest.java +++ b/src/test/java/com/fireblocks/sdk/FireblocksTest.java @@ -363,14 +363,6 @@ public void testGetApiUserApi() { Assert.assertSame(apiUser, fireblocks.apiUser()); } - @Test - public void testGetAssetsApi() { - setupFireblocks(true, null, null); - AssetsApi assets = fireblocks.assets(); - Assert.assertNotNull(assets); - Assert.assertSame(assets, fireblocks.assets()); - } - @Test public void testGetAuditLogsApi() { setupFireblocks(true, null, null); @@ -509,14 +501,6 @@ public void testGetInternalWalletsApi() { Assert.assertSame(internalWallets, fireblocks.internalWallets()); } - @Test - public void testGetJobManagementApi() { - setupFireblocks(true, null, null); - JobManagementApi jobManagement = fireblocks.jobManagement(); - Assert.assertNotNull(jobManagement); - Assert.assertSame(jobManagement, fireblocks.jobManagement()); - } - @Test public void testGetKeyLinkBetaApi() { setupFireblocks(true, null, null); @@ -557,6 +541,14 @@ public void testGetOffExchangesApi() { Assert.assertSame(offExchanges, fireblocks.offExchanges()); } + @Test + public void testGetOnchainDataApi() { + setupFireblocks(true, null, null); + OnchainDataApi onchainData = fireblocks.onchainData(); + Assert.assertNotNull(onchainData); + Assert.assertSame(onchainData, fireblocks.onchainData()); + } + @Test public void testGetOtaBetaApi() { setupFireblocks(true, null, null); @@ -629,6 +621,14 @@ public void testGetTokenizationApi() { Assert.assertSame(tokenization, fireblocks.tokenization()); } + @Test + public void testGetTrLinkApi() { + setupFireblocks(true, null, null); + TrLinkApi trLink = fireblocks.trLink(); + Assert.assertNotNull(trLink); + Assert.assertSame(trLink, fireblocks.trLink()); + } + @Test public void testGetTradingBetaApi() { setupFireblocks(true, null, null); diff --git a/src/test/java/com/fireblocks/sdk/api/ApiUserApiTest.java b/src/test/java/com/fireblocks/sdk/api/ApiUserApiTest.java index 88da0111..c15d872d 100644 --- a/src/test/java/com/fireblocks/sdk/api/ApiUserApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/ApiUserApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -28,9 +28,11 @@ public class ApiUserApiTest { private final ApiUserApi api = new ApiUserApi(); /** - * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -44,9 +46,11 @@ public void createApiUserTest() throws ApiException { } /** - * 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. </br>Endpoint Permission: Admin, + * Non-Signing Admin. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/AssetsApiTest.java b/src/test/java/com/fireblocks/sdk/api/AssetsApiTest.java deleted file mode 100644 index 2236fad5..00000000 --- a/src/test/java/com/fireblocks/sdk/api/AssetsApiTest.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.api; - - -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.model.CreateAssetsBulkRequest; -import com.fireblocks.sdk.model.JobCreated; -import java.util.concurrent.CompletableFuture; -import org.junit.Ignore; -import org.junit.Test; - -/** API tests for AssetsApi */ -@Ignore -public class AssetsApiTest { - - private final AssetsApi api = new AssetsApi(); - - /** - * Bulk creation of wallets - * - *

    Create multiple wallets for a given vault account by running an async job. </br> - * **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. - * - * @throws ApiException if the Api call fails - */ - @Test - public void createAssetsBulkTest() throws ApiException { - CreateAssetsBulkRequest createAssetsBulkRequest = null; - String idempotencyKey = null; - CompletableFuture> response = - api.createAssetsBulk(createAssetsBulkRequest, idempotencyKey); - } -} diff --git a/src/test/java/com/fireblocks/sdk/api/AuditLogsApiTest.java b/src/test/java/com/fireblocks/sdk/api/AuditLogsApiTest.java index d84e9271..4098916e 100644 --- a/src/test/java/com/fireblocks/sdk/api/AuditLogsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/AuditLogsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -29,7 +29,9 @@ public class AuditLogsApiTest { /** * 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. </br>Endpoint Permission: Admin, + * Non-Signing Admin. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java b/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java index 1bff02b2..ff3f14d8 100644 --- a/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/BlockchainsAssetsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -56,9 +56,9 @@ public void getAssetTest() throws ApiException { } /** - * Get an blockchain + * Get a Blockchain by ID * - *

    Returns an blockchain by ID or legacyID. + *

    Returns a blockchain by ID or legacyID. * * @throws ApiException if the Api call fails */ @@ -69,13 +69,14 @@ public void getBlockchainTest() throws ApiException { } /** - * 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.</br> **Note**: - This endpoint will remain available for the - * foreseeable future and is not deprecated.</br> - The `listAssets` endpoint - * provides more detailed asset information and improved performance.</br> - 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. * * @throws ApiException if the Api call fails */ @@ -87,11 +88,10 @@ public void getSupportedAssetsTest() throws ApiException { /** * List assets * - *

    Retrieves all assets supported by Fireblocks in your workspace, providing extended - * information and enhanced performance compared to the legacy `supported_assets` - * endpoint.</br> **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.</br> + *

    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. * * @throws ApiException if the Api call fails */ @@ -122,7 +122,7 @@ public void listAssetsTest() throws ApiException { /** * List blockchains * - *

    Returns all blockchains supported by Fireblocks. + *

    Returns all blockchains supported by Fireblocks.</br> * * @throws ApiException if the Api call fails */ @@ -143,7 +143,7 @@ public void listBlockchainsTest() throws ApiException { * *

    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 + * Solana - Sui - TON * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/ComplianceApiTest.java b/src/test/java/com/fireblocks/sdk/api/ComplianceApiTest.java index 7a30cab2..d4ae1664 100644 --- a/src/test/java/com/fireblocks/sdk/api/ComplianceApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/ComplianceApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/api/ComplianceScreeningConfigurationApiTest.java b/src/test/java/com/fireblocks/sdk/api/ComplianceScreeningConfigurationApiTest.java index d51332bd..a1b91586 100644 --- a/src/test/java/com/fireblocks/sdk/api/ComplianceScreeningConfigurationApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/ComplianceScreeningConfigurationApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/api/ConnectedAccountsBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/ConnectedAccountsBetaApiTest.java index 26793481..7327c103 100644 --- a/src/test/java/com/fireblocks/sdk/api/ConnectedAccountsBetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/ConnectedAccountsBetaApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -20,6 +20,8 @@ import com.fireblocks.sdk.model.ConnectedAccountTradingPairsResponse; import com.fireblocks.sdk.model.ConnectedAccountsResponse; import com.fireblocks.sdk.model.ConnectedSingleAccountResponse; +import com.fireblocks.sdk.model.RenameConnectedAccountRequest; +import com.fireblocks.sdk.model.RenameConnectedAccountResponse; import java.util.concurrent.CompletableFuture; import org.junit.Ignore; import org.junit.Test; @@ -30,11 +32,26 @@ public class ConnectedAccountsBetaApiTest { private final ConnectedAccountsBetaApi api = new ConnectedAccountsBetaApi(); + /** + * Disconnect connected account + * + *

    Disconnect a connected account by ID. </br> **Note**: - This endpoint is currently + * in beta and might be subject to changes. + * + * @throws ApiException if the Api call fails + */ + @Test + public void disconnectConnectedAccountTest() throws ApiException { + String accountId = null; + + CompletableFuture> response = api.disconnectConnectedAccount(accountId); + } + /** * Get connected account * - *

    Retrieve detailed information about a specific connected account by ID. </br> - * **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. * * @throws ApiException if the Api call fails */ @@ -49,8 +66,8 @@ public void getConnectedAccountTest() throws ApiException { * Get balances for an account * *

    Retrieve current asset balances for a specific connected account as a flat list (one row - * per assetId, balanceType) </br> **Note**: - This endpoint is currently in beta and - * might be subject to changes. + * per `assetId`, `balanceType`). **Note:** This endpoint is currently in + * beta and might be subject to changes. * * @throws ApiException if the Api call fails */ @@ -67,7 +84,7 @@ public void getConnectedAccountBalancesTest() throws ApiException { * Get exchange rates for an account * *

    Retrieve current exchange rates for converting between specific assets in a connected - * account. + * account. **Note:** This endpoint is currently in beta and might be subject to changes. * * @throws ApiException if the Api call fails */ @@ -84,7 +101,8 @@ public void getConnectedAccountRatesTest() throws ApiException { * 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). + * pair type (`quote`, `market`, `onOffRamp`). **Note:** This + * endpoint is currently in beta and might be subject to changes. * * @throws ApiException if the Api call fails */ @@ -100,8 +118,8 @@ public void getConnectedAccountTradingPairsTest() throws ApiException { /** * Get connected accounts * - *

    Returns all connected accounts </br> **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. * * @throws ApiException if the Api call fails */ @@ -113,4 +131,22 @@ public void getConnectedAccountsTest() throws ApiException { CompletableFuture> response = api.getConnectedAccounts(mainAccounts, pageSize, pageCursor); } + + /** + * Rename Connected Account + * + *

    Rename a connected account by account ID. **Note:** This endpoint is currently in beta and + * might be subject to changes. + * + * @throws ApiException if the Api call fails + */ + @Test + public void renameConnectedAccountTest() throws ApiException { + RenameConnectedAccountRequest renameConnectedAccountRequest = null; + String accountId = null; + String idempotencyKey = null; + CompletableFuture> response = + api.renameConnectedAccount( + renameConnectedAccountRequest, accountId, idempotencyKey); + } } diff --git a/src/test/java/com/fireblocks/sdk/api/ConsoleUserApiTest.java b/src/test/java/com/fireblocks/sdk/api/ConsoleUserApiTest.java index 55618e95..485d3f70 100644 --- a/src/test/java/com/fireblocks/sdk/api/ConsoleUserApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/ConsoleUserApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -30,7 +30,10 @@ public class ConsoleUserApiTest { /** * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -46,7 +49,9 @@ public void createConsoleUserTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin, + * Non-Signing Admin. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/ContractInteractionsApiTest.java b/src/test/java/com/fireblocks/sdk/api/ContractInteractionsApiTest.java index 89bedeed..86f54cde 100644 --- a/src/test/java/com/fireblocks/sdk/api/ContractInteractionsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/ContractInteractionsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -16,6 +16,7 @@ import com.fireblocks.sdk.ApiException; import com.fireblocks.sdk.ApiResponse; import com.fireblocks.sdk.model.ContractAbiResponseDto; +import com.fireblocks.sdk.model.ContractAddressResponse; import com.fireblocks.sdk.model.ContractDataDecodeRequest; import com.fireblocks.sdk.model.ContractDataDecodedResponse; import com.fireblocks.sdk.model.ParameterWithValue; @@ -53,10 +54,28 @@ public void decodeContractDataTest() throws ApiException { contractDataDecodeRequest, contractAddress, baseAssetId, idempotencyKey); } + /** + * Get contract address by transaction hash + * + *

    Retrieve the contract address by blockchain native asset ID and transaction hash + * + * @throws ApiException if the Api call fails + */ + @Test + public void getContractAddressTest() throws ApiException { + String baseAssetId = null; + String txHash = null; + String idempotencyKey = null; + CompletableFuture> response = + api.getContractAddress(baseAssetId, txHash, idempotencyKey); + } + /** * 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, and + * Viewer. * * @throws ApiException if the Api call fails */ @@ -72,7 +91,10 @@ public void getDeployedContractAbiTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, + * Approver, Editor, and Viewer. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/ContractTemplatesApiTest.java b/src/test/java/com/fireblocks/sdk/api/ContractTemplatesApiTest.java index 52f25c0a..6fb494ae 100644 --- a/src/test/java/com/fireblocks/sdk/api/ContractTemplatesApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/ContractTemplatesApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -20,6 +20,7 @@ import com.fireblocks.sdk.model.ContractDeployResponse; import com.fireblocks.sdk.model.ContractTemplateDto; import com.fireblocks.sdk.model.ContractUploadRequest; +import com.fireblocks.sdk.model.SupportedBlockChainsResponse; import com.fireblocks.sdk.model.TemplatesPaginatedResponse; import java.math.BigDecimal; import java.util.concurrent.CompletableFuture; @@ -97,7 +98,8 @@ public void getContractTemplateByIdTest() throws ApiException { /** * 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -129,6 +131,20 @@ public void getFunctionAbiByContractTemplateIdTest() throws ApiException { api.getFunctionAbiByContractTemplateId(contractTemplateId, functionSignature); } + /** + * Get supported blockchains for the template + * + *

    Get supported blockchains for the template + * + * @throws ApiException if the Api call fails + */ + @Test + public void getSupportedBlockchainsByTemplateIdTest() throws ApiException { + String contractTemplateId = null; + CompletableFuture> response = + api.getSupportedBlockchainsByTemplateId(contractTemplateId); + } + /** * Upload contract template * diff --git a/src/test/java/com/fireblocks/sdk/api/ContractsApiTest.java b/src/test/java/com/fireblocks/sdk/api/ContractsApiTest.java index e42d3a9c..de85d733 100644 --- a/src/test/java/com/fireblocks/sdk/api/ContractsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/ContractsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -31,9 +31,10 @@ public class ContractsApiTest { private final ContractsApi api = new ContractsApi(); /** - * 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. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -48,9 +49,10 @@ public void addContractAssetTest() throws ApiException { } /** - * Create a contract + * Add a contract * - *

    Creates a new contract. + *

    Adds a contract to the workspace whitelist. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -65,7 +67,8 @@ public void createContractTest() throws ApiException { /** * Delete a contract * - *

    Deletes a contract by ID. + *

    Deletes a contract by ID. </br>Endpoint Permission: Admin, Non-Signing Admin, + * Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -77,9 +80,10 @@ public void deleteContractTest() throws ApiException { } /** - * Delete a contract asset + * Delete an asset from a whitelisted contract * - *

    Deletes a contract asset by ID. + *

    Deletes a whitelisted contract asset by ID. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -93,9 +97,10 @@ public void deleteContractAssetTest() throws ApiException { } /** - * Find a specific contract + * Find a Specific Whitelisted Contract * - *

    Returns a contract by ID. + *

    Returns a whitelisted contract by Fireblocks Contract ID. </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -106,9 +111,10 @@ public void getContractTest() throws ApiException { } /** - * Find a contract asset + * Find a whitelisted contract's asset * - *

    Returns a contract asset by ID. + *

    Returns a whitelisted contract's asset by ID. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -121,9 +127,10 @@ public void getContractAssetTest() throws ApiException { } /** - * List contracts + * List Whitelisted Contracts * - *

    Gets a list of contracts. + *

    Gets a list of whitelisted contracts. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/CosignersBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/CosignersBetaApiTest.java index 16e07d02..6a7e6f2e 100644 --- a/src/test/java/com/fireblocks/sdk/api/CosignersBetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/CosignersBetaApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -43,7 +43,7 @@ public class CosignersBetaApiTest { * Add cosigner * *

    Add a new cosigner. The cosigner will be pending pairing until the API key is manually - * paired + * paired </br>Endpoint Permission: Admin and Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -58,8 +58,8 @@ public void addCosignerTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin and Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -73,7 +73,9 @@ public void getApiKeyTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin and Non-Signing + * Admin. * * @throws ApiException if the Api call fails */ @@ -90,8 +92,8 @@ public void getApiKeysTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin and Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -104,8 +106,8 @@ public void getCosignerTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin and Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -121,7 +123,8 @@ public void getCosignersTest() throws ApiException { /** * Get request status * - *

    Get the status of an asynchronous request + *

    Get the status of an asynchronous request </br>Endpoint Permission: Admin and + * Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -137,7 +140,7 @@ public void getRequestStatusTest() throws ApiException { /** * Pair API key * - *

    Pair an API key to a cosigner + *

    Pair an API key to a cosigner </br>Endpoint Permission: Admin and Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -154,8 +157,8 @@ public void pairApiKeyTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin and Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -170,7 +173,8 @@ public void renameCosignerTest() throws ApiException { /** * Unpair API key * - *

    Unpair an API key from a cosigner + *

    Unpair an API key from a cosigner </br>Endpoint Permission: Admin and Non-Signing + * Admin. * * @throws ApiException if the Api call fails */ @@ -184,7 +188,8 @@ public void unpairApiKeyTest() throws ApiException { /** * Update API key callback handler * - *

    Update the callback handler of an API key + *

    Update the callback handler of an API key </br>Endpoint Permission: Admin and + * Non-Signing Admin. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/DeployedContractsApiTest.java b/src/test/java/com/fireblocks/sdk/api/DeployedContractsApiTest.java index f3aa6e47..b46bf938 100644 --- a/src/test/java/com/fireblocks/sdk/api/DeployedContractsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/DeployedContractsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/api/EmbeddedWalletsApiTest.java b/src/test/java/com/fireblocks/sdk/api/EmbeddedWalletsApiTest.java index 562a9a5e..e0f42e1c 100644 --- a/src/test/java/com/fireblocks/sdk/api/EmbeddedWalletsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/EmbeddedWalletsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -25,9 +25,14 @@ import com.fireblocks.sdk.model.EmbeddedWalletLatestBackupResponse; import com.fireblocks.sdk.model.EmbeddedWalletPaginatedAddressesResponse; import com.fireblocks.sdk.model.EmbeddedWalletPaginatedAssetsResponse; +import com.fireblocks.sdk.model.EmbeddedWalletPaginatedDevicesResponse; import com.fireblocks.sdk.model.EmbeddedWalletPaginatedWalletsResponse; +import com.fireblocks.sdk.model.EmbeddedWalletSetupStatusResponse; +import com.fireblocks.sdk.model.EnableDevice; +import com.fireblocks.sdk.model.EnableWallet; import com.fireblocks.sdk.model.PublicKeyInformation; import java.math.BigDecimal; +import java.util.List; import java.util.UUID; import java.util.concurrent.CompletableFuture; import org.junit.Ignore; @@ -57,6 +62,21 @@ public void addEmbeddedWalletAssetTest() throws ApiException { api.addEmbeddedWalletAsset(walletId, accountId, assetId, idempotencyKey); } + /** + * Assign a wallet + * + *

    Assign a specific Non Custodial Wallet to a user + * + * @throws ApiException if the Api call fails + */ + @Test + public void assignEmbeddedWalletTest() throws ApiException { + String walletId = null; + String idempotencyKey = null; + CompletableFuture> response = + api.assignEmbeddedWallet(walletId, idempotencyKey); + } + /** * Create a new wallet * @@ -169,6 +189,25 @@ public void getEmbeddedWalletAssetBalanceTest() throws ApiException { api.getEmbeddedWalletAssetBalance(walletId, accountId, assetId); } + /** + * Retrieve assets + * + *

    Retrieve assets for a specific account under a specific Non Custodial Wallet + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmbeddedWalletAssetsTest() throws ApiException { + String walletId = null; + String accountId = null; + List sort = null; + String pageCursor = null; + BigDecimal pageSize = null; + String order = null; + CompletableFuture> response = + api.getEmbeddedWalletAssets(walletId, accountId, sort, pageCursor, pageSize, order); + } + /** * Get Embedded Wallet Device * @@ -199,6 +238,24 @@ public void getEmbeddedWalletDeviceSetupStateTest() throws ApiException { api.getEmbeddedWalletDeviceSetupState(walletId, deviceId); } + /** + * Get registered devices - paginated + * + *

    Get a paginated list of registered devices for a specific Non Custodial Wallet + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmbeddedWalletDevicesPaginatedTest() throws ApiException { + String walletId = null; + List sort = null; + String pageCursor = null; + BigDecimal pageSize = null; + String order = null; + CompletableFuture> response = + api.getEmbeddedWalletDevicesPaginated(walletId, sort, pageCursor, pageSize, order); + } + /** * Get wallet Latest Backup details * @@ -241,6 +298,21 @@ public void getEmbeddedWalletPublicKeyInfoForAddressTest() throws ApiException { compressed); } + /** + * Get wallet key setup state + * + *

    Get the key setup state for a specific Non Custodial Wallet, including required algorithms + * and device setup status + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEmbeddedWalletSetupStatusTest() throws ApiException { + String walletId = null; + CompletableFuture> response = + api.getEmbeddedWalletSetupStatus(walletId); + } + /** * Retrieve supported assets * @@ -311,4 +383,40 @@ public void refreshEmbeddedWalletAssetBalanceTest() throws ApiException { CompletableFuture> response = api.refreshEmbeddedWalletAssetBalance(walletId, accountId, assetId, idempotencyKey); } + + /** + * Update device status + * + *

    Update the enabled/disabled status of a specific device for a Non Custodial Wallet + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateEmbeddedWalletDeviceStatusTest() throws ApiException { + EnableDevice enableDevice = null; + String walletId = null; + String deviceId = null; + String idempotencyKey = null; + + CompletableFuture> response = + api.updateEmbeddedWalletDeviceStatus( + enableDevice, walletId, deviceId, idempotencyKey); + } + + /** + * Update wallet status + * + *

    Update the enabled/disabled status of a specific Non Custodial Wallet + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateEmbeddedWalletStatusTest() throws ApiException { + EnableWallet enableWallet = null; + String walletId = null; + String idempotencyKey = null; + + CompletableFuture> response = + api.updateEmbeddedWalletStatus(enableWallet, walletId, idempotencyKey); + } } diff --git a/src/test/java/com/fireblocks/sdk/api/ExchangeAccountsApiTest.java b/src/test/java/com/fireblocks/sdk/api/ExchangeAccountsApiTest.java index e8445369..df52fa09 100644 --- a/src/test/java/com/fireblocks/sdk/api/ExchangeAccountsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/ExchangeAccountsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -39,7 +39,13 @@ public class ExchangeAccountsApiTest { /** * 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). * * @throws ApiException if the Api call fails */ @@ -52,10 +58,13 @@ public void addExchangeAccountTest() throws ApiException { } /** - * 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. + * (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). + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -69,9 +78,10 @@ public void convertAssetsTest() throws ApiException { } /** - * Find a specific exchange account + * Get a specific exchange account * - *

    Returns an exchange account by ID. + *

    Returns an exchange account by ID. </br>Endpoint Permission: Admin, Non-Signing + * Admin. * * @throws ApiException if the Api call fails */ @@ -83,9 +93,10 @@ public void getExchangeAccountTest() throws ApiException { } /** - * 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. </br>Endpoint Permission: Admin, + * Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -111,9 +122,10 @@ public void getExchangeAccountsCredentialsPublicKeyTest() throws ApiException { } /** - * 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. </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -129,7 +141,10 @@ public void getPagedExchangeAccountsTest() throws ApiException { /** * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/ExternalWalletsApiTest.java b/src/test/java/com/fireblocks/sdk/api/ExternalWalletsApiTest.java index e3ca9e0d..3b10c0f3 100644 --- a/src/test/java/com/fireblocks/sdk/api/ExternalWalletsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/ExternalWalletsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -34,7 +34,8 @@ public class ExternalWalletsApiTest { /** * Add an asset to an external wallet. * - *

    Adds an asset to an existing external wallet. + *

    Adds an asset to an existing external wallet. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -52,7 +53,11 @@ public void addAssetToExternalWalletTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, + * Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -67,7 +72,9 @@ public void createExternalWalletTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -81,7 +88,9 @@ public void deleteExternalWalletTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -94,7 +103,9 @@ public void getExternalWalletTest() throws ApiException { /** * 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. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -109,7 +120,11 @@ public void getExternalWalletAssetTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, + * Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -121,7 +136,8 @@ public void getExternalWalletsTest() throws ApiException { /** * Delete an asset from an external wallet * - *

    Deletes an external wallet asset by ID. + *

    Deletes an external wallet asset by ID. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -137,7 +153,9 @@ public void removeAssetFromExternalWalletTest() throws ApiException { /** * 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/FiatAccountsApiTest.java b/src/test/java/com/fireblocks/sdk/api/FiatAccountsApiTest.java index 85cb2ae8..1bcbac61 100644 --- a/src/test/java/com/fireblocks/sdk/api/FiatAccountsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/FiatAccountsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -49,7 +49,7 @@ public void depositFundsFromLinkedDDATest() throws ApiException { /** * Find a specific fiat account * - *

    Returns a fiat account by ID. + *

    Returns a fiat account by ID. </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -62,7 +62,7 @@ public void getFiatAccountTest() throws ApiException { /** * List fiat accounts * - *

    Returns all fiat accounts. + *

    Returns all fiat accounts. </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/GasStationsApiTest.java b/src/test/java/com/fireblocks/sdk/api/GasStationsApiTest.java index 3934001c..8955b75d 100644 --- a/src/test/java/com/fireblocks/sdk/api/GasStationsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/GasStationsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -31,7 +31,8 @@ public class GasStationsApiTest { /** * 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. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -45,7 +46,8 @@ public void getGasStationByAssetIdTest() throws ApiException { /** * Get gas station settings * - *

    Returns gas station settings and ETH balance. + *

    Returns gas station settings and ETH balance. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -58,7 +60,9 @@ public void getGasStationInfoTest() throws ApiException { /** * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -73,7 +77,10 @@ public void updateGasStationConfigurationTest() throws ApiException { /** * 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/InternalWalletsApiTest.java b/src/test/java/com/fireblocks/sdk/api/InternalWalletsApiTest.java index 590cfaaf..c5614ed9 100644 --- a/src/test/java/com/fireblocks/sdk/api/InternalWalletsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/InternalWalletsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -38,8 +38,7 @@ public class InternalWalletsApiTest { * *

    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. + * [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) * * @throws ApiException if the Api call fails */ @@ -54,12 +53,7 @@ public void createInternalWalletTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -77,10 +71,7 @@ public void createInternalWalletAssetTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -94,12 +85,7 @@ public void deleteInternalWalletTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -113,15 +99,9 @@ public void deleteInternalWalletAssetTest() throws ApiException { } /** - * 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. </br>As part of the depreciation process this endpoint will no longer - * return balances, only addresses. </br>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. * * @throws ApiException if the Api call fails */ @@ -134,12 +114,7 @@ public void getInternalWalletTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -154,14 +129,7 @@ public void getInternalWalletAssetTest() throws ApiException { /** * 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. </br>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. * * @throws ApiException if the Api call fails */ @@ -177,16 +145,7 @@ public void getInternalWalletAssetsPaginatedTest() throws ApiException { /** * 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. </br>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. * * @throws ApiException if the Api call fails */ @@ -196,14 +155,9 @@ public void getInternalWalletsTest() throws ApiException { } /** - * Set an AML/KYT customer reference ID for an 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. + * Set an AML/KYT customer reference ID for internal wallet + * + *

    Sets an AML/KYT customer reference ID for the specific internal wallet. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/JobManagementApiTest.java b/src/test/java/com/fireblocks/sdk/api/JobManagementApiTest.java deleted file mode 100644 index ee4086f9..00000000 --- a/src/test/java/com/fireblocks/sdk/api/JobManagementApiTest.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.api; - - -import com.fireblocks.sdk.ApiException; -import com.fireblocks.sdk.ApiResponse; -import com.fireblocks.sdk.model.Job; -import com.fireblocks.sdk.model.Task; -import java.util.List; -import java.util.concurrent.CompletableFuture; -import org.junit.Ignore; -import org.junit.Test; - -/** API tests for JobManagementApi */ -@Ignore -public class JobManagementApiTest { - - private final JobManagementApi api = new JobManagementApi(); - - /** - * 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. - * - * @throws ApiException if the Api call fails - */ - @Test - public void cancelJobTest() throws ApiException { - String jobId = null; - String idempotencyKey = null; - - CompletableFuture> response = api.cancelJob(jobId, idempotencyKey); - } - - /** - * Continue a paused job - * - *

    Continue the given paused job. - * - * @throws ApiException if the Api call fails - */ - @Test - public void continueJobTest() throws ApiException { - String jobId = null; - String idempotencyKey = null; - - CompletableFuture> response = api.continueJob(jobId, idempotencyKey); - } - - /** - * Get job details - * - *

    Get an object describing the given job - * - * @throws ApiException if the Api call fails - */ - @Test - public void getJobTest() throws ApiException { - String jobId = null; - CompletableFuture> response = api.getJob(jobId); - } - - /** - * Return a list of tasks for given job - * - *

    Return a list of tasks for given job - * - * @throws ApiException if the Api call fails - */ - @Test - public void getJobTasksTest() throws ApiException { - String jobId = null; - CompletableFuture>> response = api.getJobTasks(jobId); - } - - /** - * Return a list of jobs belonging to tenant - * - *

    Get an array of objects including all active, paused, canceled, and complete jobs in a - * workspace. - * - * @throws ApiException if the Api call fails - */ - @Test - public void getJobsTest() throws ApiException { - Integer fromTime = null; - Integer toTime = null; - CompletableFuture>> response = api.getJobs(fromTime, toTime); - } - - /** - * 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. - * - * @throws ApiException if the Api call fails - */ - @Test - public void pauseJobTest() throws ApiException { - String jobId = null; - String idempotencyKey = null; - - CompletableFuture> response = api.pauseJob(jobId, idempotencyKey); - } -} diff --git a/src/test/java/com/fireblocks/sdk/api/KeyLinkBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/KeyLinkBetaApiTest.java index b371952a..c649b005 100644 --- a/src/test/java/com/fireblocks/sdk/api/KeyLinkBetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/KeyLinkBetaApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -41,11 +41,7 @@ public class KeyLinkBetaApiTest { * *

    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. + * signed, and upon successful proof, the key will become enabled. * * @throws ApiException if the Api call fails */ @@ -61,11 +57,7 @@ public void createSigningKeyTest() throws ApiException { * 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. + * undergo an approval process by the workspace quorum. * * @throws ApiException if the Api call fails */ @@ -81,11 +73,7 @@ public void createValidationKeyTest() throws ApiException { * 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. + * enable the validation key back. Another key has to be used for future validations. * * @throws ApiException if the Api call fails */ @@ -100,11 +88,7 @@ public void disableValidationKeyTest() throws ApiException { /** * 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`. * * @throws ApiException if the Api call fails */ @@ -117,11 +101,7 @@ public void getSigningKeyTest() throws ApiException { /** * 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 * * @throws ApiException if the Api call fails */ @@ -157,10 +137,6 @@ public void getSigningKeysListTest() throws ApiException { * 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. * * @throws ApiException if the Api call fails */ @@ -173,11 +149,7 @@ public void getValidationKeyTest() throws ApiException { /** * 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 * * @throws ApiException if the Api call fails */ @@ -192,16 +164,11 @@ public void getValidationKeysListTest() throws ApiException { } /** - * 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. + * ownership) the user cannot be changed. * * @throws ApiException if the Api call fails */ @@ -215,13 +182,10 @@ public void setAgentIdTest() throws ApiException { } /** - * 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. + * other vault accounts yet. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/KeysBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/KeysBetaApiTest.java index e4eb0849..3a1c7488 100644 --- a/src/test/java/com/fireblocks/sdk/api/KeysBetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/KeysBetaApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/api/NetworkConnectionsApiTest.java b/src/test/java/com/fireblocks/sdk/api/NetworkConnectionsApiTest.java index ca9adcdd..370f5409 100644 --- a/src/test/java/com/fireblocks/sdk/api/NetworkConnectionsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/NetworkConnectionsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -42,7 +42,7 @@ public class NetworkConnectionsApiTest { private final NetworkConnectionsApi api = new NetworkConnectionsApi(); /** - * 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 @@ -59,7 +59,7 @@ public void checkThirdPartyRoutingTest() throws ApiException { } /** - * 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 @@ -88,19 +88,7 @@ public void createNetworkConnectionTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -115,18 +103,7 @@ public void createNetworkIdTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -140,18 +117,7 @@ public void deleteNetworkConnectionTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -165,18 +131,7 @@ public void deleteNetworkIdTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -199,9 +154,7 @@ public void getNetworkTest() throws ApiException { * 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`). + * **Default** - Network Connection FIAT → **Default** * * @throws ApiException if the Api call fails */ @@ -214,18 +167,7 @@ public void getNetworkConnectionsTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -236,20 +178,9 @@ public void getNetworkIdTest() throws ApiException { } /** - * 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`). + *

    Retrieves a list of all local and discoverable remote network IDs. * * @throws ApiException if the Api call fails */ @@ -261,9 +192,7 @@ public void getNetworkIdsTest() throws ApiException { /** * 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 * * @throws ApiException if the Api call fails */ @@ -273,20 +202,9 @@ public void getRoutingPolicyAssetGroupsTest() throws ApiException { } /** - * 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`). * * @throws ApiException if the Api call fails */ @@ -306,18 +224,7 @@ public void searchNetworkIdsTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -332,18 +239,7 @@ public void setNetworkIdDiscoverabilityTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -358,20 +254,7 @@ public void setNetworkIdNameTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -386,20 +269,7 @@ public void setNetworkIdRoutingPolicyTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/NftsApiTest.java b/src/test/java/com/fireblocks/sdk/api/NftsApiTest.java index 1064ed6f..02b7a6fe 100644 --- a/src/test/java/com/fireblocks/sdk/api/NftsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/NftsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -173,7 +173,10 @@ public void refreshNFTMetadataTest() throws ApiException { /** * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/OffExchangesApiTest.java b/src/test/java/com/fireblocks/sdk/api/OffExchangesApiTest.java index f53170fc..f4b441cd 100644 --- a/src/test/java/com/fireblocks/sdk/api/OffExchangesApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/OffExchangesApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -33,9 +33,11 @@ public class OffExchangesApiTest { private final OffExchangesApi api = new OffExchangesApi(); /** - * 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -50,7 +52,9 @@ public void addOffExchangeTest() throws ApiException { /** * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -62,9 +66,11 @@ public void getOffExchangeCollateralAccountsTest() throws ApiException { } /** - * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -76,9 +82,11 @@ public void getOffExchangeSettlementTransactionsTest() throws ApiException { } /** - * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -91,9 +99,11 @@ public void removeOffExchangeTest() throws ApiException { } /** - * 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). </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/OnchainDataApiTest.java b/src/test/java/com/fireblocks/sdk/api/OnchainDataApiTest.java new file mode 100644 index 00000000..3e5cdcf6 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/api/OnchainDataApiTest.java @@ -0,0 +1,230 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.api; + + +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.model.AccessRegistryCurrentStateResponse; +import com.fireblocks.sdk.model.AccessRegistrySummaryResponse; +import com.fireblocks.sdk.model.AddressBalancePagedResponse; +import com.fireblocks.sdk.model.BalanceHistoryPagedResponse; +import com.fireblocks.sdk.model.OnchainTransactionsPagedResponse; +import com.fireblocks.sdk.model.RoleDetails; +import com.fireblocks.sdk.model.TokenContractSummaryResponse; +import com.fireblocks.sdk.model.TotalSupplyPagedResponse; +import java.time.OffsetDateTime; +import java.util.Map; +import java.util.concurrent.CompletableFuture; +import org.junit.Ignore; +import org.junit.Test; + +/** API tests for OnchainDataApi */ +@Ignore +public class OnchainDataApiTest { + + private final OnchainDataApi api = new OnchainDataApi(); + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAccessRegistryCurrentStateTest() throws ApiException { + String baseAssetId = null; + String accessRegistryAddress = null; + String pageCursor = null; + Integer pageSize = null; + String sortBy = null; + String order = null; + CompletableFuture> response = + api.getAccessRegistryCurrentState( + baseAssetId, accessRegistryAddress, pageCursor, pageSize, sortBy, order); + } + + /** + * Summary of access registry state + * + *

    Returns a summary of the current state of the access registry for the specified + * baseAssetId and accessRegistryAddress. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAccessRegistrySummaryTest() throws ApiException { + String baseAssetId = null; + String accessRegistryAddress = null; + CompletableFuture> response = + api.getAccessRegistrySummary(baseAssetId, accessRegistryAddress); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getActiveRolesForContractTest() throws ApiException { + String baseAssetId = null; + String contractAddress = null; + CompletableFuture>> response = + api.getActiveRolesForContract(baseAssetId, contractAddress); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getContractBalanceHistoryTest() throws ApiException { + String baseAssetId = null; + String contractAddress = null; + String accountAddress = null; + OffsetDateTime startDate = null; + OffsetDateTime endDate = null; + String interval = null; + String pageCursor = null; + Integer pageSize = null; + String sortBy = null; + String order = null; + CompletableFuture> response = + api.getContractBalanceHistory( + baseAssetId, + contractAddress, + accountAddress, + startDate, + endDate, + interval, + pageCursor, + pageSize, + sortBy, + order); + } + + /** + * Get summary for the token contract + * + *

    Returns the total number of unique addresses holding balances and the total supply for the + * specified contract. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getContractBalancesSummaryTest() throws ApiException { + String baseAssetId = null; + String contractAddress = null; + CompletableFuture> response = + api.getContractBalancesSummary(baseAssetId, contractAddress); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getContractTotalSupplyTest() throws ApiException { + String baseAssetId = null; + String contractAddress = null; + OffsetDateTime startDate = null; + OffsetDateTime endDate = null; + String interval = null; + String pageCursor = null; + Integer pageSize = null; + String sortBy = null; + String order = null; + CompletableFuture> response = + api.getContractTotalSupply( + baseAssetId, + contractAddress, + startDate, + endDate, + interval, + pageCursor, + pageSize, + sortBy, + 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getLatestBalancesForContractTest() throws ApiException { + String baseAssetId = null; + String contractAddress = null; + String accountAddress = null; + String pageCursor = null; + Integer pageSize = null; + String sortBy = null; + String order = null; + CompletableFuture> response = + api.getLatestBalancesForContract( + baseAssetId, + contractAddress, + accountAddress, + pageCursor, + pageSize, + sortBy, + 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getOnchainTransactionsTest() throws ApiException { + String baseAssetId = null; + String contractAddress = null; + OffsetDateTime startDate = null; + OffsetDateTime endDate = null; + String pageCursor = null; + Integer pageSize = null; + String sortBy = null; + String order = null; + CompletableFuture> response = + api.getOnchainTransactions( + baseAssetId, + contractAddress, + startDate, + endDate, + pageCursor, + pageSize, + sortBy, + order); + } +} diff --git a/src/test/java/com/fireblocks/sdk/api/OtaBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/OtaBetaApiTest.java index e7f58867..ab4ae2db 100644 --- a/src/test/java/com/fireblocks/sdk/api/OtaBetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/OtaBetaApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -43,7 +43,9 @@ public void getOtaStatusTest() throws ApiException { /** * 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) * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/PaymentsPayoutApiTest.java b/src/test/java/com/fireblocks/sdk/api/PaymentsPayoutApiTest.java index 3db68645..aaba3546 100644 --- a/src/test/java/com/fireblocks/sdk/api/PaymentsPayoutApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/PaymentsPayoutApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -43,6 +43,9 @@ public class PaymentsPayoutApiTest { * account type (vault, exchange, or fiat). </li> <li>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.</li> </ul> + * Learn more about Fireblocks Payments - Payouts in the following + * [guide](https://developers.fireblocks.com/docs/create-payouts). </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -87,7 +90,7 @@ public void executePayoutActionTest() throws ApiException { * enabled on their accounts. </br> </br>These endpoints are currently in beta and * might be subject to changes.</br> </br>If you want to learn more about Fireblocks * Payments Engine, please contact your Fireblocks Customer Success Manager or email - * CSM@fireblocks.com. </br> + * CSM@fireblocks.com. </br> </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/PolicyEditorBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/PolicyEditorBetaApiTest.java index 81473a70..090c829d 100644 --- a/src/test/java/com/fireblocks/sdk/api/PolicyEditorBetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/PolicyEditorBetaApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/api/PolicyEditorV2BetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/PolicyEditorV2BetaApiTest.java index fcd7d7a3..b8f86013 100644 --- a/src/test/java/com/fireblocks/sdk/api/PolicyEditorV2BetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/PolicyEditorV2BetaApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -34,8 +34,10 @@ public class PolicyEditorV2BetaApiTest { /** * Get the active policy and its validation by policy type * - *

    Returns the active policy and its validation for a specific policy type. </br> - * **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. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/ResetDeviceApiTest.java b/src/test/java/com/fireblocks/sdk/api/ResetDeviceApiTest.java index fa5aa777..f125b92d 100644 --- a/src/test/java/com/fireblocks/sdk/api/ResetDeviceApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/ResetDeviceApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -29,7 +29,8 @@ public class ResetDeviceApiTest { * Resets device * *

    Resets mobile device for given console user, that user will need to do mobile onboarding - * again. + * again. - Please note that this endpoint is available only for API keys with Admin/Non Signing + * Admin permissions. </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/SmartTransferApiTest.java b/src/test/java/com/fireblocks/sdk/api/SmartTransferApiTest.java index ca40e724..32c40016 100644 --- a/src/test/java/com/fireblocks/sdk/api/SmartTransferApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/SmartTransferApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -45,7 +45,7 @@ public class SmartTransferApiTest { private final SmartTransferApi api = new SmartTransferApi(); /** - * 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 @@ -66,7 +66,8 @@ public void approveDvPTicketTermTest() throws ApiException { /** * Cancel Ticket * - *

    Cancel Smart Transfer ticket + *

    Cancel Smart Transfer ticket. </br>Endpoint Permission: Admin, Non-Signing Admin, + * Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -81,7 +82,11 @@ public void cancelTicketTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -96,7 +101,10 @@ public void createTicketTest() throws ApiException { /** * 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -110,9 +118,10 @@ public void createTicketTermTest() throws ApiException { } /** - * Search Tickets by ID + * Search Ticket by ID * - *

    Find Smart Transfer ticket by id + *

    Find Smart Transfer ticket by id. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -124,9 +133,10 @@ public void findTicketByIdTest() throws ApiException { } /** - * 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. </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -141,7 +151,8 @@ public void findTicketTermByIdTest() throws ApiException { /** * 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -173,7 +184,8 @@ public void fundDvpTicketTest() throws ApiException { * Define funding source * *

    Set funding source for ticket term (in case of ASYNC tickets, this will execute transfer - * immediately) + * immediately). </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, + * Editor. * * @throws ApiException if the Api call fails */ @@ -203,7 +215,8 @@ public void getSmartTransferStatisticTest() throws ApiException { /** * Get user group * - *

    Get Smart Transfer user groups + *

    Get Smart Transfer user groups. </br>Endpoint Permission: Admin, Non-Signing Admin, + * Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -216,7 +229,8 @@ public void getSmartTransferUserGroupsTest() throws ApiException { /** * Manually add term transaction * - *

    Manually set ticket term transaction + *

    Manually set ticket term transaction. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -249,7 +263,9 @@ public void removeTicketTermTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -286,7 +302,8 @@ public void searchTicketsTest() throws ApiException { /** * Add external ref. ID * - *

    Set external id Smart Transfer ticket + *

    Set external id Smart Transfer ticket. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -302,7 +319,8 @@ public void setExternalRefIdTest() throws ApiException { /** * Set expiration * - *

    Set expiration date on Smart Transfer ticket + *

    Set expiration date on Smart Transfer ticket. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -318,7 +336,8 @@ public void setTicketExpirationTest() throws ApiException { /** * Set user group * - *

    Set Smart Transfer user group + *

    Set Smart Transfers user group to receive email notifications for Smart Transfers. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -334,7 +353,8 @@ public void setUserGroupsTest() throws ApiException { * 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 + * not turned on, or OPEN if auto approval is on. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/StakingApiTest.java b/src/test/java/com/fireblocks/sdk/api/StakingApiTest.java index 29c6999b..02a0bad2 100644 --- a/src/test/java/com/fireblocks/sdk/api/StakingApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/StakingApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -43,10 +43,10 @@ public class StakingApiTest { private final StakingApi api = new StakingApi(); /** - * 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. * * @throws ApiException if the Api call fails */ @@ -60,9 +60,10 @@ public void approveTermsOfServiceByProviderIdTest() throws ApiException { } /** - * 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. * * @throws ApiException if the Api call fails */ @@ -77,10 +78,10 @@ public void claimRewardsTest() throws ApiException { } /** - * 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -92,10 +93,10 @@ public void getAllDelegationsTest() throws ApiException { } /** - * 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. * * @throws ApiException if the Api call fails */ @@ -107,9 +108,10 @@ public void getChainInfoTest() throws ApiException { } /** - * 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -119,10 +121,10 @@ public void getChainsTest() throws ApiException { } /** - * 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. * * @throws ApiException if the Api call fails */ @@ -133,9 +135,10 @@ public void getDelegationByIdTest() throws ApiException { } /** - * 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -145,10 +148,10 @@ public void getProvidersTest() throws ApiException { } /** - * 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. * * @throws ApiException if the Api call fails */ @@ -158,10 +161,9 @@ public void getSummaryTest() throws ApiException { } /** - * 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. * * @throws ApiException if the Api call fails */ @@ -172,10 +174,12 @@ public void getSummaryByVaultTest() throws ApiException { } /** - * 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). + * </br>Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -189,9 +193,10 @@ public void mergeStakeAccountsTest() throws ApiException { } /** - * 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). * * @throws ApiException if the Api call fails */ @@ -205,9 +210,15 @@ public void splitTest() throws ApiException { } /** - * 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. * * @throws ApiException if the Api call fails */ @@ -221,9 +232,9 @@ public void stakeTest() throws ApiException { } /** - * Execute an Unstake operation + * Initiate unstake * - *

    Execute an Unstake operation + *

    Submits a chain-specific unstake request. * * @throws ApiException if the Api call fails */ @@ -238,9 +249,11 @@ public void unstakeTest() throws ApiException { } /** - * 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. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/TagsApiTest.java b/src/test/java/com/fireblocks/sdk/api/TagsApiTest.java index fa1f96b2..c60128c2 100644 --- a/src/test/java/com/fireblocks/sdk/api/TagsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/TagsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -15,6 +15,7 @@ import com.fireblocks.sdk.ApiException; import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.model.ApprovalRequest; import com.fireblocks.sdk.model.CreateTagRequest; import com.fireblocks.sdk.model.Tag; import com.fireblocks.sdk.model.TagsPagedResponse; @@ -33,9 +34,27 @@ public class TagsApiTest { private final TagsApi api = new TagsApi(); /** - * Create a tag + * Cancel an approval request by id * - *

    Create a new tag. + *

    Cancel an approval request by id. Can only cancel requests in PENDING status. Returns 202 + * Accepted when the cancellation is processed. + * + * @throws ApiException if the Api call fails + */ + @Test + public void cancelApprovalRequestTest() throws ApiException { + String id = null; + String idempotencyKey = null; + + CompletableFuture> response = + api.cancelApprovalRequest(id, idempotencyKey); + } + + /** + * 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. * * @throws ApiException if the Api call fails */ @@ -50,7 +69,9 @@ public void createTagTest() throws ApiException { /** * 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. * * @throws ApiException if the Api call fails */ @@ -61,6 +82,19 @@ public void deleteTagTest() throws ApiException { CompletableFuture> response = api.deleteTag(tagId); } + /** + * Get an approval request by id + * + *

    Get an approval request by id + * + * @throws ApiException if the Api call fails + */ + @Test + public void getApprovalRequestTest() throws ApiException { + String id = null; + CompletableFuture> response = api.getApprovalRequest(id); + } + /** * Get a tag * @@ -87,14 +121,24 @@ public void getTagsTest() throws ApiException { BigDecimal pageSize = null; String label = null; List tagIds = null; + Boolean includePendingApprovalsInfo = null; + Boolean isProtected = null; CompletableFuture> response = - api.getTags(pageCursor, pageSize, label, tagIds); + api.getTags( + pageCursor, + pageSize, + label, + tagIds, + includePendingApprovalsInfo, + isProtected); } /** * 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. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/TokenizationApiTest.java b/src/test/java/com/fireblocks/sdk/api/TokenizationApiTest.java index 3e26e611..c459ca81 100644 --- a/src/test/java/com/fireblocks/sdk/api/TokenizationApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/TokenizationApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -30,6 +30,7 @@ import com.fireblocks.sdk.model.GetLayerZeroDvnConfigResponse; import com.fireblocks.sdk.model.GetLayerZeroPeersResponse; import com.fireblocks.sdk.model.GetLinkedCollectionsPaginatedResponse; +import com.fireblocks.sdk.model.LinkedTokensCount; import com.fireblocks.sdk.model.ReissueMultichainTokenRequest; import com.fireblocks.sdk.model.RemoveLayerZeroAdaptersRequest; import com.fireblocks.sdk.model.RemoveLayerZeroAdaptersResponse; @@ -75,7 +76,8 @@ public void burnCollectionTokenTest() throws ApiException { /** * Create a new collection * - *

    Create a new collection and link it as a token + *

    Create a new collection and link it as a token. </br>Endpoint Permission: Owner, + * Admin, Non-Signing Admin, Signer, and Editor. * * @throws ApiException if the Api call fails */ @@ -198,7 +200,8 @@ public void getLayerZeroPeersTest() throws ApiException { /** * Get collections * - *

    Get collections (paginated) + *

    Get collections (paginated). </br>Endpoint Permission: Admin, Non-Signing Admin, + * Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -240,6 +243,18 @@ public void getLinkedTokensTest() throws ApiException { api.getLinkedTokens(pageCursor, pageSize, status); } + /** + * Get the total count of linked tokens + * + *

    Get the total count of linked tokens + * + * @throws ApiException if the Api call fails + */ + @Test + public void getLinkedTokensCountTest() throws ApiException { + CompletableFuture> response = api.getLinkedTokensCount(); + } + /** * Issue a new token * @@ -248,7 +263,8 @@ public void getLinkedTokensTest() throws ApiException { * 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. + * is needed. </br>Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, and + * Editor. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/TrLinkApiTest.java b/src/test/java/com/fireblocks/sdk/api/TrLinkApiTest.java new file mode 100644 index 00000000..1dca7008 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/api/TrLinkApiTest.java @@ -0,0 +1,467 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.api; + + +import com.fireblocks.sdk.ApiException; +import com.fireblocks.sdk.ApiResponse; +import com.fireblocks.sdk.model.TRLinkAPIPagedResponse; +import com.fireblocks.sdk.model.TRLinkAssessTravelRuleRequest; +import com.fireblocks.sdk.model.TRLinkAssessTravelRuleResponse; +import com.fireblocks.sdk.model.TRLinkAssetsListPagedResponse; +import com.fireblocks.sdk.model.TRLinkCancelTrmRequest; +import com.fireblocks.sdk.model.TRLinkConnectIntegrationRequest; +import com.fireblocks.sdk.model.TRLinkCreateCustomerRequest; +import com.fireblocks.sdk.model.TRLinkCreateIntegrationRequest; +import com.fireblocks.sdk.model.TRLinkCreateTrmRequest; +import com.fireblocks.sdk.model.TRLinkCustomerIntegrationResponse; +import com.fireblocks.sdk.model.TRLinkCustomerResponse; +import com.fireblocks.sdk.model.TRLinkGetSupportedAssetResponse; +import com.fireblocks.sdk.model.TRLinkPartnerResponse; +import com.fireblocks.sdk.model.TRLinkPolicyResponse; +import com.fireblocks.sdk.model.TRLinkPublicKeyResponse; +import com.fireblocks.sdk.model.TRLinkRedirectTrmRequest; +import com.fireblocks.sdk.model.TRLinkSetDestinationTravelRuleMessageIdRequest; +import com.fireblocks.sdk.model.TRLinkSetDestinationTravelRuleMessageIdResponse; +import com.fireblocks.sdk.model.TRLinkSetTransactionTravelRuleMessageIdRequest; +import com.fireblocks.sdk.model.TRLinkSetTransactionTravelRuleMessageIdResponse; +import com.fireblocks.sdk.model.TRLinkTestConnectionResponse; +import com.fireblocks.sdk.model.TRLinkTrmInfoResponse; +import com.fireblocks.sdk.model.TRLinkUpdateCustomerRequest; +import com.fireblocks.sdk.model.TRLinkVaspDto; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.CompletableFuture; +import org.junit.Ignore; +import org.junit.Test; + +/** API tests for TrLinkApi */ +@Ignore +public class TrLinkApiTest { + + private final TrLinkApi api = new TrLinkApi(); + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void assessTRLinkTravelRuleRequirementTest() throws ApiException { + TRLinkAssessTravelRuleRequest trLinkAssessTravelRuleRequest = null; + UUID customerIntegrationId = null; + String idempotencyKey = null; + CompletableFuture> response = + api.assessTRLinkTravelRuleRequirement( + trLinkAssessTravelRuleRequest, customerIntegrationId, idempotencyKey); + } + + /** + * Cancel Travel Rule Message + * + *

    Cancels a travel rule message. The TRM status will be updated to cancelled and the partner + * will be notified. + * + * @throws ApiException if the Api call fails + */ + @Test + public void cancelTRLinkTrmTest() throws ApiException { + TRLinkCancelTrmRequest trLinkCancelTrmRequest = null; + UUID customerIntegrationId = null; + String trmId = null; + String idempotencyKey = null; + CompletableFuture> response = + api.cancelTRLinkTrm( + trLinkCancelTrmRequest, customerIntegrationId, trmId, idempotencyKey); + } + + /** + * Connect customer integration + * + *

    Connects a customer integration by providing API credentials. Stores encrypted credentials + * and enables the integration for use. + * + * @throws ApiException if the Api call fails + */ + @Test + public void connectTRLinkIntegrationTest() throws ApiException { + TRLinkConnectIntegrationRequest trLinkConnectIntegrationRequest = null; + UUID customerIntegrationId = null; + String idempotencyKey = null; + CompletableFuture> response = + api.connectTRLinkIntegration( + trLinkConnectIntegrationRequest, customerIntegrationId, idempotencyKey); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createTRLinkCustomerTest() throws ApiException { + TRLinkCreateCustomerRequest trLinkCreateCustomerRequest = null; + String idempotencyKey = null; + CompletableFuture> response = + api.createTRLinkCustomer(trLinkCreateCustomerRequest, idempotencyKey); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createTRLinkIntegrationTest() throws ApiException { + TRLinkCreateIntegrationRequest trLinkCreateIntegrationRequest = null; + String idempotencyKey = null; + CompletableFuture> response = + api.createTRLinkIntegration(trLinkCreateIntegrationRequest, idempotencyKey); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createTRLinkTrmTest() throws ApiException { + TRLinkCreateTrmRequest trLinkCreateTrmRequest = null; + UUID customerIntegrationId = null; + String idempotencyKey = null; + CompletableFuture> response = + api.createTRLinkTrm(trLinkCreateTrmRequest, customerIntegrationId, idempotencyKey); + } + + /** + * Delete customer + * + *

    Deletes a customer and all associated integrations. This action cannot be undone. + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteTRLinkCustomerTest() throws ApiException { + UUID customerId = null; + + CompletableFuture> response = api.deleteTRLinkCustomer(customerId); + } + + /** + * Disconnect customer integration + * + *

    Disconnects a customer integration by removing stored credentials. The integration record + * is deleted and cannot be recovered. + * + * @throws ApiException if the Api call fails + */ + @Test + public void disconnectTRLinkIntegrationTest() throws ApiException { + UUID customerIntegrationId = null; + + CompletableFuture> response = + api.disconnectTRLinkIntegration(customerIntegrationId); + } + + /** + * Get customer by ID + * + *

    Retrieves detailed information about a specific customer by their unique identifier. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTRLinkCustomerByIdTest() throws ApiException { + UUID customerId = null; + CompletableFuture> response = + api.getTRLinkCustomerById(customerId); + } + + /** + * Get customer integration by ID + * + *

    Retrieves detailed information about a specific customer integration. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTRLinkCustomerIntegrationByIdTest() throws ApiException { + UUID customerId = null; + UUID customerIntegrationId = null; + CompletableFuture> response = + api.getTRLinkCustomerIntegrationById(customerId, customerIntegrationId); + } + + /** + * Get customer integrations + * + *

    Retrieves all TRLink integrations for a specific customer. Returns a list of partner + * integrations configured for Travel Rule compliance. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTRLinkCustomerIntegrationsTest() throws ApiException { + UUID customerId = null; + CompletableFuture>> response = + api.getTRLinkCustomerIntegrations(customerId); + } + + /** + * Get all customers + * + *

    Retrieves all customers associated with the authenticated tenant. Returns a list of legal + * entities configured for Travel Rule compliance. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTRLinkCustomersTest() throws ApiException { + CompletableFuture>> response = + api.getTRLinkCustomers(); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTRLinkIntegrationPublicKeyTest() throws ApiException { + UUID customerIntegrationId = null; + CompletableFuture> response = + api.getTRLinkIntegrationPublicKey(customerIntegrationId); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTRLinkPartnersTest() throws ApiException { + CompletableFuture>> response = + api.getTRLinkPartners(); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTRLinkPolicyTest() throws ApiException { + CompletableFuture> response = api.getTRLinkPolicy(); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTRLinkSupportedAssetTest() throws ApiException { + UUID customerIntegrationId = null; + String assetId = null; + CompletableFuture> response = + api.getTRLinkSupportedAsset(customerIntegrationId, assetId); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTRLinkTrmByIdTest() throws ApiException { + UUID customerIntegrationId = null; + String trmId = null; + CompletableFuture> response = + api.getTRLinkTrmById(customerIntegrationId, trmId); + } + + /** + * Get VASP by ID + * + *

    Retrieves detailed information about a specific VASP by its unique identifier. Returns + * VASP details including public key if available. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTRLinkVaspByIdTest() throws ApiException { + UUID customerIntegrationId = null; + String vaspId = null; + CompletableFuture> response = + api.getTRLinkVaspById(customerIntegrationId, vaspId); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void listTRLinkSupportedAssetsTest() throws ApiException { + UUID customerIntegrationId = null; + Integer pageSize = null; + String pageCursor = null; + CompletableFuture> response = + api.listTRLinkSupportedAssets(customerIntegrationId, pageSize, pageCursor); + } + + /** + * List VASPs + * + *

    Retrieves a paginated list of VASPs (Virtual Asset Service Providers) available through + * the partner integration. Supports cursor-based pagination. + * + * @throws ApiException if the Api call fails + */ + @Test + public void listTRLinkVaspsTest() throws ApiException { + UUID customerIntegrationId = null; + Integer pageSize = null; + String pageCursor = null; + CompletableFuture> response = + api.listTRLinkVasps(customerIntegrationId, pageSize, pageCursor); + } + + /** + * Redirect Travel Rule Message + * + *

    Redirects a Travel Rule Message to a subsidiary VASP. This operation requires the partner + * to support nested VASPs functionality. + * + * @throws ApiException if the Api call fails + */ + @Test + public void redirectTRLinkTrmTest() throws ApiException { + TRLinkRedirectTrmRequest trLinkRedirectTrmRequest = null; + UUID customerIntegrationId = null; + String trmId = null; + String idempotencyKey = null; + CompletableFuture> response = + api.redirectTRLinkTrm( + trLinkRedirectTrmRequest, customerIntegrationId, trmId, idempotencyKey); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void setTRLinkDestinationTravelRuleMessageIdTest() throws ApiException { + TRLinkSetDestinationTravelRuleMessageIdRequest + trLinkSetDestinationTravelRuleMessageIdRequest = null; + UUID txId = null; + String idempotencyKey = null; + CompletableFuture> response = + api.setTRLinkDestinationTravelRuleMessageId( + trLinkSetDestinationTravelRuleMessageIdRequest, txId, idempotencyKey); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void setTRLinkTransactionTravelRuleMessageIdTest() throws ApiException { + TRLinkSetTransactionTravelRuleMessageIdRequest + trLinkSetTransactionTravelRuleMessageIdRequest = null; + UUID txId = null; + String idempotencyKey = null; + CompletableFuture> response = + api.setTRLinkTransactionTravelRuleMessageId( + trLinkSetTransactionTravelRuleMessageIdRequest, txId, idempotencyKey); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void testTRLinkIntegrationConnectionTest() throws ApiException { + UUID customerIntegrationId = null; + String idempotencyKey = null; + CompletableFuture> response = + api.testTRLinkIntegrationConnection(customerIntegrationId, idempotencyKey); + } + + /** + * Update customer + * + *

    Updates an existing customer's information. All fields are optional - only provided + * fields will be updated. + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateTRLinkCustomerTest() throws ApiException { + TRLinkUpdateCustomerRequest trLinkUpdateCustomerRequest = null; + UUID customerId = null; + String idempotencyKey = null; + CompletableFuture> response = + api.updateTRLinkCustomer(trLinkUpdateCustomerRequest, customerId, idempotencyKey); + } +} diff --git a/src/test/java/com/fireblocks/sdk/api/TradingBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/TradingBetaApiTest.java index 22bf0486..28ebda67 100644 --- a/src/test/java/com/fireblocks/sdk/api/TradingBetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/TradingBetaApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,7 +40,9 @@ public class TradingBetaApiTest { * 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. + * 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). * * @throws ApiException if the Api call fails */ @@ -59,7 +61,9 @@ public void createOrderTest() throws ApiException { * 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. + * 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). * * @throws ApiException if the Api call fails */ @@ -78,7 +82,9 @@ public void createQuoteTest() throws ApiException { * 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. + * 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). * * @throws ApiException if the Api call fails */ @@ -95,7 +101,9 @@ public void getOrderTest() throws ApiException { * 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. + * 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). * * @throws ApiException if the Api call fails */ @@ -127,10 +135,12 @@ public void getOrdersTest() throws ApiException { * 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. + * 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). * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/TransactionsApiTest.java b/src/test/java/com/fireblocks/sdk/api/TransactionsApiTest.java index 11afb09a..6755b6d1 100644 --- a/src/test/java/com/fireblocks/sdk/api/TransactionsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/TransactionsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -22,14 +22,12 @@ import com.fireblocks.sdk.model.EstimatedNetworkFeeResponse; import com.fireblocks.sdk.model.EstimatedTransactionFeeResponse; import com.fireblocks.sdk.model.FreezeTransactionResponse; -import com.fireblocks.sdk.model.RescanTransaction; import com.fireblocks.sdk.model.SetConfirmationsThresholdRequest; import com.fireblocks.sdk.model.SetConfirmationsThresholdResponse; import com.fireblocks.sdk.model.TransactionRequest; import com.fireblocks.sdk.model.TransactionResponse; import com.fireblocks.sdk.model.UnfreezeTransactionResponse; import com.fireblocks.sdk.model.ValidateAddressResponse; -import com.fireblocks.sdk.model.ValidatedTransactionsForRescan; import java.util.List; import java.util.UUID; import java.util.concurrent.CompletableFuture; @@ -45,7 +43,9 @@ public class TransactionsApiTest { /** * 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. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -61,7 +61,11 @@ public void cancelTransactionTest() throws ApiException { /** * 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`, * * @throws ApiException if the Api call fails */ @@ -75,9 +79,10 @@ public void createTransactionTest() throws ApiException { } /** - * 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -94,9 +99,21 @@ public void dropTransactionTest() throws ApiException { /** * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -110,8 +127,12 @@ public void estimateNetworkFeeTest() throws ApiException { /** * 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). + * </br>Endpoint Permission: Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -126,7 +147,10 @@ public void estimateTransactionFeeTest() throws ApiException { /** * 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 + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -140,9 +164,10 @@ public void freezeTransactionTest() throws ApiException { } /** - * 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 </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -153,9 +178,10 @@ public void getTransactionTest() throws ApiException { } /** - * 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. </br>Endpoint Permission: Admin, + * Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -167,9 +193,10 @@ public void getTransactionByExternalIdTest() throws ApiException { } /** - * 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. * * @throws ApiException if the Api call fails */ @@ -211,28 +238,11 @@ public void getTransactionsTest() throws ApiException { destWalletId); } - /** - * rescan array of transactions - * - *

    rescan transaction by running an async job. </br> **Note**: - These endpoints are - * currently in beta and might be subject to changes. - We limit the amount of the transaction - * to 16 per request. - * - * @throws ApiException if the Api call fails - */ - @Test - public void rescanTransactionsBetaTest() throws ApiException { - List rescanTransaction = null; - String idempotencyKey = null; - CompletableFuture>> response = - api.rescanTransactionsBeta(rescanTransaction, idempotencyKey); - } - /** * Set confirmation threshold by transaction hash * *

    Overrides the required number of confirmations for transaction completion by transaction - * hash. + * hash. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -247,10 +257,11 @@ public void setConfirmationThresholdByTransactionHashTest() throws ApiException } /** - * 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. </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, + * Editor. * * @throws ApiException if the Api call fails */ @@ -267,7 +278,8 @@ public void setTransactionConfirmationThresholdTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -283,7 +295,8 @@ public void unfreezeTransactionTest() throws ApiException { /** * 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/TravelRuleApiTest.java b/src/test/java/com/fireblocks/sdk/api/TravelRuleApiTest.java index 3a334efe..d6aece5a 100644 --- a/src/test/java/com/fireblocks/sdk/api/TravelRuleApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/TravelRuleApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -21,8 +21,12 @@ import com.fireblocks.sdk.model.TravelRuleValidateFullTransactionRequest; import com.fireblocks.sdk.model.TravelRuleValidateTransactionResponse; import com.fireblocks.sdk.model.TravelRuleVaspForVault; +import com.fireblocks.sdk.model.TrustProofOfAddressCreateResponse; +import com.fireblocks.sdk.model.TrustProofOfAddressRequest; +import com.fireblocks.sdk.model.TrustProofOfAddressResponse; import java.math.BigDecimal; import java.util.List; +import java.util.UUID; import java.util.concurrent.CompletableFuture; import org.junit.Ignore; import org.junit.Test; @@ -33,6 +37,36 @@ public class TravelRuleApiTest { private final TravelRuleApi api = new TravelRuleApi(); + /** + * Create Trust Network Proof of Address + * + *

    Creates a cryptographic proof of address ownership for TRUST network. + * + * @throws ApiException if the Api call fails + */ + @Test + public void createTrustProofOfAddressTest() throws ApiException { + TrustProofOfAddressRequest trustProofOfAddressRequest = null; + String idempotencyKey = null; + CompletableFuture> response = + api.createTrustProofOfAddress(trustProofOfAddressRequest, idempotencyKey); + } + + /** + * 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. + * + * @throws ApiException if the Api call fails + */ + @Test + public void getTrustProofOfAddressTest() throws ApiException { + UUID transactionId = null; + CompletableFuture> response = + api.getTrustProofOfAddress(transactionId); + } + /** * Get VASP details * diff --git a/src/test/java/com/fireblocks/sdk/api/UserGroupsBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/UserGroupsBetaApiTest.java index 1ce33fa7..f250906d 100644 --- a/src/test/java/com/fireblocks/sdk/api/UserGroupsBetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/UserGroupsBetaApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -34,9 +34,8 @@ public class UserGroupsBetaApiTest { /** * Create user group * - *

    Create a new user group.</br> **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. + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -82,9 +81,9 @@ public void getUserGroupTest() throws ApiException { /** * List user groups * - *

    Get all user groups in your workspace. </br> **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. </br>Endpoint Permission: Admin, + * Non-Signing Admin. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/UsersApiTest.java b/src/test/java/com/fireblocks/sdk/api/UsersApiTest.java index 66647d06..31e125a5 100644 --- a/src/test/java/com/fireblocks/sdk/api/UsersApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/UsersApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java b/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java index cacd06e9..9baf641b 100644 --- a/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/VaultsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -24,6 +24,7 @@ import com.fireblocks.sdk.model.CreateMultipleVaultAccountsJobStatus; import com.fireblocks.sdk.model.CreateVaultAccountRequest; import com.fireblocks.sdk.model.CreateVaultAssetResponse; +import com.fireblocks.sdk.model.GetMaxBipIndexUsedResponse; import com.fireblocks.sdk.model.GetMaxSpendableAmountResponse; import com.fireblocks.sdk.model.JobCreated; import com.fireblocks.sdk.model.PaginatedAddressResponse; @@ -40,7 +41,6 @@ import com.fireblocks.sdk.model.VaultAccountsPagedResponse; import com.fireblocks.sdk.model.VaultAccountsTagAttachmentOperationsRequest; import com.fireblocks.sdk.model.VaultAccountsTagAttachmentOperationsResponse; -import com.fireblocks.sdk.model.VaultAccountsTagAttachmentsRequest; import com.fireblocks.sdk.model.VaultActionStatus; import com.fireblocks.sdk.model.VaultAsset; import java.math.BigDecimal; @@ -59,7 +59,9 @@ public class VaultsApiTest { /** * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -73,9 +75,11 @@ public void activateAssetForVaultAccountTest() throws ApiException { } /** - * 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. * * @throws ApiException if the Api call fails */ @@ -89,27 +93,11 @@ public void attachOrDetachTagsFromVaultAccountsTest() throws ApiException { vaultAccountsTagAttachmentOperationsRequest, idempotencyKey); } - /** - * 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. - * - * @throws ApiException if the Api call fails - */ - @Test - public void attachTagsToVaultAccountsTest() throws ApiException { - VaultAccountsTagAttachmentsRequest vaultAccountsTagAttachmentsRequest = null; - String idempotencyKey = null; - - CompletableFuture> response = - api.attachTagsToVaultAccounts(vaultAccountsTagAttachmentsRequest, idempotencyKey); - } - /** * 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. </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -126,10 +114,9 @@ public void createLegacyAddressTest() throws ApiException { /** * Bulk creation of new vault accounts * - *

    Create multiple vault accounts by running an async job. </br> **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. * * @throws ApiException if the Api call fails */ @@ -144,8 +131,11 @@ public void createMultipleAccountsTest() throws ApiException { /** * Bulk creation of new deposit addresses * - *

    Create multiple deposit address by running an async job. </br> **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. * * @throws ApiException if the Api call fails */ @@ -161,7 +151,10 @@ public void createMultipleDepositAddressesTest() throws ApiException { /** * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -174,9 +167,12 @@ public void createVaultAccountTest() throws ApiException { } /** - * 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -194,7 +190,9 @@ public void createVaultAccountAssetTest() throws ApiException { /** * 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. </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -210,27 +208,11 @@ public void createVaultAccountAssetAddressTest() throws ApiException { } /** - * Detach tags from a vault accounts (deprecated) - * - *

    Detach one or more tags from the requested vault account. This endpoint is deprecated. - * Please use /vault/accounts/attached_tags instead. - * - * @throws ApiException if the Api call fails - */ - @Test - public void detachTagsFromVaultAccountsTest() throws ApiException { - VaultAccountsTagAttachmentsRequest vaultAccountsTagAttachmentsRequest = null; - String idempotencyKey = null; - - CompletableFuture> response = - api.detachTagsFromVaultAccounts(vaultAccountsTagAttachmentsRequest, idempotencyKey); - } - - /** - * List asset wallets (Paginated) + * Get vault wallets (Paginated) * - *

    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. + *

    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. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -247,10 +229,11 @@ public void getAssetWalletsTest() throws ApiException { } /** - * Get job status of bulk creation of new deposit addresses + * Get the job status of the bulk deposit address creation * - *

    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 an error for) the specified deposit addresss bulk + * creation job. **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, + * and Viewer. * * @throws ApiException if the Api call fails */ @@ -264,8 +247,8 @@ public void getCreateMultipleDepositAddressesJobStatusTest() throws ApiException /** * Get job status of bulk creation of new vault accounts * - *

    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. + *

    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. * * @throws ApiException if the Api call fails */ @@ -277,12 +260,27 @@ public void getCreateMultipleVaultAccountsJobStatusTest() throws ApiException { } /** - * Get the maximum spendable amount in a single transaction. + * 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). + * + * @throws ApiException if the Api call fails + */ + @Test + public void getMaxBipIndexUsedTest() throws ApiException { + String vaultAccountId = null; + String assetId = null; + CompletableFuture> response = + api.getMaxBipIndexUsed(vaultAccountId, assetId); + } + + /** + * 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. * * @throws ApiException if the Api call fails */ @@ -296,10 +294,11 @@ public void getMaxSpendableAmountTest() throws ApiException { } /** - * 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. + * results with a quick response time. </br>Endpoint Permission: Admin, Non-Signing Admin, + * Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -314,6 +313,8 @@ public void getPagedVaultAccountsTest() throws ApiException { String after = null; BigDecimal limit = null; List tagIds = null; + List includeTagIds = null; + List excludeTagIds = null; CompletableFuture> response = api.getPagedVaultAccounts( namePrefix, @@ -324,13 +325,16 @@ public void getPagedVaultAccountsTest() throws ApiException { before, after, limit, - tagIds); + tagIds, + includeTagIds, + excludeTagIds); } /** - * 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -344,9 +348,10 @@ public void getPublicKeyInfoTest() throws ApiException { } /** - * 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -365,7 +370,8 @@ public void getPublicKeyInfoForAddressTest() throws ApiException { /** * 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -378,9 +384,10 @@ public void getUnspentInputsTest() throws ApiException { } /** - * 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. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -393,7 +400,8 @@ public void getVaultAccountTest() throws ApiException { /** * 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -406,9 +414,10 @@ public void getVaultAccountAssetTest() throws ApiException { } /** - * List addresses (Paginated) + * Get addresses (Paginated) * *

    Returns a paginated response of the addresses for a given vault account and asset. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -427,7 +436,8 @@ public void getVaultAccountAssetAddressesPaginatedTest() throws ApiException { /** * 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. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -440,9 +450,10 @@ public void getVaultAssetsTest() throws ApiException { } /** - * 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. </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. * * @throws ApiException if the Api call fails */ @@ -455,7 +466,13 @@ public void getVaultBalanceByAssetTest() throws ApiException { /** * 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. </br>Endpoint Permission: Admin, Non-Signing Admin, + * Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -470,7 +487,8 @@ public void hideVaultAccountTest() throws ApiException { /** * 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. </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -491,9 +509,13 @@ public void setCustomerRefIdForAddressTest() throws ApiException { } /** - * 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -507,9 +529,12 @@ public void setVaultAccountAutoFuelTest() throws ApiException { } /** - * 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). </br>Endpoint + * Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ @@ -526,7 +551,8 @@ public void setVaultAccountCustomerRefIdTest() throws ApiException { /** * 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. </br>Endpoint Permission: + * Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -541,7 +567,8 @@ public void unhideVaultAccountTest() throws ApiException { /** * Rename a vault account * - *

    Renames the requested vault account. + *

    Renames the requested vault account. </br>Endpoint Permission: Admin, Non-Signing + * Admin, Signer, Approver. * * @throws ApiException if the Api call fails */ @@ -558,6 +585,7 @@ public void updateVaultAccountTest() throws ApiException { * Update address description * *

    Updates the description of an existing address of an asset in a vault account. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ @@ -580,7 +608,9 @@ public void updateVaultAccountAssetAddressTest() throws ApiException { /** * 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/Web3ConnectionsApiTest.java b/src/test/java/com/fireblocks/sdk/api/Web3ConnectionsApiTest.java index e71906c4..b6d32c13 100644 --- a/src/test/java/com/fireblocks/sdk/api/Web3ConnectionsApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/Web3ConnectionsApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/api/WebhooksApiTest.java b/src/test/java/com/fireblocks/sdk/api/WebhooksApiTest.java index 244a1162..cb27d325 100644 --- a/src/test/java/com/fireblocks/sdk/api/WebhooksApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/WebhooksApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -29,9 +29,12 @@ public class WebhooksApiTest { private final WebhooksApi api = new WebhooksApi(); /** - * 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. * * @throws ApiException if the Api call fails */ @@ -48,7 +51,9 @@ public void resendTransactionWebhooksTest() throws ApiException { /** * 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). + * </br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/WebhooksV2ApiTest.java b/src/test/java/com/fireblocks/sdk/api/WebhooksV2ApiTest.java index 5db4b4c0..5b4ed88f 100644 --- a/src/test/java/com/fireblocks/sdk/api/WebhooksV2ApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/WebhooksV2ApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -43,10 +43,10 @@ public class WebhooksV2ApiTest { private final WebhooksV2Api api = new WebhooksV2Api(); /** - * 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. * * @throws ApiException if the Api call fails */ @@ -183,7 +183,7 @@ public void getWebhookTest() throws ApiException { /** * Get all webhooks * - *

    Get all webhooks (paginated) + *

    Get all webhooks (paginated). * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/WhitelistIpAddressesApiTest.java b/src/test/java/com/fireblocks/sdk/api/WhitelistIpAddressesApiTest.java index d7cee08d..2d041ff8 100644 --- a/src/test/java/com/fireblocks/sdk/api/WhitelistIpAddressesApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/WhitelistIpAddressesApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -27,9 +27,11 @@ public class WhitelistIpAddressesApiTest { private final WhitelistIpAddressesApi api = new WhitelistIpAddressesApi(); /** - * 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. + * </br>Endpoint Permission: Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/api/WorkspaceStatusBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/WorkspaceStatusBetaApiTest.java index df310402..3cca8e20 100644 --- a/src/test/java/com/fireblocks/sdk/api/WorkspaceStatusBetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/WorkspaceStatusBetaApiTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -29,7 +29,10 @@ public class WorkspaceStatusBetaApiTest { /** * 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. </br>Endpoint Permission: + * Admin, Non-Signing Admin. * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/fireblocks/sdk/model/APIUserTest.java b/src/test/java/com/fireblocks/sdk/model/APIUserTest.java index cdb175ae..cdbb18b5 100644 --- a/src/test/java/com/fireblocks/sdk/model/APIUserTest.java +++ b/src/test/java/com/fireblocks/sdk/model/APIUserTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AbaPaymentInfoTest.java b/src/test/java/com/fireblocks/sdk/model/AbaPaymentInfoTest.java index 0c2488ca..63b7dc3e 100644 --- a/src/test/java/com/fireblocks/sdk/model/AbaPaymentInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AbaPaymentInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AbiFunctionTest.java b/src/test/java/com/fireblocks/sdk/model/AbiFunctionTest.java index 125f73ec..ed7476a4 100644 --- a/src/test/java/com/fireblocks/sdk/model/AbiFunctionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AbiFunctionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccessRegistryAddressItemTest.java b/src/test/java/com/fireblocks/sdk/model/AccessRegistryAddressItemTest.java new file mode 100644 index 00000000..d5cb2a4a --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/AccessRegistryAddressItemTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for AccessRegistryAddressItem */ +class AccessRegistryAddressItemTest { + private final AccessRegistryAddressItem model = new AccessRegistryAddressItem(); + + /** Model tests for AccessRegistryAddressItem */ + @Test + void testAccessRegistryAddressItem() { + // TODO: test AccessRegistryAddressItem + } + + /** Test the property 'address' */ + @Test + void addressTest() { + // TODO: test address + } + + /** Test the property 'dateAdded' */ + @Test + void dateAddedTest() { + // TODO: test dateAdded + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/AccessRegistryCurrentStateResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AccessRegistryCurrentStateResponseTest.java new file mode 100644 index 00000000..e5732dd1 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/AccessRegistryCurrentStateResponseTest.java @@ -0,0 +1,52 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for AccessRegistryCurrentStateResponse */ +class AccessRegistryCurrentStateResponseTest { + private final AccessRegistryCurrentStateResponse model = + new AccessRegistryCurrentStateResponse(); + + /** Model tests for AccessRegistryCurrentStateResponse */ + @Test + void testAccessRegistryCurrentStateResponse() { + // TODO: test AccessRegistryCurrentStateResponse + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } + + /** Test the property 'next' */ + @Test + void nextTest() { + // TODO: test next + } + + /** Test the property 'prev' */ + @Test + void prevTest() { + // TODO: test prev + } + + /** Test the property 'total' */ + @Test + void totalTest() { + // TODO: test total + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/AccessRegistrySummaryResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AccessRegistrySummaryResponseTest.java new file mode 100644 index 00000000..32f5c7a7 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/AccessRegistrySummaryResponseTest.java @@ -0,0 +1,33 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for AccessRegistrySummaryResponse */ +class AccessRegistrySummaryResponseTest { + private final AccessRegistrySummaryResponse model = new AccessRegistrySummaryResponse(); + + /** Model tests for AccessRegistrySummaryResponse */ + @Test + void testAccessRegistrySummaryResponse() { + // TODO: test AccessRegistrySummaryResponse + } + + /** Test the property 'totalActiveAddresses' */ + @Test + void totalActiveAddressesTest() { + // TODO: test totalActiveAddresses + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/AccessTypeTest.java b/src/test/java/com/fireblocks/sdk/model/AccessTypeTest.java index 5ff5aa18..c87d6a8c 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccessTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AccessTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccountAccessTest.java b/src/test/java/com/fireblocks/sdk/model/AccountAccessTest.java index 6372354b..cb08f2a7 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccountAccessTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AccountAccessTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccountBaseTest.java b/src/test/java/com/fireblocks/sdk/model/AccountBaseTest.java index 70e79e84..b27a80b2 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccountBaseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AccountBaseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetailsTest.java index 64de2d89..85d6f532 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderTest.java b/src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderTest.java index bffd130f..a462bff7 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AccountBasedAccessProviderTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccountConfigTest.java b/src/test/java/com/fireblocks/sdk/model/AccountConfigTest.java index a6a61379..5dac6dae 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccountConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AccountConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccountHolderDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/AccountHolderDetailsTest.java index 9d2266e9..022a289b 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccountHolderDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AccountHolderDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccountIdentifierTest.java b/src/test/java/com/fireblocks/sdk/model/AccountIdentifierTest.java index 700ce486..537e436d 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccountIdentifierTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AccountIdentifierTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccountProviderIDTest.java b/src/test/java/com/fireblocks/sdk/model/AccountProviderIDTest.java deleted file mode 100644 index ba206877..00000000 --- a/src/test/java/com/fireblocks/sdk/model/AccountProviderIDTest.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for AccountProviderID */ -class AccountProviderIDTest { - private final AccountProviderID model = new AccountProviderID(); - - /** Model tests for AccountProviderID */ - @Test - void testAccountProviderID() { - // TODO: test AccountProviderID - } - - /** Test the property 'providerId' */ - @Test - void providerIdTest() { - // TODO: test providerId - } - - /** Test the property 'accountId' */ - @Test - void accountIdTest() { - // TODO: test accountId - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/AccountReferenceTest.java b/src/test/java/com/fireblocks/sdk/model/AccountReferenceTest.java index b4256e4c..c0809339 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccountReferenceTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AccountReferenceTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccountTest.java b/src/test/java/com/fireblocks/sdk/model/AccountTest.java index db9ec7b8..a20fda48 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccountType2Test.java b/src/test/java/com/fireblocks/sdk/model/AccountType2Test.java index 479f7301..3a8f2de9 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccountType2Test.java +++ b/src/test/java/com/fireblocks/sdk/model/AccountType2Test.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AccountTypeTest.java b/src/test/java/com/fireblocks/sdk/model/AccountTypeTest.java index ed11b333..b74ed66d 100644 --- a/src/test/java/com/fireblocks/sdk/model/AccountTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AccountTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AchAccountTypeTest.java b/src/test/java/com/fireblocks/sdk/model/AchAccountTypeTest.java index 70ee12d1..f5fd5278 100644 --- a/src/test/java/com/fireblocks/sdk/model/AchAccountTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AchAccountTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AchAddressTest.java b/src/test/java/com/fireblocks/sdk/model/AchAddressTest.java index 16d335b0..9a990d33 100644 --- a/src/test/java/com/fireblocks/sdk/model/AchAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AchAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AchDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/AchDestinationTest.java index 7e2d8b87..dc019bca 100644 --- a/src/test/java/com/fireblocks/sdk/model/AchDestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AchDestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AchPaymentInfoTest.java b/src/test/java/com/fireblocks/sdk/model/AchPaymentInfoTest.java index 7486f4b8..ce9397c6 100644 --- a/src/test/java/com/fireblocks/sdk/model/AchPaymentInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AchPaymentInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AdapterProcessingResultTest.java b/src/test/java/com/fireblocks/sdk/model/AdapterProcessingResultTest.java index 95fec4f1..f5f329ba 100644 --- a/src/test/java/com/fireblocks/sdk/model/AdapterProcessingResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AdapterProcessingResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AddAbiRequestDtoTest.java b/src/test/java/com/fireblocks/sdk/model/AddAbiRequestDtoTest.java index 2b0bfc1c..cbab3e41 100644 --- a/src/test/java/com/fireblocks/sdk/model/AddAbiRequestDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AddAbiRequestDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AddAssetToExternalWalletRequestTest.java b/src/test/java/com/fireblocks/sdk/model/AddAssetToExternalWalletRequestTest.java index 9186f0e1..97b54fa5 100644 --- a/src/test/java/com/fireblocks/sdk/model/AddAssetToExternalWalletRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AddAssetToExternalWalletRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AddCollateralRequestBodyTest.java b/src/test/java/com/fireblocks/sdk/model/AddCollateralRequestBodyTest.java index db7f6b37..cbbe45cd 100644 --- a/src/test/java/com/fireblocks/sdk/model/AddCollateralRequestBodyTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AddCollateralRequestBodyTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AddContractAssetRequestTest.java b/src/test/java/com/fireblocks/sdk/model/AddContractAssetRequestTest.java index 28db5c66..61402af0 100644 --- a/src/test/java/com/fireblocks/sdk/model/AddContractAssetRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AddContractAssetRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AddCosignerRequestTest.java b/src/test/java/com/fireblocks/sdk/model/AddCosignerRequestTest.java index 81590e2e..ec09f025 100644 --- a/src/test/java/com/fireblocks/sdk/model/AddCosignerRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AddCosignerRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AddCosignerResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AddCosignerResponseTest.java index eff909d2..bae556fb 100644 --- a/src/test/java/com/fireblocks/sdk/model/AddCosignerResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AddCosignerResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AddExchangeAccountRequestTest.java b/src/test/java/com/fireblocks/sdk/model/AddExchangeAccountRequestTest.java index 490f7afd..44ed94ba 100644 --- a/src/test/java/com/fireblocks/sdk/model/AddExchangeAccountRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AddExchangeAccountRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AddExchangeAccountResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AddExchangeAccountResponseTest.java index ac5f1884..0509ead5 100644 --- a/src/test/java/com/fireblocks/sdk/model/AddExchangeAccountResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AddExchangeAccountResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AdditionalInfoRequestAdditionalInfoTest.java b/src/test/java/com/fireblocks/sdk/model/AdditionalInfoRequestAdditionalInfoTest.java index 235fcfc5..e903cdcf 100644 --- a/src/test/java/com/fireblocks/sdk/model/AdditionalInfoRequestAdditionalInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AdditionalInfoRequestAdditionalInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AdditionalInfoRequestTest.java b/src/test/java/com/fireblocks/sdk/model/AdditionalInfoRequestTest.java index f2656c7b..45a937e9 100644 --- a/src/test/java/com/fireblocks/sdk/model/AdditionalInfoRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AdditionalInfoRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AdditionalInfoTest.java b/src/test/java/com/fireblocks/sdk/model/AdditionalInfoTest.java index 83a1f827..4e66add3 100644 --- a/src/test/java/com/fireblocks/sdk/model/AdditionalInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AdditionalInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AddressBalanceItemDtoTest.java b/src/test/java/com/fireblocks/sdk/model/AddressBalanceItemDtoTest.java new file mode 100644 index 00000000..ed57cee2 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/AddressBalanceItemDtoTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for AddressBalanceItemDto */ +class AddressBalanceItemDtoTest { + private final AddressBalanceItemDto model = new AddressBalanceItemDto(); + + /** Model tests for AddressBalanceItemDto */ + @Test + void testAddressBalanceItemDto() { + // TODO: test AddressBalanceItemDto + } + + /** Test the property 'accountAddress' */ + @Test + void accountAddressTest() { + // TODO: test accountAddress + } + + /** Test the property 'balance' */ + @Test + void balanceTest() { + // TODO: test balance + } + + /** Test the property 'lastUpdated' */ + @Test + void lastUpdatedTest() { + // TODO: test lastUpdated + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/AddressBalancePagedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AddressBalancePagedResponseTest.java new file mode 100644 index 00000000..416aee3f --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/AddressBalancePagedResponseTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for AddressBalancePagedResponse */ +class AddressBalancePagedResponseTest { + private final AddressBalancePagedResponse model = new AddressBalancePagedResponse(); + + /** Model tests for AddressBalancePagedResponse */ + @Test + void testAddressBalancePagedResponse() { + // TODO: test AddressBalancePagedResponse + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } + + /** Test the property 'next' */ + @Test + void nextTest() { + // TODO: test next + } + + /** Test the property 'prev' */ + @Test + void prevTest() { + // TODO: test prev + } + + /** Test the property 'total' */ + @Test + void totalTest() { + // TODO: test total + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/AddressNotAvailableErrorTest.java b/src/test/java/com/fireblocks/sdk/model/AddressNotAvailableErrorTest.java index 020ba17b..30e419e3 100644 --- a/src/test/java/com/fireblocks/sdk/model/AddressNotAvailableErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AddressNotAvailableErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AlertExposureTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/AlertExposureTypeEnumTest.java index 99b3acb8..43bdccab 100644 --- a/src/test/java/com/fireblocks/sdk/model/AlertExposureTypeEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AlertExposureTypeEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AlertLevelEnumTest.java b/src/test/java/com/fireblocks/sdk/model/AlertLevelEnumTest.java index 4be19ff5..527de72a 100644 --- a/src/test/java/com/fireblocks/sdk/model/AlertLevelEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AlertLevelEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmlAlertTest.java b/src/test/java/com/fireblocks/sdk/model/AmlAlertTest.java index ef21e754..82dc0138 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmlAlertTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmlAlertTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmlMatchedRuleTest.java b/src/test/java/com/fireblocks/sdk/model/AmlMatchedRuleTest.java index 7887ac4c..09e0185f 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmlMatchedRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmlMatchedRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmlRegistrationResultFullPayloadTest.java b/src/test/java/com/fireblocks/sdk/model/AmlRegistrationResultFullPayloadTest.java index abbcb1ad..4bb49080 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmlRegistrationResultFullPayloadTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmlRegistrationResultFullPayloadTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmlRegistrationResultTest.java b/src/test/java/com/fireblocks/sdk/model/AmlRegistrationResultTest.java index 16bca0cf..c35c5db2 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmlRegistrationResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmlRegistrationResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmlResultTest.java b/src/test/java/com/fireblocks/sdk/model/AmlResultTest.java index 75614f7e..3faef62a 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmlResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmlResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmlScreeningResultTest.java b/src/test/java/com/fireblocks/sdk/model/AmlScreeningResultTest.java index 344a75a1..0e39d0dd 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmlScreeningResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmlScreeningResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmlStatusEnumTest.java b/src/test/java/com/fireblocks/sdk/model/AmlStatusEnumTest.java index ae36dc12..9a95305b 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmlStatusEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmlStatusEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmlVerdictManualRequestTest.java b/src/test/java/com/fireblocks/sdk/model/AmlVerdictManualRequestTest.java index 71fffba1..3a705894 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmlVerdictManualRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmlVerdictManualRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmlVerdictManualResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AmlVerdictManualResponseTest.java index a73d2a51..402d02c8 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmlVerdictManualResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmlVerdictManualResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmountAndChainDescriptorTest.java b/src/test/java/com/fireblocks/sdk/model/AmountAndChainDescriptorTest.java index db237219..081cd2ff 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmountAndChainDescriptorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmountAndChainDescriptorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmountConfigCurrencyTest.java b/src/test/java/com/fireblocks/sdk/model/AmountConfigCurrencyTest.java index 7065b047..a7326655 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmountConfigCurrencyTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmountConfigCurrencyTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmountConfigTest.java b/src/test/java/com/fireblocks/sdk/model/AmountConfigTest.java index 1e1a1d15..ad96121a 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmountConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmountConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmountInfoTest.java b/src/test/java/com/fireblocks/sdk/model/AmountInfoTest.java index eecaaf7b..5d3546c2 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmountInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmountInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmountOverTimeConfigTest.java b/src/test/java/com/fireblocks/sdk/model/AmountOverTimeConfigTest.java index 89860690..1606e600 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmountOverTimeConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmountOverTimeConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMax2Test.java b/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMax2Test.java index e96448ee..dce19444 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMax2Test.java +++ b/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMax2Test.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMaxTest.java b/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMaxTest.java index fbc20200..91118696 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMaxTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmountRangeMinMaxTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AmountRangeTest.java b/src/test/java/com/fireblocks/sdk/model/AmountRangeTest.java index 52d89cde..c61c1738 100644 --- a/src/test/java/com/fireblocks/sdk/model/AmountRangeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AmountRangeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ApiKeyTest.java b/src/test/java/com/fireblocks/sdk/model/ApiKeyTest.java index baf8e92a..e9882540 100644 --- a/src/test/java/com/fireblocks/sdk/model/ApiKeyTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ApiKeyTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ApiKeysPaginatedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ApiKeysPaginatedResponseTest.java index 97ef7d73..f7f0da4f 100644 --- a/src/test/java/com/fireblocks/sdk/model/ApiKeysPaginatedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ApiKeysPaginatedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ApprovalRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ApprovalRequestTest.java new file mode 100644 index 00000000..8e21f8be --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/ApprovalRequestTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for ApprovalRequest */ +class ApprovalRequestTest { + private final ApprovalRequest model = new ApprovalRequest(); + + /** Model tests for ApprovalRequest */ + @Test + void testApprovalRequest() { + // TODO: test ApprovalRequest + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'state' */ + @Test + void stateTest() { + // TODO: test state + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ApproversConfigApprovalGroupsInnerTest.java b/src/test/java/com/fireblocks/sdk/model/ApproversConfigApprovalGroupsInnerTest.java index 526da799..4d4a4f21 100644 --- a/src/test/java/com/fireblocks/sdk/model/ApproversConfigApprovalGroupsInnerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ApproversConfigApprovalGroupsInnerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ApproversConfigTest.java b/src/test/java/com/fireblocks/sdk/model/ApproversConfigTest.java index b8e9a37d..38bb8344 100644 --- a/src/test/java/com/fireblocks/sdk/model/ApproversConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ApproversConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetAlreadyExistHttpErrorTest.java b/src/test/java/com/fireblocks/sdk/model/AssetAlreadyExistHttpErrorTest.java index 3c54dd25..29fb7190 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetAlreadyExistHttpErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetAlreadyExistHttpErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetAmountTest.java b/src/test/java/com/fireblocks/sdk/model/AssetAmountTest.java index 9e006761..33685c59 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetAmountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetAmountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetBadRequestErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AssetBadRequestErrorResponseTest.java index 7230b21a..aa8302ee 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetBadRequestErrorResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetBadRequestErrorResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetClassTest.java b/src/test/java/com/fireblocks/sdk/model/AssetClassTest.java index 15207155..8ed4cad9 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetClassTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetClassTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetConfigTest.java b/src/test/java/com/fireblocks/sdk/model/AssetConfigTest.java index d61be9f2..f287953c 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetConflictErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AssetConflictErrorResponseTest.java index 3dcba4b7..3acd0bc1 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetConflictErrorResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetConflictErrorResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetDetailsMetadataTest.java b/src/test/java/com/fireblocks/sdk/model/AssetDetailsMetadataTest.java index b26fa5b0..cc728ed1 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetDetailsMetadataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetDetailsMetadataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetDetailsOnchainTest.java b/src/test/java/com/fireblocks/sdk/model/AssetDetailsOnchainTest.java index 45240bed..2a7e6ae3 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetDetailsOnchainTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetDetailsOnchainTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetFeatureTest.java b/src/test/java/com/fireblocks/sdk/model/AssetFeatureTest.java index 57c9d27f..a7d2a622 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetFeatureTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetFeatureTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetForbiddenErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AssetForbiddenErrorResponseTest.java index f567f48b..6cf281cc 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetForbiddenErrorResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetForbiddenErrorResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetInternalServerErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AssetInternalServerErrorResponseTest.java index 66f92903..7ba247b8 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetInternalServerErrorResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetInternalServerErrorResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetMediaAttributesTest.java b/src/test/java/com/fireblocks/sdk/model/AssetMediaAttributesTest.java index badc8583..9c2d2c65 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetMediaAttributesTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetMediaAttributesTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetMediaTest.java b/src/test/java/com/fireblocks/sdk/model/AssetMediaTest.java index 8c212697..97f2ccd6 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetMediaTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetMediaTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetMetadataDtoTest.java b/src/test/java/com/fireblocks/sdk/model/AssetMetadataDtoTest.java index 217c55ef..d5f17508 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetMetadataDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetMetadataDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetMetadataRequestTest.java b/src/test/java/com/fireblocks/sdk/model/AssetMetadataRequestTest.java index 23ce7435..5f465a52 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetMetadataRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetMetadataRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetMetadataTest.java b/src/test/java/com/fireblocks/sdk/model/AssetMetadataTest.java index ac0ce071..f1c09fee 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetMetadataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetMetadataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetNotFoundErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AssetNotFoundErrorResponseTest.java index 434bbb3c..0eb93799 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetNotFoundErrorResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetNotFoundErrorResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetNoteRequestTest.java b/src/test/java/com/fireblocks/sdk/model/AssetNoteRequestTest.java index e95e891d..076f82ea 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetNoteRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetNoteRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetNoteTest.java b/src/test/java/com/fireblocks/sdk/model/AssetNoteTest.java index e9788ca0..c93b58f9 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetNoteTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetNoteTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetOnchainTest.java b/src/test/java/com/fireblocks/sdk/model/AssetOnchainTest.java index 0aa84426..e07df645 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetOnchainTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetOnchainTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetPriceForbiddenErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AssetPriceForbiddenErrorResponseTest.java index f62806cb..1e2950e2 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetPriceForbiddenErrorResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetPriceForbiddenErrorResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetPriceNotFoundErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AssetPriceNotFoundErrorResponseTest.java index dbf17948..2031a17c 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetPriceNotFoundErrorResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetPriceNotFoundErrorResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetPriceResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AssetPriceResponseTest.java index 5680e1fe..5be2b464 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetPriceResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetPriceResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AssetResponseTest.java index 023542f4..bb7d9691 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetScopeTest.java b/src/test/java/com/fireblocks/sdk/model/AssetScopeTest.java index a9108da7..42552ae9 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetScopeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetScopeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetTest.java b/src/test/java/com/fireblocks/sdk/model/AssetTest.java index 3bf48086..892d8186 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -55,12 +55,36 @@ void displaySymbolTest() { // TODO: test displaySymbol } + /** Test the property 'providerId' */ + @Test + void providerIdTest() { + // TODO: test providerId + } + + /** Test the property 'peggedAssetId' */ + @Test + void peggedAssetIdTest() { + // TODO: test peggedAssetId + } + + /** Test the property 'assets' */ + @Test + void assetsTest() { + // TODO: test assets + } + /** Test the property 'assetClass' */ @Test void assetClassTest() { // TODO: test assetClass } + /** Test the property 'decimals' */ + @Test + void decimalsTest() { + // TODO: test decimals + } + /** Test the property 'onchain' */ @Test void onchainTest() { diff --git a/src/test/java/com/fireblocks/sdk/model/AssetTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/AssetTypeEnumTest.java new file mode 100644 index 00000000..e0485746 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/AssetTypeEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for AssetTypeEnum */ +class AssetTypeEnumTest { + /** Model tests for AssetTypeEnum */ + @Test + void testAssetTypeEnum() { + // TODO: test AssetTypeEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/AssetTypeResponseTest.java b/src/test/java/com/fireblocks/sdk/model/AssetTypeResponseTest.java index 8ee0a76e..c4ece844 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetTypeResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetTypeResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetTypesConfigInnerTest.java b/src/test/java/com/fireblocks/sdk/model/AssetTypesConfigInnerTest.java index 63c42328..858ccb3c 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetTypesConfigInnerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetTypesConfigInnerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AssetWalletTest.java b/src/test/java/com/fireblocks/sdk/model/AssetWalletTest.java index 49eedc11..94b1e8bc 100644 --- a/src/test/java/com/fireblocks/sdk/model/AssetWalletTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AssetWalletTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AuditLogDataTest.java b/src/test/java/com/fireblocks/sdk/model/AuditLogDataTest.java index 19cead3b..0d4b9822 100644 --- a/src/test/java/com/fireblocks/sdk/model/AuditLogDataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AuditLogDataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AuditorDataTest.java b/src/test/java/com/fireblocks/sdk/model/AuditorDataTest.java index bf572dd8..d591d6f5 100644 --- a/src/test/java/com/fireblocks/sdk/model/AuditorDataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AuditorDataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AuthorizationGroupsTest.java b/src/test/java/com/fireblocks/sdk/model/AuthorizationGroupsTest.java index c15be97f..454275b1 100644 --- a/src/test/java/com/fireblocks/sdk/model/AuthorizationGroupsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AuthorizationGroupsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/AuthorizationInfoTest.java b/src/test/java/com/fireblocks/sdk/model/AuthorizationInfoTest.java index db84a09d..0bf65098 100644 --- a/src/test/java/com/fireblocks/sdk/model/AuthorizationInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/AuthorizationInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BalanceHistoryItemDtoTest.java b/src/test/java/com/fireblocks/sdk/model/BalanceHistoryItemDtoTest.java new file mode 100644 index 00000000..e5a67186 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/BalanceHistoryItemDtoTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for BalanceHistoryItemDto */ +class BalanceHistoryItemDtoTest { + private final BalanceHistoryItemDto model = new BalanceHistoryItemDto(); + + /** Model tests for BalanceHistoryItemDto */ + @Test + void testBalanceHistoryItemDto() { + // TODO: test BalanceHistoryItemDto + } + + /** Test the property 'timestamp' */ + @Test + void timestampTest() { + // TODO: test timestamp + } + + /** Test the property 'balance' */ + @Test + void balanceTest() { + // TODO: test balance + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/BalanceHistoryPagedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/BalanceHistoryPagedResponseTest.java new file mode 100644 index 00000000..ba04c5ad --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/BalanceHistoryPagedResponseTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for BalanceHistoryPagedResponse */ +class BalanceHistoryPagedResponseTest { + private final BalanceHistoryPagedResponse model = new BalanceHistoryPagedResponse(); + + /** Model tests for BalanceHistoryPagedResponse */ + @Test + void testBalanceHistoryPagedResponse() { + // TODO: test BalanceHistoryPagedResponse + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } + + /** Test the property 'next' */ + @Test + void nextTest() { + // TODO: test next + } + + /** Test the property 'prev' */ + @Test + void prevTest() { + // TODO: test prev + } + + /** Test the property 'total' */ + @Test + void totalTest() { + // TODO: test total + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/BankAddressTest.java b/src/test/java/com/fireblocks/sdk/model/BankAddressTest.java new file mode 100644 index 00000000..f88a348d --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/BankAddressTest.java @@ -0,0 +1,69 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for BankAddress */ +class BankAddressTest { + private final BankAddress model = new BankAddress(); + + /** Model tests for BankAddress */ + @Test + void testBankAddress() { + // TODO: test BankAddress + } + + /** Test the property 'streetName' */ + @Test + void streetNameTest() { + // TODO: test streetName + } + + /** Test the property 'buildingNumber' */ + @Test + void buildingNumberTest() { + // TODO: test buildingNumber + } + + /** Test the property 'postalCode' */ + @Test + void postalCodeTest() { + // TODO: test postalCode + } + + /** Test the property 'city' */ + @Test + void cityTest() { + // TODO: test city + } + + /** Test the property 'subdivision' */ + @Test + void subdivisionTest() { + // TODO: test subdivision + } + + /** Test the property 'district' */ + @Test + void districtTest() { + // TODO: test district + } + + /** Test the property 'country' */ + @Test + void countryTest() { + // TODO: test country + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/BaseProviderTest.java b/src/test/java/com/fireblocks/sdk/model/BaseProviderTest.java index edb7ef98..23ff8c9d 100644 --- a/src/test/java/com/fireblocks/sdk/model/BaseProviderTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BaseProviderTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BasicAddressRequestTest.java b/src/test/java/com/fireblocks/sdk/model/BasicAddressRequestTest.java index 4296f9e6..b72df4d2 100644 --- a/src/test/java/com/fireblocks/sdk/model/BasicAddressRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BasicAddressRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BlockInfoTest.java b/src/test/java/com/fireblocks/sdk/model/BlockInfoTest.java index fc625aba..908ea5a2 100644 --- a/src/test/java/com/fireblocks/sdk/model/BlockInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BlockInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BlockchainAddressTest.java b/src/test/java/com/fireblocks/sdk/model/BlockchainAddressTest.java new file mode 100644 index 00000000..0dad6181 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/BlockchainAddressTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for BlockchainAddress */ +class BlockchainAddressTest { + private final BlockchainAddress model = new BlockchainAddress(); + + /** Model tests for BlockchainAddress */ + @Test + void testBlockchainAddress() { + // TODO: test BlockchainAddress + } + + /** Test the property 'blockchainAddress' */ + @Test + void blockchainAddressTest() { + // TODO: test blockchainAddress + } + + /** Test the property 'tag' */ + @Test + void tagTest() { + // TODO: test tag + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/BlockchainDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/BlockchainDestinationTest.java new file mode 100644 index 00000000..faecdec4 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/BlockchainDestinationTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for BlockchainDestination */ +class BlockchainDestinationTest { + private final BlockchainDestination model = new BlockchainDestination(); + + /** Model tests for BlockchainDestination */ + @Test + void testBlockchainDestination() { + // TODO: test BlockchainDestination + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'address' */ + @Test + void addressTest() { + // TODO: test address + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/BlockchainExplorerTest.java b/src/test/java/com/fireblocks/sdk/model/BlockchainExplorerTest.java index d1a03a03..8e1ebedd 100644 --- a/src/test/java/com/fireblocks/sdk/model/BlockchainExplorerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BlockchainExplorerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BlockchainMediaTest.java b/src/test/java/com/fireblocks/sdk/model/BlockchainMediaTest.java index aca82daa..58a3ea0a 100644 --- a/src/test/java/com/fireblocks/sdk/model/BlockchainMediaTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BlockchainMediaTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BlockchainMetadataTest.java b/src/test/java/com/fireblocks/sdk/model/BlockchainMetadataTest.java index eaf1db1e..301a1428 100644 --- a/src/test/java/com/fireblocks/sdk/model/BlockchainMetadataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BlockchainMetadataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BlockchainNotFoundErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/BlockchainNotFoundErrorResponseTest.java index 33ce9ff2..f2c36eb8 100644 --- a/src/test/java/com/fireblocks/sdk/model/BlockchainNotFoundErrorResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BlockchainNotFoundErrorResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BlockchainOnchainTest.java b/src/test/java/com/fireblocks/sdk/model/BlockchainOnchainTest.java index 4d14fa77..691bea2d 100644 --- a/src/test/java/com/fireblocks/sdk/model/BlockchainOnchainTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BlockchainOnchainTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BlockchainResponseTest.java b/src/test/java/com/fireblocks/sdk/model/BlockchainResponseTest.java index e5af92f9..6ba2ff58 100644 --- a/src/test/java/com/fireblocks/sdk/model/BlockchainResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BlockchainResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BlockchainTransferTest.java b/src/test/java/com/fireblocks/sdk/model/BlockchainTransferTest.java index cb97ff29..c1ae1e7e 100644 --- a/src/test/java/com/fireblocks/sdk/model/BlockchainTransferTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BlockchainTransferTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BpsFeeTest.java b/src/test/java/com/fireblocks/sdk/model/BpsFeeTest.java index 04aa525b..17a09eee 100644 --- a/src/test/java/com/fireblocks/sdk/model/BpsFeeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BpsFeeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/BusinessEntityTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/BusinessEntityTypeEnumTest.java new file mode 100644 index 00000000..79d4e2dc --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/BusinessEntityTypeEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for BusinessEntityTypeEnum */ +class BusinessEntityTypeEnumTest { + /** Model tests for BusinessEntityTypeEnum */ + @Test + void testBusinessEntityTypeEnum() { + // TODO: test BusinessEntityTypeEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/BusinessIdentificationTest.java b/src/test/java/com/fireblocks/sdk/model/BusinessIdentificationTest.java index dfc3671f..cacc71a9 100644 --- a/src/test/java/com/fireblocks/sdk/model/BusinessIdentificationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/BusinessIdentificationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -60,4 +60,16 @@ void registrationNumberTest() { void postalAddressTest() { // TODO: test postalAddress } + + /** Test the property 'email' */ + @Test + void emailTest() { + // TODO: test email + } + + /** Test the property 'phone' */ + @Test + void phoneTest() { + // TODO: test phone + } } diff --git a/src/test/java/com/fireblocks/sdk/model/CallbackHandlerRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CallbackHandlerRequestTest.java index e9f9b7cd..65f168db 100644 --- a/src/test/java/com/fireblocks/sdk/model/CallbackHandlerRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CallbackHandlerRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CallbackHandlerTest.java b/src/test/java/com/fireblocks/sdk/model/CallbackHandlerTest.java index efd9bf8e..060f7cd9 100644 --- a/src/test/java/com/fireblocks/sdk/model/CallbackHandlerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CallbackHandlerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CancelTransactionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/CancelTransactionResponseTest.java index 2bbe5fec..1ed4ee27 100644 --- a/src/test/java/com/fireblocks/sdk/model/CancelTransactionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CancelTransactionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CapabilityTest.java b/src/test/java/com/fireblocks/sdk/model/CapabilityTest.java index f2ed2fac..967accd6 100644 --- a/src/test/java/com/fireblocks/sdk/model/CapabilityTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CapabilityTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ChainDescriptorTest.java b/src/test/java/com/fireblocks/sdk/model/ChainDescriptorTest.java index 4b7e89f0..6d03c17e 100644 --- a/src/test/java/com/fireblocks/sdk/model/ChainDescriptorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ChainDescriptorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ChainInfoResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ChainInfoResponseTest.java index 3697fbaa..e5bc719a 100644 --- a/src/test/java/com/fireblocks/sdk/model/ChainInfoResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ChainInfoResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -54,4 +54,10 @@ void epochDurationTest() { void additionalInfoTest() { // TODO: test additionalInfo } + + /** Test the property 'lastUpdated' */ + @Test + void lastUpdatedTest() { + // TODO: test lastUpdated + } } diff --git a/src/test/java/com/fireblocks/sdk/model/ChannelDvnConfigWithConfirmationsTest.java b/src/test/java/com/fireblocks/sdk/model/ChannelDvnConfigWithConfirmationsTest.java index 0268de91..68094d50 100644 --- a/src/test/java/com/fireblocks/sdk/model/ChannelDvnConfigWithConfirmationsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ChannelDvnConfigWithConfirmationsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ClaimRewardsRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ClaimRewardsRequestTest.java index 775f5fed..deb46316 100644 --- a/src/test/java/com/fireblocks/sdk/model/ClaimRewardsRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ClaimRewardsRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionBurnRequestDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionBurnRequestDtoTest.java index 9c640533..43d35359 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionBurnRequestDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionBurnRequestDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionBurnResponseDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionBurnResponseDtoTest.java index 65aee98d..8e6c2271 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionBurnResponseDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionBurnResponseDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionDeployRequestDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionDeployRequestDtoTest.java index bd11971f..66416a97 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionDeployRequestDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionDeployRequestDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionLinkDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionLinkDtoTest.java index 0a1c0bd0..6a571ea0 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionLinkDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionLinkDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionMetadataDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionMetadataDtoTest.java index 3dfbaf53..4c83839a 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionMetadataDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionMetadataDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionMintRequestDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionMintRequestDtoTest.java index 6698cf65..e2fe2171 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionMintRequestDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionMintRequestDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionMintResponseDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionMintResponseDtoTest.java index 44e1b2c6..6f6909d7 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionMintResponseDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionMintResponseDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionOwnershipResponseTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionOwnershipResponseTest.java index ab6528c4..89c9822e 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionOwnershipResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionOwnershipResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionTokenMetadataAttributeDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionTokenMetadataAttributeDtoTest.java index fd34392d..9279ceb1 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionTokenMetadataAttributeDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionTokenMetadataAttributeDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionTokenMetadataDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionTokenMetadataDtoTest.java index 37ac5d02..3307d3b0 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionTokenMetadataDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionTokenMetadataDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionTypeTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionTypeTest.java index c9c4b78a..3183ebaf 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CommittedQuoteEnumTest.java b/src/test/java/com/fireblocks/sdk/model/CommittedQuoteEnumTest.java new file mode 100644 index 00000000..8788f692 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/CommittedQuoteEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for CommittedQuoteEnum */ +class CommittedQuoteEnumTest { + /** Model tests for CommittedQuoteEnum */ + @Test + void testCommittedQuoteEnum() { + // TODO: test CommittedQuoteEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/CommittedQuoteTypeTest.java b/src/test/java/com/fireblocks/sdk/model/CommittedQuoteTypeTest.java index 223baaff..062a000e 100644 --- a/src/test/java/com/fireblocks/sdk/model/CommittedQuoteTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CommittedQuoteTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -30,10 +30,4 @@ void testCommittedQuoteType() { void typeTest() { // TODO: test type } - - /** Test the property 'expiresAt' */ - @Test - void expiresAtTest() { - // TODO: test expiresAt - } } diff --git a/src/test/java/com/fireblocks/sdk/model/ComplianceResultFullPayloadTest.java b/src/test/java/com/fireblocks/sdk/model/ComplianceResultFullPayloadTest.java index 76858c0e..124d57e2 100644 --- a/src/test/java/com/fireblocks/sdk/model/ComplianceResultFullPayloadTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ComplianceResultFullPayloadTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnumTest.java b/src/test/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnumTest.java index e6c12628..f3a72980 100644 --- a/src/test/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ComplianceResultsTest.java b/src/test/java/com/fireblocks/sdk/model/ComplianceResultsTest.java index 5816a295..dd6e495b 100644 --- a/src/test/java/com/fireblocks/sdk/model/ComplianceResultsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ComplianceResultsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayloadTest.java b/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayloadTest.java index 861c3ad9..e074b5bb 100644 --- a/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayloadTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultFullPayloadTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultTest.java b/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultTest.java index 17ba9e8a..94a2f771 100644 --- a/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ComplianceScreeningResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConfigChangeRequestStatusTest.java b/src/test/java/com/fireblocks/sdk/model/ConfigChangeRequestStatusTest.java index b26b3cd7..19cdea97 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConfigChangeRequestStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConfigChangeRequestStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConfigConversionOperationSnapshotTest.java b/src/test/java/com/fireblocks/sdk/model/ConfigConversionOperationSnapshotTest.java index e4f6a1ae..d16d48eb 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConfigConversionOperationSnapshotTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConfigConversionOperationSnapshotTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConfigDisbursementOperationSnapshotTest.java b/src/test/java/com/fireblocks/sdk/model/ConfigDisbursementOperationSnapshotTest.java index 2fe95153..6ef61a48 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConfigDisbursementOperationSnapshotTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConfigDisbursementOperationSnapshotTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConfigOperationSnapshotTest.java b/src/test/java/com/fireblocks/sdk/model/ConfigOperationSnapshotTest.java index efbb87ca..f6de6495 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConfigOperationSnapshotTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConfigOperationSnapshotTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConfigOperationStatusTest.java b/src/test/java/com/fireblocks/sdk/model/ConfigOperationStatusTest.java index c9ddf648..0fb01c02 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConfigOperationStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConfigOperationStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConfigOperationTest.java b/src/test/java/com/fireblocks/sdk/model/ConfigOperationTest.java index 0588e64c..ac6d5907 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConfigOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConfigOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConfigTransferOperationSnapshotTest.java b/src/test/java/com/fireblocks/sdk/model/ConfigTransferOperationSnapshotTest.java index 147b76e7..5ecbdf39 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConfigTransferOperationSnapshotTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConfigTransferOperationSnapshotTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountApprovalStatusTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountApprovalStatusTest.java index 8971dacb..64cc8b33 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountApprovalStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountApprovalStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountAssetTypeTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountAssetTypeTest.java index e0070c59..90d53348 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountAssetTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountAssetTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountBalancesResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountBalancesResponseTest.java index 704c1a42..d4299136 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountBalancesResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountBalancesResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountBalancesTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountBalancesTest.java index 94157d71..c79849a5 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountBalancesTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountBalancesTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountCapabilityTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountCapabilityTest.java index 116079d6..82bd3e69 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountCapabilityTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountCapabilityTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountErrorResponseTest.java new file mode 100644 index 00000000..e2511f83 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountErrorResponseTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for ConnectedAccountErrorResponse */ +class ConnectedAccountErrorResponseTest { + private final ConnectedAccountErrorResponse model = new ConnectedAccountErrorResponse(); + + /** Model tests for ConnectedAccountErrorResponse */ + @Test + void testConnectedAccountErrorResponse() { + // TODO: test ConnectedAccountErrorResponse + } + + /** Test the property 'errorMessage' */ + @Test + void errorMessageTest() { + // TODO: test errorMessage + } + + /** Test the property 'errorCode' */ + @Test + void errorCodeTest() { + // TODO: test errorCode + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountManifestTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountManifestTest.java index 48901529..e6399a71 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountManifestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountManifestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountRateResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountRateResponseTest.java index 66cee00d..9e73595f 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountRateResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountRateResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTest.java index 9d84bb12..6230fe38 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTotalBalanceTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTotalBalanceTest.java index 3c25ab4e..a3c598cd 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTotalBalanceTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTotalBalanceTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairSupportedTypeTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairSupportedTypeTest.java index 4aebcfbd..828383d5 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairSupportedTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairSupportedTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairTest.java index e3e75612..8cf7d7d7 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairsResponseTest.java index eae5f738..d9941790 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountTradingPairsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountsResponseTest.java index 864eb1a8..65820360 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedAccountsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedAccountsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedSingleAccountResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedSingleAccountResponseTest.java index f87a69fa..4abc316c 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedSingleAccountResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedSingleAccountResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConnectedSingleAccountTest.java b/src/test/java/com/fireblocks/sdk/model/ConnectedSingleAccountTest.java index 86f2c672..15c3858e 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConnectedSingleAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConnectedSingleAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConsoleUserTest.java b/src/test/java/com/fireblocks/sdk/model/ConsoleUserTest.java index 9c161759..ac7ada7d 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConsoleUserTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConsoleUserTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractAbiResponseDtoAbiInnerTest.java b/src/test/java/com/fireblocks/sdk/model/ContractAbiResponseDtoAbiInnerTest.java index c7e151b5..2878bcac 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractAbiResponseDtoAbiInnerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractAbiResponseDtoAbiInnerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractAbiResponseDtoTest.java b/src/test/java/com/fireblocks/sdk/model/ContractAbiResponseDtoTest.java index 48ccb8b5..b6ee112d 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractAbiResponseDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractAbiResponseDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractAddressResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ContractAddressResponseTest.java new file mode 100644 index 00000000..6bc1b437 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/ContractAddressResponseTest.java @@ -0,0 +1,33 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for ContractAddressResponse */ +class ContractAddressResponseTest { + private final ContractAddressResponse model = new ContractAddressResponse(); + + /** Model tests for ContractAddressResponse */ + @Test + void testContractAddressResponse() { + // TODO: test ContractAddressResponse + } + + /** Test the property 'contractAddress' */ + @Test + void contractAddressTest() { + // TODO: test contractAddress + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ContractAttributesTest.java b/src/test/java/com/fireblocks/sdk/model/ContractAttributesTest.java index c99cfb14..dc277bda 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractAttributesTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractAttributesTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeDataTypeTest.java b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeDataTypeTest.java index e10deea5..de41bc58 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeDataTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeDataTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeErrorTest.java b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeErrorTest.java index 7dac6c84..6559efd5 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeRequestDataTest.java b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeRequestDataTest.java index d42133a3..f9d00192 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeRequestDataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeRequestDataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeRequestTest.java index a761cc68..ccdfa341 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeResponseParamsTest.java b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeResponseParamsTest.java index cb4d6209..7a2f0e5c 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeResponseParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodeResponseParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodedResponseTest.java index 8a516558..22e4e9c5 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractDataDecodedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractDataDecodedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractDataLogDataParamTest.java b/src/test/java/com/fireblocks/sdk/model/ContractDataLogDataParamTest.java index 0c2ed4e4..149b82a8 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractDataLogDataParamTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractDataLogDataParamTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractDeployRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ContractDeployRequestTest.java index 64f58c18..e748feff 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractDeployRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractDeployRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractDeployResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ContractDeployResponseTest.java index a4efbc5c..db7c5edb 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractDeployResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractDeployResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractDocTest.java b/src/test/java/com/fireblocks/sdk/model/ContractDocTest.java index 1cfba282..401b63c6 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractDocTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractDocTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractMetadataDtoTest.java b/src/test/java/com/fireblocks/sdk/model/ContractMetadataDtoTest.java index d2c18f6e..cf78cc13 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractMetadataDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractMetadataDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractMethodConfigTest.java b/src/test/java/com/fireblocks/sdk/model/ContractMethodConfigTest.java index 0348ece9..8f831022 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractMethodConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractMethodConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractMethodPatternTest.java b/src/test/java/com/fireblocks/sdk/model/ContractMethodPatternTest.java index 85387a6c..2c7ed9ff 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractMethodPatternTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractMethodPatternTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractTemplateDtoTest.java b/src/test/java/com/fireblocks/sdk/model/ContractTemplateDtoTest.java index b31d5b3b..8bab8693 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractTemplateDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractTemplateDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractUploadRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ContractUploadRequestTest.java index f36a44c8..706b83d0 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractUploadRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractUploadRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ContractWithAbiDtoTest.java b/src/test/java/com/fireblocks/sdk/model/ContractWithAbiDtoTest.java index 61a5eaa2..4347c20c 100644 --- a/src/test/java/com/fireblocks/sdk/model/ContractWithAbiDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ContractWithAbiDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConversionConfigOperationTest.java b/src/test/java/com/fireblocks/sdk/model/ConversionConfigOperationTest.java index e03d25eb..480ccc2c 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConversionConfigOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConversionConfigOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConversionOperationConfigParamsTest.java b/src/test/java/com/fireblocks/sdk/model/ConversionOperationConfigParamsTest.java index 6663c0ae..4e564989 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConversionOperationConfigParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConversionOperationConfigParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionOutputTest.java b/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionOutputTest.java index efc58c19..0623d464 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionOutputTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionOutputTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsExecutionParamsTest.java b/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsExecutionParamsTest.java index eace726f..4f13e270 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsExecutionParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsExecutionParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsTest.java b/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsTest.java index 6ed83327..fa74fffa 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionTest.java b/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionTest.java index 24c13dab..f9d69c42 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConversionOperationExecutionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConversionOperationFailureTest.java b/src/test/java/com/fireblocks/sdk/model/ConversionOperationFailureTest.java index 2a072b9c..2eaaab52 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConversionOperationFailureTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConversionOperationFailureTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConversionOperationPreviewOutputTest.java b/src/test/java/com/fireblocks/sdk/model/ConversionOperationPreviewOutputTest.java index 1b035927..4e791d6a 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConversionOperationPreviewOutputTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConversionOperationPreviewOutputTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConversionOperationPreviewTest.java b/src/test/java/com/fireblocks/sdk/model/ConversionOperationPreviewTest.java index b0fe2d37..6d89c84a 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConversionOperationPreviewTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConversionOperationPreviewTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConversionOperationTypeTest.java b/src/test/java/com/fireblocks/sdk/model/ConversionOperationTypeTest.java index c7e65aac..90a3ef29 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConversionOperationTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConversionOperationTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConversionValidationFailureTest.java b/src/test/java/com/fireblocks/sdk/model/ConversionValidationFailureTest.java index 326e07d1..c1848561 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConversionValidationFailureTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConversionValidationFailureTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConvertAssetsRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ConvertAssetsRequestTest.java index e149a13d..af3e2ec0 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConvertAssetsRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConvertAssetsRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ConvertAssetsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ConvertAssetsResponseTest.java index bc7921cd..b103ccd6 100644 --- a/src/test/java/com/fireblocks/sdk/model/ConvertAssetsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ConvertAssetsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CosignerTest.java b/src/test/java/com/fireblocks/sdk/model/CosignerTest.java index ce80cadc..01f6a15f 100644 --- a/src/test/java/com/fireblocks/sdk/model/CosignerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CosignerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CosignersPaginatedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/CosignersPaginatedResponseTest.java index 8de139a5..fc2d8dfc 100644 --- a/src/test/java/com/fireblocks/sdk/model/CosignersPaginatedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CosignersPaginatedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateAPIUserTest.java b/src/test/java/com/fireblocks/sdk/model/CreateAPIUserTest.java index 26240855..c2283a4a 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateAPIUserTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateAPIUserTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateAddressRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateAddressRequestTest.java index dbabc579..7914b246 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateAddressRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateAddressRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateAddressResponseTest.java b/src/test/java/com/fireblocks/sdk/model/CreateAddressResponseTest.java index 76ab9686..adff08a6 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateAddressResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateAddressResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateAssetsBulkRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateAssetsBulkRequestTest.java deleted file mode 100644 index f80c1978..00000000 --- a/src/test/java/com/fireblocks/sdk/model/CreateAssetsBulkRequestTest.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for CreateAssetsBulkRequest */ -class CreateAssetsBulkRequestTest { - private final CreateAssetsBulkRequest model = new CreateAssetsBulkRequest(); - - /** Model tests for CreateAssetsBulkRequest */ - @Test - void testCreateAssetsBulkRequest() { - // TODO: test CreateAssetsBulkRequest - } - - /** Test the property 'assetId' */ - @Test - void assetIdTest() { - // TODO: test assetId - } - - /** Test the property 'vaultAccountIdFrom' */ - @Test - void vaultAccountIdFromTest() { - // TODO: test vaultAccountIdFrom - } - - /** Test the property 'vaultAccountIdTo' */ - @Test - void vaultAccountIdToTest() { - // TODO: test vaultAccountIdTo - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/CreateAssetsRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateAssetsRequestTest.java index 03ead3a3..2335998a 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateAssetsRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateAssetsRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateConfigOperationRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateConfigOperationRequestTest.java index e885ade3..78c9611c 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateConfigOperationRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateConfigOperationRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateConnectionRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateConnectionRequestTest.java index ebdfcf08..c7b02595 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateConnectionRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateConnectionRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateConnectionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/CreateConnectionResponseTest.java index 5af5f266..a64b78d7 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateConnectionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateConnectionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateConsoleUserTest.java b/src/test/java/com/fireblocks/sdk/model/CreateConsoleUserTest.java index 3eac8b2d..92b867be 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateConsoleUserTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateConsoleUserTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateContractRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateContractRequestTest.java index 88a9d864..7d9abd76 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateContractRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateContractRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateConversionConfigOperationRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateConversionConfigOperationRequestTest.java index 93fe89d2..946bb872 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateConversionConfigOperationRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateConversionConfigOperationRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateDisbursementConfigOperationRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateDisbursementConfigOperationRequestTest.java index 03b9e68f..0a0ce9de 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateDisbursementConfigOperationRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateDisbursementConfigOperationRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateInternalTransferRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateInternalTransferRequestTest.java index 489d765b..195d28a1 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateInternalTransferRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateInternalTransferRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateInternalWalletAssetRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateInternalWalletAssetRequestTest.java index 8c512e1e..951355e1 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateInternalWalletAssetRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateInternalWalletAssetRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateMultichainTokenRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateMultichainTokenRequestTest.java index 4e750bdd..457a5ffa 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateMultichainTokenRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateMultichainTokenRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateMultipleAccountsRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateMultipleAccountsRequestTest.java index 56fe7dbe..48601446 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateMultipleAccountsRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateMultipleAccountsRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatusTest.java b/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatusTest.java index b209ae51..1e704c5e 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesJobStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequestTest.java index ce39772a..a5981d81 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateMultipleDepositAddressesRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateMultipleVaultAccountsJobStatusTest.java b/src/test/java/com/fireblocks/sdk/model/CreateMultipleVaultAccountsJobStatusTest.java index fd781989..52083f71 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateMultipleVaultAccountsJobStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateMultipleVaultAccountsJobStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateNcwConnectionRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateNcwConnectionRequestTest.java index f2cef125..a64fbf08 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateNcwConnectionRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateNcwConnectionRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateNetworkIdRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateNetworkIdRequestTest.java index b8fc9d0f..1b73ecbc 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateNetworkIdRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateNetworkIdRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateOrderRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateOrderRequestTest.java index 09e19fb8..ecaf1d4d 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateOrderRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateOrderRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreatePayoutRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreatePayoutRequestTest.java index ed6ef302..a9c35df2 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreatePayoutRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreatePayoutRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateQuoteScopeInnerTest.java b/src/test/java/com/fireblocks/sdk/model/CreateQuoteScopeInnerTest.java index e50a0fd5..b8cd7f58 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateQuoteScopeInnerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateQuoteScopeInnerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateQuoteTest.java b/src/test/java/com/fireblocks/sdk/model/CreateQuoteTest.java index da769735..461d4432 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateQuoteTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateQuoteTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -37,24 +37,12 @@ void baseAssetIdTest() { // TODO: test baseAssetId } - /** Test the property 'baseAssetRail' */ - @Test - void baseAssetRailTest() { - // TODO: test baseAssetRail - } - /** Test the property 'quoteAssetId' */ @Test void quoteAssetIdTest() { // TODO: test quoteAssetId } - /** Test the property 'quoteAssetRail' */ - @Test - void quoteAssetRailTest() { - // TODO: test quoteAssetRail - } - /** Test the property 'baseAmount' */ @Test void baseAmountTest() { diff --git a/src/test/java/com/fireblocks/sdk/model/CreateSigningKeyDtoProofOfOwnershipTest.java b/src/test/java/com/fireblocks/sdk/model/CreateSigningKeyDtoProofOfOwnershipTest.java index b083d6a1..6dc1b3c4 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateSigningKeyDtoProofOfOwnershipTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateSigningKeyDtoProofOfOwnershipTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateSigningKeyDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CreateSigningKeyDtoTest.java index 8c7bc75c..46f8611c 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateSigningKeyDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateSigningKeyDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateTagRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateTagRequestTest.java index dfb41b34..e3037eae 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateTagRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateTagRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -36,4 +36,16 @@ void labelTest() { void descriptionTest() { // TODO: test description } + + /** Test the property 'color' */ + @Test + void colorTest() { + // TODO: test color + } + + /** Test the property 'isProtected' */ + @Test + void isProtectedTest() { + // TODO: test isProtected + } } diff --git a/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParamsTest.java b/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParamsTest.java index 76f5f5d6..09d858af 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoCreateParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoTest.java index 94b46707..644895fc 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateTokenRequestDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateTransactionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/CreateTransactionResponseTest.java index ccb8aa17..1669e059 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateTransactionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateTransactionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateTransferConfigOperationRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateTransferConfigOperationRequestTest.java index 3304745a..76021352 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateTransferConfigOperationRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateTransferConfigOperationRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateUserGroupResponseTest.java b/src/test/java/com/fireblocks/sdk/model/CreateUserGroupResponseTest.java index a1856c66..47e5d1a2 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateUserGroupResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateUserGroupResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateValidationKeyDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CreateValidationKeyDtoTest.java index 7216de77..ee5fac2e 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateValidationKeyDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateValidationKeyDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateValidationKeyResponseDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CreateValidationKeyResponseDtoTest.java index 3bb95211..16457038 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateValidationKeyResponseDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateValidationKeyResponseDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateVaultAccountConnectionRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateVaultAccountConnectionRequestTest.java index 2b0b476f..31b83bd5 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateVaultAccountConnectionRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateVaultAccountConnectionRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateVaultAccountRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateVaultAccountRequestTest.java index d1e0801e..1a0d1d32 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateVaultAccountRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateVaultAccountRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateVaultAssetResponseTest.java b/src/test/java/com/fireblocks/sdk/model/CreateVaultAssetResponseTest.java index 0e0276f3..c3c3f820 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateVaultAssetResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateVaultAssetResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateWalletRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateWalletRequestTest.java index aec89fe8..09dfd05c 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateWalletRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateWalletRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateWebhookRequestTest.java b/src/test/java/com/fireblocks/sdk/model/CreateWebhookRequestTest.java index ddebb268..3ed4ad6e 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateWebhookRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateWebhookRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CreateWorkflowExecutionRequestParamsInnerTest.java b/src/test/java/com/fireblocks/sdk/model/CreateWorkflowExecutionRequestParamsInnerTest.java index fa42902b..f955895a 100644 --- a/src/test/java/com/fireblocks/sdk/model/CreateWorkflowExecutionRequestParamsInnerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CreateWorkflowExecutionRequestParamsInnerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/CustomRoutingDestTest.java b/src/test/java/com/fireblocks/sdk/model/CustomRoutingDestTest.java index 5e72aa24..77f47584 100644 --- a/src/test/java/com/fireblocks/sdk/model/CustomRoutingDestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CustomRoutingDestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DAppAddressConfigTest.java b/src/test/java/com/fireblocks/sdk/model/DAppAddressConfigTest.java index c68e2090..d28ed236 100644 --- a/src/test/java/com/fireblocks/sdk/model/DAppAddressConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DAppAddressConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DVPSettlementTest.java b/src/test/java/com/fireblocks/sdk/model/DVPSettlementTest.java index 1c08b02c..b61067c0 100644 --- a/src/test/java/com/fireblocks/sdk/model/DVPSettlementTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DVPSettlementTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DVPSettlementTypeTest.java b/src/test/java/com/fireblocks/sdk/model/DVPSettlementTypeTest.java new file mode 100644 index 00000000..5fdb270a --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/DVPSettlementTypeTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for DVPSettlementType */ +class DVPSettlementTypeTest { + /** Model tests for DVPSettlementType */ + @Test + void testDVPSettlementType() { + // TODO: test DVPSettlementType + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/DecodedLogTest.java b/src/test/java/com/fireblocks/sdk/model/DecodedLogTest.java new file mode 100644 index 00000000..ef6f940b --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/DecodedLogTest.java @@ -0,0 +1,57 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for DecodedLog */ +class DecodedLogTest { + private final DecodedLog model = new DecodedLog(); + + /** Model tests for DecodedLog */ + @Test + void testDecodedLog() { + // TODO: test DecodedLog + } + + /** Test the property 'address' */ + @Test + void addressTest() { + // TODO: test address + } + + /** Test the property 'blockHash' */ + @Test + void blockHashTest() { + // TODO: test blockHash + } + + /** Test the property 'blockNumber' */ + @Test + void blockNumberTest() { + // TODO: test blockNumber + } + + /** Test the property 'transactionHash' */ + @Test + void transactionHashTest() { + // TODO: test transactionHash + } + + /** Test the property 'logIndex' */ + @Test + void logIndexTest() { + // TODO: test logIndex + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/DefaultNetworkRoutingDestTest.java b/src/test/java/com/fireblocks/sdk/model/DefaultNetworkRoutingDestTest.java index a2685345..83fba8f1 100644 --- a/src/test/java/com/fireblocks/sdk/model/DefaultNetworkRoutingDestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DefaultNetworkRoutingDestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DelegationBlockchainPositionInfoTest.java b/src/test/java/com/fireblocks/sdk/model/DelegationBlockchainPositionInfoTest.java new file mode 100644 index 00000000..e89988af --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/DelegationBlockchainPositionInfoTest.java @@ -0,0 +1,57 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for DelegationBlockchainPositionInfo */ +class DelegationBlockchainPositionInfoTest { + private final DelegationBlockchainPositionInfo model = new DelegationBlockchainPositionInfo(); + + /** Model tests for DelegationBlockchainPositionInfo */ + @Test + void testDelegationBlockchainPositionInfo() { + // TODO: test DelegationBlockchainPositionInfo + } + + /** Test the property 'stakeAccountAddress' */ + @Test + void stakeAccountAddressTest() { + // TODO: test stakeAccountAddress + } + + /** Test the property 'stakeAccountDerivationChangeValue' */ + @Test + void stakeAccountDerivationChangeValueTest() { + // TODO: test stakeAccountDerivationChangeValue + } + + /** Test the property 'isCompoundingValidator' */ + @Test + void isCompoundingValidatorTest() { + // TODO: test isCompoundingValidator + } + + /** Test the property 'totalWithdrawableAmount' */ + @Test + void totalWithdrawableAmountTest() { + // TODO: test totalWithdrawableAmount + } + + /** Test the property 'totalInactiveAmount' */ + @Test + void totalInactiveAmountTest() { + // TODO: test totalInactiveAmount + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/DelegationSummaryTest.java b/src/test/java/com/fireblocks/sdk/model/DelegationSummaryTest.java index 1c5d63ec..b5112cd4 100644 --- a/src/test/java/com/fireblocks/sdk/model/DelegationSummaryTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DelegationSummaryTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DelegationTest.java b/src/test/java/com/fireblocks/sdk/model/DelegationTest.java index eba7ace9..d48e2733 100644 --- a/src/test/java/com/fireblocks/sdk/model/DelegationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DelegationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DeleteNetworkConnectionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/DeleteNetworkConnectionResponseTest.java index 66be27fc..6e1159d3 100644 --- a/src/test/java/com/fireblocks/sdk/model/DeleteNetworkConnectionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DeleteNetworkConnectionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DeleteNetworkIdResponseTest.java b/src/test/java/com/fireblocks/sdk/model/DeleteNetworkIdResponseTest.java index ff80c84e..1f930c2a 100644 --- a/src/test/java/com/fireblocks/sdk/model/DeleteNetworkIdResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DeleteNetworkIdResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DeployLayerZeroAdaptersRequestTest.java b/src/test/java/com/fireblocks/sdk/model/DeployLayerZeroAdaptersRequestTest.java index c9e90984..3a085374 100644 --- a/src/test/java/com/fireblocks/sdk/model/DeployLayerZeroAdaptersRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DeployLayerZeroAdaptersRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DeployableAddressResponseTest.java b/src/test/java/com/fireblocks/sdk/model/DeployableAddressResponseTest.java index 6873fc61..0d8cb5b2 100644 --- a/src/test/java/com/fireblocks/sdk/model/DeployableAddressResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DeployableAddressResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DeployedContractNotFoundErrorTest.java b/src/test/java/com/fireblocks/sdk/model/DeployedContractNotFoundErrorTest.java index ba0ee26f..218c6d5d 100644 --- a/src/test/java/com/fireblocks/sdk/model/DeployedContractNotFoundErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DeployedContractNotFoundErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DeployedContractResponseDtoTest.java b/src/test/java/com/fireblocks/sdk/model/DeployedContractResponseDtoTest.java index 660d2c71..304fe4cc 100644 --- a/src/test/java/com/fireblocks/sdk/model/DeployedContractResponseDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DeployedContractResponseDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DeployedContractsPaginatedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/DeployedContractsPaginatedResponseTest.java index 03e65467..e10386a1 100644 --- a/src/test/java/com/fireblocks/sdk/model/DeployedContractsPaginatedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DeployedContractsPaginatedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DepositFundsFromLinkedDDAResponseTest.java b/src/test/java/com/fireblocks/sdk/model/DepositFundsFromLinkedDDAResponseTest.java index c3ff2298..09810d4b 100644 --- a/src/test/java/com/fireblocks/sdk/model/DepositFundsFromLinkedDDAResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DepositFundsFromLinkedDDAResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DerivationPathConfigTest.java b/src/test/java/com/fireblocks/sdk/model/DerivationPathConfigTest.java index 39cbc288..9b1461c5 100644 --- a/src/test/java/com/fireblocks/sdk/model/DerivationPathConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DerivationPathConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DesignatedSignersConfigTest.java b/src/test/java/com/fireblocks/sdk/model/DesignatedSignersConfigTest.java index 24420ce2..54601c57 100644 --- a/src/test/java/com/fireblocks/sdk/model/DesignatedSignersConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DesignatedSignersConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DestinationConfigTest.java b/src/test/java/com/fireblocks/sdk/model/DestinationConfigTest.java index 47a2e871..98c08b00 100644 --- a/src/test/java/com/fireblocks/sdk/model/DestinationConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DestinationConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DestinationTest.java b/src/test/java/com/fireblocks/sdk/model/DestinationTest.java index 38991d26..1bcb58bc 100644 --- a/src/test/java/com/fireblocks/sdk/model/DestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathResponseTest.java b/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathResponseTest.java index a04908aa..5fa38896 100644 --- a/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathTest.java b/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathTest.java index 02f3896e..b50b6a6e 100644 --- a/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DestinationTransferPeerPathTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DirectAccessProviderDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/DirectAccessProviderDetailsTest.java index 9812e2d4..13a140ea 100644 --- a/src/test/java/com/fireblocks/sdk/model/DirectAccessProviderDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DirectAccessProviderDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DirectAccessProviderTest.java b/src/test/java/com/fireblocks/sdk/model/DirectAccessProviderTest.java index 70b13f30..02cc49cc 100644 --- a/src/test/java/com/fireblocks/sdk/model/DirectAccessProviderTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DirectAccessProviderTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DirectAccessTest.java b/src/test/java/com/fireblocks/sdk/model/DirectAccessTest.java index dd8d07a3..e01c4d04 100644 --- a/src/test/java/com/fireblocks/sdk/model/DirectAccessTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DirectAccessTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementAmountInstructionTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementAmountInstructionTest.java index 8f716930..475eeb9e 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementAmountInstructionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementAmountInstructionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementConfigOperationTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementConfigOperationTest.java index 4ec825cf..2625d530 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementConfigOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementConfigOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementInstructionOutputTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementInstructionOutputTest.java index 5f88c3b0..690093c7 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementInstructionOutputTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementInstructionOutputTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementInstructionTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementInstructionTest.java index 929ceab5..98a8c2e0 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementInstructionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementInstructionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationConfigParamsTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationConfigParamsTest.java index d3456847..88f9c7be 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationConfigParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationConfigParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionOutputTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionOutputTest.java index 02193fea..f1401b07 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionOutputTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionOutputTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsExecutionParamsTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsExecutionParamsTest.java index e1ece081..98c62444 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsExecutionParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsExecutionParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsTest.java index 584d3bf7..2b74736d 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionTest.java index fe5980e8..43076ca6 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationExecutionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationInputTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationInputTest.java index c76bab8d..eddc1015 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationInputTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationInputTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputInstructionSetInnerTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputInstructionSetInnerTest.java index ed5e396c..720dd009 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputInstructionSetInnerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputInstructionSetInnerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputTest.java index 21ef0f72..1acd0167 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewOutputTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewTest.java index 990fdf67..7a1374df 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationPreviewTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationTypeTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationTypeTest.java index c537d577..21a933ef 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementOperationTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementOperationTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementPercentageInstructionTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementPercentageInstructionTest.java index 7011a708..7fbb585e 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementPercentageInstructionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementPercentageInstructionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DisbursementValidationFailureTest.java b/src/test/java/com/fireblocks/sdk/model/DisbursementValidationFailureTest.java index 6b2097e7..f3b59a88 100644 --- a/src/test/java/com/fireblocks/sdk/model/DisbursementValidationFailureTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DisbursementValidationFailureTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DispatchPayoutResponseTest.java b/src/test/java/com/fireblocks/sdk/model/DispatchPayoutResponseTest.java index 0df774a0..8d191feb 100644 --- a/src/test/java/com/fireblocks/sdk/model/DispatchPayoutResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DispatchPayoutResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DraftResponseTest.java b/src/test/java/com/fireblocks/sdk/model/DraftResponseTest.java index f24f7bd7..9cd99357 100644 --- a/src/test/java/com/fireblocks/sdk/model/DraftResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DraftResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DraftReviewAndValidationResponseTest.java b/src/test/java/com/fireblocks/sdk/model/DraftReviewAndValidationResponseTest.java index c9802885..b4907c70 100644 --- a/src/test/java/com/fireblocks/sdk/model/DraftReviewAndValidationResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DraftReviewAndValidationResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DropTransactionRequestTest.java b/src/test/java/com/fireblocks/sdk/model/DropTransactionRequestTest.java index d65b3ff6..69ebe4d8 100644 --- a/src/test/java/com/fireblocks/sdk/model/DropTransactionRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DropTransactionRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DropTransactionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/DropTransactionResponseTest.java index 30e88577..421253ed 100644 --- a/src/test/java/com/fireblocks/sdk/model/DropTransactionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DropTransactionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DvnConfigTest.java b/src/test/java/com/fireblocks/sdk/model/DvnConfigTest.java index 30f24153..df4090f1 100644 --- a/src/test/java/com/fireblocks/sdk/model/DvnConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DvnConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/DvnConfigWithConfirmationsTest.java b/src/test/java/com/fireblocks/sdk/model/DvnConfigWithConfirmationsTest.java index 3e6565ee..7fa212d9 100644 --- a/src/test/java/com/fireblocks/sdk/model/DvnConfigWithConfirmationsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/DvnConfigWithConfirmationsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDtoTest.java b/src/test/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDtoTest.java index baa7ef5c..be2a6c2b 100644 --- a/src/test/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EVMTokenCreateParamsDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EditGasStationConfigurationResponseTest.java b/src/test/java/com/fireblocks/sdk/model/EditGasStationConfigurationResponseTest.java index 4da823e0..5a7e94ae 100644 --- a/src/test/java/com/fireblocks/sdk/model/EditGasStationConfigurationResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EditGasStationConfigurationResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAccountTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAccountTest.java index 2ea990c4..3dea524c 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAddressDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAddressDetailsTest.java index c242856d..f99369f7 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAddressDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAddressDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAlgoritmTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAlgoritmTest.java index 240ac8ee..9acf204b 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAlgoritmTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAlgoritmTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetBalanceTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetBalanceTest.java index 650d6f76..b8018d2b 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetBalanceTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetBalanceTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetResponseTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetResponseTest.java index c89fbbd6..95221584 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetRewardInfoTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetRewardInfoTest.java index e370596e..547a0f34 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetRewardInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletAssetRewardInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseSetupStatusInnerTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseSetupStatusInnerTest.java index 1ac4248a..f3034075 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseSetupStatusInnerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseSetupStatusInnerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseTest.java index d747039c..5d251d5a 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceKeySetupResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceTest.java index 4e81807f..a6d72c58 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletDeviceTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupKeyTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupKeyTest.java index af45329c..a6ca1c97 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupKeyTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupKeyTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupResponseTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupResponseTest.java index ef612508..6e0ee6b3 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletLatestBackupResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAddressesResponseTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAddressesResponseTest.java index 8ef434ed..822850f1 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAddressesResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAddressesResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAssetsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAssetsResponseTest.java index 2f43488e..5277d8a0 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAssetsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedAssetsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedDevicesResponseTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedDevicesResponseTest.java new file mode 100644 index 00000000..1636db6b --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedDevicesResponseTest.java @@ -0,0 +1,40 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for EmbeddedWalletPaginatedDevicesResponse */ +class EmbeddedWalletPaginatedDevicesResponseTest { + private final EmbeddedWalletPaginatedDevicesResponse model = + new EmbeddedWalletPaginatedDevicesResponse(); + + /** Model tests for EmbeddedWalletPaginatedDevicesResponse */ + @Test + void testEmbeddedWalletPaginatedDevicesResponse() { + // TODO: test EmbeddedWalletPaginatedDevicesResponse + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } + + /** Test the property 'next' */ + @Test + void nextTest() { + // TODO: test next + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedWalletsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedWalletsResponseTest.java index 347a6ada..34a41ce9 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedWalletsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletPaginatedWalletsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletRequiredAlgorithmsTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletRequiredAlgorithmsTest.java new file mode 100644 index 00000000..d82ad117 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletRequiredAlgorithmsTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for EmbeddedWalletRequiredAlgorithms */ +class EmbeddedWalletRequiredAlgorithmsTest { + /** Model tests for EmbeddedWalletRequiredAlgorithms */ + @Test + void testEmbeddedWalletRequiredAlgorithms() { + // TODO: test EmbeddedWalletRequiredAlgorithms + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletSetUpStatusTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletSetUpStatusTest.java index b272cb52..a57d9fae 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletSetUpStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletSetUpStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletSetupStatusResponseTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletSetupStatusResponseTest.java new file mode 100644 index 00000000..0f804184 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletSetupStatusResponseTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for EmbeddedWalletSetupStatusResponse */ +class EmbeddedWalletSetupStatusResponseTest { + private final EmbeddedWalletSetupStatusResponse model = new EmbeddedWalletSetupStatusResponse(); + + /** Model tests for EmbeddedWalletSetupStatusResponse */ + @Test + void testEmbeddedWalletSetupStatusResponse() { + // TODO: test EmbeddedWalletSetupStatusResponse + } + + /** Test the property 'status' */ + @Test + void statusTest() { + // TODO: test status + } + + /** Test the property 'requiredAlgorithms' */ + @Test + void requiredAlgorithmsTest() { + // TODO: test requiredAlgorithms + } + + /** Test the property 'deviceSetupStatus' */ + @Test + void deviceSetupStatusTest() { + // TODO: test deviceSetupStatus + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletTest.java b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletTest.java index c9b98451..26076d5a 100644 --- a/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EmbeddedWalletTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EnableDeviceTest.java b/src/test/java/com/fireblocks/sdk/model/EnableDeviceTest.java new file mode 100644 index 00000000..bdb1161a --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/EnableDeviceTest.java @@ -0,0 +1,33 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for EnableDevice */ +class EnableDeviceTest { + private final EnableDevice model = new EnableDevice(); + + /** Model tests for EnableDevice */ + @Test + void testEnableDevice() { + // TODO: test EnableDevice + } + + /** Test the property 'enabled' */ + @Test + void enabledTest() { + // TODO: test enabled + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/EnableWalletTest.java b/src/test/java/com/fireblocks/sdk/model/EnableWalletTest.java new file mode 100644 index 00000000..df46d1a7 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/EnableWalletTest.java @@ -0,0 +1,33 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for EnableWallet */ +class EnableWalletTest { + private final EnableWallet model = new EnableWallet(); + + /** Model tests for EnableWallet */ + @Test + void testEnableWallet() { + // TODO: test EnableWallet + } + + /** Test the property 'enabled' */ + @Test + void enabledTest() { + // TODO: test enabled + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ErrorCodesTest.java b/src/test/java/com/fireblocks/sdk/model/ErrorCodesTest.java deleted file mode 100644 index 860776c5..00000000 --- a/src/test/java/com/fireblocks/sdk/model/ErrorCodesTest.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for ErrorCodes */ -class ErrorCodesTest { - /** Model tests for ErrorCodes */ - @Test - void testErrorCodes() { - // TODO: test ErrorCodes - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/ErrorResponseErrorTest.java b/src/test/java/com/fireblocks/sdk/model/ErrorResponseErrorTest.java index e7f099ce..a9fe748f 100644 --- a/src/test/java/com/fireblocks/sdk/model/ErrorResponseErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ErrorResponseErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ErrorResponseTest.java index 842ae111..54b3f7d2 100644 --- a/src/test/java/com/fireblocks/sdk/model/ErrorResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ErrorResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ErrorSchemaTest.java b/src/test/java/com/fireblocks/sdk/model/ErrorSchemaTest.java index 0179aee1..b9cb4cb5 100644 --- a/src/test/java/com/fireblocks/sdk/model/ErrorSchemaTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ErrorSchemaTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EstimatedFeeDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/EstimatedFeeDetailsTest.java index b112d28c..d11bb1ce 100644 --- a/src/test/java/com/fireblocks/sdk/model/EstimatedFeeDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EstimatedFeeDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EstimatedNetworkFeeResponseTest.java b/src/test/java/com/fireblocks/sdk/model/EstimatedNetworkFeeResponseTest.java index f021d775..1623f3a2 100644 --- a/src/test/java/com/fireblocks/sdk/model/EstimatedNetworkFeeResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EstimatedNetworkFeeResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EstimatedTransactionFeeResponseTest.java b/src/test/java/com/fireblocks/sdk/model/EstimatedTransactionFeeResponseTest.java index 895571dd..367b12ef 100644 --- a/src/test/java/com/fireblocks/sdk/model/EstimatedTransactionFeeResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/EstimatedTransactionFeeResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/EthereumBlockchainDataTest.java b/src/test/java/com/fireblocks/sdk/model/EthereumBlockchainDataTest.java new file mode 100644 index 00000000..a3573e62 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/EthereumBlockchainDataTest.java @@ -0,0 +1,33 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for EthereumBlockchainData */ +class EthereumBlockchainDataTest { + private final EthereumBlockchainData model = new EthereumBlockchainData(); + + /** Model tests for EthereumBlockchainData */ + @Test + void testEthereumBlockchainData() { + // TODO: test EthereumBlockchainData + } + + /** Test the property 'isCompoundingValidator' */ + @Test + void isCompoundingValidatorTest() { + // TODO: test isCompoundingValidator + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/EuropeanSEPAAddressTest.java b/src/test/java/com/fireblocks/sdk/model/EuropeanSEPAAddressTest.java new file mode 100644 index 00000000..16e5a2a2 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/EuropeanSEPAAddressTest.java @@ -0,0 +1,75 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for EuropeanSEPAAddress */ +class EuropeanSEPAAddressTest { + private final EuropeanSEPAAddress model = new EuropeanSEPAAddress(); + + /** Model tests for EuropeanSEPAAddress */ + @Test + void testEuropeanSEPAAddress() { + // TODO: test EuropeanSEPAAddress + } + + /** Test the property 'accountHolder' */ + @Test + void accountHolderTest() { + // TODO: test accountHolder + } + + /** Test the property 'iban' */ + @Test + void ibanTest() { + // TODO: test iban + } + + /** Test the property 'bic' */ + @Test + void bicTest() { + // TODO: test bic + } + + /** Test the property 'bankName' */ + @Test + void bankNameTest() { + // TODO: test bankName + } + + /** Test the property 'bankBranch' */ + @Test + void bankBranchTest() { + // TODO: test bankBranch + } + + /** Test the property 'bankAddress' */ + @Test + void bankAddressTest() { + // TODO: test bankAddress + } + + /** Test the property 'purposeCode' */ + @Test + void purposeCodeTest() { + // TODO: test purposeCode + } + + /** Test the property 'taxId' */ + @Test + void taxIdTest() { + // TODO: test taxId + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/EuropeanSEPADestinationTest.java b/src/test/java/com/fireblocks/sdk/model/EuropeanSEPADestinationTest.java new file mode 100644 index 00000000..964793c1 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/EuropeanSEPADestinationTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for EuropeanSEPADestination */ +class EuropeanSEPADestinationTest { + private final EuropeanSEPADestination model = new EuropeanSEPADestination(); + + /** Model tests for EuropeanSEPADestination */ + @Test + void testEuropeanSEPADestination() { + // TODO: test EuropeanSEPADestination + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'address' */ + @Test + void addressTest() { + // TODO: test address + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ExchangeAccountTest.java b/src/test/java/com/fireblocks/sdk/model/ExchangeAccountTest.java index bea0d722..742d1896 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExchangeAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExchangeAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExchangeAssetTest.java b/src/test/java/com/fireblocks/sdk/model/ExchangeAssetTest.java index 885fd1e7..fc6f01bb 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExchangeAssetTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExchangeAssetTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExchangeSettlementTransactionsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ExchangeSettlementTransactionsResponseTest.java index 55af51f9..fe1570dd 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExchangeSettlementTransactionsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExchangeSettlementTransactionsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExchangeTradingAccountTest.java b/src/test/java/com/fireblocks/sdk/model/ExchangeTradingAccountTest.java index e37cc2ee..df38aa4b 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExchangeTradingAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExchangeTradingAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExchangeTypeTest.java b/src/test/java/com/fireblocks/sdk/model/ExchangeTypeTest.java index a9db54eb..9d11e698 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExchangeTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExchangeTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionConversionOperationTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionConversionOperationTest.java index a6489ca0..b388886d 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionConversionOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionConversionOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionDisbursementOperationTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionDisbursementOperationTest.java index 592d0366..3076a38c 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionDisbursementOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionDisbursementOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionOperationStatusTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionOperationStatusTest.java index 2ff1c7db..ab8b9577 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionOperationStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionOperationStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionRequestBaseDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionRequestBaseDetailsTest.java index 4f96dff4..4fccf58f 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionRequestBaseDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionRequestBaseDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionRequestDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionRequestDetailsTest.java index 7af9dad1..1ec47125 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionRequestDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionRequestDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -31,18 +31,6 @@ void typeTest() { // TODO: test type } - /** Test the property 'timeInForce' */ - @Test - void timeInForceTest() { - // TODO: test timeInForce - } - - /** Test the property 'limitPrice' */ - @Test - void limitPriceTest() { - // TODO: test limitPrice - } - /** Test the property 'side' */ @Test void sideTest() { diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionResponseBaseDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionResponseBaseDetailsTest.java index ead10f95..4f3e1783 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionResponseBaseDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionResponseBaseDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionResponseDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionResponseDetailsTest.java index 9d5c2952..e4af11a1 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionResponseDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionResponseDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -31,18 +31,6 @@ void typeTest() { // TODO: test type } - /** Test the property 'timeInForce' */ - @Test - void timeInForceTest() { - // TODO: test timeInForce - } - - /** Test the property 'limitPrice' */ - @Test - void limitPriceTest() { - // TODO: test limitPrice - } - /** Test the property 'side' */ @Test void sideTest() { diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionScreeningOperationTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionScreeningOperationTest.java index 056f447d..3d8897f0 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionScreeningOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionScreeningOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionStepDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionStepDetailsTest.java deleted file mode 100644 index 4a9a79db..00000000 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionStepDetailsTest.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for ExecutionStepDetails */ -class ExecutionStepDetailsTest { - private final ExecutionStepDetails model = new ExecutionStepDetails(); - - /** Model tests for ExecutionStepDetails */ - @Test - void testExecutionStepDetails() { - // TODO: test ExecutionStepDetails - } - - /** Test the property 'type' */ - @Test - void typeTest() { - // TODO: test type - } - - /** Test the property 'fee' */ - @Test - void feeTest() { - // TODO: test fee - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionStepErrorTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionStepErrorTest.java index 0505cbfc..c62c46b7 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionStepErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionStepErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionStepStatusEnumTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionStepStatusEnumTest.java index 4421a606..ad6bcec4 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionStepStatusEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionStepStatusEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionStepTypeTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionStepTypeTest.java index 83464076..ffbb6a8d 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionStepTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionStepTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionTransferOperationTest.java b/src/test/java/com/fireblocks/sdk/model/ExecutionTransferOperationTest.java index 768c282d..f1c27d19 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionTransferOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExecutionTransferOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaTest.java b/src/test/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaTest.java new file mode 100644 index 00000000..ce376bc4 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for ExternalAccountLocalBankAfrica */ +class ExternalAccountLocalBankAfricaTest { + private final ExternalAccountLocalBankAfrica model = new ExternalAccountLocalBankAfrica(); + + /** Model tests for ExternalAccountLocalBankAfrica */ + @Test + void testExternalAccountLocalBankAfrica() { + // TODO: test ExternalAccountLocalBankAfrica + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'accountNumber' */ + @Test + void accountNumberTest() { + // TODO: test accountNumber + } + + /** Test the property 'bankName' */ + @Test + void bankNameTest() { + // TODO: test bankName + } + + /** Test the property 'bankCode' */ + @Test + void bankCodeTest() { + // TODO: test bankCode + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaTypeTest.java b/src/test/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaTypeTest.java new file mode 100644 index 00000000..fdc3f76d --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/ExternalAccountLocalBankAfricaTypeTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for ExternalAccountLocalBankAfricaType */ +class ExternalAccountLocalBankAfricaTypeTest { + /** Model tests for ExternalAccountLocalBankAfricaType */ + @Test + void testExternalAccountLocalBankAfricaType() { + // TODO: test ExternalAccountLocalBankAfricaType + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyProviderTest.java b/src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyProviderTest.java new file mode 100644 index 00000000..dce51aad --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyProviderTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for ExternalAccountMobileMoneyProvider */ +class ExternalAccountMobileMoneyProviderTest { + /** Model tests for ExternalAccountMobileMoneyProvider */ + @Test + void testExternalAccountMobileMoneyProvider() { + // TODO: test ExternalAccountMobileMoneyProvider + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyTest.java b/src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyTest.java new file mode 100644 index 00000000..24ab3b11 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for ExternalAccountMobileMoney */ +class ExternalAccountMobileMoneyTest { + private final ExternalAccountMobileMoney model = new ExternalAccountMobileMoney(); + + /** Model tests for ExternalAccountMobileMoney */ + @Test + void testExternalAccountMobileMoney() { + // TODO: test ExternalAccountMobileMoney + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'mobilePhoneNumber' */ + @Test + void mobilePhoneNumberTest() { + // TODO: test mobilePhoneNumber + } + + /** Test the property 'provider' */ + @Test + void providerTest() { + // TODO: test provider + } + + /** Test the property 'email' */ + @Test + void emailTest() { + // TODO: test email + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyTypeTest.java b/src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyTypeTest.java new file mode 100644 index 00000000..165c8340 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/ExternalAccountMobileMoneyTypeTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for ExternalAccountMobileMoneyType */ +class ExternalAccountMobileMoneyTypeTest { + /** Model tests for ExternalAccountMobileMoneyType */ + @Test + void testExternalAccountMobileMoneyType() { + // TODO: test ExternalAccountMobileMoneyType + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ExternalAccountSenderInformationTest.java b/src/test/java/com/fireblocks/sdk/model/ExternalAccountSenderInformationTest.java new file mode 100644 index 00000000..8fdb922a --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/ExternalAccountSenderInformationTest.java @@ -0,0 +1,69 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for ExternalAccountSenderInformation */ +class ExternalAccountSenderInformationTest { + private final ExternalAccountSenderInformation model = new ExternalAccountSenderInformation(); + + /** Model tests for ExternalAccountSenderInformation */ + @Test + void testExternalAccountSenderInformation() { + // TODO: test ExternalAccountSenderInformation + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'mobilePhoneNumber' */ + @Test + void mobilePhoneNumberTest() { + // TODO: test mobilePhoneNumber + } + + /** Test the property 'provider' */ + @Test + void providerTest() { + // TODO: test provider + } + + /** Test the property 'email' */ + @Test + void emailTest() { + // TODO: test email + } + + /** Test the property 'accountNumber' */ + @Test + void accountNumberTest() { + // TODO: test accountNumber + } + + /** Test the property 'bankName' */ + @Test + void bankNameTest() { + // TODO: test bankName + } + + /** Test the property 'bankCode' */ + @Test + void bankCodeTest() { + // TODO: test bankCode + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ExternalAccountTest.java b/src/test/java/com/fireblocks/sdk/model/ExternalAccountTest.java index f011ee64..8d5e4af6 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExternalAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExternalAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -30,4 +30,10 @@ void testExternalAccount() { void typeTest() { // TODO: test type } + + /** Test the property 'senderInformation' */ + @Test + void senderInformationTest() { + // TODO: test senderInformation + } } diff --git a/src/test/java/com/fireblocks/sdk/model/ExternalAccountTypeTest.java b/src/test/java/com/fireblocks/sdk/model/ExternalAccountTypeTest.java new file mode 100644 index 00000000..94471cb9 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/ExternalAccountTypeTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for ExternalAccountType */ +class ExternalAccountTypeTest { + /** Model tests for ExternalAccountType */ + @Test + void testExternalAccountType() { + // TODO: test ExternalAccountType + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ExternalWalletAssetTest.java b/src/test/java/com/fireblocks/sdk/model/ExternalWalletAssetTest.java index e1775fe0..2d0b55db 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExternalWalletAssetTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ExternalWalletAssetTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FailureReasonTest.java b/src/test/java/com/fireblocks/sdk/model/FailureReasonTest.java new file mode 100644 index 00000000..4bfb0eca --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/FailureReasonTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for FailureReason */ +class FailureReasonTest { + /** Model tests for FailureReason */ + @Test + void testFailureReason() { + // TODO: test FailureReason + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/FailureTest.java b/src/test/java/com/fireblocks/sdk/model/FailureTest.java new file mode 100644 index 00000000..331691cb --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/FailureTest.java @@ -0,0 +1,33 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for Failure */ +class FailureTest { + private final Failure model = new Failure(); + + /** Model tests for Failure */ + @Test + void testFailure() { + // TODO: test Failure + } + + /** Test the property 'reason' */ + @Test + void reasonTest() { + // TODO: test reason + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/FeeBreakdownOneOf1Test.java b/src/test/java/com/fireblocks/sdk/model/FeeBreakdownOneOf1Test.java index 1521e1f1..7c7582d2 100644 --- a/src/test/java/com/fireblocks/sdk/model/FeeBreakdownOneOf1Test.java +++ b/src/test/java/com/fireblocks/sdk/model/FeeBreakdownOneOf1Test.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FeeBreakdownOneOfTest.java b/src/test/java/com/fireblocks/sdk/model/FeeBreakdownOneOfTest.java index e8cb116b..45f558fe 100644 --- a/src/test/java/com/fireblocks/sdk/model/FeeBreakdownOneOfTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FeeBreakdownOneOfTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FeeBreakdownTest.java b/src/test/java/com/fireblocks/sdk/model/FeeBreakdownTest.java index ab9bef14..b0578aa6 100644 --- a/src/test/java/com/fireblocks/sdk/model/FeeBreakdownTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FeeBreakdownTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FeeInfoTest.java b/src/test/java/com/fireblocks/sdk/model/FeeInfoTest.java index 115d8e80..70af03bc 100644 --- a/src/test/java/com/fireblocks/sdk/model/FeeInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FeeInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FeeLevelTest.java b/src/test/java/com/fireblocks/sdk/model/FeeLevelTest.java index 07988b98..8bfda805 100644 --- a/src/test/java/com/fireblocks/sdk/model/FeeLevelTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FeeLevelTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FeePayerInfoTest.java b/src/test/java/com/fireblocks/sdk/model/FeePayerInfoTest.java index 8d4a6fe5..e7b21f2f 100644 --- a/src/test/java/com/fireblocks/sdk/model/FeePayerInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FeePayerInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FeePropertiesDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/FeePropertiesDetailsTest.java index c1231af4..c0fb118b 100644 --- a/src/test/java/com/fireblocks/sdk/model/FeePropertiesDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FeePropertiesDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -36,10 +36,4 @@ void feeTypeTest() { void assetIdTest() { // TODO: test assetId } - - /** Test the property 'amountType' */ - @Test - void amountTypeTest() { - // TODO: test amountType - } } diff --git a/src/test/java/com/fireblocks/sdk/model/FeeTest.java b/src/test/java/com/fireblocks/sdk/model/FeeTest.java index b39d5108..ef2ec133 100644 --- a/src/test/java/com/fireblocks/sdk/model/FeeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FeeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FeeTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/FeeTypeEnumTest.java new file mode 100644 index 00000000..6f5fed0d --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/FeeTypeEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for FeeTypeEnum */ +class FeeTypeEnumTest { + /** Model tests for FeeTypeEnum */ + @Test + void testFeeTypeEnum() { + // TODO: test FeeTypeEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/FetchAbiRequestDtoTest.java b/src/test/java/com/fireblocks/sdk/model/FetchAbiRequestDtoTest.java index f8d5808a..19b962bd 100644 --- a/src/test/java/com/fireblocks/sdk/model/FetchAbiRequestDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FetchAbiRequestDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FiatAccountTest.java b/src/test/java/com/fireblocks/sdk/model/FiatAccountTest.java index 67c0f460..2af194d3 100644 --- a/src/test/java/com/fireblocks/sdk/model/FiatAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FiatAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FiatAccountTypeTest.java b/src/test/java/com/fireblocks/sdk/model/FiatAccountTypeTest.java index 53979c71..75103d20 100644 --- a/src/test/java/com/fireblocks/sdk/model/FiatAccountTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FiatAccountTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FiatAssetTest.java b/src/test/java/com/fireblocks/sdk/model/FiatAssetTest.java index a6b849ee..53f62c67 100644 --- a/src/test/java/com/fireblocks/sdk/model/FiatAssetTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FiatAssetTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.java index dfdb6e58..20680b44 100644 --- a/src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FiatDestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FiatPaymentMetadataTest.java b/src/test/java/com/fireblocks/sdk/model/FiatPaymentMetadataTest.java new file mode 100644 index 00000000..41752dd5 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/FiatPaymentMetadataTest.java @@ -0,0 +1,33 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for FiatPaymentMetadata */ +class FiatPaymentMetadataTest { + private final FiatPaymentMetadata model = new FiatPaymentMetadata(); + + /** Model tests for FiatPaymentMetadata */ + @Test + void testFiatPaymentMetadata() { + // TODO: test FiatPaymentMetadata + } + + /** Test the property 'referenceId' */ + @Test + void referenceIdTest() { + // TODO: test referenceId + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/FiatTransferTest.java b/src/test/java/com/fireblocks/sdk/model/FiatTransferTest.java index d5c350e3..08650a1c 100644 --- a/src/test/java/com/fireblocks/sdk/model/FiatTransferTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FiatTransferTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FixedAmountTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/FixedAmountTypeEnumTest.java new file mode 100644 index 00000000..fecf1662 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/FixedAmountTypeEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for FixedAmountTypeEnum */ +class FixedAmountTypeEnumTest { + /** Model tests for FixedAmountTypeEnum */ + @Test + void testFixedAmountTypeEnum() { + // TODO: test FixedAmountTypeEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/FixedFeeTest.java b/src/test/java/com/fireblocks/sdk/model/FixedFeeTest.java index d9070066..54553880 100644 --- a/src/test/java/com/fireblocks/sdk/model/FixedFeeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FixedFeeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FreezeTransactionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/FreezeTransactionResponseTest.java index 0dc15c4e..af0f3fd2 100644 --- a/src/test/java/com/fireblocks/sdk/model/FreezeTransactionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FreezeTransactionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FunctionDocTest.java b/src/test/java/com/fireblocks/sdk/model/FunctionDocTest.java index ed865362..1c509331 100644 --- a/src/test/java/com/fireblocks/sdk/model/FunctionDocTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FunctionDocTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/FundsTest.java b/src/test/java/com/fireblocks/sdk/model/FundsTest.java index bd758da1..670e31c4 100644 --- a/src/test/java/com/fireblocks/sdk/model/FundsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/FundsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GasStationConfigurationResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GasStationConfigurationResponseTest.java index 71eda4e3..608b88a2 100644 --- a/src/test/java/com/fireblocks/sdk/model/GasStationConfigurationResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GasStationConfigurationResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GasStationConfigurationTest.java b/src/test/java/com/fireblocks/sdk/model/GasStationConfigurationTest.java index e00b645b..21e3d8fb 100644 --- a/src/test/java/com/fireblocks/sdk/model/GasStationConfigurationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GasStationConfigurationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GasStationPropertiesResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GasStationPropertiesResponseTest.java index 59b21aec..eef9e6ef 100644 --- a/src/test/java/com/fireblocks/sdk/model/GasStationPropertiesResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GasStationPropertiesResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsGaslessStandardConfigurationsValueTest.java b/src/test/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsGaslessStandardConfigurationsValueTest.java index c451957e..cc177dd9 100644 --- a/src/test/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsGaslessStandardConfigurationsValueTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsGaslessStandardConfigurationsValueTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsTest.java b/src/test/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsTest.java index 598c2e09..05901a5e 100644 --- a/src/test/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GasslessStandardConfigurationsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetAPIUsersResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetAPIUsersResponseTest.java index 0c061e7b..6ca1af85 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetAPIUsersResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetAPIUsersResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetAuditLogsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetAuditLogsResponseTest.java index ebbb4a4e..5c0dc825 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetAuditLogsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetAuditLogsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetConnectionsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetConnectionsResponseTest.java index 1f7aa02f..9259197e 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetConnectionsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetConnectionsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetConsoleUsersResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetConsoleUsersResponseTest.java index 6fc2b1a3..6366bf5b 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetConsoleUsersResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetConsoleUsersResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetDeployableAddressRequestTest.java b/src/test/java/com/fireblocks/sdk/model/GetDeployableAddressRequestTest.java index fc4834a4..d67a2869 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetDeployableAddressRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetDeployableAddressRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetExchangeAccountsCredentialsPublicKeyResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetExchangeAccountsCredentialsPublicKeyResponseTest.java index 4c1f7dd1..6f36369c 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetExchangeAccountsCredentialsPublicKeyResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetExchangeAccountsCredentialsPublicKeyResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetFilterParameterTest.java b/src/test/java/com/fireblocks/sdk/model/GetFilterParameterTest.java index 761c1d06..16289fda 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetFilterParameterTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetFilterParameterTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetLayerZeroDvnConfigResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetLayerZeroDvnConfigResponseTest.java index 54060f9f..d69212a5 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetLayerZeroDvnConfigResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetLayerZeroDvnConfigResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetLayerZeroPeersResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetLayerZeroPeersResponseTest.java index 04da14dc..69451304 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetLayerZeroPeersResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetLayerZeroPeersResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetLinkedCollectionsPaginatedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetLinkedCollectionsPaginatedResponseTest.java index bd9b6445..25cc0538 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetLinkedCollectionsPaginatedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetLinkedCollectionsPaginatedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetMaxBipIndexUsedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetMaxBipIndexUsedResponseTest.java new file mode 100644 index 00000000..2b04905d --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/GetMaxBipIndexUsedResponseTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for GetMaxBipIndexUsedResponse */ +class GetMaxBipIndexUsedResponseTest { + private final GetMaxBipIndexUsedResponse model = new GetMaxBipIndexUsedResponse(); + + /** Model tests for GetMaxBipIndexUsedResponse */ + @Test + void testGetMaxBipIndexUsedResponse() { + // TODO: test GetMaxBipIndexUsedResponse + } + + /** Test the property 'maxBip44AddressIndexUsed' */ + @Test + void maxBip44AddressIndexUsedTest() { + // TODO: test maxBip44AddressIndexUsed + } + + /** Test the property 'maxBip44ChangeAddressIndexUsed' */ + @Test + void maxBip44ChangeAddressIndexUsedTest() { + // TODO: test maxBip44ChangeAddressIndexUsed + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponseTest.java index 3cce489f..ccb2f0b4 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetMaxSpendableAmountResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetMpcKeysResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetMpcKeysResponseTest.java index 72caf88b..7ec27fd0 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetMpcKeysResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetMpcKeysResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetNFTsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetNFTsResponseTest.java index 267f8c8c..1c1781c2 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetNFTsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetNFTsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetOrdersResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetOrdersResponseTest.java index fda17848..6d37e230 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetOrdersResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetOrdersResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetOtaStatusResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetOtaStatusResponseTest.java index 0ce1cc62..2df32834 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetOtaStatusResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetOtaStatusResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetOwnershipTokensResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetOwnershipTokensResponseTest.java index 13702c73..99263bb1 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetOwnershipTokensResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetOwnershipTokensResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponsePagingTest.java b/src/test/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponsePagingTest.java index 201b5953..5799d6f3 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponsePagingTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponsePagingTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponseTest.java index cff39cae..6554429b 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetPagedExchangeAccountsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetSigningKeyResponseDtoTest.java b/src/test/java/com/fireblocks/sdk/model/GetSigningKeyResponseDtoTest.java index dedbcf4b..0bb61fc0 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetSigningKeyResponseDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetSigningKeyResponseDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetTransactionOperationTest.java b/src/test/java/com/fireblocks/sdk/model/GetTransactionOperationTest.java index ba1b68de..cdb31860 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetTransactionOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetTransactionOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetValidationKeyResponseDtoTest.java b/src/test/java/com/fireblocks/sdk/model/GetValidationKeyResponseDtoTest.java index 6b1113fe..a74e1994 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetValidationKeyResponseDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetValidationKeyResponseDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetWhitelistIpAddressesResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetWhitelistIpAddressesResponseTest.java index 94efb9ee..b4b54578 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetWhitelistIpAddressesResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetWhitelistIpAddressesResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/GetWorkspaceStatusResponseTest.java b/src/test/java/com/fireblocks/sdk/model/GetWorkspaceStatusResponseTest.java index 8cbe2495..52e26c33 100644 --- a/src/test/java/com/fireblocks/sdk/model/GetWorkspaceStatusResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/GetWorkspaceStatusResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/HttpContractDoesNotExistErrorTest.java b/src/test/java/com/fireblocks/sdk/model/HttpContractDoesNotExistErrorTest.java index 00db96ca..e3f3caae 100644 --- a/src/test/java/com/fireblocks/sdk/model/HttpContractDoesNotExistErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/HttpContractDoesNotExistErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/IbanAddressTest.java b/src/test/java/com/fireblocks/sdk/model/IbanAddressTest.java index 152a83ac..01996872 100644 --- a/src/test/java/com/fireblocks/sdk/model/IbanAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/IbanAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/IbanDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/IbanDestinationTest.java index 8ac91bd3..f66c9745 100644 --- a/src/test/java/com/fireblocks/sdk/model/IbanDestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/IbanDestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/IbanPaymentInfoTest.java b/src/test/java/com/fireblocks/sdk/model/IbanPaymentInfoTest.java index a12200ca..bb7c698f 100644 --- a/src/test/java/com/fireblocks/sdk/model/IbanPaymentInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/IbanPaymentInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/IdentificationTest.java b/src/test/java/com/fireblocks/sdk/model/IdentificationTest.java index badb09aa..9bfe44fd 100644 --- a/src/test/java/com/fireblocks/sdk/model/IdentificationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/IdentificationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -61,6 +61,18 @@ void postalAddressTest() { // TODO: test postalAddress } + /** Test the property 'email' */ + @Test + void emailTest() { + // TODO: test email + } + + /** Test the property 'phone' */ + @Test + void phoneTest() { + // TODO: test phone + } + /** Test the property 'businessName' */ @Test void businessNameTest() { diff --git a/src/test/java/com/fireblocks/sdk/model/IdlTypeTest.java b/src/test/java/com/fireblocks/sdk/model/IdlTypeTest.java index b5479c5c..e46fe76f 100644 --- a/src/test/java/com/fireblocks/sdk/model/IdlTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/IdlTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/IndicativeQuoteEnumTest.java b/src/test/java/com/fireblocks/sdk/model/IndicativeQuoteEnumTest.java new file mode 100644 index 00000000..db0637e8 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/IndicativeQuoteEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for IndicativeQuoteEnum */ +class IndicativeQuoteEnumTest { + /** Model tests for IndicativeQuoteEnum */ + @Test + void testIndicativeQuoteEnum() { + // TODO: test IndicativeQuoteEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/IndicativeQuoteTypeTest.java b/src/test/java/com/fireblocks/sdk/model/IndicativeQuoteTypeTest.java index 85aee33a..fffdb10a 100644 --- a/src/test/java/com/fireblocks/sdk/model/IndicativeQuoteTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/IndicativeQuoteTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/InitiatorConfigPatternTest.java b/src/test/java/com/fireblocks/sdk/model/InitiatorConfigPatternTest.java index f3fc6fde..3c8e3712 100644 --- a/src/test/java/com/fireblocks/sdk/model/InitiatorConfigPatternTest.java +++ b/src/test/java/com/fireblocks/sdk/model/InitiatorConfigPatternTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/InitiatorConfigTest.java b/src/test/java/com/fireblocks/sdk/model/InitiatorConfigTest.java index e91ab323..0025067a 100644 --- a/src/test/java/com/fireblocks/sdk/model/InitiatorConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/InitiatorConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/InstructionAmountTest.java b/src/test/java/com/fireblocks/sdk/model/InstructionAmountTest.java index db22b4bd..cd500297 100644 --- a/src/test/java/com/fireblocks/sdk/model/InstructionAmountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/InstructionAmountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/InternalReferenceTest.java b/src/test/java/com/fireblocks/sdk/model/InternalReferenceTest.java index 8e3c985a..b0080768 100644 --- a/src/test/java/com/fireblocks/sdk/model/InternalReferenceTest.java +++ b/src/test/java/com/fireblocks/sdk/model/InternalReferenceTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/InternalTransferResponseTest.java b/src/test/java/com/fireblocks/sdk/model/InternalTransferResponseTest.java index f50cced9..c902560c 100644 --- a/src/test/java/com/fireblocks/sdk/model/InternalTransferResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/InternalTransferResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/InvalidParamaterValueErrorTest.java b/src/test/java/com/fireblocks/sdk/model/InvalidParamaterValueErrorTest.java index 0a712c08..12b39e32 100644 --- a/src/test/java/com/fireblocks/sdk/model/InvalidParamaterValueErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/InvalidParamaterValueErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/JobCreatedTest.java b/src/test/java/com/fireblocks/sdk/model/JobCreatedTest.java index 401e1427..be156ece 100644 --- a/src/test/java/com/fireblocks/sdk/model/JobCreatedTest.java +++ b/src/test/java/com/fireblocks/sdk/model/JobCreatedTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/JobTest.java b/src/test/java/com/fireblocks/sdk/model/JobTest.java deleted file mode 100644 index 81c860d3..00000000 --- a/src/test/java/com/fireblocks/sdk/model/JobTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for Job */ -class JobTest { - private final Job model = new Job(); - - /** Model tests for Job */ - @Test - void testJob() { - // TODO: test Job - } - - /** Test the property 'id' */ - @Test - void idTest() { - // TODO: test id - } - - /** Test the property 'tenantId' */ - @Test - void tenantIdTest() { - // TODO: test tenantId - } - - /** Test the property 'type' */ - @Test - void typeTest() { - // TODO: test type - } - - /** Test the property 'userId' */ - @Test - void userIdTest() { - // TODO: test userId - } - - /** Test the property 'created' */ - @Test - void createdTest() { - // TODO: test created - } - - /** Test the property 'updated' */ - @Test - void updatedTest() { - // TODO: test updated - } - - /** Test the property 'state' */ - @Test - void stateTest() { - // TODO: test state - } - - /** Test the property 'tasks' */ - @Test - void tasksTest() { - // TODO: test tasks - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/LayerZeroAdapterCreateParamsTest.java b/src/test/java/com/fireblocks/sdk/model/LayerZeroAdapterCreateParamsTest.java index 94988fb0..72e522e2 100644 --- a/src/test/java/com/fireblocks/sdk/model/LayerZeroAdapterCreateParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LayerZeroAdapterCreateParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LbtPaymentInfoTest.java b/src/test/java/com/fireblocks/sdk/model/LbtPaymentInfoTest.java index 31062330..bca0f6e5 100644 --- a/src/test/java/com/fireblocks/sdk/model/LbtPaymentInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LbtPaymentInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LeanAbiFunctionTest.java b/src/test/java/com/fireblocks/sdk/model/LeanAbiFunctionTest.java index fb11fde2..1c5d096c 100644 --- a/src/test/java/com/fireblocks/sdk/model/LeanAbiFunctionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LeanAbiFunctionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LeanContractDtoTest.java b/src/test/java/com/fireblocks/sdk/model/LeanContractDtoTest.java index cbff6354..972ce5d7 100644 --- a/src/test/java/com/fireblocks/sdk/model/LeanContractDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LeanContractDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LeanDeployedContractResponseDtoTest.java b/src/test/java/com/fireblocks/sdk/model/LeanDeployedContractResponseDtoTest.java index d82095d4..4fe5d5a6 100644 --- a/src/test/java/com/fireblocks/sdk/model/LeanDeployedContractResponseDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LeanDeployedContractResponseDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyAmountAggregationTimePeriodMethodTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyAmountAggregationTimePeriodMethodTest.java index c22f9d7d..9f4896e7 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyAmountAggregationTimePeriodMethodTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyAmountAggregationTimePeriodMethodTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyDraftResponseTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyDraftResponseTest.java index 5511682c..bd3116d9 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyDraftResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyDraftResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyDraftReviewAndValidationResponseTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyDraftReviewAndValidationResponseTest.java index 5686c819..968a3632 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyDraftReviewAndValidationResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyDraftReviewAndValidationResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyAndValidationResponseTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyAndValidationResponseTest.java index 6ed74041..1f0c4576 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyAndValidationResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyAndValidationResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyCheckResultTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyCheckResultTest.java index c3dd6e06..9f8f6c58 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyCheckResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyCheckResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyMetadataTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyMetadataTest.java index 7cc8ce94..09f9c238 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyMetadataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyMetadataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyResponseTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyResponseTest.java index 6a84093d..12397aa9 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountAggregationTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountAggregationTest.java index 8c7636e6..e0ce08f4 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountAggregationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountAggregationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountTest.java index 4aecf994..464c9841 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAmountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsGroupsInnerTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsGroupsInnerTest.java index c4527e70..47c4462e 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsGroupsInnerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsGroupsInnerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsTest.java index c9a1724c..75c6e4e7 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleAuthorizationGroupsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleCheckResultTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleCheckResultTest.java index 74aa112b..2cd2d31d 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleCheckResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleCheckResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleDesignatedSignersTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleDesignatedSignersTest.java index 247133d1..de23c3ba 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleDesignatedSignersTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleDesignatedSignersTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleDstTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleDstTest.java index db810e3b..24903274 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleDstTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleDstTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleErrorTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleErrorTest.java index ef414606..8c937fed 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleOperatorsTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleOperatorsTest.java index a9ef2aed..ce3a8c3f 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleOperatorsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleOperatorsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningDerivationPathTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningDerivationPathTest.java index bc587797..21b9512d 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningDerivationPathTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningDerivationPathTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningTest.java index 41a212ea..770253b7 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleRawMessageSigningTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleSrcTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleSrcTest.java index 6deb7926..c3ecc5fb 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleSrcTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleSrcTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleTest.java index 8cc3c851..eeb9e0f3 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRulesTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRulesTest.java index bbce1a42..f6722507 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRulesTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyRulesTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestSubTypeTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestSubTypeTest.java index bd9323fe..246d9aa4 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestSubTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestSubTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestTypeTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestTypeTest.java index 7093db3f..17eaa673 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicySrcOrDestTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyStatusTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyStatusTest.java index 01a4c6e5..400c6278 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyValidationTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyValidationTest.java index c7f21f3f..ff45e5ec 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPolicyValidationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPolicyValidationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPublishDraftRequestTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPublishDraftRequestTest.java index 80fc0d6e..7ab43b3f 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPublishDraftRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPublishDraftRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacyPublishResultTest.java b/src/test/java/com/fireblocks/sdk/model/LegacyPublishResultTest.java index 44b68e53..74d827f1 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacyPublishResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacyPublishResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LegacySrcOrDestAttributesInnerTest.java b/src/test/java/com/fireblocks/sdk/model/LegacySrcOrDestAttributesInnerTest.java index 73420389..56437c93 100644 --- a/src/test/java/com/fireblocks/sdk/model/LegacySrcOrDestAttributesInnerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LegacySrcOrDestAttributesInnerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LimitExecutionRequestDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/LimitExecutionRequestDetailsTest.java deleted file mode 100644 index d5fabdf0..00000000 --- a/src/test/java/com/fireblocks/sdk/model/LimitExecutionRequestDetailsTest.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for LimitExecutionRequestDetails */ -class LimitExecutionRequestDetailsTest { - private final LimitExecutionRequestDetails model = new LimitExecutionRequestDetails(); - - /** Model tests for LimitExecutionRequestDetails */ - @Test - void testLimitExecutionRequestDetails() { - // TODO: test LimitExecutionRequestDetails - } - - /** Test the property 'type' */ - @Test - void typeTest() { - // TODO: test type - } - - /** Test the property 'timeInForce' */ - @Test - void timeInForceTest() { - // TODO: test timeInForce - } - - /** Test the property 'limitPrice' */ - @Test - void limitPriceTest() { - // TODO: test limitPrice - } - - /** Test the property 'side' */ - @Test - void sideTest() { - // TODO: test side - } - - /** Test the property 'baseAmount' */ - @Test - void baseAmountTest() { - // TODO: test baseAmount - } - - /** Test the property 'baseAssetId' */ - @Test - void baseAssetIdTest() { - // TODO: test baseAssetId - } - - /** Test the property 'baseAssetRail' */ - @Test - void baseAssetRailTest() { - // TODO: test baseAssetRail - } - - /** Test the property 'quoteAssetId' */ - @Test - void quoteAssetIdTest() { - // TODO: test quoteAssetId - } - - /** Test the property 'quoteAssetRail' */ - @Test - void quoteAssetRailTest() { - // TODO: test quoteAssetRail - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/LimitExecutionResponseDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/LimitExecutionResponseDetailsTest.java deleted file mode 100644 index 18abcbdf..00000000 --- a/src/test/java/com/fireblocks/sdk/model/LimitExecutionResponseDetailsTest.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for LimitExecutionResponseDetails */ -class LimitExecutionResponseDetailsTest { - private final LimitExecutionResponseDetails model = new LimitExecutionResponseDetails(); - - /** Model tests for LimitExecutionResponseDetails */ - @Test - void testLimitExecutionResponseDetails() { - // TODO: test LimitExecutionResponseDetails - } - - /** Test the property 'type' */ - @Test - void typeTest() { - // TODO: test type - } - - /** Test the property 'timeInForce' */ - @Test - void timeInForceTest() { - // TODO: test timeInForce - } - - /** Test the property 'limitPrice' */ - @Test - void limitPriceTest() { - // TODO: test limitPrice - } - - /** Test the property 'side' */ - @Test - void sideTest() { - // TODO: test side - } - - /** Test the property 'baseAmount' */ - @Test - void baseAmountTest() { - // TODO: test baseAmount - } - - /** Test the property 'baseAssetId' */ - @Test - void baseAssetIdTest() { - // TODO: test baseAssetId - } - - /** Test the property 'baseAssetRail' */ - @Test - void baseAssetRailTest() { - // TODO: test baseAssetRail - } - - /** Test the property 'quoteAssetId' */ - @Test - void quoteAssetIdTest() { - // TODO: test quoteAssetId - } - - /** Test the property 'quoteAssetRail' */ - @Test - void quoteAssetRailTest() { - // TODO: test quoteAssetRail - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/LimitTypeDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/LimitTypeDetailsTest.java deleted file mode 100644 index d5f64916..00000000 --- a/src/test/java/com/fireblocks/sdk/model/LimitTypeDetailsTest.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for LimitTypeDetails */ -class LimitTypeDetailsTest { - private final LimitTypeDetails model = new LimitTypeDetails(); - - /** Model tests for LimitTypeDetails */ - @Test - void testLimitTypeDetails() { - // TODO: test LimitTypeDetails - } - - /** Test the property 'type' */ - @Test - void typeTest() { - // TODO: test type - } - - /** Test the property 'timeInForce' */ - @Test - void timeInForceTest() { - // TODO: test timeInForce - } - - /** Test the property 'limitPrice' */ - @Test - void limitPriceTest() { - // TODO: test limitPrice - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/LinkedTokensCountTest.java b/src/test/java/com/fireblocks/sdk/model/LinkedTokensCountTest.java new file mode 100644 index 00000000..678b5449 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/LinkedTokensCountTest.java @@ -0,0 +1,33 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for LinkedTokensCount */ +class LinkedTokensCountTest { + private final LinkedTokensCount model = new LinkedTokensCount(); + + /** Model tests for LinkedTokensCount */ + @Test + void testLinkedTokensCount() { + // TODO: test LinkedTokensCount + } + + /** Test the property 'count' */ + @Test + void countTest() { + // TODO: test count + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ListAssetsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ListAssetsResponseTest.java index 38d58a1b..3aa0f59c 100644 --- a/src/test/java/com/fireblocks/sdk/model/ListAssetsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ListAssetsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ListBlockchainsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ListBlockchainsResponseTest.java index e4b72e31..2605dd8c 100644 --- a/src/test/java/com/fireblocks/sdk/model/ListBlockchainsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ListBlockchainsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ListOwnedCollectionsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ListOwnedCollectionsResponseTest.java index 1fcf2768..6062f0ed 100644 --- a/src/test/java/com/fireblocks/sdk/model/ListOwnedCollectionsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ListOwnedCollectionsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ListOwnedTokensResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ListOwnedTokensResponseTest.java index ebb20b86..4969ea88 100644 --- a/src/test/java/com/fireblocks/sdk/model/ListOwnedTokensResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ListOwnedTokensResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddressTest.java b/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddressTest.java index 7ad0e7eb..c1ddbf0b 100644 --- a/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestinationTest.java index 45678fc5..a03cb3a7 100644 --- a/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/LocalBankTransferAfricaDestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ManifestTest.java b/src/test/java/com/fireblocks/sdk/model/ManifestTest.java index 831d6004..2c25b387 100644 --- a/src/test/java/com/fireblocks/sdk/model/ManifestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ManifestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MarketExecutionRequestDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/MarketExecutionRequestDetailsTest.java index e9bf497b..ae324fef 100644 --- a/src/test/java/com/fireblocks/sdk/model/MarketExecutionRequestDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MarketExecutionRequestDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MarketExecutionResponseDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/MarketExecutionResponseDetailsTest.java index 0e9d3115..ee8c0895 100644 --- a/src/test/java/com/fireblocks/sdk/model/MarketExecutionResponseDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MarketExecutionResponseDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MarketRequoteRequestDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/MarketRequoteRequestDetailsTest.java index 776c3f6f..f894f8cc 100644 --- a/src/test/java/com/fireblocks/sdk/model/MarketRequoteRequestDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MarketRequoteRequestDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MarketRequoteTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/MarketRequoteTypeEnumTest.java new file mode 100644 index 00000000..ce7c991f --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/MarketRequoteTypeEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for MarketRequoteTypeEnum */ +class MarketRequoteTypeEnumTest { + /** Model tests for MarketRequoteTypeEnum */ + @Test + void testMarketRequoteTypeEnum() { + // TODO: test MarketRequoteTypeEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/MarketTypeDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/MarketTypeDetailsTest.java index 5052d6c0..3775fc56 100644 --- a/src/test/java/com/fireblocks/sdk/model/MarketTypeDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MarketTypeDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MarketTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/MarketTypeEnumTest.java new file mode 100644 index 00000000..1bff86ca --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/MarketTypeEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for MarketTypeEnum */ +class MarketTypeEnumTest { + /** Model tests for MarketTypeEnum */ + @Test + void testMarketTypeEnum() { + // TODO: test MarketTypeEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/MediaEntityResponseTest.java b/src/test/java/com/fireblocks/sdk/model/MediaEntityResponseTest.java index e9598cc7..f3ca082d 100644 --- a/src/test/java/com/fireblocks/sdk/model/MediaEntityResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MediaEntityResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MergeStakeAccountsRequestTest.java b/src/test/java/com/fireblocks/sdk/model/MergeStakeAccountsRequestTest.java index 54913619..ca216774 100644 --- a/src/test/java/com/fireblocks/sdk/model/MergeStakeAccountsRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MergeStakeAccountsRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MergeStakeAccountsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/MergeStakeAccountsResponseTest.java index 574a34b5..4deb68aa 100644 --- a/src/test/java/com/fireblocks/sdk/model/MergeStakeAccountsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MergeStakeAccountsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MobileMoneyAddressTest.java b/src/test/java/com/fireblocks/sdk/model/MobileMoneyAddressTest.java index 1a374c3b..6b52fc74 100644 --- a/src/test/java/com/fireblocks/sdk/model/MobileMoneyAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MobileMoneyAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MobileMoneyDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/MobileMoneyDestinationTest.java index 99582e31..89c6831b 100644 --- a/src/test/java/com/fireblocks/sdk/model/MobileMoneyDestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MobileMoneyDestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ModifySigningKeyAgentIdDtoTest.java b/src/test/java/com/fireblocks/sdk/model/ModifySigningKeyAgentIdDtoTest.java index 9b5f79f6..23d96edd 100644 --- a/src/test/java/com/fireblocks/sdk/model/ModifySigningKeyAgentIdDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ModifySigningKeyAgentIdDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ModifySigningKeyDtoTest.java b/src/test/java/com/fireblocks/sdk/model/ModifySigningKeyDtoTest.java index d28e7a5f..7e66f2d6 100644 --- a/src/test/java/com/fireblocks/sdk/model/ModifySigningKeyDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ModifySigningKeyDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ModifyValidationKeyDtoTest.java b/src/test/java/com/fireblocks/sdk/model/ModifyValidationKeyDtoTest.java index 4ae11291..56f1200b 100644 --- a/src/test/java/com/fireblocks/sdk/model/ModifyValidationKeyDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ModifyValidationKeyDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MomoPaymentInfoTest.java b/src/test/java/com/fireblocks/sdk/model/MomoPaymentInfoTest.java index 7ab4e230..a0e9c5cd 100644 --- a/src/test/java/com/fireblocks/sdk/model/MomoPaymentInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MomoPaymentInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MpcKeyTest.java b/src/test/java/com/fireblocks/sdk/model/MpcKeyTest.java index 5ea77614..e3b6f3bf 100644 --- a/src/test/java/com/fireblocks/sdk/model/MpcKeyTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MpcKeyTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/MultichainDeploymentMetadataTest.java b/src/test/java/com/fireblocks/sdk/model/MultichainDeploymentMetadataTest.java index 15f47216..52cdd107 100644 --- a/src/test/java/com/fireblocks/sdk/model/MultichainDeploymentMetadataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/MultichainDeploymentMetadataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NetworkChannelTest.java b/src/test/java/com/fireblocks/sdk/model/NetworkChannelTest.java index 1a8a16b6..77e3b9f0 100644 --- a/src/test/java/com/fireblocks/sdk/model/NetworkChannelTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NetworkChannelTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NetworkConnectionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/NetworkConnectionResponseTest.java index 97534ded..1e51a0ca 100644 --- a/src/test/java/com/fireblocks/sdk/model/NetworkConnectionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NetworkConnectionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NetworkConnectionRoutingPolicyValueTest.java b/src/test/java/com/fireblocks/sdk/model/NetworkConnectionRoutingPolicyValueTest.java index 10ef892c..53b138fa 100644 --- a/src/test/java/com/fireblocks/sdk/model/NetworkConnectionRoutingPolicyValueTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NetworkConnectionRoutingPolicyValueTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NetworkConnectionStatusTest.java b/src/test/java/com/fireblocks/sdk/model/NetworkConnectionStatusTest.java index d7c2f77e..df08cfe2 100644 --- a/src/test/java/com/fireblocks/sdk/model/NetworkConnectionStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NetworkConnectionStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NetworkConnectionTest.java b/src/test/java/com/fireblocks/sdk/model/NetworkConnectionTest.java index 4b3f97c5..d9df6ec6 100644 --- a/src/test/java/com/fireblocks/sdk/model/NetworkConnectionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NetworkConnectionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NetworkFeeTest.java b/src/test/java/com/fireblocks/sdk/model/NetworkFeeTest.java index af28da2b..7d4a4e18 100644 --- a/src/test/java/com/fireblocks/sdk/model/NetworkFeeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NetworkFeeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NetworkIdResponseTest.java b/src/test/java/com/fireblocks/sdk/model/NetworkIdResponseTest.java index 2f0f953d..2524b040 100644 --- a/src/test/java/com/fireblocks/sdk/model/NetworkIdResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NetworkIdResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NetworkIdRoutingPolicyValueTest.java b/src/test/java/com/fireblocks/sdk/model/NetworkIdRoutingPolicyValueTest.java index afc63858..da7cb498 100644 --- a/src/test/java/com/fireblocks/sdk/model/NetworkIdRoutingPolicyValueTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NetworkIdRoutingPolicyValueTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NetworkIdTest.java b/src/test/java/com/fireblocks/sdk/model/NetworkIdTest.java index a412e453..8502a85a 100644 --- a/src/test/java/com/fireblocks/sdk/model/NetworkIdTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NetworkIdTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NetworkRecordTest.java b/src/test/java/com/fireblocks/sdk/model/NetworkRecordTest.java index 765c9079..fc287900 100644 --- a/src/test/java/com/fireblocks/sdk/model/NetworkRecordTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NetworkRecordTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NewAddressTest.java b/src/test/java/com/fireblocks/sdk/model/NewAddressTest.java index cce77ce8..5546457e 100644 --- a/src/test/java/com/fireblocks/sdk/model/NewAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NewAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NoneNetworkRoutingDestTest.java b/src/test/java/com/fireblocks/sdk/model/NoneNetworkRoutingDestTest.java index 0908cdca..07715193 100644 --- a/src/test/java/com/fireblocks/sdk/model/NoneNetworkRoutingDestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NoneNetworkRoutingDestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NotFoundExceptionTest.java b/src/test/java/com/fireblocks/sdk/model/NotFoundExceptionTest.java index e21e1bab..4339f33a 100644 --- a/src/test/java/com/fireblocks/sdk/model/NotFoundExceptionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NotFoundExceptionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NotificationAttemptTest.java b/src/test/java/com/fireblocks/sdk/model/NotificationAttemptTest.java index 408ce66a..dc6d557f 100644 --- a/src/test/java/com/fireblocks/sdk/model/NotificationAttemptTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NotificationAttemptTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NotificationAttemptsPaginatedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/NotificationAttemptsPaginatedResponseTest.java index d1ac1301..1e15abcb 100644 --- a/src/test/java/com/fireblocks/sdk/model/NotificationAttemptsPaginatedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NotificationAttemptsPaginatedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NotificationPaginatedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/NotificationPaginatedResponseTest.java index d51f408a..af9c0fbc 100644 --- a/src/test/java/com/fireblocks/sdk/model/NotificationPaginatedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NotificationPaginatedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NotificationStatusTest.java b/src/test/java/com/fireblocks/sdk/model/NotificationStatusTest.java index dfaa1748..25cccc62 100644 --- a/src/test/java/com/fireblocks/sdk/model/NotificationStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NotificationStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NotificationTest.java b/src/test/java/com/fireblocks/sdk/model/NotificationTest.java index f029f3fd..977929f3 100644 --- a/src/test/java/com/fireblocks/sdk/model/NotificationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NotificationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/NotificationWithDataTest.java b/src/test/java/com/fireblocks/sdk/model/NotificationWithDataTest.java index 8d318cba..8e8ed3e0 100644 --- a/src/test/java/com/fireblocks/sdk/model/NotificationWithDataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/NotificationWithDataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/OnchainTransactionTest.java b/src/test/java/com/fireblocks/sdk/model/OnchainTransactionTest.java new file mode 100644 index 00000000..98e28ff1 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/OnchainTransactionTest.java @@ -0,0 +1,129 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for OnchainTransaction */ +class OnchainTransactionTest { + private final OnchainTransaction model = new OnchainTransaction(); + + /** Model tests for OnchainTransaction */ + @Test + void testOnchainTransaction() { + // TODO: test OnchainTransaction + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'baseAssetId' */ + @Test + void baseAssetIdTest() { + // TODO: test baseAssetId + } + + /** Test the property 'blockHash' */ + @Test + void blockHashTest() { + // TODO: test blockHash + } + + /** Test the property 'blockNumber' */ + @Test + void blockNumberTest() { + // TODO: test blockNumber + } + + /** Test the property 'blockTimestamp' */ + @Test + void blockTimestampTest() { + // TODO: test blockTimestamp + } + + /** Test the property 'chainId' */ + @Test + void chainIdTest() { + // TODO: test chainId + } + + /** Test the property 'contractAddress' */ + @Test + void contractAddressTest() { + // TODO: test contractAddress + } + + /** Test the property 'cumulativeGasUsed' */ + @Test + void cumulativeGasUsedTest() { + // TODO: test cumulativeGasUsed + } + + /** Test the property 'decodedLogs' */ + @Test + void decodedLogsTest() { + // TODO: test decodedLogs + } + + /** Test the property 'effectiveGasPrice' */ + @Test + void effectiveGasPriceTest() { + // TODO: test effectiveGasPrice + } + + /** Test the property 'fromAddress' */ + @Test + void fromAddressTest() { + // TODO: test fromAddress + } + + /** Test the property 'gasUsed' */ + @Test + void gasUsedTest() { + // TODO: test gasUsed + } + + /** Test the property 'status' */ + @Test + void statusTest() { + // TODO: test status + } + + /** Test the property 'toAddress' */ + @Test + void toAddressTest() { + // TODO: test toAddress + } + + /** Test the property 'transactionHash' */ + @Test + void transactionHashTest() { + // TODO: test transactionHash + } + + /** Test the property 'transactionIndex' */ + @Test + void transactionIndexTest() { + // TODO: test transactionIndex + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/OnchainTransactionsPagedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/OnchainTransactionsPagedResponseTest.java new file mode 100644 index 00000000..e43c6e8f --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/OnchainTransactionsPagedResponseTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for OnchainTransactionsPagedResponse */ +class OnchainTransactionsPagedResponseTest { + private final OnchainTransactionsPagedResponse model = new OnchainTransactionsPagedResponse(); + + /** Model tests for OnchainTransactionsPagedResponse */ + @Test + void testOnchainTransactionsPagedResponse() { + // TODO: test OnchainTransactionsPagedResponse + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } + + /** Test the property 'next' */ + @Test + void nextTest() { + // TODO: test next + } + + /** Test the property 'prev' */ + @Test + void prevTest() { + // TODO: test prev + } + + /** Test the property 'total' */ + @Test + void totalTest() { + // TODO: test total + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/OneTimeAddressAccountTest.java b/src/test/java/com/fireblocks/sdk/model/OneTimeAddressAccountTest.java index 7a3d5760..f6130f2d 100644 --- a/src/test/java/com/fireblocks/sdk/model/OneTimeAddressAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/OneTimeAddressAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/OneTimeAddressPeerTypeTest.java b/src/test/java/com/fireblocks/sdk/model/OneTimeAddressPeerTypeTest.java new file mode 100644 index 00000000..ea001900 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/OneTimeAddressPeerTypeTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for OneTimeAddressPeerType */ +class OneTimeAddressPeerTypeTest { + /** Model tests for OneTimeAddressPeerType */ + @Test + void testOneTimeAddressPeerType() { + // TODO: test OneTimeAddressPeerType + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/OneTimeAddressReferenceTest.java b/src/test/java/com/fireblocks/sdk/model/OneTimeAddressReferenceTest.java index 74f79ebf..7be5f43d 100644 --- a/src/test/java/com/fireblocks/sdk/model/OneTimeAddressReferenceTest.java +++ b/src/test/java/com/fireblocks/sdk/model/OneTimeAddressReferenceTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/OneTimeAddressTest.java b/src/test/java/com/fireblocks/sdk/model/OneTimeAddressTest.java index c90a105c..140ac15b 100644 --- a/src/test/java/com/fireblocks/sdk/model/OneTimeAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/OneTimeAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/OperationExecutionFailureTest.java b/src/test/java/com/fireblocks/sdk/model/OperationExecutionFailureTest.java index 8ae75739..2293b96c 100644 --- a/src/test/java/com/fireblocks/sdk/model/OperationExecutionFailureTest.java +++ b/src/test/java/com/fireblocks/sdk/model/OperationExecutionFailureTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/OrderDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/OrderDetailsTest.java index 824904d7..12abd9b1 100644 --- a/src/test/java/com/fireblocks/sdk/model/OrderDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/OrderDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -120,4 +120,10 @@ void noteTest() { void expiresAtTest() { // TODO: test expiresAt } + + /** Test the property 'failure' */ + @Test + void failureTest() { + // TODO: test failure + } } diff --git a/src/test/java/com/fireblocks/sdk/model/ExecutionStepTest.java b/src/test/java/com/fireblocks/sdk/model/OrderExecutionStepTest.java similarity index 59% rename from src/test/java/com/fireblocks/sdk/model/ExecutionStepTest.java rename to src/test/java/com/fireblocks/sdk/model/OrderExecutionStepTest.java index 6374a8a9..2e564766 100644 --- a/src/test/java/com/fireblocks/sdk/model/ExecutionStepTest.java +++ b/src/test/java/com/fireblocks/sdk/model/OrderExecutionStepTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -15,14 +15,14 @@ import org.junit.jupiter.api.Test; -/** Model tests for ExecutionStep */ -class ExecutionStepTest { - private final ExecutionStep model = new ExecutionStep(); +/** Model tests for OrderExecutionStep */ +class OrderExecutionStepTest { + private final OrderExecutionStep model = new OrderExecutionStep(); - /** Model tests for ExecutionStep */ + /** Model tests for OrderExecutionStep */ @Test - void testExecutionStep() { - // TODO: test ExecutionStep + void testOrderExecutionStep() { + // TODO: test OrderExecutionStep } /** Test the property 'type' */ diff --git a/src/test/java/com/fireblocks/sdk/model/OrderSideTest.java b/src/test/java/com/fireblocks/sdk/model/OrderSideTest.java index 4e12e03b..e16b5167 100644 --- a/src/test/java/com/fireblocks/sdk/model/OrderSideTest.java +++ b/src/test/java/com/fireblocks/sdk/model/OrderSideTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/OrderStatusTest.java b/src/test/java/com/fireblocks/sdk/model/OrderStatusTest.java index db974d42..c6135b03 100644 --- a/src/test/java/com/fireblocks/sdk/model/OrderStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/OrderStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/OrderSummaryTest.java b/src/test/java/com/fireblocks/sdk/model/OrderSummaryTest.java index 24b8b7c8..d8bbee0a 100644 --- a/src/test/java/com/fireblocks/sdk/model/OrderSummaryTest.java +++ b/src/test/java/com/fireblocks/sdk/model/OrderSummaryTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PaginatedAddressResponsePagingTest.java b/src/test/java/com/fireblocks/sdk/model/PaginatedAddressResponsePagingTest.java index c1587091..f23e0ba3 100644 --- a/src/test/java/com/fireblocks/sdk/model/PaginatedAddressResponsePagingTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PaginatedAddressResponsePagingTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PaginatedAddressResponseTest.java b/src/test/java/com/fireblocks/sdk/model/PaginatedAddressResponseTest.java index b3f0b60c..692d06db 100644 --- a/src/test/java/com/fireblocks/sdk/model/PaginatedAddressResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PaginatedAddressResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponsePagingTest.java b/src/test/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponsePagingTest.java index e18eaa1c..0410a3a4 100644 --- a/src/test/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponsePagingTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponsePagingTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponseTest.java b/src/test/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponseTest.java index 9872e9f9..80fb7775 100644 --- a/src/test/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PaginatedAssetWalletResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PaginatedAssetsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/PaginatedAssetsResponseTest.java index cfb3745f..6a60eeca 100644 --- a/src/test/java/com/fireblocks/sdk/model/PaginatedAssetsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PaginatedAssetsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PagingTest.java b/src/test/java/com/fireblocks/sdk/model/PagingTest.java index c6d9884e..94d07a66 100644 --- a/src/test/java/com/fireblocks/sdk/model/PagingTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PagingTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PairApiKeyRequestTest.java b/src/test/java/com/fireblocks/sdk/model/PairApiKeyRequestTest.java index 0a36b623..0a48c277 100644 --- a/src/test/java/com/fireblocks/sdk/model/PairApiKeyRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PairApiKeyRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PairApiKeyResponseTest.java b/src/test/java/com/fireblocks/sdk/model/PairApiKeyResponseTest.java index b98a6f37..532e7751 100644 --- a/src/test/java/com/fireblocks/sdk/model/PairApiKeyResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PairApiKeyResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ParameterTest.java b/src/test/java/com/fireblocks/sdk/model/ParameterTest.java index 0a6b5ccd..d875a838 100644 --- a/src/test/java/com/fireblocks/sdk/model/ParameterTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ParameterTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ParameterWithValueTest.java b/src/test/java/com/fireblocks/sdk/model/ParameterWithValueTest.java index f21cd80d..51696696 100644 --- a/src/test/java/com/fireblocks/sdk/model/ParameterWithValueTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ParameterWithValueTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ParticipantRelationshipTypeTest.java b/src/test/java/com/fireblocks/sdk/model/ParticipantRelationshipTypeTest.java index ae2c4727..295a44b9 100644 --- a/src/test/java/com/fireblocks/sdk/model/ParticipantRelationshipTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ParticipantRelationshipTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ParticipantsIdentificationTest.java b/src/test/java/com/fireblocks/sdk/model/ParticipantsIdentificationTest.java index 34eec533..c2de8148 100644 --- a/src/test/java/com/fireblocks/sdk/model/ParticipantsIdentificationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ParticipantsIdentificationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PayeeAccountResponseTest.java b/src/test/java/com/fireblocks/sdk/model/PayeeAccountResponseTest.java index 30b12b4a..b894a8a4 100644 --- a/src/test/java/com/fireblocks/sdk/model/PayeeAccountResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PayeeAccountResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PayeeAccountTest.java b/src/test/java/com/fireblocks/sdk/model/PayeeAccountTest.java index 3a502dcd..103a5ab8 100644 --- a/src/test/java/com/fireblocks/sdk/model/PayeeAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PayeeAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PayeeAccountTypeTest.java b/src/test/java/com/fireblocks/sdk/model/PayeeAccountTypeTest.java index bb2bba29..908573f7 100644 --- a/src/test/java/com/fireblocks/sdk/model/PayeeAccountTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PayeeAccountTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PaymentAccountResponseTest.java b/src/test/java/com/fireblocks/sdk/model/PaymentAccountResponseTest.java index e5f43744..69c68170 100644 --- a/src/test/java/com/fireblocks/sdk/model/PaymentAccountResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PaymentAccountResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PaymentAccountTest.java b/src/test/java/com/fireblocks/sdk/model/PaymentAccountTest.java index f79182e9..a78e5502 100644 --- a/src/test/java/com/fireblocks/sdk/model/PaymentAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PaymentAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PaymentAccountTypeTest.java b/src/test/java/com/fireblocks/sdk/model/PaymentAccountTypeTest.java index cc22367b..8c777cb4 100644 --- a/src/test/java/com/fireblocks/sdk/model/PaymentAccountTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PaymentAccountTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsDetailsTest.java deleted file mode 100644 index dbb55b2b..00000000 --- a/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsDetailsTest.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for PaymentInstructionsDetails */ -class PaymentInstructionsDetailsTest { - private final PaymentInstructionsDetails model = new PaymentInstructionsDetails(); - - /** Model tests for PaymentInstructionsDetails */ - @Test - void testPaymentInstructionsDetails() { - // TODO: test PaymentInstructionsDetails - } - - /** Test the property 'referenceId' */ - @Test - void referenceIdTest() { - // TODO: test referenceId - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsOneOfTest.java b/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsOneOfTest.java new file mode 100644 index 00000000..d0a78e6a --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsOneOfTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for PaymentInstructionsOneOf */ +class PaymentInstructionsOneOfTest { + private final PaymentInstructionsOneOf model = new PaymentInstructionsOneOf(); + + /** Model tests for PaymentInstructionsOneOf */ + @Test + void testPaymentInstructionsOneOf() { + // TODO: test PaymentInstructionsOneOf + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'address' */ + @Test + void addressTest() { + // TODO: test address + } + + /** Test the property 'referenceId' */ + @Test + void referenceIdTest() { + // TODO: test referenceId + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsTest.java b/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsTest.java index a04139e4..7d7f4e85 100644 --- a/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PaymentInstructionsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PayoutInitMethodTest.java b/src/test/java/com/fireblocks/sdk/model/PayoutInitMethodTest.java index d3d516fe..fc4a8f91 100644 --- a/src/test/java/com/fireblocks/sdk/model/PayoutInitMethodTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PayoutInitMethodTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PayoutInstructionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/PayoutInstructionResponseTest.java index 18545a23..a4668af0 100644 --- a/src/test/java/com/fireblocks/sdk/model/PayoutInstructionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PayoutInstructionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PayoutInstructionStateTest.java b/src/test/java/com/fireblocks/sdk/model/PayoutInstructionStateTest.java index 2499d863..73c3f36c 100644 --- a/src/test/java/com/fireblocks/sdk/model/PayoutInstructionStateTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PayoutInstructionStateTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PayoutInstructionTest.java b/src/test/java/com/fireblocks/sdk/model/PayoutInstructionTest.java index 70ff62e6..936e9531 100644 --- a/src/test/java/com/fireblocks/sdk/model/PayoutInstructionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PayoutInstructionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PayoutResponseTest.java b/src/test/java/com/fireblocks/sdk/model/PayoutResponseTest.java index 55f929a2..8493b809 100644 --- a/src/test/java/com/fireblocks/sdk/model/PayoutResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PayoutResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PayoutStateTest.java b/src/test/java/com/fireblocks/sdk/model/PayoutStateTest.java index d08439f0..33adb29f 100644 --- a/src/test/java/com/fireblocks/sdk/model/PayoutStateTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PayoutStateTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PayoutStatusTest.java b/src/test/java/com/fireblocks/sdk/model/PayoutStatusTest.java index dd6ba4ac..ec706597 100644 --- a/src/test/java/com/fireblocks/sdk/model/PayoutStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PayoutStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PeerAdapterInfoTest.java b/src/test/java/com/fireblocks/sdk/model/PeerAdapterInfoTest.java index ab4fa68d..fd52357a 100644 --- a/src/test/java/com/fireblocks/sdk/model/PeerAdapterInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PeerAdapterInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PeerTypeTest.java b/src/test/java/com/fireblocks/sdk/model/PeerTypeTest.java index 6615dcaf..a2342a65 100644 --- a/src/test/java/com/fireblocks/sdk/model/PeerTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PeerTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PersonalEntityTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/PersonalEntityTypeEnumTest.java new file mode 100644 index 00000000..c7cee644 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/PersonalEntityTypeEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for PersonalEntityTypeEnum */ +class PersonalEntityTypeEnumTest { + /** Model tests for PersonalEntityTypeEnum */ + @Test + void testPersonalEntityTypeEnum() { + // TODO: test PersonalEntityTypeEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/PersonalIdentificationFullNameTest.java b/src/test/java/com/fireblocks/sdk/model/PersonalIdentificationFullNameTest.java index 51fead83..21a36186 100644 --- a/src/test/java/com/fireblocks/sdk/model/PersonalIdentificationFullNameTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PersonalIdentificationFullNameTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PersonalIdentificationTest.java b/src/test/java/com/fireblocks/sdk/model/PersonalIdentificationTest.java index c36ebae5..c1eaeba8 100644 --- a/src/test/java/com/fireblocks/sdk/model/PersonalIdentificationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PersonalIdentificationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -60,4 +60,16 @@ void dateOfBirthTest() { void postalAddressTest() { // TODO: test postalAddress } + + /** Test the property 'email' */ + @Test + void emailTest() { + // TODO: test email + } + + /** Test the property 'phone' */ + @Test + void phoneTest() { + // TODO: test phone + } } diff --git a/src/test/java/com/fireblocks/sdk/model/PixAddressTest.java b/src/test/java/com/fireblocks/sdk/model/PixAddressTest.java index 5dcc9fc0..6fe95618 100644 --- a/src/test/java/com/fireblocks/sdk/model/PixAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PixAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PixDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/PixDestinationTest.java index 2134bef4..2b2da4c9 100644 --- a/src/test/java/com/fireblocks/sdk/model/PixDestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PixDestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PixPaymentInfoTest.java b/src/test/java/com/fireblocks/sdk/model/PixPaymentInfoTest.java index dbb15354..61569051 100644 --- a/src/test/java/com/fireblocks/sdk/model/PixPaymentInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PixPaymentInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PlatformAccountTest.java b/src/test/java/com/fireblocks/sdk/model/PlatformAccountTest.java index 7c8dbbd6..04375ecf 100644 --- a/src/test/java/com/fireblocks/sdk/model/PlatformAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PlatformAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PlatformPeerTypeTest.java b/src/test/java/com/fireblocks/sdk/model/PlatformPeerTypeTest.java new file mode 100644 index 00000000..57114d02 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/PlatformPeerTypeTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for PlatformPeerType */ +class PlatformPeerTypeTest { + /** Model tests for PlatformPeerType */ + @Test + void testPlatformPeerType() { + // TODO: test PlatformPeerType + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/PlayersTest.java b/src/test/java/com/fireblocks/sdk/model/PlayersTest.java index 04def2a8..2df87c4c 100644 --- a/src/test/java/com/fireblocks/sdk/model/PlayersTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PlayersTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyAndValidationResponseTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyAndValidationResponseTest.java index 082c884d..3d1234aa 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyAndValidationResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyAndValidationResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyCheckResultTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyCheckResultTest.java index 540a25a6..b651c489 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyCheckResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyCheckResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyCurrencyTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyCurrencyTest.java index fbd8f874..988ae418 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyCurrencyTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyCurrencyTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyMetadataTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyMetadataTest.java index 6e71c38a..062ade2b 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyMetadataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyMetadataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyOperatorTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyOperatorTest.java index 40a50c3c..84c737a0 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyOperatorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyOperatorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyResponseTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyResponseTest.java index d8200821..ef6e913e 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyRuleCheckResultTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyRuleCheckResultTest.java index e283087b..4f5bcfd9 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyRuleCheckResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyRuleCheckResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyRuleErrorTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyRuleErrorTest.java index fd5da1ef..61fdd2dc 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyRuleErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyRuleErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyRuleTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyRuleTest.java index 9d2b0279..921829f7 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyStatusTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyStatusTest.java index e4d032fb..5c501b06 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyTagTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyTagTest.java index 771e7573..38b01ade 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyTagTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyTagTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyTypeTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyTypeTest.java index cfaa505b..7cc6de5a 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyValidationTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyValidationTest.java index 5f4bc50a..a915992b 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyValidationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyValidationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2Test.java b/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2Test.java index 412b861d..23d4ec47 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2Test.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnum2Test.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnumTest.java b/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnumTest.java index a185653c..d7789558 100644 --- a/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PolicyVerdictActionEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PostOrderSettlementTest.java b/src/test/java/com/fireblocks/sdk/model/PostOrderSettlementTest.java deleted file mode 100644 index 026a117b..00000000 --- a/src/test/java/com/fireblocks/sdk/model/PostOrderSettlementTest.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for PostOrderSettlement */ -class PostOrderSettlementTest { - private final PostOrderSettlement model = new PostOrderSettlement(); - - /** Model tests for PostOrderSettlement */ - @Test - void testPostOrderSettlement() { - // TODO: test PostOrderSettlement - } - - /** Test the property 'type' */ - @Test - void typeTest() { - // TODO: test type - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/PostalAddressTest.java b/src/test/java/com/fireblocks/sdk/model/PostalAddressTest.java index a0941991..bb16e2d3 100644 --- a/src/test/java/com/fireblocks/sdk/model/PostalAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PostalAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PreScreeningTest.java b/src/test/java/com/fireblocks/sdk/model/PreScreeningTest.java index 35a4000e..93b2cfa9 100644 --- a/src/test/java/com/fireblocks/sdk/model/PreScreeningTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PreScreeningTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PrefundedSettlementTest.java b/src/test/java/com/fireblocks/sdk/model/PrefundedSettlementTest.java index e99c670f..1dfc9e2b 100644 --- a/src/test/java/com/fireblocks/sdk/model/PrefundedSettlementTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PrefundedSettlementTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PrefundedSettlementTypeTest.java b/src/test/java/com/fireblocks/sdk/model/PrefundedSettlementTypeTest.java new file mode 100644 index 00000000..e0fd6f90 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/PrefundedSettlementTypeTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for PrefundedSettlementType */ +class PrefundedSettlementTypeTest { + /** Model tests for PrefundedSettlementType */ + @Test + void testPrefundedSettlementType() { + // TODO: test PrefundedSettlementType + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ProgramCallConfigTest.java b/src/test/java/com/fireblocks/sdk/model/ProgramCallConfigTest.java index 351d185c..39135850 100644 --- a/src/test/java/com/fireblocks/sdk/model/ProgramCallConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ProgramCallConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ProviderIDTest.java b/src/test/java/com/fireblocks/sdk/model/ProviderIDTest.java deleted file mode 100644 index a93d47d2..00000000 --- a/src/test/java/com/fireblocks/sdk/model/ProviderIDTest.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for ProviderID */ -class ProviderIDTest { - private final ProviderID model = new ProviderID(); - - /** Model tests for ProviderID */ - @Test - void testProviderID() { - // TODO: test ProviderID - } - - /** Test the property 'providerId' */ - @Test - void providerIdTest() { - // TODO: test providerId - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/ProviderTest.java b/src/test/java/com/fireblocks/sdk/model/ProviderTest.java index f6f95265..34668dd9 100644 --- a/src/test/java/com/fireblocks/sdk/model/ProviderTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ProviderTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ProvidersListResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ProvidersListResponseTest.java index de5119ab..13c9765d 100644 --- a/src/test/java/com/fireblocks/sdk/model/ProvidersListResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ProvidersListResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PublicKeyInformationTest.java b/src/test/java/com/fireblocks/sdk/model/PublicKeyInformationTest.java index 5f201e33..3c9a525b 100644 --- a/src/test/java/com/fireblocks/sdk/model/PublicKeyInformationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PublicKeyInformationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PublishDraftRequestTest.java b/src/test/java/com/fireblocks/sdk/model/PublishDraftRequestTest.java index ac3c329f..4821364a 100644 --- a/src/test/java/com/fireblocks/sdk/model/PublishDraftRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PublishDraftRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/PublishResultTest.java b/src/test/java/com/fireblocks/sdk/model/PublishResultTest.java index 43c4c0c1..adf2b0f5 100644 --- a/src/test/java/com/fireblocks/sdk/model/PublishResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/PublishResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionRequestDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionRequestDetailsTest.java index 4590987a..1c9e70ca 100644 --- a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionRequestDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionRequestDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetailsTest.java deleted file mode 100644 index b53c543c..00000000 --- a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionResponseDetailsTest.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for QuoteExecutionResponseDetails */ -class QuoteExecutionResponseDetailsTest { - private final QuoteExecutionResponseDetails model = new QuoteExecutionResponseDetails(); - - /** Model tests for QuoteExecutionResponseDetails */ - @Test - void testQuoteExecutionResponseDetails() { - // TODO: test QuoteExecutionResponseDetails - } - - /** Test the property 'type' */ - @Test - void typeTest() { - // TODO: test type - } - - /** Test the property 'quoteId' */ - @Test - void quoteIdTest() { - // TODO: test quoteId - } - - /** Test the property 'quoteAmount' */ - @Test - void quoteAmountTest() { - // TODO: test quoteAmount - } - - /** Test the property 'side' */ - @Test - void sideTest() { - // TODO: test side - } - - /** Test the property 'baseAmount' */ - @Test - void baseAmountTest() { - // TODO: test baseAmount - } - - /** Test the property 'baseAssetId' */ - @Test - void baseAssetIdTest() { - // TODO: test baseAssetId - } - - /** Test the property 'baseAssetRail' */ - @Test - void baseAssetRailTest() { - // TODO: test baseAssetRail - } - - /** Test the property 'quoteAssetId' */ - @Test - void quoteAssetIdTest() { - // TODO: test quoteAssetId - } - - /** Test the property 'quoteAssetRail' */ - @Test - void quoteAssetRailTest() { - // TODO: test quoteAssetRail - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionStepTest.java b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionStepTest.java new file mode 100644 index 00000000..42929287 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionStepTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for QuoteExecutionStep */ +class QuoteExecutionStepTest { + private final QuoteExecutionStep model = new QuoteExecutionStep(); + + /** Model tests for QuoteExecutionStep */ + @Test + void testQuoteExecutionStep() { + // TODO: test QuoteExecutionStep + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'fee' */ + @Test + void feeTest() { + // TODO: test fee + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetailsTest.java index 53e8c914..2b3e3db8 100644 --- a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionTypeDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetailsTest.java index 8153e016..670b19ca 100644 --- a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteRequestDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetailsTest.java index f8fb1eb9..b450be37 100644 --- a/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/QuoteExecutionWithRequoteResponseDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/QuotePropertiesDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/QuotePropertiesDetailsTest.java index 2150c817..f6307572 100644 --- a/src/test/java/com/fireblocks/sdk/model/QuotePropertiesDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/QuotePropertiesDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -37,12 +37,6 @@ void idTest() { // TODO: test id } - /** Test the property 'type' */ - @Test - void typeTest() { - // TODO: test type - } - /** Test the property 'quoteAssetId' */ @Test void quoteAssetIdTest() { @@ -96,4 +90,10 @@ void generalFeesTest() { void sideTest() { // TODO: test side } + + /** Test the property 'expiresAt' */ + @Test + void expiresAtTest() { + // TODO: test expiresAt + } } diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteTest.java b/src/test/java/com/fireblocks/sdk/model/QuoteTest.java index e6e219f0..b047a3af 100644 --- a/src/test/java/com/fireblocks/sdk/model/QuoteTest.java +++ b/src/test/java/com/fireblocks/sdk/model/QuoteTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -37,12 +37,6 @@ void idTest() { // TODO: test id } - /** Test the property 'type' */ - @Test - void typeTest() { - // TODO: test type - } - /** Test the property 'quoteAssetId' */ @Test void quoteAssetIdTest() { @@ -102,4 +96,10 @@ void sideTest() { void expiresAtTest() { // TODO: test expiresAt } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } } diff --git a/src/test/java/com/fireblocks/sdk/model/QuoteTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/QuoteTypeEnumTest.java new file mode 100644 index 00000000..1a45f4cf --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/QuoteTypeEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for QuoteTypeEnum */ +class QuoteTypeEnumTest { + /** Model tests for QuoteTypeEnum */ + @Test + void testQuoteTypeEnum() { + // TODO: test QuoteTypeEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/QuotesResponseTest.java b/src/test/java/com/fireblocks/sdk/model/QuotesResponseTest.java index 0c1acfd2..dde09c90 100644 --- a/src/test/java/com/fireblocks/sdk/model/QuotesResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/QuotesResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuoteTest.java b/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuoteTest.java index 9e54066c..1c5413a2 100644 --- a/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuoteTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsReQuoteTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsTest.java index 9e7926c2..836766b8 100644 --- a/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ReQuoteDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ReadAbiFunctionTest.java b/src/test/java/com/fireblocks/sdk/model/ReadAbiFunctionTest.java index 8baa0070..2a2a68c8 100644 --- a/src/test/java/com/fireblocks/sdk/model/ReadAbiFunctionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ReadAbiFunctionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ReadCallFunctionDtoAbiFunctionTest.java b/src/test/java/com/fireblocks/sdk/model/ReadCallFunctionDtoAbiFunctionTest.java index fa15beb1..3fffbbc1 100644 --- a/src/test/java/com/fireblocks/sdk/model/ReadCallFunctionDtoAbiFunctionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ReadCallFunctionDtoAbiFunctionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ReadCallFunctionDtoTest.java b/src/test/java/com/fireblocks/sdk/model/ReadCallFunctionDtoTest.java index 1b609788..5bc40d4a 100644 --- a/src/test/java/com/fireblocks/sdk/model/ReadCallFunctionDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ReadCallFunctionDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RedeemFundsToLinkedDDAResponseTest.java b/src/test/java/com/fireblocks/sdk/model/RedeemFundsToLinkedDDAResponseTest.java index cd466367..5fb3eaee 100644 --- a/src/test/java/com/fireblocks/sdk/model/RedeemFundsToLinkedDDAResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RedeemFundsToLinkedDDAResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RegisterNewAssetRequestTest.java b/src/test/java/com/fireblocks/sdk/model/RegisterNewAssetRequestTest.java index 564751c4..a5756c70 100644 --- a/src/test/java/com/fireblocks/sdk/model/RegisterNewAssetRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RegisterNewAssetRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequestTest.java index 6a0ee3b7..2536a45c 100644 --- a/src/test/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ReissueMultichainTokenRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RelatedRequestTest.java b/src/test/java/com/fireblocks/sdk/model/RelatedRequestTest.java index 4575bc79..4e57fb29 100644 --- a/src/test/java/com/fireblocks/sdk/model/RelatedRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RelatedRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RelatedTransactionTest.java b/src/test/java/com/fireblocks/sdk/model/RelatedTransactionTest.java index b93a72c9..3884946a 100644 --- a/src/test/java/com/fireblocks/sdk/model/RelatedTransactionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RelatedTransactionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RemoveCollateralRequestBodyTest.java b/src/test/java/com/fireblocks/sdk/model/RemoveCollateralRequestBodyTest.java index 0aa208c3..12b4afb3 100644 --- a/src/test/java/com/fireblocks/sdk/model/RemoveCollateralRequestBodyTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RemoveCollateralRequestBodyTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdapterFailedResultTest.java b/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdapterFailedResultTest.java index 19f75a70..64ba9b08 100644 --- a/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdapterFailedResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdapterFailedResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersRequestTest.java b/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersRequestTest.java index 16eb4965..29354add 100644 --- a/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersResponseTest.java b/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersResponseTest.java index 4a8e1d15..c39151fd 100644 --- a/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroAdaptersResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersRequestTest.java b/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersRequestTest.java index c34714f6..b9075e24 100644 --- a/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersResponseTest.java b/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersResponseTest.java index 21ffe77d..ea1246ee 100644 --- a/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RemoveLayerZeroPeersResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RenameConnectedAccountRequestTest.java b/src/test/java/com/fireblocks/sdk/model/RenameConnectedAccountRequestTest.java new file mode 100644 index 00000000..70c06e73 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/RenameConnectedAccountRequestTest.java @@ -0,0 +1,33 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for RenameConnectedAccountRequest */ +class RenameConnectedAccountRequestTest { + private final RenameConnectedAccountRequest model = new RenameConnectedAccountRequest(); + + /** Model tests for RenameConnectedAccountRequest */ + @Test + void testRenameConnectedAccountRequest() { + // TODO: test RenameConnectedAccountRequest + } + + /** Test the property 'accountName' */ + @Test + void accountNameTest() { + // TODO: test accountName + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/RenameConnectedAccountResponseTest.java b/src/test/java/com/fireblocks/sdk/model/RenameConnectedAccountResponseTest.java new file mode 100644 index 00000000..1c2b4b24 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/RenameConnectedAccountResponseTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for RenameConnectedAccountResponse */ +class RenameConnectedAccountResponseTest { + /** Model tests for RenameConnectedAccountResponse */ + @Test + void testRenameConnectedAccountResponse() { + // TODO: test RenameConnectedAccountResponse + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/RenameCosignerTest.java b/src/test/java/com/fireblocks/sdk/model/RenameCosignerTest.java index 038cb9c7..92184c8d 100644 --- a/src/test/java/com/fireblocks/sdk/model/RenameCosignerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RenameCosignerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RenameVaultAccountResponseTest.java b/src/test/java/com/fireblocks/sdk/model/RenameVaultAccountResponseTest.java index 41493f3c..2b22c44b 100644 --- a/src/test/java/com/fireblocks/sdk/model/RenameVaultAccountResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RenameVaultAccountResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RescanTransactionTest.java b/src/test/java/com/fireblocks/sdk/model/RescanTransactionTest.java deleted file mode 100644 index 064fc123..00000000 --- a/src/test/java/com/fireblocks/sdk/model/RescanTransactionTest.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for RescanTransaction */ -class RescanTransactionTest { - private final RescanTransaction model = new RescanTransaction(); - - /** Model tests for RescanTransaction */ - @Test - void testRescanTransaction() { - // TODO: test RescanTransaction - } - - /** Test the property 'txHash' */ - @Test - void txHashTest() { - // TODO: test txHash - } - - /** Test the property 'assetId' */ - @Test - void assetIdTest() { - // TODO: test assetId - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsJobStatusResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsJobStatusResponseTest.java index b59ec17b..81170e29 100644 --- a/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsJobStatusResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsJobStatusResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsRequestTest.java index 55f6e872..78bc010a 100644 --- a/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsResponseTest.java index 57ba062e..82ad379f 100644 --- a/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ResendFailedNotificationsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequestTest.java index 2e1b0351..482b57a1 100644 --- a/src/test/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ResendNotificationsByResourceIdRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ResendTransactionWebhooksRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ResendTransactionWebhooksRequestTest.java index 0154d153..8993dc91 100644 --- a/src/test/java/com/fireblocks/sdk/model/ResendTransactionWebhooksRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ResendTransactionWebhooksRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ResendWebhooksByTransactionIdResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ResendWebhooksByTransactionIdResponseTest.java index 80e7b089..12416c09 100644 --- a/src/test/java/com/fireblocks/sdk/model/ResendWebhooksByTransactionIdResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ResendWebhooksByTransactionIdResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ResendWebhooksResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ResendWebhooksResponseTest.java index 2f8515d2..7d5aaf04 100644 --- a/src/test/java/com/fireblocks/sdk/model/ResendWebhooksResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ResendWebhooksResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RespondToConnectionRequestTest.java b/src/test/java/com/fireblocks/sdk/model/RespondToConnectionRequestTest.java index e07eaf14..0e9ccfc0 100644 --- a/src/test/java/com/fireblocks/sdk/model/RespondToConnectionRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RespondToConnectionRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RetryRequoteRequestDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/RetryRequoteRequestDetailsTest.java index 5cce4223..082b3650 100644 --- a/src/test/java/com/fireblocks/sdk/model/RetryRequoteRequestDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RetryRequoteRequestDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RetryRequoteTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/RetryRequoteTypeEnumTest.java new file mode 100644 index 00000000..ed58f48b --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/RetryRequoteTypeEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for RetryRequoteTypeEnum */ +class RetryRequoteTypeEnumTest { + /** Model tests for RetryRequoteTypeEnum */ + @Test + void testRetryRequoteTypeEnum() { + // TODO: test RetryRequoteTypeEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/RewardInfoTest.java b/src/test/java/com/fireblocks/sdk/model/RewardInfoTest.java index dc53ac58..66f0a391 100644 --- a/src/test/java/com/fireblocks/sdk/model/RewardInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RewardInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RewardsInfoTest.java b/src/test/java/com/fireblocks/sdk/model/RewardsInfoTest.java index 0b0eaa0c..5596a8c3 100644 --- a/src/test/java/com/fireblocks/sdk/model/RewardsInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/RewardsInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/RoleDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/RoleDetailsTest.java new file mode 100644 index 00000000..4cd04b89 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/RoleDetailsTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for RoleDetails */ +class RoleDetailsTest { + private final RoleDetails model = new RoleDetails(); + + /** Model tests for RoleDetails */ + @Test + void testRoleDetails() { + // TODO: test RoleDetails + } + + /** Test the property 'roleHash' */ + @Test + void roleHashTest() { + // TODO: test roleHash + } + + /** Test the property 'description' */ + @Test + void descriptionTest() { + // TODO: test description + } + + /** Test the property 'accounts' */ + @Test + void accountsTest() { + // TODO: test accounts + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/RoleGranteeTest.java b/src/test/java/com/fireblocks/sdk/model/RoleGranteeTest.java new file mode 100644 index 00000000..5bbad4a4 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/RoleGranteeTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for RoleGrantee */ +class RoleGranteeTest { + private final RoleGrantee model = new RoleGrantee(); + + /** Model tests for RoleGrantee */ + @Test + void testRoleGrantee() { + // TODO: test RoleGrantee + } + + /** Test the property 'accountAddress' */ + @Test + void accountAddressTest() { + // TODO: test accountAddress + } + + /** Test the property 'dateOfGrant' */ + @Test + void dateOfGrantTest() { + // TODO: test dateOfGrant + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/SEPAAddressTest.java b/src/test/java/com/fireblocks/sdk/model/SEPAAddressTest.java index cd510f8c..93eea4db 100644 --- a/src/test/java/com/fireblocks/sdk/model/SEPAAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SEPAAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SEPADestinationTest.java b/src/test/java/com/fireblocks/sdk/model/SEPADestinationTest.java index cb2803cf..6b9af99f 100644 --- a/src/test/java/com/fireblocks/sdk/model/SEPADestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SEPADestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SOLAccountTest.java b/src/test/java/com/fireblocks/sdk/model/SOLAccountTest.java index 2e521e16..3f83d1b5 100644 --- a/src/test/java/com/fireblocks/sdk/model/SOLAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SOLAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SOLAccountWithValueTest.java b/src/test/java/com/fireblocks/sdk/model/SOLAccountWithValueTest.java index a4b1bb4a..f0e44249 100644 --- a/src/test/java/com/fireblocks/sdk/model/SOLAccountWithValueTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SOLAccountWithValueTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScopeItemTest.java b/src/test/java/com/fireblocks/sdk/model/ScopeItemTest.java new file mode 100644 index 00000000..372d2aa8 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/ScopeItemTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for ScopeItem */ +class ScopeItemTest { + private final ScopeItem model = new ScopeItem(); + + /** Model tests for ScopeItem */ + @Test + void testScopeItem() { + // TODO: test ScopeItem + } + + /** Test the property 'providerId' */ + @Test + void providerIdTest() { + // TODO: test providerId + } + + /** Test the property 'accountId' */ + @Test + void accountIdTest() { + // TODO: test accountId + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnumTest.java index e9bced55..040c6368 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningAlertExposureTypeEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningAmlAlertTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlAlertTest.java index 9790555b..cb0c73b8 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningAmlAlertTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlAlertTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRuleTest.java index cdc1e1f3..0eff004a 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlMatchedRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningAmlResultTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlResultTest.java index f60cf4bc..9fa22fd5 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningAmlResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningAmlResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningConfigurationsRequestTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningConfigurationsRequestTest.java index 36fb4399..523f7349 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningConfigurationsRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningConfigurationsRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningMetadataConfigTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningMetadataConfigTest.java index 15cb387a..9e983734 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningMetadataConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningMetadataConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningOperationExecutionOutputTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningOperationExecutionOutputTest.java index c712e1d9..a11230b7 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningOperationExecutionOutputTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningOperationExecutionOutputTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningOperationExecutionTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningOperationExecutionTest.java index ac19a1a4..ab3ca82e 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningOperationExecutionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningOperationExecutionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningOperationFailureTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningOperationFailureTest.java index a2e6da32..639d8674 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningOperationFailureTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningOperationFailureTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningOperationTypeTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningOperationTypeTest.java index ea6cefa9..5f0d74f1 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningOperationTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningOperationTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningPolicyResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningPolicyResponseTest.java index 95e4d7cb..084beee7 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningPolicyResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningPolicyResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningProviderRulesConfigurationResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningProviderRulesConfigurationResponseTest.java index cd32ba8d..813da131 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningProviderRulesConfigurationResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningProviderRulesConfigurationResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnumTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnumTest.java index 426a0610..adcb76a5 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningRiskLevelEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkAmountTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkAmountTest.java index 220be017..6b881e8e 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkAmountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkAmountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecisionTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecisionTest.java index 9d53c652..91db70e6 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecisionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmDecisionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRuleTest.java index c149da32..c4cd5f54 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkMissingTrmRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRuleTest.java index d8120c0e..196da157 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPostScreeningRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRuleTest.java index df304403..00dead82 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkPrescreeningRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBaseTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBaseTest.java index 45f2da85..be26def6 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBaseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTRLinkRuleBaseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRuleTest.java index 6a59d432..a601f575 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleMatchedRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRuleTest.java index e01f4ae8..c046e549 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRulePrescreeningRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleResultTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleResultTest.java index 5d1e305a..059cf9b0 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningTravelRuleResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningUpdateConfigurationsTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningUpdateConfigurationsTest.java index ce3d45f2..8faa3aa5 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningUpdateConfigurationsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningUpdateConfigurationsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningValidationFailureTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningValidationFailureTest.java index a7ebd4be..e8e6aeab 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningValidationFailureTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningValidationFailureTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictEnumTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictEnumTest.java index 23184f0c..5d02f8a2 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictMatchedRuleTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictMatchedRuleTest.java index 9d8397ff..6eb92e2f 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictMatchedRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictMatchedRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictTest.java b/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictTest.java index eefcfd60..a5dcee51 100644 --- a/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ScreeningVerdictTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SearchNetworkIdsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SearchNetworkIdsResponseTest.java index 01eb0465..a83a027d 100644 --- a/src/test/java/com/fireblocks/sdk/model/SearchNetworkIdsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SearchNetworkIdsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SepaPaymentInfoTest.java b/src/test/java/com/fireblocks/sdk/model/SepaPaymentInfoTest.java index 22588658..8f9887ac 100644 --- a/src/test/java/com/fireblocks/sdk/model/SepaPaymentInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SepaPaymentInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SessionDTOTest.java b/src/test/java/com/fireblocks/sdk/model/SessionDTOTest.java index 420f7993..8462f4b5 100644 --- a/src/test/java/com/fireblocks/sdk/model/SessionDTOTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SessionDTOTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SessionMetadataTest.java b/src/test/java/com/fireblocks/sdk/model/SessionMetadataTest.java index 9f22e1c1..abbd2006 100644 --- a/src/test/java/com/fireblocks/sdk/model/SessionMetadataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SessionMetadataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdRequestTest.java index 6cd6b93c..d3e407aa 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdResponseTest.java index 88054288..2b054d28 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetAssetPriceRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetAssetPriceRequestTest.java index b682dab8..770ee8fb 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetAssetPriceRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetAssetPriceRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetAutoFuelRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetAutoFuelRequestTest.java index e5824eaa..0eb84781 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetAutoFuelRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetAutoFuelRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetConfirmationsThresholdRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetConfirmationsThresholdRequestTest.java index 51f81ffe..069db699 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetConfirmationsThresholdRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetConfirmationsThresholdRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetConfirmationsThresholdResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SetConfirmationsThresholdResponseTest.java index f3c664a8..7536f1f8 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetConfirmationsThresholdResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetConfirmationsThresholdResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetCustomerRefIdForAddressRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetCustomerRefIdForAddressRequestTest.java index 0454948b..52d608df 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetCustomerRefIdForAddressRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetCustomerRefIdForAddressRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetCustomerRefIdRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetCustomerRefIdRequestTest.java index 6771681b..d0a6b5e3 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetCustomerRefIdRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetCustomerRefIdRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigRequestTest.java index 9cb13a3f..19de7e01 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigResponseTest.java index 93c372bb..8b85c6cd 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetLayerZeroDvnConfigResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetLayerZeroPeersRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetLayerZeroPeersRequestTest.java index 29dad278..212be11e 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetLayerZeroPeersRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetLayerZeroPeersRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetLayerZeroPeersResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SetLayerZeroPeersResponseTest.java index 24487d07..09e40cfc 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetLayerZeroPeersResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetLayerZeroPeersResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetNetworkIdDiscoverabilityRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetNetworkIdDiscoverabilityRequestTest.java index 2e615c59..e45ee8e4 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetNetworkIdDiscoverabilityRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetNetworkIdDiscoverabilityRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetNetworkIdNameRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetNetworkIdNameRequestTest.java index d144cccd..0685cadc 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetNetworkIdNameRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetNetworkIdNameRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetNetworkIdResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SetNetworkIdResponseTest.java index f17af053..b9f7ff6e 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetNetworkIdResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetNetworkIdResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetNetworkIdRoutingPolicyRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetNetworkIdRoutingPolicyRequestTest.java index 4a299c4f..dd8ac7ff 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetNetworkIdRoutingPolicyRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetNetworkIdRoutingPolicyRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetOtaStatusRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetOtaStatusRequestTest.java index def959e6..2e12e571 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetOtaStatusRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetOtaStatusRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetOtaStatusResponseOneOfTest.java b/src/test/java/com/fireblocks/sdk/model/SetOtaStatusResponseOneOfTest.java index b45e9d01..375bdcdb 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetOtaStatusResponseOneOfTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetOtaStatusResponseOneOfTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetOtaStatusResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SetOtaStatusResponseTest.java index 680dec9e..df6031f9 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetOtaStatusResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetOtaStatusResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetRoutingPolicyRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SetRoutingPolicyRequestTest.java index b91f41b3..62a1886f 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetRoutingPolicyRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetRoutingPolicyRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SetRoutingPolicyResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SetRoutingPolicyResponseTest.java index 1dcb078d..225423b6 100644 --- a/src/test/java/com/fireblocks/sdk/model/SetRoutingPolicyResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SetRoutingPolicyResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SettlementRequestBodyTest.java b/src/test/java/com/fireblocks/sdk/model/SettlementRequestBodyTest.java index 8f072f34..f6200c0a 100644 --- a/src/test/java/com/fireblocks/sdk/model/SettlementRequestBodyTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SettlementRequestBodyTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SettlementResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SettlementResponseTest.java index 3af39df1..2bf1e83e 100644 --- a/src/test/java/com/fireblocks/sdk/model/SettlementResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SettlementResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SettlementSourceAccountTest.java b/src/test/java/com/fireblocks/sdk/model/SettlementSourceAccountTest.java index 42abef0a..a788335b 100644 --- a/src/test/java/com/fireblocks/sdk/model/SettlementSourceAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SettlementSourceAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -36,4 +36,10 @@ void typeTest() { void accountIdTest() { // TODO: test accountId } + + /** Test the property 'senderInformation' */ + @Test + void senderInformationTest() { + // TODO: test senderInformation + } } diff --git a/src/test/java/com/fireblocks/sdk/model/SettlementTest.java b/src/test/java/com/fireblocks/sdk/model/SettlementTest.java index f2ac6bcf..e713a1ad 100644 --- a/src/test/java/com/fireblocks/sdk/model/SettlementTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SettlementTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SideTest.java b/src/test/java/com/fireblocks/sdk/model/SideTest.java new file mode 100644 index 00000000..6344cedc --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/SideTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for Side */ +class SideTest { + /** Model tests for Side */ + @Test + void testSide() { + // TODO: test Side + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/SignedMessageSignatureTest.java b/src/test/java/com/fireblocks/sdk/model/SignedMessageSignatureTest.java index 875af743..0ed60134 100644 --- a/src/test/java/com/fireblocks/sdk/model/SignedMessageSignatureTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SignedMessageSignatureTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SignedMessageTest.java b/src/test/java/com/fireblocks/sdk/model/SignedMessageTest.java index 9f014359..0ef01b64 100644 --- a/src/test/java/com/fireblocks/sdk/model/SignedMessageTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SignedMessageTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SigningKeyDtoTest.java b/src/test/java/com/fireblocks/sdk/model/SigningKeyDtoTest.java index 5f177939..68c89e9d 100644 --- a/src/test/java/com/fireblocks/sdk/model/SigningKeyDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SigningKeyDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferApproveTermTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferApproveTermTest.java index 0fb524ae..dc0ccd99 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferApproveTermTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferApproveTermTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferBadRequestResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferBadRequestResponseTest.java index da1a2dc0..cca4bbc7 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferBadRequestResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferBadRequestResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferCoinStatisticTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferCoinStatisticTest.java index 16367ad7..37f3de1f 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferCoinStatisticTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferCoinStatisticTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTermTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTermTest.java index 1dab7c9a..b6a05cf4 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTermTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTermTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTest.java index d093bc5b..bcd150f2 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferCreateTicketTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferForbiddenResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferForbiddenResponseTest.java index 082b153d..b7e72eeb 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferForbiddenResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferForbiddenResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferFundDvpTicketTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferFundDvpTicketTest.java index be62eeeb..fc0ccd50 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferFundDvpTicketTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferFundDvpTicketTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferFundTermTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferFundTermTest.java index bf034d57..52414636 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferFundTermTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferFundTermTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferManuallyFundTermTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferManuallyFundTermTest.java index b91192af..d95d3063 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferManuallyFundTermTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferManuallyFundTermTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferNotFoundResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferNotFoundResponseTest.java index f354c0f8..6cd0f7c1 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferNotFoundResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferNotFoundResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferSetTicketExpirationTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferSetTicketExpirationTest.java index 07e8deac..a04caea0 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferSetTicketExpirationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferSetTicketExpirationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferSetTicketExternalIdTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferSetTicketExternalIdTest.java index 7e7f2dad..cfa0adbe 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferSetTicketExternalIdTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferSetTicketExternalIdTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferSetUserGroupsTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferSetUserGroupsTest.java index 95098c44..f4e84966 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferSetUserGroupsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferSetUserGroupsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticInflowTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticInflowTest.java index 9debcc48..57858fac 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticInflowTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticInflowTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticOutflowTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticOutflowTest.java index c19843c4..5961876c 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticOutflowTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticOutflowTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticTest.java index fe1319d6..089f0650 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferStatisticTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferSubmitTicketTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferSubmitTicketTest.java index f6f0fc96..7d90ea3f 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferSubmitTicketTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferSubmitTicketTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketFilteredResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketFilteredResponseTest.java index bf71bc1f..bee97bdb 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketFilteredResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketFilteredResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketResponseTest.java index a65e7df8..12ed4b48 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTermResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTermResponseTest.java index 300b177e..f213ceb8 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTermResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTermResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTermTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTermTest.java index d3c84428..f3503515 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTermTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTermTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTest.java index 4fc2ea98..185be988 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferTicketTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferUpdateTicketTermTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferUpdateTicketTermTest.java index a1113374..ad943aed 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferUpdateTicketTermTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferUpdateTicketTermTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferUserGroupsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferUserGroupsResponseTest.java index 9b190bc6..822c8639 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferUserGroupsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferUserGroupsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SmartTransferUserGroupsTest.java b/src/test/java/com/fireblocks/sdk/model/SmartTransferUserGroupsTest.java index 577c42f4..27c8379f 100644 --- a/src/test/java/com/fireblocks/sdk/model/SmartTransferUserGroupsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SmartTransferUserGroupsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SolParameterTest.java b/src/test/java/com/fireblocks/sdk/model/SolParameterTest.java index 466f16bb..00cb591f 100644 --- a/src/test/java/com/fireblocks/sdk/model/SolParameterTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SolParameterTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SolParameterWithValueTest.java b/src/test/java/com/fireblocks/sdk/model/SolParameterWithValueTest.java index f966a422..1c519653 100644 --- a/src/test/java/com/fireblocks/sdk/model/SolParameterWithValueTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SolParameterWithValueTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SolanaBlockchainDataTest.java b/src/test/java/com/fireblocks/sdk/model/SolanaBlockchainDataTest.java index 88ec80b9..fb2c08ae 100644 --- a/src/test/java/com/fireblocks/sdk/model/SolanaBlockchainDataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SolanaBlockchainDataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SolanaConfigTest.java b/src/test/java/com/fireblocks/sdk/model/SolanaConfigTest.java index 77fe30a2..aaf630d9 100644 --- a/src/test/java/com/fireblocks/sdk/model/SolanaConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SolanaConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SolanaInstructionTest.java b/src/test/java/com/fireblocks/sdk/model/SolanaInstructionTest.java index db2dcc24..97eea5dc 100644 --- a/src/test/java/com/fireblocks/sdk/model/SolanaInstructionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SolanaInstructionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SolanaInstructionWithValueTest.java b/src/test/java/com/fireblocks/sdk/model/SolanaInstructionWithValueTest.java index 6dd85650..fd862406 100644 --- a/src/test/java/com/fireblocks/sdk/model/SolanaInstructionWithValueTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SolanaInstructionWithValueTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SolanaSimpleCreateParamsTest.java b/src/test/java/com/fireblocks/sdk/model/SolanaSimpleCreateParamsTest.java index e0e942dc..5f042e27 100644 --- a/src/test/java/com/fireblocks/sdk/model/SolanaSimpleCreateParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SolanaSimpleCreateParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SourceConfigTest.java b/src/test/java/com/fireblocks/sdk/model/SourceConfigTest.java index 1f97d235..256d7edb 100644 --- a/src/test/java/com/fireblocks/sdk/model/SourceConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SourceConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathResponseTest.java index b68cb08b..cd4b495c 100644 --- a/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathTest.java b/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathTest.java index e3d8b589..a24102af 100644 --- a/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SourceTransferPeerPathTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SpamOwnershipResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SpamOwnershipResponseTest.java index aa418b4f..92cd0575 100644 --- a/src/test/java/com/fireblocks/sdk/model/SpamOwnershipResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SpamOwnershipResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SpamTokenResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SpamTokenResponseTest.java index 3a2109b6..6d5bc35e 100644 --- a/src/test/java/com/fireblocks/sdk/model/SpamTokenResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SpamTokenResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SpeiAddressTest.java b/src/test/java/com/fireblocks/sdk/model/SpeiAddressTest.java index 39cca542..629e450e 100644 --- a/src/test/java/com/fireblocks/sdk/model/SpeiAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SpeiAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SpeiAdvancedPaymentInfoTest.java b/src/test/java/com/fireblocks/sdk/model/SpeiAdvancedPaymentInfoTest.java index d1ce8781..be87e632 100644 --- a/src/test/java/com/fireblocks/sdk/model/SpeiAdvancedPaymentInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SpeiAdvancedPaymentInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SpeiBasicPaymentInfoTest.java b/src/test/java/com/fireblocks/sdk/model/SpeiBasicPaymentInfoTest.java index e01df45a..1fc58eff 100644 --- a/src/test/java/com/fireblocks/sdk/model/SpeiBasicPaymentInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SpeiBasicPaymentInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SpeiDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/SpeiDestinationTest.java index df926419..77aa1f5d 100644 --- a/src/test/java/com/fireblocks/sdk/model/SpeiDestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SpeiDestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SplitRequestTest.java b/src/test/java/com/fireblocks/sdk/model/SplitRequestTest.java index 27d80258..68ab4402 100644 --- a/src/test/java/com/fireblocks/sdk/model/SplitRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SplitRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SplitResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SplitResponseTest.java index 80ed1324..a811c7b0 100644 --- a/src/test/java/com/fireblocks/sdk/model/SplitResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SplitResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/StEthBlockchainDataTest.java b/src/test/java/com/fireblocks/sdk/model/StEthBlockchainDataTest.java new file mode 100644 index 00000000..7604f742 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/StEthBlockchainDataTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for StEthBlockchainData */ +class StEthBlockchainDataTest { + private final StEthBlockchainData model = new StEthBlockchainData(); + + /** Model tests for StEthBlockchainData */ + @Test + void testStEthBlockchainData() { + // TODO: test StEthBlockchainData + } + + /** Test the property 'totalWithdrawableAmount' */ + @Test + void totalWithdrawableAmountTest() { + // TODO: test totalWithdrawableAmount + } + + /** Test the property 'totalInactiveAmount' */ + @Test + void totalInactiveAmountTest() { + // TODO: test totalInactiveAmount + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/StakeRequestTest.java b/src/test/java/com/fireblocks/sdk/model/StakeRequestTest.java index b09a5537..c8dff2f8 100644 --- a/src/test/java/com/fireblocks/sdk/model/StakeRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/StakeRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -60,4 +60,22 @@ void feeTest() { void feeLevelTest() { // TODO: test feeLevel } + + /** Test the property 'chainDescriptor' */ + @Test + void chainDescriptorTest() { + // TODO: test chainDescriptor + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'isCompoundingValidator' */ + @Test + void isCompoundingValidatorTest() { + // TODO: test isCompoundingValidator + } } diff --git a/src/test/java/com/fireblocks/sdk/model/StakeResponseTest.java b/src/test/java/com/fireblocks/sdk/model/StakeResponseTest.java index 4253e5bc..995a0d67 100644 --- a/src/test/java/com/fireblocks/sdk/model/StakeResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/StakeResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/StakingProviderTest.java b/src/test/java/com/fireblocks/sdk/model/StakingProviderTest.java index f344bb4d..584d2c55 100644 --- a/src/test/java/com/fireblocks/sdk/model/StakingProviderTest.java +++ b/src/test/java/com/fireblocks/sdk/model/StakingProviderTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/StatusTest.java b/src/test/java/com/fireblocks/sdk/model/StatusTest.java index cf327d94..25a74d87 100644 --- a/src/test/java/com/fireblocks/sdk/model/StatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/StatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/StellarRippleCreateParamsDtoTest.java b/src/test/java/com/fireblocks/sdk/model/StellarRippleCreateParamsDtoTest.java index 6c9faa73..dc8dc207 100644 --- a/src/test/java/com/fireblocks/sdk/model/StellarRippleCreateParamsDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/StellarRippleCreateParamsDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SupportedBlockChainsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/SupportedBlockChainsResponseTest.java new file mode 100644 index 00000000..fe16513b --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/SupportedBlockChainsResponseTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for SupportedBlockChainsResponse */ +class SupportedBlockChainsResponseTest { + private final SupportedBlockChainsResponse model = new SupportedBlockChainsResponse(); + + /** Model tests for SupportedBlockChainsResponse */ + @Test + void testSupportedBlockChainsResponse() { + // TODO: test SupportedBlockChainsResponse + } + + /** Test the property 'supportsAllBlockchains' */ + @Test + void supportsAllBlockchainsTest() { + // TODO: test supportsAllBlockchains + } + + /** Test the property 'supportedBlockchains' */ + @Test + void supportedBlockchainsTest() { + // TODO: test supportedBlockchains + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/SupportedBlockchainTest.java b/src/test/java/com/fireblocks/sdk/model/SupportedBlockchainTest.java new file mode 100644 index 00000000..6667628c --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/SupportedBlockchainTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for SupportedBlockchain */ +class SupportedBlockchainTest { + private final SupportedBlockchain model = new SupportedBlockchain(); + + /** Model tests for SupportedBlockchain */ + @Test + void testSupportedBlockchain() { + // TODO: test SupportedBlockchain + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'legacyId' */ + @Test + void legacyIdTest() { + // TODO: test legacyId + } + + /** Test the property 'displayName' */ + @Test + void displayNameTest() { + // TODO: test displayName + } + + /** Test the property 'nativeAssetId' */ + @Test + void nativeAssetIdTest() { + // TODO: test nativeAssetId + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/SwiftAddressTest.java b/src/test/java/com/fireblocks/sdk/model/SwiftAddressTest.java index ad19ae50..13a24286 100644 --- a/src/test/java/com/fireblocks/sdk/model/SwiftAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SwiftAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SwiftDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/SwiftDestinationTest.java index 44aba20a..7bea26d0 100644 --- a/src/test/java/com/fireblocks/sdk/model/SwiftDestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SwiftDestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/SystemMessageInfoTest.java b/src/test/java/com/fireblocks/sdk/model/SystemMessageInfoTest.java index e48f8dc8..77d7d60b 100644 --- a/src/test/java/com/fireblocks/sdk/model/SystemMessageInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/SystemMessageInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAPIPagedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAPIPagedResponseTest.java new file mode 100644 index 00000000..070b6300 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAPIPagedResponseTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkAPIPagedResponse */ +class TRLinkAPIPagedResponseTest { + private final TRLinkAPIPagedResponse model = new TRLinkAPIPagedResponse(); + + /** Model tests for TRLinkAPIPagedResponse */ + @Test + void testTRLinkAPIPagedResponse() { + // TODO: test TRLinkAPIPagedResponse + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } + + /** Test the property 'paging' */ + @Test + void pagingTest() { + // TODO: test paging + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAmount2Test.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAmount2Test.java new file mode 100644 index 00000000..a04305b7 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAmount2Test.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkAmount2 */ +class TRLinkAmount2Test { + private final TRLinkAmount2 model = new TRLinkAmount2(); + + /** Model tests for TRLinkAmount2 */ + @Test + void testTRLinkAmount2() { + // TODO: test TRLinkAmount2 + } + + /** Test the property 'range' */ + @Test + void rangeTest() { + // TODO: test range + } + + /** Test the property 'currency' */ + @Test + void currencyTest() { + // TODO: test currency + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAmountRangeTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAmountRangeTest.java new file mode 100644 index 00000000..e6dbe544 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAmountRangeTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkAmountRange */ +class TRLinkAmountRangeTest { + private final TRLinkAmountRange model = new TRLinkAmountRange(); + + /** Model tests for TRLinkAmountRange */ + @Test + void testTRLinkAmountRange() { + // TODO: test TRLinkAmountRange + } + + /** Test the property 'min' */ + @Test + void minTest() { + // TODO: test min + } + + /** Test the property 'max' */ + @Test + void maxTest() { + // TODO: test max + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAmountTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAmountTest.java index e9392164..a46f7175 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkAmountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAmountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleRequestTest.java new file mode 100644 index 00000000..fe6ffd4d --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleRequestTest.java @@ -0,0 +1,105 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkAssessTravelRuleRequest */ +class TRLinkAssessTravelRuleRequestTest { + private final TRLinkAssessTravelRuleRequest model = new TRLinkAssessTravelRuleRequest(); + + /** Model tests for TRLinkAssessTravelRuleRequest */ + @Test + void testTRLinkAssessTravelRuleRequest() { + // TODO: test TRLinkAssessTravelRuleRequest + } + + /** Test the property 'txId' */ + @Test + void txIdTest() { + // TODO: test txId + } + + /** Test the property 'amount' */ + @Test + void amountTest() { + // TODO: test amount + } + + /** Test the property 'amountUSD' */ + @Test + void amountUSDTest() { + // TODO: test amountUSD + } + + /** Test the property 'destination' */ + @Test + void destinationTest() { + // TODO: test destination + } + + /** Test the property 'destAddress' */ + @Test + void destAddressTest() { + // TODO: test destAddress + } + + /** Test the property 'destTag' */ + @Test + void destTagTest() { + // TODO: test destTag + } + + /** Test the property 'source' */ + @Test + void sourceTest() { + // TODO: test source + } + + /** Test the property 'srcAddress' */ + @Test + void srcAddressTest() { + // TODO: test srcAddress + } + + /** Test the property 'assetId' */ + @Test + void assetIdTest() { + // TODO: test assetId + } + + /** Test the property 'direction' */ + @Test + void directionTest() { + // TODO: test direction + } + + /** Test the property 'txHash' */ + @Test + void txHashTest() { + // TODO: test txHash + } + + /** Test the property 'originatorVaspId' */ + @Test + void originatorVaspIdTest() { + // TODO: test originatorVaspId + } + + /** Test the property 'beneficiaryVaspId' */ + @Test + void beneficiaryVaspIdTest() { + // TODO: test beneficiaryVaspId + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleResponseTest.java new file mode 100644 index 00000000..bd1add2a --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAssessTravelRuleResponseTest.java @@ -0,0 +1,57 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkAssessTravelRuleResponse */ +class TRLinkAssessTravelRuleResponseTest { + private final TRLinkAssessTravelRuleResponse model = new TRLinkAssessTravelRuleResponse(); + + /** Model tests for TRLinkAssessTravelRuleResponse */ + @Test + void testTRLinkAssessTravelRuleResponse() { + // TODO: test TRLinkAssessTravelRuleResponse + } + + /** Test the property 'decision' */ + @Test + void decisionTest() { + // TODO: test decision + } + + /** Test the property 'reason' */ + @Test + void reasonTest() { + // TODO: test reason + } + + /** Test the property 'requiredFields' */ + @Test + void requiredFieldsTest() { + // TODO: test requiredFields + } + + /** Test the property 'missingInfo' */ + @Test + void missingInfoTest() { + // TODO: test missingInfo + } + + /** Test the property 'thresholds' */ + @Test + void thresholdsTest() { + // TODO: test thresholds + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAssessmentDecisionTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAssessmentDecisionTest.java new file mode 100644 index 00000000..e1212638 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAssessmentDecisionTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkAssessmentDecision */ +class TRLinkAssessmentDecisionTest { + /** Model tests for TRLinkAssessmentDecision */ + @Test + void testTRLinkAssessmentDecision() { + // TODO: test TRLinkAssessmentDecision + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAssetDataTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAssetDataTest.java new file mode 100644 index 00000000..bfd2ee0d --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAssetDataTest.java @@ -0,0 +1,57 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkAssetData */ +class TRLinkAssetDataTest { + private final TRLinkAssetData model = new TRLinkAssetData(); + + /** Model tests for TRLinkAssetData */ + @Test + void testTRLinkAssetData() { + // TODO: test TRLinkAssetData + } + + /** Test the property 'ticker' */ + @Test + void tickerTest() { + // TODO: test ticker + } + + /** Test the property 'network' */ + @Test + void networkTest() { + // TODO: test network + } + + /** Test the property 'ucid' */ + @Test + void ucidTest() { + // TODO: test ucid + } + + /** Test the property 'contractAddress' */ + @Test + void contractAddressTest() { + // TODO: test contractAddress + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAssetFormatTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAssetFormatTest.java new file mode 100644 index 00000000..c872783d --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAssetFormatTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkAssetFormat */ +class TRLinkAssetFormatTest { + /** Model tests for TRLinkAssetFormat */ + @Test + void testTRLinkAssetFormat() { + // TODO: test TRLinkAssetFormat + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAssetTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAssetTest.java new file mode 100644 index 00000000..ee4eac54 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAssetTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkAsset */ +class TRLinkAssetTest { + private final TRLinkAsset model = new TRLinkAsset(); + + /** Model tests for TRLinkAsset */ + @Test + void testTRLinkAsset() { + // TODO: test TRLinkAsset + } + + /** Test the property 'format' */ + @Test + void formatTest() { + // TODO: test format + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkAssetsListPagedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkAssetsListPagedResponseTest.java new file mode 100644 index 00000000..065eed94 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkAssetsListPagedResponseTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkAssetsListPagedResponse */ +class TRLinkAssetsListPagedResponseTest { + private final TRLinkAssetsListPagedResponse model = new TRLinkAssetsListPagedResponse(); + + /** Model tests for TRLinkAssetsListPagedResponse */ + @Test + void testTRLinkAssetsListPagedResponse() { + // TODO: test TRLinkAssetsListPagedResponse + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } + + /** Test the property 'paging' */ + @Test + void pagingTest() { + // TODO: test paging + } + + /** Test the property 'partnerCanHandleAnyAsset' */ + @Test + void partnerCanHandleAnyAssetTest() { + // TODO: test partnerCanHandleAnyAsset + } + + /** Test the property 'note' */ + @Test + void noteTest() { + // TODO: test note + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkCancelTrmRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkCancelTrmRequestTest.java new file mode 100644 index 00000000..17ae1a51 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkCancelTrmRequestTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkCancelTrmRequest */ +class TRLinkCancelTrmRequestTest { + private final TRLinkCancelTrmRequest model = new TRLinkCancelTrmRequest(); + + /** Model tests for TRLinkCancelTrmRequest */ + @Test + void testTRLinkCancelTrmRequest() { + // TODO: test TRLinkCancelTrmRequest + } + + /** Test the property 'reason' */ + @Test + void reasonTest() { + // TODO: test reason + } + + /** Test the property 'cancelledBy' */ + @Test + void cancelledByTest() { + // TODO: test cancelledBy + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkConnectIntegrationRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkConnectIntegrationRequestTest.java new file mode 100644 index 00000000..13a50a8c --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkConnectIntegrationRequestTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkConnectIntegrationRequest */ +class TRLinkConnectIntegrationRequestTest { + private final TRLinkConnectIntegrationRequest model = new TRLinkConnectIntegrationRequest(); + + /** Model tests for TRLinkConnectIntegrationRequest */ + @Test + void testTRLinkConnectIntegrationRequest() { + // TODO: test TRLinkConnectIntegrationRequest + } + + /** Test the property 'apiKey' */ + @Test + void apiKeyTest() { + // TODO: test apiKey + } + + /** Test the property 'secret' */ + @Test + void secretTest() { + // TODO: test secret + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkCreateCustomerRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkCreateCustomerRequestTest.java new file mode 100644 index 00000000..611c5b25 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkCreateCustomerRequestTest.java @@ -0,0 +1,81 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkCreateCustomerRequest */ +class TRLinkCreateCustomerRequestTest { + private final TRLinkCreateCustomerRequest model = new TRLinkCreateCustomerRequest(); + + /** Model tests for TRLinkCreateCustomerRequest */ + @Test + void testTRLinkCreateCustomerRequest() { + // TODO: test TRLinkCreateCustomerRequest + } + + /** Test the property 'discoverable' */ + @Test + void discoverableTest() { + // TODO: test discoverable + } + + /** Test the property 'shortName' */ + @Test + void shortNameTest() { + // TODO: test shortName + } + + /** Test the property 'fullLegalName' */ + @Test + void fullLegalNameTest() { + // TODO: test fullLegalName + } + + /** Test the property 'geographicAddress' */ + @Test + void geographicAddressTest() { + // TODO: test geographicAddress + } + + /** Test the property 'countryOfRegistration' */ + @Test + void countryOfRegistrationTest() { + // TODO: test countryOfRegistration + } + + /** Test the property 'nationalIdentification' */ + @Test + void nationalIdentificationTest() { + // TODO: test nationalIdentification + } + + /** Test the property 'dateOfIncorporation' */ + @Test + void dateOfIncorporationTest() { + // TODO: test dateOfIncorporation + } + + /** Test the property 'vaults' */ + @Test + void vaultsTest() { + // TODO: test vaults + } + + /** Test the property 'trPrimaryPurpose' */ + @Test + void trPrimaryPurposeTest() { + // TODO: test trPrimaryPurpose + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkCreateIntegrationRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkCreateIntegrationRequestTest.java new file mode 100644 index 00000000..4b4c0909 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkCreateIntegrationRequestTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkCreateIntegrationRequest */ +class TRLinkCreateIntegrationRequestTest { + private final TRLinkCreateIntegrationRequest model = new TRLinkCreateIntegrationRequest(); + + /** Model tests for TRLinkCreateIntegrationRequest */ + @Test + void testTRLinkCreateIntegrationRequest() { + // TODO: test TRLinkCreateIntegrationRequest + } + + /** Test the property 'customerId' */ + @Test + void customerIdTest() { + // TODO: test customerId + } + + /** Test the property 'partnerIdent' */ + @Test + void partnerIdentTest() { + // TODO: test partnerIdent + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkCreateTrmRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkCreateTrmRequestTest.java new file mode 100644 index 00000000..4500dafe --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkCreateTrmRequestTest.java @@ -0,0 +1,111 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkCreateTrmRequest */ +class TRLinkCreateTrmRequestTest { + private final TRLinkCreateTrmRequest model = new TRLinkCreateTrmRequest(); + + /** Model tests for TRLinkCreateTrmRequest */ + @Test + void testTRLinkCreateTrmRequest() { + // TODO: test TRLinkCreateTrmRequest + } + + /** Test the property 'assetId' */ + @Test + void assetIdTest() { + // TODO: test assetId + } + + /** Test the property 'amount' */ + @Test + void amountTest() { + // TODO: test amount + } + + /** Test the property 'amountUSD' */ + @Test + void amountUSDTest() { + // TODO: test amountUSD + } + + /** Test the property 'source' */ + @Test + void sourceTest() { + // TODO: test source + } + + /** Test the property 'srcAddress' */ + @Test + void srcAddressTest() { + // TODO: test srcAddress + } + + /** Test the property 'destination' */ + @Test + void destinationTest() { + // TODO: test destination + } + + /** Test the property 'destAddress' */ + @Test + void destAddressTest() { + // TODO: test destAddress + } + + /** Test the property 'destTag' */ + @Test + void destTagTest() { + // TODO: test destTag + } + + /** Test the property 'txId' */ + @Test + void txIdTest() { + // TODO: test txId + } + + /** Test the property 'txHash' */ + @Test + void txHashTest() { + // TODO: test txHash + } + + /** Test the property 'direction' */ + @Test + void directionTest() { + // TODO: test direction + } + + /** Test the property 'originatorVaspId' */ + @Test + void originatorVaspIdTest() { + // TODO: test originatorVaspId + } + + /** Test the property 'beneficiaryVaspId' */ + @Test + void beneficiaryVaspIdTest() { + // TODO: test beneficiaryVaspId + } + + /** Test the property 'ivms101' */ + @Test + void ivms101Test() { + // TODO: test ivms101 + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkCurrencyTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkCurrencyTest.java new file mode 100644 index 00000000..0adcad50 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkCurrencyTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkCurrency */ +class TRLinkCurrencyTest { + /** Model tests for TRLinkCurrency */ + @Test + void testTRLinkCurrency() { + // TODO: test TRLinkCurrency + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkCustomerIntegrationResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkCustomerIntegrationResponseTest.java new file mode 100644 index 00000000..4ad364bc --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkCustomerIntegrationResponseTest.java @@ -0,0 +1,69 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkCustomerIntegrationResponse */ +class TRLinkCustomerIntegrationResponseTest { + private final TRLinkCustomerIntegrationResponse model = new TRLinkCustomerIntegrationResponse(); + + /** Model tests for TRLinkCustomerIntegrationResponse */ + @Test + void testTRLinkCustomerIntegrationResponse() { + // TODO: test TRLinkCustomerIntegrationResponse + } + + /** Test the property 'customerIntegrationId' */ + @Test + void customerIntegrationIdTest() { + // TODO: test customerIntegrationId + } + + /** Test the property 'apiKey' */ + @Test + void apiKeyTest() { + // TODO: test apiKey + } + + /** Test the property 'secret' */ + @Test + void secretTest() { + // TODO: test secret + } + + /** Test the property 'createDate' */ + @Test + void createDateTest() { + // TODO: test createDate + } + + /** Test the property 'lastUpdate' */ + @Test + void lastUpdateTest() { + // TODO: test lastUpdate + } + + /** Test the property 'partner' */ + @Test + void partnerTest() { + // TODO: test partner + } + + /** Test the property 'customer' */ + @Test + void customerTest() { + // TODO: test customer + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkCustomerResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkCustomerResponseTest.java new file mode 100644 index 00000000..a910beb5 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkCustomerResponseTest.java @@ -0,0 +1,105 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkCustomerResponse */ +class TRLinkCustomerResponseTest { + private final TRLinkCustomerResponse model = new TRLinkCustomerResponse(); + + /** Model tests for TRLinkCustomerResponse */ + @Test + void testTRLinkCustomerResponse() { + // TODO: test TRLinkCustomerResponse + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'tenantId' */ + @Test + void tenantIdTest() { + // TODO: test tenantId + } + + /** Test the property 'discoverable' */ + @Test + void discoverableTest() { + // TODO: test discoverable + } + + /** Test the property 'shortName' */ + @Test + void shortNameTest() { + // TODO: test shortName + } + + /** Test the property 'fullLegalName' */ + @Test + void fullLegalNameTest() { + // TODO: test fullLegalName + } + + /** Test the property 'geographicAddress' */ + @Test + void geographicAddressTest() { + // TODO: test geographicAddress + } + + /** Test the property 'countryOfRegistration' */ + @Test + void countryOfRegistrationTest() { + // TODO: test countryOfRegistration + } + + /** Test the property 'nationalIdentification' */ + @Test + void nationalIdentificationTest() { + // TODO: test nationalIdentification + } + + /** Test the property 'dateOfIncorporation' */ + @Test + void dateOfIncorporationTest() { + // TODO: test dateOfIncorporation + } + + /** Test the property 'vaults' */ + @Test + void vaultsTest() { + // TODO: test vaults + } + + /** Test the property 'trPrimaryPurpose' */ + @Test + void trPrimaryPurposeTest() { + // TODO: test trPrimaryPurpose + } + + /** Test the property 'createDate' */ + @Test + void createDateTest() { + // TODO: test createDate + } + + /** Test the property 'lastUpdate' */ + @Test + void lastUpdateTest() { + // TODO: test lastUpdate + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkDestinationTransferPeerPathTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkDestinationTransferPeerPathTest.java new file mode 100644 index 00000000..fc3aa5ce --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkDestinationTransferPeerPathTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkDestinationTransferPeerPath */ +class TRLinkDestinationTransferPeerPathTest { + private final TRLinkDestinationTransferPeerPath model = new TRLinkDestinationTransferPeerPath(); + + /** Model tests for TRLinkDestinationTransferPeerPath */ + @Test + void testTRLinkDestinationTransferPeerPath() { + // TODO: test TRLinkDestinationTransferPeerPath + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'walletId' */ + @Test + void walletIdTest() { + // TODO: test walletId + } + + /** Test the property 'oneTimeAddress' */ + @Test + void oneTimeAddressTest() { + // TODO: test oneTimeAddress + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkDiscoverableStatusTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkDiscoverableStatusTest.java new file mode 100644 index 00000000..bef2b60c --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkDiscoverableStatusTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkDiscoverableStatus */ +class TRLinkDiscoverableStatusTest { + /** Model tests for TRLinkDiscoverableStatus */ + @Test + void testTRLinkDiscoverableStatus() { + // TODO: test TRLinkDiscoverableStatus + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkFiatValueTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkFiatValueTest.java new file mode 100644 index 00000000..40c79230 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkFiatValueTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkFiatValue */ +class TRLinkFiatValueTest { + private final TRLinkFiatValue model = new TRLinkFiatValue(); + + /** Model tests for TRLinkFiatValue */ + @Test + void testTRLinkFiatValue() { + // TODO: test TRLinkFiatValue + } + + /** Test the property 'amount' */ + @Test + void amountTest() { + // TODO: test amount + } + + /** Test the property 'currency' */ + @Test + void currencyTest() { + // TODO: test currency + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkGeographicAddressRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkGeographicAddressRequestTest.java new file mode 100644 index 00000000..1527e4b8 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkGeographicAddressRequestTest.java @@ -0,0 +1,87 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkGeographicAddressRequest */ +class TRLinkGeographicAddressRequestTest { + private final TRLinkGeographicAddressRequest model = new TRLinkGeographicAddressRequest(); + + /** Model tests for TRLinkGeographicAddressRequest */ + @Test + void testTRLinkGeographicAddressRequest() { + // TODO: test TRLinkGeographicAddressRequest + } + + /** Test the property 'addressLine' */ + @Test + void addressLineTest() { + // TODO: test addressLine + } + + /** Test the property 'streetName' */ + @Test + void streetNameTest() { + // TODO: test streetName + } + + /** Test the property 'buildingNumber' */ + @Test + void buildingNumberTest() { + // TODO: test buildingNumber + } + + /** Test the property 'floor' */ + @Test + void floorTest() { + // TODO: test floor + } + + /** Test the property 'postBox' */ + @Test + void postBoxTest() { + // TODO: test postBox + } + + /** Test the property 'postCode' */ + @Test + void postCodeTest() { + // TODO: test postCode + } + + /** Test the property 'townName' */ + @Test + void townNameTest() { + // TODO: test townName + } + + /** Test the property 'districtName' */ + @Test + void districtNameTest() { + // TODO: test districtName + } + + /** Test the property 'countrySubDivision' */ + @Test + void countrySubDivisionTest() { + // TODO: test countrySubDivision + } + + /** Test the property 'country' */ + @Test + void countryTest() { + // TODO: test country + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkGetSupportedAssetResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkGetSupportedAssetResponseTest.java new file mode 100644 index 00000000..2ec363cb --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkGetSupportedAssetResponseTest.java @@ -0,0 +1,57 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkGetSupportedAssetResponse */ +class TRLinkGetSupportedAssetResponseTest { + private final TRLinkGetSupportedAssetResponse model = new TRLinkGetSupportedAssetResponse(); + + /** Model tests for TRLinkGetSupportedAssetResponse */ + @Test + void testTRLinkGetSupportedAssetResponse() { + // TODO: test TRLinkGetSupportedAssetResponse + } + + /** Test the property 'fireblocksAsset' */ + @Test + void fireblocksAssetTest() { + // TODO: test fireblocksAsset + } + + /** Test the property 'partnerResponse' */ + @Test + void partnerResponseTest() { + // TODO: test partnerResponse + } + + /** Test the property 'partnerCanHandleAnyAsset' */ + @Test + void partnerCanHandleAnyAssetTest() { + // TODO: test partnerCanHandleAnyAsset + } + + /** Test the property 'note' */ + @Test + void noteTest() { + // TODO: test note + } + + /** Test the property 'supported' */ + @Test + void supportedTest() { + // TODO: test supported + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkIvmsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkIvmsResponseTest.java new file mode 100644 index 00000000..0386c828 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkIvmsResponseTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkIvmsResponse */ +class TRLinkIvmsResponseTest { + private final TRLinkIvmsResponse model = new TRLinkIvmsResponse(); + + /** Model tests for TRLinkIvmsResponse */ + @Test + void testTRLinkIvmsResponse() { + // TODO: test TRLinkIvmsResponse + } + + /** Test the property 'version' */ + @Test + void versionTest() { + // TODO: test version + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } + + /** Test the property 'filledFields' */ + @Test + void filledFieldsTest() { + // TODO: test filledFields + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkIvmsTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkIvmsTest.java new file mode 100644 index 00000000..38a7f9f6 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkIvmsTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkIvms */ +class TRLinkIvmsTest { + private final TRLinkIvms model = new TRLinkIvms(); + + /** Model tests for TRLinkIvms */ + @Test + void testTRLinkIvms() { + // TODO: test TRLinkIvms + } + + /** Test the property 'version' */ + @Test + void versionTest() { + // TODO: test version + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } + + /** Test the property 'filledFields' */ + @Test + void filledFieldsTest() { + // TODO: test filledFields + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkJwkPublicKeyTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkJwkPublicKeyTest.java new file mode 100644 index 00000000..ab7011b7 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkJwkPublicKeyTest.java @@ -0,0 +1,57 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkJwkPublicKey */ +class TRLinkJwkPublicKeyTest { + private final TRLinkJwkPublicKey model = new TRLinkJwkPublicKey(); + + /** Model tests for TRLinkJwkPublicKey */ + @Test + void testTRLinkJwkPublicKey() { + // TODO: test TRLinkJwkPublicKey + } + + /** Test the property 'kty' */ + @Test + void ktyTest() { + // TODO: test kty + } + + /** Test the property 'e' */ + @Test + void eTest() { + // TODO: test e + } + + /** Test the property 'use' */ + @Test + void useTest() { + // TODO: test use + } + + /** Test the property 'kid' */ + @Test + void kidTest() { + // TODO: test kid + } + + /** Test the property 'n' */ + @Test + void nTest() { + // TODO: test n + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction2Test.java b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction2Test.java new file mode 100644 index 00000000..ebb4ea94 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmAction2Test.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkMissingTrmAction2 */ +class TRLinkMissingTrmAction2Test { + /** Model tests for TRLinkMissingTrmAction2 */ + @Test + void testTRLinkMissingTrmAction2() { + // TODO: test TRLinkMissingTrmAction2 + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnumTest.java index c617bd10..8fcc0bb2 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionTest.java index 024877ca..9fb7c6c1 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmActionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecisionTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecisionTest.java index d92c8c5b..b3881edb 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecisionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmDecisionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule2Test.java b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule2Test.java new file mode 100644 index 00000000..f1da8b6e --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRule2Test.java @@ -0,0 +1,147 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkMissingTrmRule2 */ +class TRLinkMissingTrmRule2Test { + private final TRLinkMissingTrmRule2 model = new TRLinkMissingTrmRule2(); + + /** Model tests for TRLinkMissingTrmRule2 */ + @Test + void testTRLinkMissingTrmRule2() { + // TODO: test TRLinkMissingTrmRule2 + } + + /** Test the property 'customerId' */ + @Test + void customerIdTest() { + // TODO: test customerId + } + + /** Test the property 'direction' */ + @Test + void directionTest() { + // TODO: test direction + } + + /** Test the property 'sourceType' */ + @Test + void sourceTypeTest() { + // TODO: test sourceType + } + + /** Test the property 'sourceSubType' */ + @Test + void sourceSubTypeTest() { + // TODO: test sourceSubType + } + + /** Test the property 'sourceAddress' */ + @Test + void sourceAddressTest() { + // TODO: test sourceAddress + } + + /** Test the property 'destType' */ + @Test + void destTypeTest() { + // TODO: test destType + } + + /** Test the property 'destSubType' */ + @Test + void destSubTypeTest() { + // TODO: test destSubType + } + + /** Test the property 'destAddress' */ + @Test + void destAddressTest() { + // TODO: test destAddress + } + + /** Test the property 'sourceId' */ + @Test + void sourceIdTest() { + // TODO: test sourceId + } + + /** Test the property 'destId' */ + @Test + void destIdTest() { + // TODO: test destId + } + + /** Test the property 'asset' */ + @Test + void assetTest() { + // TODO: test asset + } + + /** Test the property 'baseAsset' */ + @Test + void baseAssetTest() { + // TODO: test baseAsset + } + + /** Test the property 'amount' */ + @Test + void amountTest() { + // TODO: test amount + } + + /** Test the property 'networkProtocol' */ + @Test + void networkProtocolTest() { + // TODO: test networkProtocol + } + + /** Test the property 'operation' */ + @Test + void operationTest() { + // TODO: test operation + } + + /** Test the property 'description' */ + @Test + void descriptionTest() { + // TODO: test description + } + + /** Test the property 'isDefault' */ + @Test + void isDefaultTest() { + // TODO: test isDefault + } + + /** Test the property 'validBefore' */ + @Test + void validBeforeTest() { + // TODO: test validBefore + } + + /** Test the property 'validAfter' */ + @Test + void validAfterTest() { + // TODO: test validAfter + } + + /** Test the property 'action' */ + @Test + void actionTest() { + // TODO: test action + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRuleTest.java index 00bc7082..787272df 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkMissingTrmRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkOneTimeAddressTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkOneTimeAddressTest.java new file mode 100644 index 00000000..c60ffb18 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkOneTimeAddressTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkOneTimeAddress */ +class TRLinkOneTimeAddressTest { + private final TRLinkOneTimeAddress model = new TRLinkOneTimeAddress(); + + /** Model tests for TRLinkOneTimeAddress */ + @Test + void testTRLinkOneTimeAddress() { + // TODO: test TRLinkOneTimeAddress + } + + /** Test the property 'address' */ + @Test + void addressTest() { + // TODO: test address + } + + /** Test the property 'tag' */ + @Test + void tagTest() { + // TODO: test tag + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPagingTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPagingTest.java new file mode 100644 index 00000000..47c1e4ec --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPagingTest.java @@ -0,0 +1,33 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkPaging */ +class TRLinkPagingTest { + private final TRLinkPaging model = new TRLinkPaging(); + + /** Model tests for TRLinkPaging */ + @Test + void testTRLinkPaging() { + // TODO: test TRLinkPaging + } + + /** Test the property 'next' */ + @Test + void nextTest() { + // TODO: test next + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPartnerResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPartnerResponseTest.java new file mode 100644 index 00000000..aa95cb28 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPartnerResponseTest.java @@ -0,0 +1,69 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkPartnerResponse */ +class TRLinkPartnerResponseTest { + private final TRLinkPartnerResponse model = new TRLinkPartnerResponse(); + + /** Model tests for TRLinkPartnerResponse */ + @Test + void testTRLinkPartnerResponse() { + // TODO: test TRLinkPartnerResponse + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'ident' */ + @Test + void identTest() { + // TODO: test ident + } + + /** Test the property 'name' */ + @Test + void nameTest() { + // TODO: test name + } + + /** Test the property 'description' */ + @Test + void descriptionTest() { + // TODO: test description + } + + /** Test the property 'baseUrl' */ + @Test + void baseUrlTest() { + // TODO: test baseUrl + } + + /** Test the property 'active' */ + @Test + void activeTest() { + // TODO: test active + } + + /** Test the property 'isTest' */ + @Test + void isTestTest() { + // TODO: test isTest + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPolicyResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPolicyResponseTest.java new file mode 100644 index 00000000..9561a211 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPolicyResponseTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkPolicyResponse */ +class TRLinkPolicyResponseTest { + private final TRLinkPolicyResponse model = new TRLinkPolicyResponse(); + + /** Model tests for TRLinkPolicyResponse */ + @Test + void testTRLinkPolicyResponse() { + // TODO: test TRLinkPolicyResponse + } + + /** Test the property 'preScreeningRules' */ + @Test + void preScreeningRulesTest() { + // TODO: test preScreeningRules + } + + /** Test the property 'postScreeningRules' */ + @Test + void postScreeningRulesTest() { + // TODO: test postScreeningRules + } + + /** Test the property 'missingTrmRules' */ + @Test + void missingTrmRulesTest() { + // TODO: test missingTrmRules + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningActionTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningActionTest.java new file mode 100644 index 00000000..793280ce --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningActionTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkPostScreeningAction */ +class TRLinkPostScreeningActionTest { + /** Model tests for TRLinkPostScreeningAction */ + @Test + void testTRLinkPostScreeningAction() { + // TODO: test TRLinkPostScreeningAction + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule2Test.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule2Test.java new file mode 100644 index 00000000..ad6fdded --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRule2Test.java @@ -0,0 +1,159 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkPostScreeningRule2 */ +class TRLinkPostScreeningRule2Test { + private final TRLinkPostScreeningRule2 model = new TRLinkPostScreeningRule2(); + + /** Model tests for TRLinkPostScreeningRule2 */ + @Test + void testTRLinkPostScreeningRule2() { + // TODO: test TRLinkPostScreeningRule2 + } + + /** Test the property 'customerId' */ + @Test + void customerIdTest() { + // TODO: test customerId + } + + /** Test the property 'direction' */ + @Test + void directionTest() { + // TODO: test direction + } + + /** Test the property 'sourceType' */ + @Test + void sourceTypeTest() { + // TODO: test sourceType + } + + /** Test the property 'sourceSubType' */ + @Test + void sourceSubTypeTest() { + // TODO: test sourceSubType + } + + /** Test the property 'sourceAddress' */ + @Test + void sourceAddressTest() { + // TODO: test sourceAddress + } + + /** Test the property 'destType' */ + @Test + void destTypeTest() { + // TODO: test destType + } + + /** Test the property 'destSubType' */ + @Test + void destSubTypeTest() { + // TODO: test destSubType + } + + /** Test the property 'destAddress' */ + @Test + void destAddressTest() { + // TODO: test destAddress + } + + /** Test the property 'sourceId' */ + @Test + void sourceIdTest() { + // TODO: test sourceId + } + + /** Test the property 'destId' */ + @Test + void destIdTest() { + // TODO: test destId + } + + /** Test the property 'asset' */ + @Test + void assetTest() { + // TODO: test asset + } + + /** Test the property 'baseAsset' */ + @Test + void baseAssetTest() { + // TODO: test baseAsset + } + + /** Test the property 'amount' */ + @Test + void amountTest() { + // TODO: test amount + } + + /** Test the property 'networkProtocol' */ + @Test + void networkProtocolTest() { + // TODO: test networkProtocol + } + + /** Test the property 'operation' */ + @Test + void operationTest() { + // TODO: test operation + } + + /** Test the property 'description' */ + @Test + void descriptionTest() { + // TODO: test description + } + + /** Test the property 'isDefault' */ + @Test + void isDefaultTest() { + // TODO: test isDefault + } + + /** Test the property 'providerIdent' */ + @Test + void providerIdentTest() { + // TODO: test providerIdent + } + + /** Test the property 'trmStatus' */ + @Test + void trmStatusTest() { + // TODO: test trmStatus + } + + /** Test the property 'validBefore' */ + @Test + void validBeforeTest() { + // TODO: test validBefore + } + + /** Test the property 'validAfter' */ + @Test + void validAfterTest() { + // TODO: test validAfter + } + + /** Test the property 'action' */ + @Test + void actionTest() { + // TODO: test action + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRuleTest.java index baedfd3c..676c22dd 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPostScreeningRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction2Test.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction2Test.java new file mode 100644 index 00000000..65123f6c --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningAction2Test.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkPreScreeningAction2 */ +class TRLinkPreScreeningAction2Test { + /** Model tests for TRLinkPreScreeningAction2 */ + @Test + void testTRLinkPreScreeningAction2() { + // TODO: test TRLinkPreScreeningAction2 + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnumTest.java index d82fe812..d59327bc 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionTest.java index 4a6d967d..22423258 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningActionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule2Test.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule2Test.java new file mode 100644 index 00000000..c87bc90b --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRule2Test.java @@ -0,0 +1,135 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkPreScreeningRule2 */ +class TRLinkPreScreeningRule2Test { + private final TRLinkPreScreeningRule2 model = new TRLinkPreScreeningRule2(); + + /** Model tests for TRLinkPreScreeningRule2 */ + @Test + void testTRLinkPreScreeningRule2() { + // TODO: test TRLinkPreScreeningRule2 + } + + /** Test the property 'customerId' */ + @Test + void customerIdTest() { + // TODO: test customerId + } + + /** Test the property 'direction' */ + @Test + void directionTest() { + // TODO: test direction + } + + /** Test the property 'sourceType' */ + @Test + void sourceTypeTest() { + // TODO: test sourceType + } + + /** Test the property 'sourceSubType' */ + @Test + void sourceSubTypeTest() { + // TODO: test sourceSubType + } + + /** Test the property 'sourceAddress' */ + @Test + void sourceAddressTest() { + // TODO: test sourceAddress + } + + /** Test the property 'destType' */ + @Test + void destTypeTest() { + // TODO: test destType + } + + /** Test the property 'destSubType' */ + @Test + void destSubTypeTest() { + // TODO: test destSubType + } + + /** Test the property 'destAddress' */ + @Test + void destAddressTest() { + // TODO: test destAddress + } + + /** Test the property 'sourceId' */ + @Test + void sourceIdTest() { + // TODO: test sourceId + } + + /** Test the property 'destId' */ + @Test + void destIdTest() { + // TODO: test destId + } + + /** Test the property 'asset' */ + @Test + void assetTest() { + // TODO: test asset + } + + /** Test the property 'baseAsset' */ + @Test + void baseAssetTest() { + // TODO: test baseAsset + } + + /** Test the property 'amount' */ + @Test + void amountTest() { + // TODO: test amount + } + + /** Test the property 'networkProtocol' */ + @Test + void networkProtocolTest() { + // TODO: test networkProtocol + } + + /** Test the property 'operation' */ + @Test + void operationTest() { + // TODO: test operation + } + + /** Test the property 'description' */ + @Test + void descriptionTest() { + // TODO: test description + } + + /** Test the property 'isDefault' */ + @Test + void isDefaultTest() { + // TODO: test isDefault + } + + /** Test the property 'action' */ + @Test + void actionTest() { + // TODO: test action + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRuleTest.java index a498d869..f359fb33 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPreScreeningRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkProviderDataTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderDataTest.java new file mode 100644 index 00000000..5ac105f3 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderDataTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkProviderData */ +class TRLinkProviderDataTest { + private final TRLinkProviderData model = new TRLinkProviderData(); + + /** Model tests for TRLinkProviderData */ + @Test + void testTRLinkProviderData() { + // TODO: test TRLinkProviderData + } + + /** Test the property 'provider' */ + @Test + void providerTest() { + // TODO: test provider + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultTest.java index ae339bc8..7c2168e9 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2Test.java b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2Test.java index f368bcd0..2abaa0bc 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2Test.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRule2Test.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRuleTest.java index fb05aa2c..99abda39 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkProviderResultWithRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPublicAssetInfoTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPublicAssetInfoTest.java new file mode 100644 index 00000000..e7e5d078 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPublicAssetInfoTest.java @@ -0,0 +1,69 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkPublicAssetInfo */ +class TRLinkPublicAssetInfoTest { + private final TRLinkPublicAssetInfo model = new TRLinkPublicAssetInfo(); + + /** Model tests for TRLinkPublicAssetInfo */ + @Test + void testTRLinkPublicAssetInfo() { + // TODO: test TRLinkPublicAssetInfo + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'name' */ + @Test + void nameTest() { + // TODO: test name + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'contractAddress' */ + @Test + void contractAddressTest() { + // TODO: test contractAddress + } + + /** Test the property 'nativeAsset' */ + @Test + void nativeAssetTest() { + // TODO: test nativeAsset + } + + /** Test the property 'decimals' */ + @Test + void decimalsTest() { + // TODO: test decimals + } + + /** Test the property 'issuerAddress' */ + @Test + void issuerAddressTest() { + // TODO: test issuerAddress + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkPublicKeyResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkPublicKeyResponseTest.java new file mode 100644 index 00000000..855ee7d5 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkPublicKeyResponseTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkPublicKeyResponse */ +class TRLinkPublicKeyResponseTest { + private final TRLinkPublicKeyResponse model = new TRLinkPublicKeyResponse(); + + /** Model tests for TRLinkPublicKeyResponse */ + @Test + void testTRLinkPublicKeyResponse() { + // TODO: test TRLinkPublicKeyResponse + } + + /** Test the property 'issuer' */ + @Test + void issuerTest() { + // TODO: test issuer + } + + /** Test the property 'publicKey' */ + @Test + void publicKeyTest() { + // TODO: test publicKey + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkRedirectTrmRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkRedirectTrmRequestTest.java new file mode 100644 index 00000000..15067beb --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkRedirectTrmRequestTest.java @@ -0,0 +1,33 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkRedirectTrmRequest */ +class TRLinkRedirectTrmRequestTest { + private final TRLinkRedirectTrmRequest model = new TRLinkRedirectTrmRequest(); + + /** Model tests for TRLinkRedirectTrmRequest */ + @Test + void testTRLinkRedirectTrmRequest() { + // TODO: test TRLinkRedirectTrmRequest + } + + /** Test the property 'subsidiaryVaspId' */ + @Test + void subsidiaryVaspIdTest() { + // TODO: test subsidiaryVaspId + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayloadTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayloadTest.java index f0da32f2..6ebf9586 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayloadTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultFullPayloadTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultTest.java index b27af9bf..f3b158ea 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnumTest.java index 51708364..ada62021 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusTest.java index 329a7714..f3204e31 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkRegistrationStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkResultFullPayloadTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkResultFullPayloadTest.java index 95459a9e..c6a678dc 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkResultFullPayloadTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkResultFullPayloadTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkResultTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkResultTest.java index 95179b07..8529d292 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkRuleBaseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkRuleBaseTest.java index 51368ba0..3a5173bd 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkRuleBaseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkRuleBaseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdRequestTest.java new file mode 100644 index 00000000..9a4c7c71 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdRequestTest.java @@ -0,0 +1,46 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkSetDestinationTravelRuleMessageIdRequest */ +class TRLinkSetDestinationTravelRuleMessageIdRequestTest { + private final TRLinkSetDestinationTravelRuleMessageIdRequest model = + new TRLinkSetDestinationTravelRuleMessageIdRequest(); + + /** Model tests for TRLinkSetDestinationTravelRuleMessageIdRequest */ + @Test + void testTRLinkSetDestinationTravelRuleMessageIdRequest() { + // TODO: test TRLinkSetDestinationTravelRuleMessageIdRequest + } + + /** Test the property 'amount' */ + @Test + void amountTest() { + // TODO: test amount + } + + /** Test the property 'destination' */ + @Test + void destinationTest() { + // TODO: test destination + } + + /** Test the property 'travelRuleMessageId' */ + @Test + void travelRuleMessageIdTest() { + // TODO: test travelRuleMessageId + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdResponseTest.java new file mode 100644 index 00000000..23fe4e43 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkSetDestinationTravelRuleMessageIdResponseTest.java @@ -0,0 +1,52 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkSetDestinationTravelRuleMessageIdResponse */ +class TRLinkSetDestinationTravelRuleMessageIdResponseTest { + private final TRLinkSetDestinationTravelRuleMessageIdResponse model = + new TRLinkSetDestinationTravelRuleMessageIdResponse(); + + /** Model tests for TRLinkSetDestinationTravelRuleMessageIdResponse */ + @Test + void testTRLinkSetDestinationTravelRuleMessageIdResponse() { + // TODO: test TRLinkSetDestinationTravelRuleMessageIdResponse + } + + /** Test the property 'success' */ + @Test + void successTest() { + // TODO: test success + } + + /** Test the property 'updatedDestinations' */ + @Test + void updatedDestinationsTest() { + // TODO: test updatedDestinations + } + + /** Test the property 'failedDestinations' */ + @Test + void failedDestinationsTest() { + // TODO: test failedDestinations + } + + /** Test the property 'errors' */ + @Test + void errorsTest() { + // TODO: test errors + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdRequestTest.java new file mode 100644 index 00000000..3d5df8e5 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdRequestTest.java @@ -0,0 +1,34 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkSetTransactionTravelRuleMessageIdRequest */ +class TRLinkSetTransactionTravelRuleMessageIdRequestTest { + private final TRLinkSetTransactionTravelRuleMessageIdRequest model = + new TRLinkSetTransactionTravelRuleMessageIdRequest(); + + /** Model tests for TRLinkSetTransactionTravelRuleMessageIdRequest */ + @Test + void testTRLinkSetTransactionTravelRuleMessageIdRequest() { + // TODO: test TRLinkSetTransactionTravelRuleMessageIdRequest + } + + /** Test the property 'travelRuleMessageId' */ + @Test + void travelRuleMessageIdTest() { + // TODO: test travelRuleMessageId + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdResponseTest.java new file mode 100644 index 00000000..c20fbdcf --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkSetTransactionTravelRuleMessageIdResponseTest.java @@ -0,0 +1,34 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkSetTransactionTravelRuleMessageIdResponse */ +class TRLinkSetTransactionTravelRuleMessageIdResponseTest { + private final TRLinkSetTransactionTravelRuleMessageIdResponse model = + new TRLinkSetTransactionTravelRuleMessageIdResponse(); + + /** Model tests for TRLinkSetTransactionTravelRuleMessageIdResponse */ + @Test + void testTRLinkSetTransactionTravelRuleMessageIdResponse() { + // TODO: test TRLinkSetTransactionTravelRuleMessageIdResponse + } + + /** Test the property 'success' */ + @Test + void successTest() { + // TODO: test success + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkSourceTransferPeerPathTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkSourceTransferPeerPathTest.java new file mode 100644 index 00000000..d7d1d9f9 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkSourceTransferPeerPathTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkSourceTransferPeerPath */ +class TRLinkSourceTransferPeerPathTest { + private final TRLinkSourceTransferPeerPath model = new TRLinkSourceTransferPeerPath(); + + /** Model tests for TRLinkSourceTransferPeerPath */ + @Test + void testTRLinkSourceTransferPeerPath() { + // TODO: test TRLinkSourceTransferPeerPath + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'walletId' */ + @Test + void walletIdTest() { + // TODO: test walletId + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkTestConnectionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkTestConnectionResponseTest.java new file mode 100644 index 00000000..19f152a8 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkTestConnectionResponseTest.java @@ -0,0 +1,57 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkTestConnectionResponse */ +class TRLinkTestConnectionResponseTest { + private final TRLinkTestConnectionResponse model = new TRLinkTestConnectionResponse(); + + /** Model tests for TRLinkTestConnectionResponse */ + @Test + void testTRLinkTestConnectionResponse() { + // TODO: test TRLinkTestConnectionResponse + } + + /** Test the property 'success' */ + @Test + void successTest() { + // TODO: test success + } + + /** Test the property 'message' */ + @Test + void messageTest() { + // TODO: test message + } + + /** Test the property 'timestamp' */ + @Test + void timestampTest() { + // TODO: test timestamp + } + + /** Test the property 'partnerIdent' */ + @Test + void partnerIdentTest() { + // TODO: test partnerIdent + } + + /** Test the property 'partnerName' */ + @Test + void partnerNameTest() { + // TODO: test partnerName + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkThresholdsTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkThresholdsTest.java new file mode 100644 index 00000000..9e06964e --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkThresholdsTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkThresholds */ +class TRLinkThresholdsTest { + private final TRLinkThresholds model = new TRLinkThresholds(); + + /** Model tests for TRLinkThresholds */ + @Test + void testTRLinkThresholds() { + // TODO: test TRLinkThresholds + } + + /** Test the property 'amount' */ + @Test + void amountTest() { + // TODO: test amount + } + + /** Test the property 'currency' */ + @Test + void currencyTest() { + // TODO: test currency + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkTransactionDirectionTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkTransactionDirectionTest.java new file mode 100644 index 00000000..afd7d613 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkTransactionDirectionTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkTransactionDirection */ +class TRLinkTransactionDirectionTest { + /** Model tests for TRLinkTransactionDirection */ + @Test + void testTRLinkTransactionDirection() { + // TODO: test TRLinkTransactionDirection + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkTransferPeerPathTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkTransferPeerPathTest.java new file mode 100644 index 00000000..e6b7dfee --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkTransferPeerPathTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkTransferPeerPath */ +class TRLinkTransferPeerPathTest { + private final TRLinkTransferPeerPath model = new TRLinkTransferPeerPath(); + + /** Model tests for TRLinkTransferPeerPath */ + @Test + void testTRLinkTransferPeerPath() { + // TODO: test TRLinkTransferPeerPath + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'subType' */ + @Test + void subTypeTest() { + // TODO: test subType + } + + /** Test the property 'address' */ + @Test + void addressTest() { + // TODO: test address + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkTrmDirectionTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmDirectionTest.java new file mode 100644 index 00000000..28859c3a --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmDirectionTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkTrmDirection */ +class TRLinkTrmDirectionTest { + /** Model tests for TRLinkTrmDirection */ + @Test + void testTRLinkTrmDirection() { + // TODO: test TRLinkTrmDirection + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkTrmInfoResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmInfoResponseTest.java new file mode 100644 index 00000000..047c055b --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmInfoResponseTest.java @@ -0,0 +1,111 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkTrmInfoResponse */ +class TRLinkTrmInfoResponseTest { + private final TRLinkTrmInfoResponse model = new TRLinkTrmInfoResponse(); + + /** Model tests for TRLinkTrmInfoResponse */ + @Test + void testTRLinkTrmInfoResponse() { + // TODO: test TRLinkTrmInfoResponse + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'version' */ + @Test + void versionTest() { + // TODO: test version + } + + /** Test the property 'status' */ + @Test + void statusTest() { + // TODO: test status + } + + /** Test the property 'reason' */ + @Test + void reasonTest() { + // TODO: test reason + } + + /** Test the property 'externalId' */ + @Test + void externalIdTest() { + // TODO: test externalId + } + + /** Test the property 'asset' */ + @Test + void assetTest() { + // TODO: test asset + } + + /** Test the property 'amount' */ + @Test + void amountTest() { + // TODO: test amount + } + + /** Test the property 'fiatValue' */ + @Test + void fiatValueTest() { + // TODO: test fiatValue + } + + /** Test the property 'direction' */ + @Test + void directionTest() { + // TODO: test direction + } + + /** Test the property 'originatorVaspId' */ + @Test + void originatorVaspIdTest() { + // TODO: test originatorVaspId + } + + /** Test the property 'beneficiaryVaspId' */ + @Test + void beneficiaryVaspIdTest() { + // TODO: test beneficiaryVaspId + } + + /** Test the property 'txnInfo' */ + @Test + void txnInfoTest() { + // TODO: test txnInfo + } + + /** Test the property 'ivms101' */ + @Test + void ivms101Test() { + // TODO: test ivms101 + } + + /** Test the property 'providerData' */ + @Test + void providerDataTest() { + // TODO: test providerData + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnumTest.java index 42ecca12..466a70ac 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusTest.java index 08f9eaa3..f85eb30b 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmScreeningStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkTrmStatusTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmStatusTest.java new file mode 100644 index 00000000..75bead1c --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkTrmStatusTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkTrmStatus */ +class TRLinkTrmStatusTest { + /** Model tests for TRLinkTrmStatus */ + @Test + void testTRLinkTrmStatus() { + // TODO: test TRLinkTrmStatus + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkTxnInfoTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkTxnInfoTest.java new file mode 100644 index 00000000..a67db935 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkTxnInfoTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkTxnInfo */ +class TRLinkTxnInfoTest { + private final TRLinkTxnInfo model = new TRLinkTxnInfo(); + + /** Model tests for TRLinkTxnInfo */ + @Test + void testTRLinkTxnInfo() { + // TODO: test TRLinkTxnInfo + } + + /** Test the property 'originatorWalletAddress' */ + @Test + void originatorWalletAddressTest() { + // TODO: test originatorWalletAddress + } + + /** Test the property 'beneficiaryWalletAddress' */ + @Test + void beneficiaryWalletAddressTest() { + // TODO: test beneficiaryWalletAddress + } + + /** Test the property 'txHash' */ + @Test + void txHashTest() { + // TODO: test txHash + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkUpdateCustomerRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkUpdateCustomerRequestTest.java new file mode 100644 index 00000000..5cebf2ca --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkUpdateCustomerRequestTest.java @@ -0,0 +1,81 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkUpdateCustomerRequest */ +class TRLinkUpdateCustomerRequestTest { + private final TRLinkUpdateCustomerRequest model = new TRLinkUpdateCustomerRequest(); + + /** Model tests for TRLinkUpdateCustomerRequest */ + @Test + void testTRLinkUpdateCustomerRequest() { + // TODO: test TRLinkUpdateCustomerRequest + } + + /** Test the property 'discoverable' */ + @Test + void discoverableTest() { + // TODO: test discoverable + } + + /** Test the property 'shortName' */ + @Test + void shortNameTest() { + // TODO: test shortName + } + + /** Test the property 'fullLegalName' */ + @Test + void fullLegalNameTest() { + // TODO: test fullLegalName + } + + /** Test the property 'geographicAddress' */ + @Test + void geographicAddressTest() { + // TODO: test geographicAddress + } + + /** Test the property 'countryOfRegistration' */ + @Test + void countryOfRegistrationTest() { + // TODO: test countryOfRegistration + } + + /** Test the property 'nationalIdentification' */ + @Test + void nationalIdentificationTest() { + // TODO: test nationalIdentification + } + + /** Test the property 'dateOfIncorporation' */ + @Test + void dateOfIncorporationTest() { + // TODO: test dateOfIncorporation + } + + /** Test the property 'vaults' */ + @Test + void vaultsTest() { + // TODO: test vaults + } + + /** Test the property 'trPrimaryPurpose' */ + @Test + void trPrimaryPurposeTest() { + // TODO: test trPrimaryPurpose + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkVaspDtoTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkVaspDtoTest.java new file mode 100644 index 00000000..5d8c1b91 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkVaspDtoTest.java @@ -0,0 +1,63 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkVaspDto */ +class TRLinkVaspDtoTest { + private final TRLinkVaspDto model = new TRLinkVaspDto(); + + /** Model tests for TRLinkVaspDto */ + @Test + void testTRLinkVaspDto() { + // TODO: test TRLinkVaspDto + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'name' */ + @Test + void nameTest() { + // TODO: test name + } + + /** Test the property 'legalName' */ + @Test + void legalNameTest() { + // TODO: test legalName + } + + /** Test the property 'nationalIdentification' */ + @Test + void nationalIdentificationTest() { + // TODO: test nationalIdentification + } + + /** Test the property 'geographicAddress' */ + @Test + void geographicAddressTest() { + // TODO: test geographicAddress + } + + /** Test the property 'publicKey' */ + @Test + void publicKeyTest() { + // TODO: test publicKey + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkVaspGeographicAddressTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkVaspGeographicAddressTest.java new file mode 100644 index 00000000..47373279 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkVaspGeographicAddressTest.java @@ -0,0 +1,63 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkVaspGeographicAddress */ +class TRLinkVaspGeographicAddressTest { + private final TRLinkVaspGeographicAddress model = new TRLinkVaspGeographicAddress(); + + /** Model tests for TRLinkVaspGeographicAddress */ + @Test + void testTRLinkVaspGeographicAddress() { + // TODO: test TRLinkVaspGeographicAddress + } + + /** Test the property 'formattedAddress' */ + @Test + void formattedAddressTest() { + // TODO: test formattedAddress + } + + /** Test the property 'country' */ + @Test + void countryTest() { + // TODO: test country + } + + /** Test the property 'streetName' */ + @Test + void streetNameTest() { + // TODO: test streetName + } + + /** Test the property 'buildingNumber' */ + @Test + void buildingNumberTest() { + // TODO: test buildingNumber + } + + /** Test the property 'city' */ + @Test + void cityTest() { + // TODO: test city + } + + /** Test the property 'postalCode' */ + @Test + void postalCodeTest() { + // TODO: test postalCode + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkVaspListDtoTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkVaspListDtoTest.java new file mode 100644 index 00000000..95a4add4 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkVaspListDtoTest.java @@ -0,0 +1,57 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkVaspListDto */ +class TRLinkVaspListDtoTest { + private final TRLinkVaspListDto model = new TRLinkVaspListDto(); + + /** Model tests for TRLinkVaspListDto */ + @Test + void testTRLinkVaspListDto() { + // TODO: test TRLinkVaspListDto + } + + /** Test the property 'id' */ + @Test + void idTest() { + // TODO: test id + } + + /** Test the property 'name' */ + @Test + void nameTest() { + // TODO: test name + } + + /** Test the property 'legalName' */ + @Test + void legalNameTest() { + // TODO: test legalName + } + + /** Test the property 'nationalIdentification' */ + @Test + void nationalIdentificationTest() { + // TODO: test nationalIdentification + } + + /** Test the property 'geographicAddress' */ + @Test + void geographicAddressTest() { + // TODO: test geographicAddress + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkVaspNationalIdentificationTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkVaspNationalIdentificationTest.java new file mode 100644 index 00000000..ab6d04dc --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkVaspNationalIdentificationTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TRLinkVaspNationalIdentification */ +class TRLinkVaspNationalIdentificationTest { + private final TRLinkVaspNationalIdentification model = new TRLinkVaspNationalIdentification(); + + /** Model tests for TRLinkVaspNationalIdentification */ + @Test + void testTRLinkVaspNationalIdentification() { + // TODO: test TRLinkVaspNationalIdentification + } + + /** Test the property 'identifier' */ + @Test + void identifierTest() { + // TODO: test identifier + } + + /** Test the property 'type' */ + @Test + void typeTest() { + // TODO: test type + } + + /** Test the property 'authority' */ + @Test + void authorityTest() { + // TODO: test authority + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictEnumTest.java index 895cb338..9b2038f8 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictTest.java b/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictTest.java index bc406f49..c2a0a855 100644 --- a/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TRLinkVerdictTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TagAttachmentOperationActionTest.java b/src/test/java/com/fireblocks/sdk/model/TagAttachmentOperationActionTest.java index 501b3157..30c73c55 100644 --- a/src/test/java/com/fireblocks/sdk/model/TagAttachmentOperationActionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TagAttachmentOperationActionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TagTest.java b/src/test/java/com/fireblocks/sdk/model/TagTest.java index 8eb7c49f..4d6f6ff9 100644 --- a/src/test/java/com/fireblocks/sdk/model/TagTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TagTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -43,21 +43,27 @@ void descriptionTest() { // TODO: test description } - /** Test the property 'isProtected' */ - @Test - void isProtectedTest() { - // TODO: test isProtected - } - /** Test the property 'color' */ @Test void colorTest() { // TODO: test color } + /** Test the property 'isProtected' */ + @Test + void isProtectedTest() { + // TODO: test isProtected + } + /** Test the property 'updatedAt' */ @Test void updatedAtTest() { // TODO: test updatedAt } + + /** Test the property 'pendingApprovalRequest' */ + @Test + void pendingApprovalRequestTest() { + // TODO: test pendingApprovalRequest + } } diff --git a/src/test/java/com/fireblocks/sdk/model/TagsPagedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TagsPagedResponseTest.java index e506528a..1370727c 100644 --- a/src/test/java/com/fireblocks/sdk/model/TagsPagedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TagsPagedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TaskTest.java b/src/test/java/com/fireblocks/sdk/model/TaskTest.java deleted file mode 100644 index a700b55f..00000000 --- a/src/test/java/com/fireblocks/sdk/model/TaskTest.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for Task */ -class TaskTest { - private final Task model = new Task(); - - /** Model tests for Task */ - @Test - void testTask() { - // TODO: test Task - } - - /** Test the property 'id' */ - @Test - void idTest() { - // TODO: test id - } - - /** Test the property 'jobId' */ - @Test - void jobIdTest() { - // TODO: test jobId - } - - /** Test the property 'type' */ - @Test - void typeTest() { - // TODO: test type - } - - /** Test the property 'tenantId' */ - @Test - void tenantIdTest() { - // TODO: test tenantId - } - - /** Test the property 'created' */ - @Test - void createdTest() { - // TODO: test created - } - - /** Test the property 'updated' */ - @Test - void updatedTest() { - // TODO: test updated - } - - /** Test the property 'state' */ - @Test - void stateTest() { - // TODO: test state - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/TemplatesPaginatedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TemplatesPaginatedResponseTest.java index c33be76f..8859cef0 100644 --- a/src/test/java/com/fireblocks/sdk/model/TemplatesPaginatedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TemplatesPaginatedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ThirdPartyRoutingTest.java b/src/test/java/com/fireblocks/sdk/model/ThirdPartyRoutingTest.java index af1f112a..eeac41cb 100644 --- a/src/test/java/com/fireblocks/sdk/model/ThirdPartyRoutingTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ThirdPartyRoutingTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TimeInForceTest.java b/src/test/java/com/fireblocks/sdk/model/TimeInForceTest.java deleted file mode 100644 index 69537f56..00000000 --- a/src/test/java/com/fireblocks/sdk/model/TimeInForceTest.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for TimeInForce */ -class TimeInForceTest { - /** Model tests for TimeInForce */ - @Test - void testTimeInForce() { - // TODO: test TimeInForce - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/TimePeriodConfigTest.java b/src/test/java/com/fireblocks/sdk/model/TimePeriodConfigTest.java index 5760a3c0..e6e99ce1 100644 --- a/src/test/java/com/fireblocks/sdk/model/TimePeriodConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TimePeriodConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TimePeriodMatchTypeTest.java b/src/test/java/com/fireblocks/sdk/model/TimePeriodMatchTypeTest.java index f300d0ed..fdf9e0eb 100644 --- a/src/test/java/com/fireblocks/sdk/model/TimePeriodMatchTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TimePeriodMatchTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ToCollateralTransactionTest.java b/src/test/java/com/fireblocks/sdk/model/ToCollateralTransactionTest.java index 7747224e..b82fc718 100644 --- a/src/test/java/com/fireblocks/sdk/model/ToCollateralTransactionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ToCollateralTransactionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ToExchangeTransactionTest.java b/src/test/java/com/fireblocks/sdk/model/ToExchangeTransactionTest.java index 246bdba7..bba92bb9 100644 --- a/src/test/java/com/fireblocks/sdk/model/ToExchangeTransactionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ToExchangeTransactionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokenCollectionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TokenCollectionResponseTest.java index 58323848..8055a4e1 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokenCollectionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokenCollectionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokenContractSummaryResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TokenContractSummaryResponseTest.java new file mode 100644 index 00000000..9b0c0c7d --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TokenContractSummaryResponseTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TokenContractSummaryResponse */ +class TokenContractSummaryResponseTest { + private final TokenContractSummaryResponse model = new TokenContractSummaryResponse(); + + /** Model tests for TokenContractSummaryResponse */ + @Test + void testTokenContractSummaryResponse() { + // TODO: test TokenContractSummaryResponse + } + + /** Test the property 'baseAssetId' */ + @Test + void baseAssetIdTest() { + // TODO: test baseAssetId + } + + /** Test the property 'contractAddress' */ + @Test + void contractAddressTest() { + // TODO: test contractAddress + } + + /** Test the property 'totalAddresses' */ + @Test + void totalAddressesTest() { + // TODO: test totalAddresses + } + + /** Test the property 'totalSupply' */ + @Test + void totalSupplyTest() { + // TODO: test totalSupply + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TokenInfoNotFoundErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TokenInfoNotFoundErrorResponseTest.java index 2179e454..66890460 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokenInfoNotFoundErrorResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokenInfoNotFoundErrorResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokenLinkDtoTest.java b/src/test/java/com/fireblocks/sdk/model/TokenLinkDtoTest.java index 6f03ee51..274a7a7e 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokenLinkDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokenLinkDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokenLinkDtoTokenMetadataTest.java b/src/test/java/com/fireblocks/sdk/model/TokenLinkDtoTokenMetadataTest.java index 14f83cd3..76e024cb 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokenLinkDtoTokenMetadataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokenLinkDtoTokenMetadataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokenLinkExistsHttpErrorTest.java b/src/test/java/com/fireblocks/sdk/model/TokenLinkExistsHttpErrorTest.java index bb84b7da..552b3195 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokenLinkExistsHttpErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokenLinkExistsHttpErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpErrorTest.java b/src/test/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpErrorTest.java index 99342d23..9699b53c 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpErrorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokenLinkNotMultichainCompatibleHttpErrorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokenLinkRequestDtoTest.java b/src/test/java/com/fireblocks/sdk/model/TokenLinkRequestDtoTest.java index 04536968..7c6687fe 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokenLinkRequestDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokenLinkRequestDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokenOwnershipResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TokenOwnershipResponseTest.java index b9ae3430..a2c03d22 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokenOwnershipResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokenOwnershipResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokenOwnershipSpamUpdatePayloadTest.java b/src/test/java/com/fireblocks/sdk/model/TokenOwnershipSpamUpdatePayloadTest.java index eec191eb..be28daaa 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokenOwnershipSpamUpdatePayloadTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokenOwnershipSpamUpdatePayloadTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokenOwnershipStatusUpdatePayloadTest.java b/src/test/java/com/fireblocks/sdk/model/TokenOwnershipStatusUpdatePayloadTest.java index 0f498d32..16f651e1 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokenOwnershipStatusUpdatePayloadTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokenOwnershipStatusUpdatePayloadTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokenResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TokenResponseTest.java index f8440838..7ec712b6 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokenResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokenResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TokensPaginatedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TokensPaginatedResponseTest.java index cb8f8099..1739f7c3 100644 --- a/src/test/java/com/fireblocks/sdk/model/TokensPaginatedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TokensPaginatedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TotalSupplyItemDtoTest.java b/src/test/java/com/fireblocks/sdk/model/TotalSupplyItemDtoTest.java new file mode 100644 index 00000000..df14f22e --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TotalSupplyItemDtoTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TotalSupplyItemDto */ +class TotalSupplyItemDtoTest { + private final TotalSupplyItemDto model = new TotalSupplyItemDto(); + + /** Model tests for TotalSupplyItemDto */ + @Test + void testTotalSupplyItemDto() { + // TODO: test TotalSupplyItemDto + } + + /** Test the property 'timestamp' */ + @Test + void timestampTest() { + // TODO: test timestamp + } + + /** Test the property 'totalSupply' */ + @Test + void totalSupplyTest() { + // TODO: test totalSupply + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TotalSupplyPagedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TotalSupplyPagedResponseTest.java new file mode 100644 index 00000000..d6b1caf9 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TotalSupplyPagedResponseTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TotalSupplyPagedResponse */ +class TotalSupplyPagedResponseTest { + private final TotalSupplyPagedResponse model = new TotalSupplyPagedResponse(); + + /** Model tests for TotalSupplyPagedResponse */ + @Test + void testTotalSupplyPagedResponse() { + // TODO: test TotalSupplyPagedResponse + } + + /** Test the property 'data' */ + @Test + void dataTest() { + // TODO: test data + } + + /** Test the property 'next' */ + @Test + void nextTest() { + // TODO: test next + } + + /** Test the property 'prev' */ + @Test + void prevTest() { + // TODO: test prev + } + + /** Test the property 'total' */ + @Test + void totalTest() { + // TODO: test total + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TradingAccountTypeTest.java b/src/test/java/com/fireblocks/sdk/model/TradingAccountTypeTest.java index 94f5d40e..d4288d5a 100644 --- a/src/test/java/com/fireblocks/sdk/model/TradingAccountTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TradingAccountTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TradingErrorResponseErrorTest.java b/src/test/java/com/fireblocks/sdk/model/TradingErrorResponseErrorTest.java deleted file mode 100644 index cc51d1e2..00000000 --- a/src/test/java/com/fireblocks/sdk/model/TradingErrorResponseErrorTest.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for TradingErrorResponseError */ -class TradingErrorResponseErrorTest { - private final TradingErrorResponseError model = new TradingErrorResponseError(); - - /** Model tests for TradingErrorResponseError */ - @Test - void testTradingErrorResponseError() { - // TODO: test TradingErrorResponseError - } - - /** Test the property 'type' */ - @Test - void typeTest() { - // TODO: test type - } - - /** Test the property 'message' */ - @Test - void messageTest() { - // TODO: test message - } - - /** Test the property 'errorCode' */ - @Test - void errorCodeTest() { - // TODO: test errorCode - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/TradingErrorResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TradingErrorResponseTest.java deleted file mode 100644 index 9cfcb8e6..00000000 --- a/src/test/java/com/fireblocks/sdk/model/TradingErrorResponseTest.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for TradingErrorResponse */ -class TradingErrorResponseTest { - private final TradingErrorResponse model = new TradingErrorResponse(); - - /** Model tests for TradingErrorResponse */ - @Test - void testTradingErrorResponse() { - // TODO: test TradingErrorResponse - } - - /** Test the property 'error' */ - @Test - void errorTest() { - // TODO: test error - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/TradingErrorSchemaTest.java b/src/test/java/com/fireblocks/sdk/model/TradingErrorSchemaTest.java new file mode 100644 index 00000000..e233786d --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TradingErrorSchemaTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TradingErrorSchema */ +class TradingErrorSchemaTest { + private final TradingErrorSchema model = new TradingErrorSchema(); + + /** Model tests for TradingErrorSchema */ + @Test + void testTradingErrorSchema() { + // TODO: test TradingErrorSchema + } + + /** Test the property 'message' */ + @Test + void messageTest() { + // TODO: test message + } + + /** Test the property 'code' */ + @Test + void codeTest() { + // TODO: test code + } + + /** Test the property 'descriptor' */ + @Test + void descriptorTest() { + // TODO: test descriptor + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TradingProviderTest.java b/src/test/java/com/fireblocks/sdk/model/TradingProviderTest.java index fe037406..4a950f96 100644 --- a/src/test/java/com/fireblocks/sdk/model/TradingProviderTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TradingProviderTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionDirectionTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionDirectionTest.java index 765a4ee9..0efcfdcb 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionDirectionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionDirectionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionFeeTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionFeeTest.java index f712f6f4..c84a1dea 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionFeeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionFeeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionOperationEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionOperationEnumTest.java index 17c576d8..38048957 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionOperationEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionOperationEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionOperationTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionOperationTest.java index d0121510..e5f2d1ed 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionReceiptResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionReceiptResponseTest.java index 33d30d7e..13d5b2fb 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionReceiptResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionReceiptResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionRequestAmountTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionRequestAmountTest.java index 295c3536..d7b1b3ae 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionRequestAmountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionRequestAmountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionRequestDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionRequestDestinationTest.java index 572649db..a29dd931 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionRequestDestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionRequestDestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionRequestFeeTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionRequestFeeTest.java index 46971c20..7198bc9f 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionRequestFeeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionRequestFeeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionRequestGasLimitTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionRequestGasLimitTest.java index 9c5b674d..ba3e32b6 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionRequestGasLimitTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionRequestGasLimitTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionRequestGasPriceTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionRequestGasPriceTest.java index 78479e66..541924a7 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionRequestGasPriceTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionRequestGasPriceTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionRequestNetworkFeeTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionRequestNetworkFeeTest.java index 44f148e9..71994829 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionRequestNetworkFeeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionRequestNetworkFeeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionRequestNetworkStakingTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionRequestNetworkStakingTest.java index 057c1da0..98c8ec47 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionRequestNetworkStakingTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionRequestNetworkStakingTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionRequestPriorityFeeTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionRequestPriorityFeeTest.java index 83a1c4c7..24a9bb9f 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionRequestPriorityFeeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionRequestPriorityFeeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionRequestTest.java index 1136c7ad..5e11a217 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionResponseContractCallDecodedDataTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionResponseContractCallDecodedDataTest.java index b9375c1a..23d8a2aa 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionResponseContractCallDecodedDataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionResponseContractCallDecodedDataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionResponseDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionResponseDestinationTest.java index ca607cae..f2e2b717 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionResponseDestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionResponseDestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -37,6 +37,12 @@ void amountUSDTest() { // TODO: test amountUSD } + /** Test the property 'travelRuleMessageId' */ + @Test + void travelRuleMessageIdTest() { + // TODO: test travelRuleMessageId + } + /** Test the property 'amlScreeningResult' */ @Test void amlScreeningResultTest() { diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionResponseTest.java index 36823cda..83c0c075 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -211,6 +211,12 @@ void customerRefIdTest() { // TODO: test customerRefId } + /** Test the property 'travelRuleMessageId' */ + @Test + void travelRuleMessageIdTest() { + // TODO: test travelRuleMessageId + } + /** Test the property 'amlScreeningResult' */ @Test void amlScreeningResultTest() { diff --git a/src/test/java/com/fireblocks/sdk/model/TransactionTest.java b/src/test/java/com/fireblocks/sdk/model/TransactionTest.java index fdd6fc8a..736ecbcf 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransactionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransactionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferConfigOperationTest.java b/src/test/java/com/fireblocks/sdk/model/TransferConfigOperationTest.java index 948456f1..dc20bae9 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferConfigOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferConfigOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferOperationConfigParamsTest.java b/src/test/java/com/fireblocks/sdk/model/TransferOperationConfigParamsTest.java index 451d32a0..a2196cf0 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferOperationConfigParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferOperationConfigParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionOutputTest.java b/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionOutputTest.java index 0ecb752d..3153db19 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionOutputTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionOutputTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsExecutionParamsTest.java b/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsExecutionParamsTest.java index 0a12254a..1e33ba7a 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsExecutionParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsExecutionParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsTest.java b/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsTest.java index 1604315a..ce7b9b1c 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionParamsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionTest.java b/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionTest.java index e569e758..f8ed7db3 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferOperationExecutionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferOperationFailureDataTest.java b/src/test/java/com/fireblocks/sdk/model/TransferOperationFailureDataTest.java index 8313f4f2..4ac67b6e 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferOperationFailureDataTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferOperationFailureDataTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferOperationFailureTest.java b/src/test/java/com/fireblocks/sdk/model/TransferOperationFailureTest.java index 46e93951..67d67cc1 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferOperationFailureTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferOperationFailureTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferOperationPreviewOutputTest.java b/src/test/java/com/fireblocks/sdk/model/TransferOperationPreviewOutputTest.java index 6d4049e3..004c2c5b 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferOperationPreviewOutputTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferOperationPreviewOutputTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferOperationPreviewTest.java b/src/test/java/com/fireblocks/sdk/model/TransferOperationPreviewTest.java index b66fddd8..e4a646d0 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferOperationPreviewTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferOperationPreviewTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferOperationTypeTest.java b/src/test/java/com/fireblocks/sdk/model/TransferOperationTypeTest.java index ef227cc9..eae5b317 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferOperationTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferOperationTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferPeerPathSubTypeTest.java b/src/test/java/com/fireblocks/sdk/model/TransferPeerPathSubTypeTest.java index b67ab92e..f081cd61 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferPeerPathSubTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferPeerPathSubTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferPeerPathTypeTest.java b/src/test/java/com/fireblocks/sdk/model/TransferPeerPathTypeTest.java index 353203de..697e425a 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferPeerPathTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferPeerPathTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnumTest.java index a4262e46..6e975f27 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferPeerSubTypeEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferPeerTypeEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TransferPeerTypeEnumTest.java index 292602f9..eedca2b6 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferPeerTypeEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferPeerTypeEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferRailTest.java b/src/test/java/com/fireblocks/sdk/model/TransferRailTest.java index 4e903a0c..5593410e 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferRailTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferRailTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferReceiptTest.java b/src/test/java/com/fireblocks/sdk/model/TransferReceiptTest.java index 9f633ebc..8f8900a7 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferReceiptTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferReceiptTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TransferValidationFailureTest.java b/src/test/java/com/fireblocks/sdk/model/TransferValidationFailureTest.java index 4f49379d..b51f0666 100644 --- a/src/test/java/com/fireblocks/sdk/model/TransferValidationFailureTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TransferValidationFailureTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleActionEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleActionEnumTest.java index 632575bb..df9118c1 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleActionEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleActionEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleAddressTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleAddressTest.java index 7981246f..16c55301 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleCreateTransactionRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleCreateTransactionRequestTest.java index 9f7cfee8..9321a7b3 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleCreateTransactionRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleCreateTransactionRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleDateAndPlaceOfBirthTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleDateAndPlaceOfBirthTest.java index 0303525b..5c8776e1 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleDateAndPlaceOfBirthTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleDateAndPlaceOfBirthTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleDirectionEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleDirectionEnumTest.java index 248c07d1..053beaa8 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleDirectionEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleDirectionEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleGeographicAddressTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleGeographicAddressTest.java index d20ca77b..db527c73 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleGeographicAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleGeographicAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleGetAllVASPsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleGetAllVASPsResponseTest.java index 9fba314c..dc42b772 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleGetAllVASPsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleGetAllVASPsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleIssuerTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleIssuerTest.java index fc55a883..b0b08e35 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleIssuerTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleIssuerTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleIssuersTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleIssuersTest.java index 4c9d7021..6cc00ba6 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleIssuersTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleIssuersTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleLegalPersonNameIdentifierTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleLegalPersonNameIdentifierTest.java index 5bd5d885..2d7a66a7 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleLegalPersonNameIdentifierTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleLegalPersonNameIdentifierTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleLegalPersonTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleLegalPersonTest.java index 4fdb5e77..1b9bba1a 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleLegalPersonTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleLegalPersonTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleMatchedRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleMatchedRuleTest.java index 87a96632..0c17243e 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleMatchedRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleMatchedRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleNationalIdentificationTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleNationalIdentificationTest.java index 90be151b..1dbe1d04 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleNationalIdentificationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleNationalIdentificationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalNameIdentifierTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalNameIdentifierTest.java index d279cad3..204d44e0 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalNameIdentifierTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalNameIdentifierTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonNameIdentifierTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonNameIdentifierTest.java index fa56d39a..ea298186 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonNameIdentifierTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonNameIdentifierTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonTest.java index 2cb4f939..6b38e0c6 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleNaturalPersonTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleOwnershipProofTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleOwnershipProofTest.java index 45a5cb2f..21c1d7a5 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleOwnershipProofTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleOwnershipProofTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRulePersonTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRulePersonTest.java index ef111b5b..70595bcd 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRulePersonTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRulePersonTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRulePiiIVMSTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRulePiiIVMSTest.java index 45866b9d..332db051 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRulePiiIVMSTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRulePiiIVMSTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRulePolicyRuleResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRulePolicyRuleResponseTest.java index b194b2bc..d765cf33 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRulePolicyRuleResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRulePolicyRuleResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRulePrescreeningRuleTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRulePrescreeningRuleTest.java index 351b519e..facc0043 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRulePrescreeningRuleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRulePrescreeningRuleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleResultTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleResultTest.java index 6e4ffd39..65b20ae5 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleResultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleResultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleStatusEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleStatusEnumTest.java index e22c2063..f405d367 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleStatusEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleStatusEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleTransactionBlockchainInfoTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleTransactionBlockchainInfoTest.java index fe819110..99764285 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleTransactionBlockchainInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleTransactionBlockchainInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleUpdateVASPDetailsTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleUpdateVASPDetailsTest.java index b280d36d..d3a578a1 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleUpdateVASPDetailsTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleUpdateVASPDetailsTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleVASPTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleVASPTest.java index da06ae3d..2dbfcd51 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleVASPTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleVASPTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateDateAndPlaceOfBirthTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateDateAndPlaceOfBirthTest.java index f54af77d..3fa64af1 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateDateAndPlaceOfBirthTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateDateAndPlaceOfBirthTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateFullTransactionRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateFullTransactionRequestTest.java index 68abcc1a..6ac5376e 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateFullTransactionRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateFullTransactionRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateGeographicAddressTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateGeographicAddressTest.java index 7574a539..1ba8009c 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateGeographicAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateGeographicAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonNameIdentifierTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonNameIdentifierTest.java index f3f084c5..cbcc3e0b 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonNameIdentifierTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonNameIdentifierTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonTest.java index 32291c69..3d3706ea 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateLegalPersonTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNationalIdentificationTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNationalIdentificationTest.java index afce71e3..da7cddfd 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNationalIdentificationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNationalIdentificationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalNameIdentifierTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalNameIdentifierTest.java index 8a74cca7..00cf24a9 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalNameIdentifierTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalNameIdentifierTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonNameIdentifierTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonNameIdentifierTest.java index d6e50a9e..6d776baa 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonNameIdentifierTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonNameIdentifierTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonTest.java index 9680b53f..79d04d14 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateNaturalPersonTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidatePersonTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidatePersonTest.java index 2dc44354..983bbca3 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidatePersonTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidatePersonTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidatePiiIVMSTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidatePiiIVMSTest.java index 68f9b80e..7f483296 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidatePiiIVMSTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidatePiiIVMSTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionRequestTest.java index 5c6518e4..ebb5cf28 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionResponseTest.java index b6a09f8d..51fcd07c 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleValidateTransactionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleVaspForVaultTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleVaspForVaultTest.java index 863f9fb7..e5236e19 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleVaspForVaultTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleVaspForVaultTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TravelRuleVerdictEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TravelRuleVerdictEnumTest.java index f2c05b03..d83e0f08 100644 --- a/src/test/java/com/fireblocks/sdk/model/TravelRuleVerdictEnumTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TravelRuleVerdictEnumTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressCreateResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressCreateResponseTest.java new file mode 100644 index 00000000..b2e42225 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressCreateResponseTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TrustProofOfAddressCreateResponse */ +class TrustProofOfAddressCreateResponseTest { + private final TrustProofOfAddressCreateResponse model = new TrustProofOfAddressCreateResponse(); + + /** Model tests for TrustProofOfAddressCreateResponse */ + @Test + void testTrustProofOfAddressCreateResponse() { + // TODO: test TrustProofOfAddressCreateResponse + } + + /** Test the property 'transactionId' */ + @Test + void transactionIdTest() { + // TODO: test transactionId + } + + /** Test the property 'status' */ + @Test + void statusTest() { + // TODO: test status + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressRequestTest.java b/src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressRequestTest.java new file mode 100644 index 00000000..2fd0c469 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressRequestTest.java @@ -0,0 +1,51 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TrustProofOfAddressRequest */ +class TrustProofOfAddressRequestTest { + private final TrustProofOfAddressRequest model = new TrustProofOfAddressRequest(); + + /** Model tests for TrustProofOfAddressRequest */ + @Test + void testTrustProofOfAddressRequest() { + // TODO: test TrustProofOfAddressRequest + } + + /** Test the property 'vaultAccountId' */ + @Test + void vaultAccountIdTest() { + // TODO: test vaultAccountId + } + + /** Test the property 'asset' */ + @Test + void assetTest() { + // TODO: test asset + } + + /** Test the property 'prefix' */ + @Test + void prefixTest() { + // TODO: test prefix + } + + /** Test the property 'trustUuid' */ + @Test + void trustUuidTest() { + // TODO: test trustUuid + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressResponseTest.java b/src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressResponseTest.java new file mode 100644 index 00000000..928536fc --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TrustProofOfAddressResponseTest.java @@ -0,0 +1,45 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TrustProofOfAddressResponse */ +class TrustProofOfAddressResponseTest { + private final TrustProofOfAddressResponse model = new TrustProofOfAddressResponse(); + + /** Model tests for TrustProofOfAddressResponse */ + @Test + void testTrustProofOfAddressResponse() { + // TODO: test TrustProofOfAddressResponse + } + + /** Test the property 'transactionId' */ + @Test + void transactionIdTest() { + // TODO: test transactionId + } + + /** Test the property 'status' */ + @Test + void statusTest() { + // TODO: test status + } + + /** Test the property 'signature' */ + @Test + void signatureTest() { + // TODO: test signature + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/TxLogTest.java b/src/test/java/com/fireblocks/sdk/model/TxLogTest.java index 05765fbd..11291ce9 100644 --- a/src/test/java/com/fireblocks/sdk/model/TxLogTest.java +++ b/src/test/java/com/fireblocks/sdk/model/TxLogTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/TypedMessageTransactionStatusEnumTest.java b/src/test/java/com/fireblocks/sdk/model/TypedMessageTransactionStatusEnumTest.java new file mode 100644 index 00000000..69eca182 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/TypedMessageTransactionStatusEnumTest.java @@ -0,0 +1,25 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for TypedMessageTransactionStatusEnum */ +class TypedMessageTransactionStatusEnumTest { + /** Model tests for TypedMessageTransactionStatusEnum */ + @Test + void testTypedMessageTransactionStatusEnum() { + // TODO: test TypedMessageTransactionStatusEnum + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/USWireAddressTest.java b/src/test/java/com/fireblocks/sdk/model/USWireAddressTest.java index 6b82d3e7..4296df5a 100644 --- a/src/test/java/com/fireblocks/sdk/model/USWireAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/USWireAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/USWireDestinationTest.java b/src/test/java/com/fireblocks/sdk/model/USWireDestinationTest.java index 11235904..43e0aca7 100644 --- a/src/test/java/com/fireblocks/sdk/model/USWireDestinationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/USWireDestinationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UnfreezeTransactionResponseTest.java b/src/test/java/com/fireblocks/sdk/model/UnfreezeTransactionResponseTest.java index 63a83f1e..54826d83 100644 --- a/src/test/java/com/fireblocks/sdk/model/UnfreezeTransactionResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UnfreezeTransactionResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UnmanagedWalletTest.java b/src/test/java/com/fireblocks/sdk/model/UnmanagedWalletTest.java index 4a1a8909..5a3a0fca 100644 --- a/src/test/java/com/fireblocks/sdk/model/UnmanagedWalletTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UnmanagedWalletTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UnspentInputTest.java b/src/test/java/com/fireblocks/sdk/model/UnspentInputTest.java index 15eb5a17..8dc30376 100644 --- a/src/test/java/com/fireblocks/sdk/model/UnspentInputTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UnspentInputTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UnspentInputsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/UnspentInputsResponseTest.java index a0cbd96f..487d4c99 100644 --- a/src/test/java/com/fireblocks/sdk/model/UnspentInputsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UnspentInputsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UnstakeRequestTest.java b/src/test/java/com/fireblocks/sdk/model/UnstakeRequestTest.java index 27c72799..d8a31b57 100644 --- a/src/test/java/com/fireblocks/sdk/model/UnstakeRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UnstakeRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UpdateAssetUserMetadataRequestTest.java b/src/test/java/com/fireblocks/sdk/model/UpdateAssetUserMetadataRequestTest.java index 273b41dd..d8c0a189 100644 --- a/src/test/java/com/fireblocks/sdk/model/UpdateAssetUserMetadataRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UpdateAssetUserMetadataRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UpdateCallbackHandlerRequestTest.java b/src/test/java/com/fireblocks/sdk/model/UpdateCallbackHandlerRequestTest.java index 79dc50f8..60c24ee3 100644 --- a/src/test/java/com/fireblocks/sdk/model/UpdateCallbackHandlerRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UpdateCallbackHandlerRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UpdateCallbackHandlerResponseTest.java b/src/test/java/com/fireblocks/sdk/model/UpdateCallbackHandlerResponseTest.java index 337ebc8f..07d769af 100644 --- a/src/test/java/com/fireblocks/sdk/model/UpdateCallbackHandlerResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UpdateCallbackHandlerResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UpdateDraftRequestTest.java b/src/test/java/com/fireblocks/sdk/model/UpdateDraftRequestTest.java index 9d464b53..1800e69d 100644 --- a/src/test/java/com/fireblocks/sdk/model/UpdateDraftRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UpdateDraftRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UpdateTagRequestTest.java b/src/test/java/com/fireblocks/sdk/model/UpdateTagRequestTest.java index 366733e0..56ad6f3a 100644 --- a/src/test/java/com/fireblocks/sdk/model/UpdateTagRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UpdateTagRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UpdateTokenOwnershipStatusDtoTest.java b/src/test/java/com/fireblocks/sdk/model/UpdateTokenOwnershipStatusDtoTest.java index b2a020e3..18faae7b 100644 --- a/src/test/java/com/fireblocks/sdk/model/UpdateTokenOwnershipStatusDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UpdateTokenOwnershipStatusDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UpdateVaultAccountAssetAddressRequestTest.java b/src/test/java/com/fireblocks/sdk/model/UpdateVaultAccountAssetAddressRequestTest.java index 3dd281e4..fb9f14cd 100644 --- a/src/test/java/com/fireblocks/sdk/model/UpdateVaultAccountAssetAddressRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UpdateVaultAccountAssetAddressRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UpdateVaultAccountRequestTest.java b/src/test/java/com/fireblocks/sdk/model/UpdateVaultAccountRequestTest.java index 7a5a9985..713f1f18 100644 --- a/src/test/java/com/fireblocks/sdk/model/UpdateVaultAccountRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UpdateVaultAccountRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UpdateWebhookRequestTest.java b/src/test/java/com/fireblocks/sdk/model/UpdateWebhookRequestTest.java index a8dfd930..14cc32b1 100644 --- a/src/test/java/com/fireblocks/sdk/model/UpdateWebhookRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UpdateWebhookRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UsWirePaymentInfoTest.java b/src/test/java/com/fireblocks/sdk/model/UsWirePaymentInfoTest.java index 79c2db5a..4d523103 100644 --- a/src/test/java/com/fireblocks/sdk/model/UsWirePaymentInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UsWirePaymentInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UserGroupCreateRequestTest.java b/src/test/java/com/fireblocks/sdk/model/UserGroupCreateRequestTest.java index 914e855a..3c95b00b 100644 --- a/src/test/java/com/fireblocks/sdk/model/UserGroupCreateRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UserGroupCreateRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UserGroupCreateResponseTest.java b/src/test/java/com/fireblocks/sdk/model/UserGroupCreateResponseTest.java index 0f68d00a..311ebf79 100644 --- a/src/test/java/com/fireblocks/sdk/model/UserGroupCreateResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UserGroupCreateResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UserGroupResponseTest.java b/src/test/java/com/fireblocks/sdk/model/UserGroupResponseTest.java index 53586455..33ad7079 100644 --- a/src/test/java/com/fireblocks/sdk/model/UserGroupResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UserGroupResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UserGroupUpdateRequestTest.java b/src/test/java/com/fireblocks/sdk/model/UserGroupUpdateRequestTest.java index 54fc46ae..6c1f7284 100644 --- a/src/test/java/com/fireblocks/sdk/model/UserGroupUpdateRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UserGroupUpdateRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UserResponseTest.java b/src/test/java/com/fireblocks/sdk/model/UserResponseTest.java index adf62a2e..ea658e1b 100644 --- a/src/test/java/com/fireblocks/sdk/model/UserResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UserResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UserRoleTest.java b/src/test/java/com/fireblocks/sdk/model/UserRoleTest.java index 0dcb7fd7..91cc9390 100644 --- a/src/test/java/com/fireblocks/sdk/model/UserRoleTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UserRoleTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UserStatusTest.java b/src/test/java/com/fireblocks/sdk/model/UserStatusTest.java index b7a0fdba..26100b66 100644 --- a/src/test/java/com/fireblocks/sdk/model/UserStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UserStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/UserTypeTest.java b/src/test/java/com/fireblocks/sdk/model/UserTypeTest.java index ad1e13c8..de9e506c 100644 --- a/src/test/java/com/fireblocks/sdk/model/UserTypeTest.java +++ b/src/test/java/com/fireblocks/sdk/model/UserTypeTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ValidateAddressResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ValidateAddressResponseTest.java index 811f248d..d5649ffe 100644 --- a/src/test/java/com/fireblocks/sdk/model/ValidateAddressResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ValidateAddressResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ValidateLayerZeroChannelResponseTest.java b/src/test/java/com/fireblocks/sdk/model/ValidateLayerZeroChannelResponseTest.java index be30337c..58356123 100644 --- a/src/test/java/com/fireblocks/sdk/model/ValidateLayerZeroChannelResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ValidateLayerZeroChannelResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ValidatedTransactionsForRescanTest.java b/src/test/java/com/fireblocks/sdk/model/ValidatedTransactionsForRescanTest.java deleted file mode 100644 index 343cb1db..00000000 --- a/src/test/java/com/fireblocks/sdk/model/ValidatedTransactionsForRescanTest.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for ValidatedTransactionsForRescan */ -class ValidatedTransactionsForRescanTest { - private final ValidatedTransactionsForRescan model = new ValidatedTransactionsForRescan(); - - /** Model tests for ValidatedTransactionsForRescan */ - @Test - void testValidatedTransactionsForRescan() { - // TODO: test ValidatedTransactionsForRescan - } - - /** Test the property 'baseAsset' */ - @Test - void baseAssetTest() { - // TODO: test baseAsset - } - - /** Test the property 'networkProtocol' */ - @Test - void networkProtocolTest() { - // TODO: test networkProtocol - } - - /** Test the property 'txHashes' */ - @Test - void txHashesTest() { - // TODO: test txHashes - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/ValidationKeyDtoTest.java b/src/test/java/com/fireblocks/sdk/model/ValidationKeyDtoTest.java index 699f62d6..be6c8fc3 100644 --- a/src/test/java/com/fireblocks/sdk/model/ValidationKeyDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ValidationKeyDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/ValidatorTest.java b/src/test/java/com/fireblocks/sdk/model/ValidatorTest.java index c82a25d0..5b970e64 100644 --- a/src/test/java/com/fireblocks/sdk/model/ValidatorTest.java +++ b/src/test/java/com/fireblocks/sdk/model/ValidatorTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperationTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperationTest.java index 22d554fc..e494b955 100644 --- a/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperationTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperationTest.java index b9a79ecc..429f52af 100644 --- a/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentPendingOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperationTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperationTest.java index 55c6dbfe..c569c61a 100644 --- a/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountTagAttachmentRejectedOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountTest.java index d91789fa..fec4b79d 100644 --- a/src/test/java/com/fireblocks/sdk/model/VaultAccountTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountsPagedResponsePagingTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountsPagedResponsePagingTest.java index 3dda8f60..ce29b270 100644 --- a/src/test/java/com/fireblocks/sdk/model/VaultAccountsPagedResponsePagingTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountsPagedResponsePagingTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountsPagedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountsPagedResponseTest.java index b1f7a8e5..eed123ca 100644 --- a/src/test/java/com/fireblocks/sdk/model/VaultAccountsPagedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountsPagedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequestTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequestTest.java index 8d827538..b4b7e4d8 100644 --- a/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponseTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponseTest.java index 683fb273..97e67381 100644 --- a/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentOperationsResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentsRequestTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentsRequestTest.java deleted file mode 100644 index d4834482..00000000 --- a/src/test/java/com/fireblocks/sdk/model/VaultAccountsTagAttachmentsRequestTest.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for VaultAccountsTagAttachmentsRequest */ -class VaultAccountsTagAttachmentsRequestTest { - private final VaultAccountsTagAttachmentsRequest model = - new VaultAccountsTagAttachmentsRequest(); - - /** Model tests for VaultAccountsTagAttachmentsRequest */ - @Test - void testVaultAccountsTagAttachmentsRequest() { - // TODO: test VaultAccountsTagAttachmentsRequest - } - - /** Test the property 'tagIds' */ - @Test - void tagIdsTest() { - // TODO: test tagIds - } - - /** Test the property 'vaultAccountIds' */ - @Test - void vaultAccountIdsTest() { - // TODO: test vaultAccountIds - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/VaultActionStatusTest.java b/src/test/java/com/fireblocks/sdk/model/VaultActionStatusTest.java index 78a2ec3f..eb657fdd 100644 --- a/src/test/java/com/fireblocks/sdk/model/VaultActionStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VaultActionStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VaultAssetTest.java b/src/test/java/com/fireblocks/sdk/model/VaultAssetTest.java index 43a45581..0962b08a 100644 --- a/src/test/java/com/fireblocks/sdk/model/VaultAssetTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VaultAssetTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VaultWalletAddressTest.java b/src/test/java/com/fireblocks/sdk/model/VaultWalletAddressTest.java index 4f8b2099..462a3b84 100644 --- a/src/test/java/com/fireblocks/sdk/model/VaultWalletAddressTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VaultWalletAddressTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VendorDtoTest.java b/src/test/java/com/fireblocks/sdk/model/VendorDtoTest.java index 45d72c1f..e66454a0 100644 --- a/src/test/java/com/fireblocks/sdk/model/VendorDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VendorDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VerdictConfigTest.java b/src/test/java/com/fireblocks/sdk/model/VerdictConfigTest.java index 0e7c6f9f..bbb2465b 100644 --- a/src/test/java/com/fireblocks/sdk/model/VerdictConfigTest.java +++ b/src/test/java/com/fireblocks/sdk/model/VerdictConfigTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/VersionSummaryTest.java b/src/test/java/com/fireblocks/sdk/model/VersionSummaryTest.java new file mode 100644 index 00000000..301bf346 --- /dev/null +++ b/src/test/java/com/fireblocks/sdk/model/VersionSummaryTest.java @@ -0,0 +1,39 @@ +/* + * 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 + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.fireblocks.sdk.model; + + +import org.junit.jupiter.api.Test; + +/** Model tests for VersionSummary */ +class VersionSummaryTest { + private final VersionSummary model = new VersionSummary(); + + /** Model tests for VersionSummary */ + @Test + void testVersionSummary() { + // TODO: test VersionSummary + } + + /** Test the property 'hash' */ + @Test + void hashTest() { + // TODO: test hash + } + + /** Test the property 'name' */ + @Test + void nameTest() { + // TODO: test name + } +} diff --git a/src/test/java/com/fireblocks/sdk/model/VersionTest.java b/src/test/java/com/fireblocks/sdk/model/VersionTest.java deleted file mode 100644 index 5a490296..00000000 --- a/src/test/java/com/fireblocks/sdk/model/VersionTest.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -package com.fireblocks.sdk.model; - - -import org.junit.jupiter.api.Test; - -/** Model tests for Version */ -class VersionTest { - private final Version model = new Version(); - - /** Model tests for Version */ - @Test - void testVersion() { - // TODO: test Version - } - - /** Test the property 'hash' */ - @Test - void hashTest() { - // TODO: test hash - } -} diff --git a/src/test/java/com/fireblocks/sdk/model/WalletAssetAdditionalInfoTest.java b/src/test/java/com/fireblocks/sdk/model/WalletAssetAdditionalInfoTest.java index 57b9a4c5..2d99cbf2 100644 --- a/src/test/java/com/fireblocks/sdk/model/WalletAssetAdditionalInfoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WalletAssetAdditionalInfoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WalletAssetTest.java b/src/test/java/com/fireblocks/sdk/model/WalletAssetTest.java index 10cdd64c..80de7dff 100644 --- a/src/test/java/com/fireblocks/sdk/model/WalletAssetTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WalletAssetTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WebhookEventTest.java b/src/test/java/com/fireblocks/sdk/model/WebhookEventTest.java index 2bb7be48..bc9d2738 100644 --- a/src/test/java/com/fireblocks/sdk/model/WebhookEventTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WebhookEventTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WebhookMetricTest.java b/src/test/java/com/fireblocks/sdk/model/WebhookMetricTest.java index 09834ed5..8f2e2adf 100644 --- a/src/test/java/com/fireblocks/sdk/model/WebhookMetricTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WebhookMetricTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WebhookPaginatedResponseTest.java b/src/test/java/com/fireblocks/sdk/model/WebhookPaginatedResponseTest.java index 438e9c29..d265a452 100644 --- a/src/test/java/com/fireblocks/sdk/model/WebhookPaginatedResponseTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WebhookPaginatedResponseTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WebhookTest.java b/src/test/java/com/fireblocks/sdk/model/WebhookTest.java index a526d87a..ede68e4b 100644 --- a/src/test/java/com/fireblocks/sdk/model/WebhookTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WebhookTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WithdrawRequestTest.java b/src/test/java/com/fireblocks/sdk/model/WithdrawRequestTest.java index eb9e99c8..42bb0f29 100644 --- a/src/test/java/com/fireblocks/sdk/model/WithdrawRequestTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WithdrawRequestTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -48,4 +48,10 @@ void feeLevelTest() { void txNoteTest() { // TODO: test txNote } + + /** Test the property 'amount' */ + @Test + void amountTest() { + // TODO: test amount + } } diff --git a/src/test/java/com/fireblocks/sdk/model/WorkflowConfigStatusTest.java b/src/test/java/com/fireblocks/sdk/model/WorkflowConfigStatusTest.java index 99fadcc2..21d2b722 100644 --- a/src/test/java/com/fireblocks/sdk/model/WorkflowConfigStatusTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WorkflowConfigStatusTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WorkflowConfigurationIdTest.java b/src/test/java/com/fireblocks/sdk/model/WorkflowConfigurationIdTest.java index fc0f66d1..e40e9daf 100644 --- a/src/test/java/com/fireblocks/sdk/model/WorkflowConfigurationIdTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WorkflowConfigurationIdTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WorkflowExecutionOperationTest.java b/src/test/java/com/fireblocks/sdk/model/WorkflowExecutionOperationTest.java index 38dd13e8..55c7ca83 100644 --- a/src/test/java/com/fireblocks/sdk/model/WorkflowExecutionOperationTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WorkflowExecutionOperationTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WriteAbiFunctionTest.java b/src/test/java/com/fireblocks/sdk/model/WriteAbiFunctionTest.java index 1e8e06f7..859a7a24 100644 --- a/src/test/java/com/fireblocks/sdk/model/WriteAbiFunctionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WriteAbiFunctionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionDtoAbiFunctionTest.java b/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionDtoAbiFunctionTest.java index 37b6b1ed..dffd04a4 100644 --- a/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionDtoAbiFunctionTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionDtoAbiFunctionTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionDtoTest.java b/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionDtoTest.java index ee1c999d..906b7d42 100644 --- a/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionResponseDtoTest.java b/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionResponseDtoTest.java index 0b802a00..7c278af4 100644 --- a/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionResponseDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/WriteCallFunctionResponseDtoTest.java @@ -1,9 +1,9 @@ /* * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com + * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech