diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 70c32982..30ad62a3 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -24,8 +24,9 @@ jobs: cache: 'npm' - name: Install npm ${{ matrix.npm-version }} - run: npm install -g npm@^${{ matrix.npm-version }} + run: npx --yes npm@^${{ matrix.npm-version }} install -g npm@^${{ matrix.npm-version }} - run: npm ci - run: npm run build --if-present - - run: npm pack \ No newline at end of file + - run: npm pack + diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index a4f07b59..1233e5d3 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -13,7 +13,8 @@ Account.md AccountAccess.md AccountBase.md AccountBasedAccessProvider.md -AccountBasedAccessProviderDetails.md +AccountBasedAccessProviderInfo.md +AccountBasedProviderDetails.md AccountConfig.md AccountHolderDetails.md AccountIdentifier.md @@ -93,7 +94,6 @@ AssetPriceNotFoundErrorResponse.md AssetPriceResponse.md AssetResponse.md AssetScope.md -AssetTypeEnum.md AssetTypeResponse.md AssetTypesConfig.md AssetTypesConfigInner.md @@ -126,7 +126,6 @@ BusinessIdentification.md CallbackHandler.md CallbackHandlerRequest.md CancelTransactionResponse.md -Capability.md ChainDescriptor.md ChainInfoResponse.md ChannelDvnConfigWithConfirmations.md @@ -290,7 +289,8 @@ DestinationTransferPeerPath.md DestinationTransferPeerPathResponse.md DirectAccess.md DirectAccessProvider.md -DirectAccessProviderDetails.md +DirectAccessProviderInfo.md +DirectProviderDetails.md DisbursementAmountInstruction.md DisbursementConfigOperation.md DisbursementInstruction.md @@ -358,6 +358,7 @@ ExecutionDisbursementOperation.md ExecutionOperationStatus.md ExecutionRequestBaseDetails.md ExecutionRequestDetails.md +ExecutionRequestDetailsType.md ExecutionResponseBaseDetails.md ExecutionResponseDetails.md ExecutionScreeningOperation.md @@ -509,6 +510,11 @@ ListOwnedTokensResponse.md LocalBankTransferAfricaAddress.md LocalBankTransferAfricaDestination.md Manifest.md +ManifestBase.md +ManifestOrder.md +ManifestOrderInfo.md +ManifestQuote.md +ManifestQuoteInfo.md MarketExecutionRequestDetails.md MarketExecutionResponseDetails.md MarketRequoteRequestDetails.md @@ -628,6 +634,7 @@ PolicyUserIds.md PolicyValidation.md PolicyVerdictActionEnum.md PolicyVerdictActionEnum2.md +Position.md PostalAddress.md PreScreening.md PrefundedSettlement.md @@ -701,8 +708,8 @@ ScreeningOperationExecutionOutput.md ScreeningOperationFailure.md ScreeningOperationType.md ScreeningPolicyResponse.md +ScreeningProviderResponse.md ScreeningProviderRulesConfigurationResponse.md -ScreeningRiskLevelEnum.md ScreeningTRLinkAmount.md ScreeningTRLinkMissingTrmDecision.md ScreeningTRLinkMissingTrmRule.md @@ -746,6 +753,7 @@ Settlement.md SettlementRequestBody.md SettlementResponse.md SettlementSourceAccount.md +SettlementTypeEnum.md Side.md SignedMessage.md SignedMessageSignature.md @@ -803,6 +811,7 @@ StakingGetAllDelegationsResponse.md StakingGetChainsResponse.md StakingGetProvidersResponse.md StakingGetSummaryByVaultResponse.md +StakingPositionsPaginatedResponse.md StakingProvider.md Status.md StellarRippleCreateParamsDto.md @@ -926,6 +935,7 @@ TradingAccountType.md TradingBetaApi.md TradingErrorSchema.md TradingProvider.md +TradingProviderDetails.md Transaction.md TransactionDirection.md TransactionFee.md @@ -1145,8 +1155,9 @@ models/access-registry-summary-response.ts models/access-type.ts models/account-access.ts models/account-base.ts -models/account-based-access-provider-details.ts +models/account-based-access-provider-info.ts models/account-based-access-provider.ts +models/account-based-provider-details.ts models/account-config.ts models/account-holder-details.ts models/account-identifier.ts @@ -1227,7 +1238,6 @@ models/asset-price-not-found-error-response.ts models/asset-price-response.ts models/asset-response.ts models/asset-scope.ts -models/asset-type-enum.ts models/asset-type-response.ts models/asset-types-config-inner.ts models/asset-types-config.ts @@ -1259,7 +1269,6 @@ models/business-identification.ts models/callback-handler-request.ts models/callback-handler.ts models/cancel-transaction-response.ts -models/capability.ts models/chain-descriptor.ts models/chain-info-response.ts models/channel-dvn-config-with-confirmations-receive-config.ts @@ -1410,9 +1419,10 @@ models/destination-config.ts models/destination-transfer-peer-path-response.ts models/destination-transfer-peer-path.ts models/destination.ts -models/direct-access-provider-details.ts +models/direct-access-provider-info.ts models/direct-access-provider.ts models/direct-access.ts +models/direct-provider-details.ts models/disbursement-amount-instruction.ts models/disbursement-config-operation.ts models/disbursement-instruction-output.ts @@ -1479,6 +1489,7 @@ models/execution-conversion-operation.ts models/execution-disbursement-operation.ts models/execution-operation-status.ts models/execution-request-base-details.ts +models/execution-request-details-type.ts models/execution-request-details.ts models/execution-response-base-details.ts models/execution-response-details.ts @@ -1624,6 +1635,11 @@ models/list-owned-collections-response.ts models/list-owned-tokens-response.ts models/local-bank-transfer-africa-address.ts models/local-bank-transfer-africa-destination.ts +models/manifest-base.ts +models/manifest-order-info.ts +models/manifest-order.ts +models/manifest-quote-info.ts +models/manifest-quote.ts models/manifest.ts models/market-execution-request-details.ts models/market-execution-response-details.ts @@ -1736,6 +1752,7 @@ models/policy-user-ids.ts models/policy-validation.ts models/policy-verdict-action-enum.ts models/policy-verdict-action-enum2.ts +models/position.ts models/postal-address.ts models/pre-screening.ts models/prefunded-settlement-type.ts @@ -1803,8 +1820,8 @@ models/screening-operation-execution.ts models/screening-operation-failure.ts models/screening-operation-type.ts models/screening-policy-response.ts +models/screening-provider-response.ts models/screening-provider-rules-configuration-response.ts -models/screening-risk-level-enum.ts models/screening-travel-rule-matched-rule.ts models/screening-travel-rule-prescreening-rule.ts models/screening-travel-rule-result.ts @@ -1849,6 +1866,7 @@ models/set-routing-policy-response.ts models/settlement-request-body.ts models/settlement-response.ts models/settlement-source-account.ts +models/settlement-type-enum.ts models/settlement.ts models/side.ts models/signed-message-signature.ts @@ -1907,6 +1925,7 @@ models/staking-get-all-delegations-response.ts models/staking-get-chains-response.ts models/staking-get-providers-response.ts models/staking-get-summary-by-vault-response.ts +models/staking-positions-paginated-response.ts models/staking-provider.ts models/status.ts models/stellar-ripple-create-params-dto.ts @@ -1941,6 +1960,7 @@ models/total-supply-item-dto.ts models/total-supply-paged-response.ts models/trading-account-type.ts models/trading-error-schema.ts +models/trading-provider-details.ts models/trading-provider.ts models/transaction-direction.ts models/transaction-fee.ts diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index b775af8c..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,222 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [v15.0.0](https://github.com/fireblocks/ts-sdk/compare/v14.0.0...v15.0.0) - 2026-03-15 - -### Merged - -- Generated SDK #3733 (major) [`#174`](https://github.com/fireblocks/ts-sdk/pull/174) - -## [v14.0.0](https://github.com/fireblocks/ts-sdk/compare/v13.0.0...v14.0.0) - 2026-02-03 - -### Merged - -- Generated SDK #4746 [`#164`](https://github.com/fireblocks/ts-sdk/pull/164) - -## [v13.0.0](https://github.com/fireblocks/ts-sdk/compare/v12.1.2...v13.0.0) - 2025-11-13 - -### Merged - -- Generated SDK #5834 [`#146`](https://github.com/fireblocks/ts-sdk/pull/146) - -## [v12.1.2](https://github.com/fireblocks/ts-sdk/compare/v12.1.1...v12.1.2) - 2025-10-22 - -### Merged - -- Generated SDK #8293 [`#145`](https://github.com/fireblocks/ts-sdk/pull/145) - -## [v12.1.1](https://github.com/fireblocks/ts-sdk/compare/v12.1.0...v12.1.1) - 2025-09-29 - -### Merged - -- Generated SDK #6061 [`#143`](https://github.com/fireblocks/ts-sdk/pull/143) - -## [v12.1.0](https://github.com/fireblocks/ts-sdk/compare/v12.0.0...v12.1.0) - 2025-09-09 - -### Merged - -- Generated SDK #4521 [`#142`](https://github.com/fireblocks/ts-sdk/pull/142) - -## [v12.0.0](https://github.com/fireblocks/ts-sdk/compare/v11.2.0...v12.0.0) - 2025-09-01 - -### Merged - -- Generated SDK #7741 [`#141`](https://github.com/fireblocks/ts-sdk/pull/141) - -## [v11.2.0](https://github.com/fireblocks/ts-sdk/compare/v11.1.0...v11.2.0) - 2025-08-18 - -### Merged - -- Generated SDK #3302 [`#140`](https://github.com/fireblocks/ts-sdk/pull/140) - -## [v11.1.0](https://github.com/fireblocks/ts-sdk/compare/v11.0.0...v11.1.0) - 2025-08-11 - -### Merged - -- Generated SDK #1782 [`#139`](https://github.com/fireblocks/ts-sdk/pull/139) - -## [v11.0.0](https://github.com/fireblocks/ts-sdk/compare/v10.4.0...v11.0.0) - 2025-07-15 - -### Merged - -- Generated SDK #5610 [`#136`](https://github.com/fireblocks/ts-sdk/pull/136) - -## [v10.4.0](https://github.com/fireblocks/ts-sdk/compare/v10.3.0...v10.4.0) - 2025-06-29 - -### Merged - -- Generated SDK #1492 [`#135`](https://github.com/fireblocks/ts-sdk/pull/135) - -## [v10.3.0](https://github.com/fireblocks/ts-sdk/compare/v10.2.0...v10.3.0) - 2025-06-18 - -### Merged - -- Generated SDK #4009 [`#134`](https://github.com/fireblocks/ts-sdk/pull/134) - -## [v10.2.0](https://github.com/fireblocks/ts-sdk/compare/v10.1.1...v10.2.0) - 2025-06-04 - -### Merged - -- Generated SDK #8912 [`#133`](https://github.com/fireblocks/ts-sdk/pull/133) - -## [v10.1.1](https://github.com/fireblocks/ts-sdk/compare/v10.1.0...v10.1.1) - 2025-05-18 - -### Merged - -- Generated SDK #5019 [`#132`](https://github.com/fireblocks/ts-sdk/pull/132) - -## [v10.1.0](https://github.com/fireblocks/ts-sdk/compare/v10.0.2...v10.1.0) - 2025-05-07 - -### Merged - -- Generated SDK #7076 [`#130`](https://github.com/fireblocks/ts-sdk/pull/130) - -## [v10.0.2](https://github.com/fireblocks/ts-sdk/compare/v10.0.1...v10.0.2) - 2025-04-20 - -### Merged - -- Generated SDK #4794 [`#128`](https://github.com/fireblocks/ts-sdk/pull/128) - -## [v10.0.1](https://github.com/fireblocks/ts-sdk/compare/v10.0.0...v10.0.1) - 2025-04-07 - -### Merged - -- Generated SDK #3065 [`#126`](https://github.com/fireblocks/ts-sdk/pull/126) - -## [v10.0.0](https://github.com/fireblocks/ts-sdk/compare/v9.0.0...v10.0.0) - 2025-03-27 - -### Merged - -- Generated SDK #619 [`#124`](https://github.com/fireblocks/ts-sdk/pull/124) - -## [v9.0.0](https://github.com/fireblocks/ts-sdk/compare/v8.1.0...v9.0.0) - 2025-03-17 - -### Merged - -- Generated SDK #645 [`#123`](https://github.com/fireblocks/ts-sdk/pull/123) - -## [v8.1.0](https://github.com/fireblocks/ts-sdk/compare/v8.0.1...v8.1.0) - 2025-02-24 - -### Merged - -- Generated SDK #9833 [`#120`](https://github.com/fireblocks/ts-sdk/pull/120) - -## [v8.0.1](https://github.com/fireblocks/ts-sdk/compare/v8.0.0...v8.0.1) - 2025-02-12 - -### Merged - -- Generated SDK #4262 [`#119`](https://github.com/fireblocks/ts-sdk/pull/119) - -## [v8.0.0](https://github.com/fireblocks/ts-sdk/compare/v7.0.0...v8.0.0) - 2025-02-02 - -### Merged - -- Generated SDK #538 [`#118`](https://github.com/fireblocks/ts-sdk/pull/118) - -## [v7.0.0](https://github.com/fireblocks/ts-sdk/compare/v6.0.0...v7.0.0) - 2025-01-08 - -### Merged - -- Generated SDK #8699 [`#116`](https://github.com/fireblocks/ts-sdk/pull/116) - -## [v6.0.0](https://github.com/fireblocks/ts-sdk/compare/v5.0.0...v6.0.0) - 2024-12-05 - -### Merged - -- Generated SDK #1430 [`#111`](https://github.com/fireblocks/ts-sdk/pull/111) - -## [v5.0.0](https://github.com/fireblocks/ts-sdk/compare/v4.0.0...v5.0.0) - 2024-10-31 - -### Merged - -- Generated SDK #5184 [`#109`](https://github.com/fireblocks/ts-sdk/pull/109) - -## [v4.0.0](https://github.com/fireblocks/ts-sdk/compare/v3.1.0...v4.0.0) - 2024-09-17 - -### Merged - -- Generated SDK #237 [`#107`](https://github.com/fireblocks/ts-sdk/pull/107) - -## [v3.1.0](https://github.com/fireblocks/ts-sdk/compare/v3.0.0...v3.1.0) - 2024-07-25 - -### Merged - -- Generated SDK #6749 [`#102`](https://github.com/fireblocks/ts-sdk/pull/102) - -## [v3.0.0](https://github.com/fireblocks/ts-sdk/compare/v2.1.0...v3.0.0) - 2024-07-17 - -### Merged - -- Generated SDK #6152 [`#90`](https://github.com/fireblocks/ts-sdk/pull/90) -- Generated SDK #2589 [`#86`](https://github.com/fireblocks/ts-sdk/pull/86) -- Generated SDK #7882 [`#85`](https://github.com/fireblocks/ts-sdk/pull/85) -- Generated SDK #8418 [`#84`](https://github.com/fireblocks/ts-sdk/pull/84) -- Generated SDK #3524 [`#83`](https://github.com/fireblocks/ts-sdk/pull/83) -- Generated SDK #7984 [`#82`](https://github.com/fireblocks/ts-sdk/pull/82) -- Generated SDK #2873 [`#81`](https://github.com/fireblocks/ts-sdk/pull/81) - -## [v2.1.0](https://github.com/fireblocks/ts-sdk/compare/v2.0.0...v2.1.0) - 2024-06-04 - -### Merged - -- Generated SDK for version COR-46191/fix_pipelines [`#44`](https://github.com/fireblocks/ts-sdk/pull/44) - -## [v2.0.0](https://github.com/fireblocks/ts-sdk/compare/v1.1.0...v2.0.0) - 2024-05-08 - -### Merged - -- feat: add tokenization api [`#35`](https://github.com/fireblocks/ts-sdk/pull/35) - -## [v1.1.0](https://github.com/fireblocks/ts-sdk/compare/v1.0.1...v1.1.0) - 2024-04-17 - -### Merged - -- feat: adding consigners beta api [`#34`](https://github.com/fireblocks/ts-sdk/pull/34) -- fix: modify error message when secretKey missing and fix readme doc [`#33`](https://github.com/fireblocks/ts-sdk/pull/33) - -## [v1.0.1](https://github.com/fireblocks/ts-sdk/compare/v1.0.0...v1.0.1) - 2024-04-07 - -### Merged - -- Generated SDK for version v1.0.1 [`#32`](https://github.com/fireblocks/ts-sdk/pull/32) - -## v1.0.0 - 2024-04-07 - -### Merged - -- Generated SDK for version v1.0.0 GA [`#31`](https://github.com/fireblocks/ts-sdk/pull/31) -- add_license [`#30`](https://github.com/fireblocks/ts-sdk/pull/30) -- version_3_0_6_beta [`#29`](https://github.com/fireblocks/ts-sdk/pull/29) -- version_3_0_5_beta [`#27`](https://github.com/fireblocks/ts-sdk/pull/27) -- Version 3.0.4-beta [`#26`](https://github.com/fireblocks/ts-sdk/pull/26) -- Fireblocks api spec/generated/9818 [`#25`](https://github.com/fireblocks/ts-sdk/pull/25) -- Generated SDK for version 9817 [`#24`](https://github.com/fireblocks/ts-sdk/pull/24) -- Generated SDK for version master [`#23`](https://github.com/fireblocks/ts-sdk/pull/23) -- Added Idempotency & NCW headers support [`#22`](https://github.com/fireblocks/ts-sdk/pull/22) -- API SDK Improvments [`#21`](https://github.com/fireblocks/ts-sdk/pull/21) -- Update README.md [`#18`](https://github.com/fireblocks/ts-sdk/pull/18) -- Update README.md [`#17`](https://github.com/fireblocks/ts-sdk/pull/17) diff --git a/README.md b/README.md index d6bd64f7..14e7ab2a 100644 --- a/README.md +++ b/README.md @@ -339,6 +339,7 @@ Class | Method | HTTP request | Description *StakingApi* | [**getChainInfo**](docs/apis/StakingApi.md#getChainInfo) | **GET** /staking/chains/{chainDescriptor}/chainInfo | Get chain-level staking parameters *StakingApi* | [**getChains**](docs/apis/StakingApi.md#getChains) | **GET** /staking/chains | List supported staking chains *StakingApi* | [**getDelegationById**](docs/apis/StakingApi.md#getDelegationById) | **GET** /staking/positions/{id} | Get position details +*StakingApi* | [**getPositions**](docs/apis/StakingApi.md#getPositions) | **GET** /staking/positions_paginated | List staking positions (Paginated) *StakingApi* | [**getProviders**](docs/apis/StakingApi.md#getProviders) | **GET** /staking/providers | List staking providers *StakingApi* | [**getSummary**](docs/apis/StakingApi.md#getSummary) | **GET** /staking/positions/summary | Get positions summary *StakingApi* | [**getSummaryByVault**](docs/apis/StakingApi.md#getSummaryByVault) | **GET** /staking/positions/summary/vaults | Get positions summary by vault @@ -407,6 +408,7 @@ Class | Method | HTTP request | Description *TradingBetaApi* | [**createQuote**](docs/apis/TradingBetaApi.md#createQuote) | **POST** /trading/quotes | Create a quote *TradingBetaApi* | [**getOrder**](docs/apis/TradingBetaApi.md#getOrder) | **GET** /trading/orders/{orderId} | Get order details *TradingBetaApi* | [**getOrders**](docs/apis/TradingBetaApi.md#getOrders) | **GET** /trading/orders | Get orders +*TradingBetaApi* | [**getTradingProviderById**](docs/apis/TradingBetaApi.md#getTradingProviderById) | **GET** /trading/providers/{providerId} | Get trading provider by ID *TradingBetaApi* | [**getTradingProviders**](docs/apis/TradingBetaApi.md#getTradingProviders) | **GET** /trading/providers | Get providers *TransactionsApi* | [**cancelTransaction**](docs/apis/TransactionsApi.md#cancelTransaction) | **POST** /transactions/{txId}/cancel | Cancel a transaction *TransactionsApi* | [**createTransaction**](docs/apis/TransactionsApi.md#createTransaction) | **POST** /transactions | Create a new transaction @@ -503,7 +505,8 @@ Class | Method | HTTP request | Description - [AccountAccess](docs/models/AccountAccess.md) - [AccountBase](docs/models/AccountBase.md) - [AccountBasedAccessProvider](docs/models/AccountBasedAccessProvider.md) - - [AccountBasedAccessProviderDetails](docs/models/AccountBasedAccessProviderDetails.md) + - [AccountBasedAccessProviderInfo](docs/models/AccountBasedAccessProviderInfo.md) + - [AccountBasedProviderDetails](docs/models/AccountBasedProviderDetails.md) - [AccountConfig](docs/models/AccountConfig.md) - [AccountHolderDetails](docs/models/AccountHolderDetails.md) - [AccountIdentifier](docs/models/AccountIdentifier.md) @@ -582,7 +585,6 @@ Class | Method | HTTP request | Description - [AssetPriceResponse](docs/models/AssetPriceResponse.md) - [AssetResponse](docs/models/AssetResponse.md) - [AssetScope](docs/models/AssetScope.md) - - [AssetTypeEnum](docs/models/AssetTypeEnum.md) - [AssetTypeResponse](docs/models/AssetTypeResponse.md) - [AssetTypesConfig](docs/models/AssetTypesConfig.md) - [AssetTypesConfigInner](docs/models/AssetTypesConfigInner.md) @@ -613,7 +615,6 @@ Class | Method | HTTP request | Description - [CallbackHandler](docs/models/CallbackHandler.md) - [CallbackHandlerRequest](docs/models/CallbackHandlerRequest.md) - [CancelTransactionResponse](docs/models/CancelTransactionResponse.md) - - [Capability](docs/models/Capability.md) - [ChainDescriptor](docs/models/ChainDescriptor.md) - [ChainInfoResponse](docs/models/ChainInfoResponse.md) - [ChannelDvnConfigWithConfirmations](docs/models/ChannelDvnConfigWithConfirmations.md) @@ -768,7 +769,8 @@ Class | Method | HTTP request | Description - [DestinationTransferPeerPathResponse](docs/models/DestinationTransferPeerPathResponse.md) - [DirectAccess](docs/models/DirectAccess.md) - [DirectAccessProvider](docs/models/DirectAccessProvider.md) - - [DirectAccessProviderDetails](docs/models/DirectAccessProviderDetails.md) + - [DirectAccessProviderInfo](docs/models/DirectAccessProviderInfo.md) + - [DirectProviderDetails](docs/models/DirectProviderDetails.md) - [DisbursementAmountInstruction](docs/models/DisbursementAmountInstruction.md) - [DisbursementConfigOperation](docs/models/DisbursementConfigOperation.md) - [DisbursementInstruction](docs/models/DisbursementInstruction.md) @@ -834,6 +836,7 @@ Class | Method | HTTP request | Description - [ExecutionOperationStatus](docs/models/ExecutionOperationStatus.md) - [ExecutionRequestBaseDetails](docs/models/ExecutionRequestBaseDetails.md) - [ExecutionRequestDetails](docs/models/ExecutionRequestDetails.md) + - [ExecutionRequestDetailsType](docs/models/ExecutionRequestDetailsType.md) - [ExecutionResponseBaseDetails](docs/models/ExecutionResponseBaseDetails.md) - [ExecutionResponseDetails](docs/models/ExecutionResponseDetails.md) - [ExecutionScreeningOperation](docs/models/ExecutionScreeningOperation.md) @@ -978,6 +981,11 @@ Class | Method | HTTP request | Description - [LocalBankTransferAfricaAddress](docs/models/LocalBankTransferAfricaAddress.md) - [LocalBankTransferAfricaDestination](docs/models/LocalBankTransferAfricaDestination.md) - [Manifest](docs/models/Manifest.md) + - [ManifestBase](docs/models/ManifestBase.md) + - [ManifestOrder](docs/models/ManifestOrder.md) + - [ManifestOrderInfo](docs/models/ManifestOrderInfo.md) + - [ManifestQuote](docs/models/ManifestQuote.md) + - [ManifestQuoteInfo](docs/models/ManifestQuoteInfo.md) - [MarketExecutionRequestDetails](docs/models/MarketExecutionRequestDetails.md) - [MarketExecutionResponseDetails](docs/models/MarketExecutionResponseDetails.md) - [MarketRequoteRequestDetails](docs/models/MarketRequoteRequestDetails.md) @@ -1089,6 +1097,7 @@ Class | Method | HTTP request | Description - [PolicyValidation](docs/models/PolicyValidation.md) - [PolicyVerdictActionEnum](docs/models/PolicyVerdictActionEnum.md) - [PolicyVerdictActionEnum2](docs/models/PolicyVerdictActionEnum2.md) + - [Position](docs/models/Position.md) - [PostalAddress](docs/models/PostalAddress.md) - [PreScreening](docs/models/PreScreening.md) - [PrefundedSettlement](docs/models/PrefundedSettlement.md) @@ -1160,8 +1169,8 @@ Class | Method | HTTP request | Description - [ScreeningOperationFailure](docs/models/ScreeningOperationFailure.md) - [ScreeningOperationType](docs/models/ScreeningOperationType.md) - [ScreeningPolicyResponse](docs/models/ScreeningPolicyResponse.md) + - [ScreeningProviderResponse](docs/models/ScreeningProviderResponse.md) - [ScreeningProviderRulesConfigurationResponse](docs/models/ScreeningProviderRulesConfigurationResponse.md) - - [ScreeningRiskLevelEnum](docs/models/ScreeningRiskLevelEnum.md) - [ScreeningTRLinkAmount](docs/models/ScreeningTRLinkAmount.md) - [ScreeningTRLinkMissingTrmDecision](docs/models/ScreeningTRLinkMissingTrmDecision.md) - [ScreeningTRLinkMissingTrmRule](docs/models/ScreeningTRLinkMissingTrmRule.md) @@ -1205,6 +1214,7 @@ Class | Method | HTTP request | Description - [SettlementRequestBody](docs/models/SettlementRequestBody.md) - [SettlementResponse](docs/models/SettlementResponse.md) - [SettlementSourceAccount](docs/models/SettlementSourceAccount.md) + - [SettlementTypeEnum](docs/models/SettlementTypeEnum.md) - [Side](docs/models/Side.md) - [SignedMessage](docs/models/SignedMessage.md) - [SignedMessageSignature](docs/models/SignedMessageSignature.md) @@ -1260,6 +1270,7 @@ Class | Method | HTTP request | Description - [StakingGetChainsResponse](docs/models/StakingGetChainsResponse.md) - [StakingGetProvidersResponse](docs/models/StakingGetProvidersResponse.md) - [StakingGetSummaryByVaultResponse](docs/models/StakingGetSummaryByVaultResponse.md) + - [StakingPositionsPaginatedResponse](docs/models/StakingPositionsPaginatedResponse.md) - [StakingProvider](docs/models/StakingProvider.md) - [Status](docs/models/Status.md) - [StellarRippleCreateParamsDto](docs/models/StellarRippleCreateParamsDto.md) @@ -1379,6 +1390,7 @@ Class | Method | HTTP request | Description - [TradingAccountType](docs/models/TradingAccountType.md) - [TradingErrorSchema](docs/models/TradingErrorSchema.md) - [TradingProvider](docs/models/TradingProvider.md) + - [TradingProviderDetails](docs/models/TradingProviderDetails.md) - [Transaction](docs/models/Transaction.md) - [TransactionDirection](docs/models/TransactionDirection.md) - [TransactionFee](docs/models/TransactionFee.md) diff --git a/api/nfts-api.ts b/api/nfts-api.ts index 4ee95b52..3f882875 100644 --- a/api/nfts-api.ts +++ b/api/nfts-api.ts @@ -970,7 +970,7 @@ export interface NFTsApiGetNFTsRequest { export interface NFTsApiGetOwnershipTokensRequest { /** * Blockchain descriptor filter - * @type {'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' | 'CRONOS' | 'CRONOS_TEST'} + * @type {'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' | 'CRONOS' | 'CRONOS_TEST' | 'ROBINHOOD_CHAIN_TESTNET_TEST'} * @memberof NFTsApiGetOwnershipTokens */ readonly blockchainDescriptor?: GetOwnershipTokensBlockchainDescriptorEnum @@ -1236,7 +1236,7 @@ export interface NFTsApiRefreshNFTMetadataRequest { export interface NFTsApiUpdateOwnershipTokensRequest { /** * Blockchain descriptor filter - * @type {'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 {'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' | 'ROBINHOOD_CHAIN_TESTNET_TEST'} * @memberof NFTsApiUpdateOwnershipTokens */ readonly blockchainDescriptor: UpdateOwnershipTokensBlockchainDescriptorEnum @@ -1522,7 +1522,8 @@ export const GetOwnershipTokensBlockchainDescriptorEnum = { Apechain: 'APECHAIN', ApechainTest: 'APECHAIN_TEST', Cronos: 'CRONOS', - CronosTest: 'CRONOS_TEST' + CronosTest: 'CRONOS_TEST', + RobinhoodChainTestnetTest: 'ROBINHOOD_CHAIN_TESTNET_TEST' } as const; export type GetOwnershipTokensBlockchainDescriptorEnum = typeof GetOwnershipTokensBlockchainDescriptorEnum[keyof typeof GetOwnershipTokensBlockchainDescriptorEnum]; /** @@ -1663,6 +1664,7 @@ export const UpdateOwnershipTokensBlockchainDescriptorEnum = { KlayKaia: 'KLAY_KAIA', KlayKaiaTest: 'KLAY_KAIA_TEST', Apechain: 'APECHAIN', - ApechainTest: 'APECHAIN_TEST' + ApechainTest: 'APECHAIN_TEST', + RobinhoodChainTestnetTest: 'ROBINHOOD_CHAIN_TESTNET_TEST' } as const; export type UpdateOwnershipTokensBlockchainDescriptorEnum = typeof UpdateOwnershipTokensBlockchainDescriptorEnum[keyof typeof UpdateOwnershipTokensBlockchainDescriptorEnum]; diff --git a/api/staking-api.ts b/api/staking-api.ts index d05a96bd..cc704006 100644 --- a/api/staking-api.ts +++ b/api/staking-api.ts @@ -59,6 +59,8 @@ import { StakingGetProvidersResponse } from '../models'; // @ts-ignore import { StakingGetSummaryByVaultResponse } from '../models'; // @ts-ignore +import { StakingPositionsPaginatedResponse } from '../models'; +// @ts-ignore import { StakingProvider } from '../models'; // @ts-ignore import { UnstakeRequest } from '../models'; @@ -152,7 +154,7 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati }; }, /** - * Consolidates the source staking position into the destination, merging the balance into the destination and closing the source position once complete. Both positions must be from the same validator provider and same vault account. On chain, this translates into a consolidation transaction, where the source validator is consolidated into the destination validator. Supported chains: Ethereum (ETH) only.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. + * Consolidates the source staking position into the destination, merging the balance into the destination and closing the source position once complete. Both positions must be from the same funding vaults account (i.e. same withdrawals credentials). On chain, this translates into a consolidation transaction, where the source validator is consolidated into the destination validator. Supported chains: Ethereum (ETH) only.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. **Note:** This endpoint is currently in beta and might be subject to changes. * @summary Consolidate staking positions (ETH validator consolidation) * @param {MergeStakeAccountsRequest} mergeStakeAccountsRequest * @param {ConsolidateChainDescriptorEnum} chainDescriptor Protocol identifier for the staking operation (e.g., ETH). @@ -198,10 +200,11 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati * Returns all staking positions with core details: amounts, rewards, status, chain, and vault.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * @summary List staking positions * @param {ChainDescriptor} [chainDescriptor] Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. + * @param {string} [vaultAccountId] Filter positions by vault account ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllDelegations: async (chainDescriptor?: ChainDescriptor, options: RawAxiosRequestConfig = {}): Promise => { + getAllDelegations: async (chainDescriptor?: ChainDescriptor, vaultAccountId?: string, options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/staking/positions`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -218,6 +221,10 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['chainDescriptor'] = chainDescriptor; } + if (vaultAccountId !== undefined) { + localVarQueryParameter['vaultAccountId'] = vaultAccountId; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -316,6 +323,62 @@ export const StakingApiAxiosParamCreator = function (configuration?: Configurati + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Returns staking positions with core details: amounts, rewards, status, chain, and vault. It supports cursor-based pagination for efficient data retrieval. This endpoint always returns a paginated response with {data, next} structure.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + * @summary List staking positions (Paginated) + * @param {number} pageSize Number of results per page. When provided, the response returns a paginated object with {data, next}. If omitted, all results are returned as an array. + * @param {ChainDescriptor} [chainDescriptor] Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. + * @param {string} [vaultAccountId] Filter positions by Fireblocks vault account ID. If omitted, positions across all vault accounts are returned. + * @param {string} [pageCursor] Cursor for the next page of results. Use the value from the \'next\' field in the previous response. + * @param {GetPositionsOrderEnum} [order] ASC / DESC ordering (default DESC) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getPositions: async (pageSize: number, chainDescriptor?: ChainDescriptor, vaultAccountId?: string, pageCursor?: string, order?: GetPositionsOrderEnum, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExists('getPositions', 'pageSize', pageSize) + const localVarPath = `/staking/positions_paginated`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (chainDescriptor !== undefined) { + localVarQueryParameter['chainDescriptor'] = chainDescriptor; + } + + if (vaultAccountId !== undefined) { + localVarQueryParameter['vaultAccountId'] = vaultAccountId; + } + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (pageCursor !== undefined) { + localVarQueryParameter['pageCursor'] = pageCursor; + } + + if (order !== undefined) { + localVarQueryParameter['order'] = order; + } + + + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -670,7 +733,7 @@ export const StakingApiFp = function(configuration?: Configuration) { return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Consolidates the source staking position into the destination, merging the balance into the destination and closing the source position once complete. Both positions must be from the same validator provider and same vault account. On chain, this translates into a consolidation transaction, where the source validator is consolidated into the destination validator. Supported chains: Ethereum (ETH) only.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. + * Consolidates the source staking position into the destination, merging the balance into the destination and closing the source position once complete. Both positions must be from the same funding vaults account (i.e. same withdrawals credentials). On chain, this translates into a consolidation transaction, where the source validator is consolidated into the destination validator. Supported chains: Ethereum (ETH) only.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. **Note:** This endpoint is currently in beta and might be subject to changes. * @summary Consolidate staking positions (ETH validator consolidation) * @param {MergeStakeAccountsRequest} mergeStakeAccountsRequest * @param {ConsolidateChainDescriptorEnum} chainDescriptor Protocol identifier for the staking operation (e.g., ETH). @@ -688,11 +751,12 @@ export const StakingApiFp = function(configuration?: Configuration) { * Returns all staking positions with core details: amounts, rewards, status, chain, and vault.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * @summary List staking positions * @param {ChainDescriptor} [chainDescriptor] Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. + * @param {string} [vaultAccountId] Filter positions by vault account ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAllDelegations(chainDescriptor?: ChainDescriptor, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getAllDelegations(chainDescriptor, options); + async getAllDelegations(chainDescriptor?: ChainDescriptor, vaultAccountId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getAllDelegations(chainDescriptor, vaultAccountId, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['StakingApi.getAllDelegations']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); @@ -735,6 +799,23 @@ export const StakingApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['StakingApi.getDelegationById']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, + /** + * Returns staking positions with core details: amounts, rewards, status, chain, and vault. It supports cursor-based pagination for efficient data retrieval. This endpoint always returns a paginated response with {data, next} structure.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + * @summary List staking positions (Paginated) + * @param {number} pageSize Number of results per page. When provided, the response returns a paginated object with {data, next}. If omitted, all results are returned as an array. + * @param {ChainDescriptor} [chainDescriptor] Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. + * @param {string} [vaultAccountId] Filter positions by Fireblocks vault account ID. If omitted, positions across all vault accounts are returned. + * @param {string} [pageCursor] Cursor for the next page of results. Use the value from the \'next\' field in the previous response. + * @param {GetPositionsOrderEnum} [order] ASC / DESC ordering (default DESC) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getPositions(pageSize: number, chainDescriptor?: ChainDescriptor, vaultAccountId?: string, pageCursor?: string, order?: GetPositionsOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getPositions(pageSize, chainDescriptor, vaultAccountId, pageCursor, order, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['StakingApi.getPositions']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, /** * Returns all available staking providers with metadata such as name, ID, and supported chains.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * @summary List staking providers @@ -877,7 +958,7 @@ export const StakingApiFactory = function (configuration?: Configuration, basePa return localVarFp.claimRewards(requestParameters.claimRewardsRequest, requestParameters.chainDescriptor, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** - * Consolidates the source staking position into the destination, merging the balance into the destination and closing the source position once complete. Both positions must be from the same validator provider and same vault account. On chain, this translates into a consolidation transaction, where the source validator is consolidated into the destination validator. Supported chains: Ethereum (ETH) only.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. + * Consolidates the source staking position into the destination, merging the balance into the destination and closing the source position once complete. Both positions must be from the same funding vaults account (i.e. same withdrawals credentials). On chain, this translates into a consolidation transaction, where the source validator is consolidated into the destination validator. Supported chains: Ethereum (ETH) only.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. **Note:** This endpoint is currently in beta and might be subject to changes. * @summary Consolidate staking positions (ETH validator consolidation) * @param {StakingApiConsolidateRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -894,7 +975,7 @@ export const StakingApiFactory = function (configuration?: Configuration, basePa * @throws {RequiredError} */ getAllDelegations(requestParameters: StakingApiGetAllDelegationsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { - return localVarFp.getAllDelegations(requestParameters.chainDescriptor, options).then((request) => request(axios, basePath)); + return localVarFp.getAllDelegations(requestParameters.chainDescriptor, requestParameters.vaultAccountId, options).then((request) => request(axios, basePath)); }, /** * Returns chain-specific staking information such as epoch/slot cadence, lockup or unbonding periods, fee/reward mechanics, and other operational constraints. @@ -925,6 +1006,16 @@ export const StakingApiFactory = function (configuration?: Configuration, basePa getDelegationById(requestParameters: StakingApiGetDelegationByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getDelegationById(requestParameters.id, options).then((request) => request(axios, basePath)); }, + /** + * Returns staking positions with core details: amounts, rewards, status, chain, and vault. It supports cursor-based pagination for efficient data retrieval. This endpoint always returns a paginated response with {data, next} structure.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + * @summary List staking positions (Paginated) + * @param {StakingApiGetPositionsRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getPositions(requestParameters: StakingApiGetPositionsRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.getPositions(requestParameters.pageSize, requestParameters.chainDescriptor, requestParameters.vaultAccountId, requestParameters.pageCursor, requestParameters.order, options).then((request) => request(axios, basePath)); + }, /** * Returns all available staking providers with metadata such as name, ID, and supported chains.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * @summary List staking providers @@ -1094,6 +1185,13 @@ export interface StakingApiGetAllDelegationsRequest { * @memberof StakingApiGetAllDelegations */ readonly chainDescriptor?: ChainDescriptor + + /** + * Filter positions by vault account ID. + * @type {string} + * @memberof StakingApiGetAllDelegations + */ + readonly vaultAccountId?: string } /** @@ -1124,6 +1222,48 @@ export interface StakingApiGetDelegationByIdRequest { readonly id: string } +/** + * Request parameters for getPositions operation in StakingApi. + * @export + * @interface StakingApiGetPositionsRequest + */ +export interface StakingApiGetPositionsRequest { + /** + * Number of results per page. When provided, the response returns a paginated object with {data, next}. If omitted, all results are returned as an array. + * @type {number} + * @memberof StakingApiGetPositions + */ + readonly pageSize: number + + /** + * Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. + * @type {ChainDescriptor} + * @memberof StakingApiGetPositions + */ + readonly chainDescriptor?: ChainDescriptor + + /** + * Filter positions by Fireblocks vault account ID. If omitted, positions across all vault accounts are returned. + * @type {string} + * @memberof StakingApiGetPositions + */ + readonly vaultAccountId?: string + + /** + * Cursor for the next page of results. Use the value from the \'next\' field in the previous response. + * @type {string} + * @memberof StakingApiGetPositions + */ + readonly pageCursor?: string + + /** + * ASC / DESC ordering (default DESC) + * @type {'ASC' | 'DESC'} + * @memberof StakingApiGetPositions + */ + readonly order?: GetPositionsOrderEnum +} + /** * Request parameters for mergeStakeAccounts operation in StakingApi. * @export @@ -1296,7 +1436,7 @@ export class StakingApi extends BaseAPI { } /** - * Consolidates the source staking position into the destination, merging the balance into the destination and closing the source position once complete. Both positions must be from the same validator provider and same vault account. On chain, this translates into a consolidation transaction, where the source validator is consolidated into the destination validator. Supported chains: Ethereum (ETH) only.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. + * Consolidates the source staking position into the destination, merging the balance into the destination and closing the source position once complete. Both positions must be from the same funding vaults account (i.e. same withdrawals credentials). On chain, this translates into a consolidation transaction, where the source validator is consolidated into the destination validator. Supported chains: Ethereum (ETH) only.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. **Note:** This endpoint is currently in beta and might be subject to changes. * @summary Consolidate staking positions (ETH validator consolidation) * @param {StakingApiConsolidateRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -1316,7 +1456,7 @@ export class StakingApi extends BaseAPI { * @memberof StakingApi */ public getAllDelegations(requestParameters: StakingApiGetAllDelegationsRequest = {}) { - return StakingApiFp(this.configuration).getAllDelegations(requestParameters.chainDescriptor).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + return StakingApiFp(this.configuration).getAllDelegations(requestParameters.chainDescriptor, requestParameters.vaultAccountId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } /** @@ -1354,6 +1494,18 @@ export class StakingApi extends BaseAPI { return StakingApiFp(this.configuration).getDelegationById(requestParameters.id).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } + /** + * Returns staking positions with core details: amounts, rewards, status, chain, and vault. It supports cursor-based pagination for efficient data retrieval. This endpoint always returns a paginated response with {data, next} structure.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + * @summary List staking positions (Paginated) + * @param {StakingApiGetPositionsRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StakingApi + */ + public getPositions(requestParameters: StakingApiGetPositionsRequest) { + return StakingApiFp(this.configuration).getPositions(requestParameters.pageSize, requestParameters.chainDescriptor, requestParameters.vaultAccountId, requestParameters.pageCursor, requestParameters.order).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + /** * Returns all available staking providers with metadata such as name, ID, and supported chains.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. * @summary List staking providers @@ -1466,6 +1618,14 @@ export const ConsolidateChainDescriptorEnum = { EthTestHoodi: 'ETH_TEST_HOODI' } as const; export type ConsolidateChainDescriptorEnum = typeof ConsolidateChainDescriptorEnum[keyof typeof ConsolidateChainDescriptorEnum]; +/** + * @export + */ +export const GetPositionsOrderEnum = { + Asc: 'ASC', + Desc: 'DESC' +} as const; +export type GetPositionsOrderEnum = typeof GetPositionsOrderEnum[keyof typeof GetPositionsOrderEnum]; /** * @export */ diff --git a/api/trading-beta-api.ts b/api/trading-beta-api.ts index b4bd8645..8c2aeab0 100644 --- a/api/trading-beta-api.ts +++ b/api/trading-beta-api.ts @@ -44,6 +44,8 @@ import { ProvidersListResponse } from '../models'; import { QuotesResponse } from '../models'; // @ts-ignore import { TradingErrorSchema } from '../models'; +// @ts-ignore +import { TradingProviderDetails } from '../models'; /** * TradingBetaApi - axios parameter creator * @export @@ -230,6 +232,39 @@ export const TradingBetaApiAxiosParamCreator = function (configuration?: Configu + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Retrieve detailed information about a specific provider including its full manifest with order/quote requirements. **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). + * @summary Get trading provider by ID + * @param {string} providerId The unique identifier of the provider. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getTradingProviderById: async (providerId: string, options: RawAxiosRequestConfig = {}): Promise => { + assertParamExistsAndNotEmpty('getTradingProviderById', 'providerId', providerId) + const localVarPath = `/trading/providers/{providerId}` + .replace(`{${"providerId"}}`, encodeURIComponent(String(providerId))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -351,6 +386,19 @@ export const TradingBetaApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['TradingBetaApi.getOrders']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, + /** + * Retrieve detailed information about a specific provider including its full manifest with order/quote requirements. **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). + * @summary Get trading provider by ID + * @param {string} providerId The unique identifier of the provider. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getTradingProviderById(providerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getTradingProviderById(providerId, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TradingBetaApi.getTradingProviderById']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, /** * 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). * @summary Get providers @@ -415,6 +463,16 @@ export const TradingBetaApiFactory = function (configuration?: Configuration, ba getOrders(requestParameters: TradingBetaApiGetOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getOrders(requestParameters.pageSize, requestParameters.pageCursor, requestParameters.order, requestParameters.accountId, requestParameters.providerId, requestParameters.statuses, requestParameters.startTime, requestParameters.endTime, requestParameters.assetConversionType, options).then((request) => request(axios, basePath)); }, + /** + * Retrieve detailed information about a specific provider including its full manifest with order/quote requirements. **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). + * @summary Get trading provider by ID + * @param {TradingBetaApiGetTradingProviderByIdRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getTradingProviderById(requestParameters: TradingBetaApiGetTradingProviderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.getTradingProviderById(requestParameters.providerId, options).then((request) => request(axios, basePath)); + }, /** * 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). * @summary Get providers @@ -554,6 +612,20 @@ export interface TradingBetaApiGetOrdersRequest { readonly assetConversionType?: GetOrdersAssetConversionTypeEnum } +/** + * Request parameters for getTradingProviderById operation in TradingBetaApi. + * @export + * @interface TradingBetaApiGetTradingProviderByIdRequest + */ +export interface TradingBetaApiGetTradingProviderByIdRequest { + /** + * The unique identifier of the provider. + * @type {string} + * @memberof TradingBetaApiGetTradingProviderById + */ + readonly providerId: string +} + /** * Request parameters for getTradingProviders operation in TradingBetaApi. * @export @@ -630,6 +702,18 @@ export class TradingBetaApi extends BaseAPI { return TradingBetaApiFp(this.configuration).getOrders(requestParameters.pageSize, requestParameters.pageCursor, requestParameters.order, requestParameters.accountId, requestParameters.providerId, requestParameters.statuses, requestParameters.startTime, requestParameters.endTime, requestParameters.assetConversionType).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } + /** + * Retrieve detailed information about a specific provider including its full manifest with order/quote requirements. **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). + * @summary Get trading provider by ID + * @param {TradingBetaApiGetTradingProviderByIdRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TradingBetaApi + */ + public getTradingProviderById(requestParameters: TradingBetaApiGetTradingProviderByIdRequest) { + return TradingBetaApiFp(this.configuration).getTradingProviderById(requestParameters.providerId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } + /** * 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). * @summary Get providers diff --git a/api/trlink-api.ts b/api/trlink-api.ts index 4c055d28..96793700 100644 --- a/api/trlink-api.ts +++ b/api/trlink-api.ts @@ -259,7 +259,7 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio }; }, /** - * Creates a new TRSupport 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. + * Creates a new TRSupport 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. You may optionally supply `customerIntegrationId` in the request body when your tenant is enabled for client-provided integration ids. * @summary Create customer integration * @param {TRLinkCreateIntegrationRequest} tRLinkCreateIntegrationRequest * @param {string} [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. @@ -375,7 +375,7 @@ export const TRLinkApiAxiosParamCreator = function (configuration?: Configuratio }; }, /** - * Disconnects a customer integration by removing stored credentials. The integration record is deleted and cannot be recovered. + * Disconnects the integration for the authenticated workspace (tenant): removes stored credentials and deletes this tenant\'s integration record. The operation is scoped to the caller\'s tenant; it does not remove partner-side state for other workspaces that reuse the same logical customer integration. The record cannot be recovered after delete. * @summary Disconnect customer integration * @param {string} customerIntegrationId Customer integration unique identifier * @param {*} [options] Override http request option. @@ -1110,7 +1110,7 @@ export const TRLinkApiFp = function(configuration?: Configuration) { return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Creates a new TRSupport 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. + * Creates a new TRSupport 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. You may optionally supply `customerIntegrationId` in the request body when your tenant is enabled for client-provided integration ids. * @summary Create customer integration * @param {TRLinkCreateIntegrationRequest} tRLinkCreateIntegrationRequest * @param {string} [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. @@ -1152,7 +1152,7 @@ export const TRLinkApiFp = function(configuration?: Configuration) { return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** - * Disconnects a customer integration by removing stored credentials. The integration record is deleted and cannot be recovered. + * Disconnects the integration for the authenticated workspace (tenant): removes stored credentials and deletes this tenant\'s integration record. The operation is scoped to the caller\'s tenant; it does not remove partner-side state for other workspaces that reuse the same logical customer integration. The record cannot be recovered after delete. * @summary Disconnect customer integration * @param {string} customerIntegrationId Customer integration unique identifier * @param {*} [options] Override http request option. @@ -1451,7 +1451,7 @@ export const TRLinkApiFactory = function (configuration?: Configuration, basePat return localVarFp.createTRLinkCustomer(requestParameters.tRLinkCreateCustomerRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** - * Creates a new TRSupport 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. + * Creates a new TRSupport 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. You may optionally supply `customerIntegrationId` in the request body when your tenant is enabled for client-provided integration ids. * @summary Create customer integration * @param {TRLinkApiCreateTRLinkIntegrationRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -1481,7 +1481,7 @@ export const TRLinkApiFactory = function (configuration?: Configuration, basePat return localVarFp.deleteTRLinkCustomer(requestParameters.customerId, options).then((request) => request(axios, basePath)); }, /** - * Disconnects a customer integration by removing stored credentials. The integration record is deleted and cannot be recovered. + * Disconnects the integration for the authenticated workspace (tenant): removes stored credentials and deletes this tenant\'s integration record. The operation is scoped to the caller\'s tenant; it does not remove partner-side state for other workspaces that reuse the same logical customer integration. The record cannot be recovered after delete. * @summary Disconnect customer integration * @param {TRLinkApiDisconnectTRLinkIntegrationRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -2227,7 +2227,7 @@ export class TRLinkApi extends BaseAPI { } /** - * Creates a new TRSupport 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. + * Creates a new TRSupport 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. You may optionally supply `customerIntegrationId` in the request body when your tenant is enabled for client-provided integration ids. * @summary Create customer integration * @param {TRLinkApiCreateTRLinkIntegrationRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -2263,7 +2263,7 @@ export class TRLinkApi extends BaseAPI { } /** - * Disconnects a customer integration by removing stored credentials. The integration record is deleted and cannot be recovered. + * Disconnects the integration for the authenticated workspace (tenant): removes stored credentials and deletes this tenant\'s integration record. The operation is scoped to the caller\'s tenant; it does not remove partner-side state for other workspaces that reuse the same logical customer integration. The record cannot be recovered after delete. * @summary Disconnect customer integration * @param {TRLinkApiDisconnectTRLinkIntegrationRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. diff --git a/docs/apis/NFTsApi.md b/docs/apis/NFTsApi.md index efe1cb2f..cef47c54 100644 --- a/docs/apis/NFTsApi.md +++ b/docs/apis/NFTsApi.md @@ -167,7 +167,7 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); let body: NFTsApiGetOwnershipTokensRequest = { - // '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' | 'CRONOS' | 'CRONOS_TEST' | Blockchain descriptor filter (optional) + // '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' | 'CRONOS' | 'CRONOS_TEST' | 'ROBINHOOD_CHAIN_TESTNET_TEST' | Blockchain descriptor filter (optional) blockchainDescriptor: blockchainDescriptor_example, // string | 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. (optional) vaultAccountIds: vaultAccountIds_example, @@ -207,7 +207,7 @@ fireblocks.nfts.getOwnershipTokens(body).then((res: FireblocksResponse** | Blockchain descriptor filter | (optional) defaults to undefined + **blockchainDescriptor** | [**'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' | 'CRONOS' | 'CRONOS_TEST' | 'ROBINHOOD_CHAIN_TESTNET_TEST'**]**Array<'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' | 'CRONOS' | 'CRONOS_TEST' | 'ROBINHOOD_CHAIN_TESTNET_TEST'>** | Blockchain descriptor filter | (optional) defaults to undefined **vaultAccountIds** | [**string**] | 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. | (optional) defaults to undefined **ncwId** | [**string**] | Tenant\'s Non-Custodial Wallet ID | (optional) defaults to undefined **ncwAccountIds** | [**string**] | 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. | (optional) defaults to undefined @@ -493,7 +493,7 @@ process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf const fireblocks = new Fireblocks(); let body: NFTsApiUpdateOwnershipTokensRequest = { - // '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' | Blockchain descriptor filter + // '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' | 'ROBINHOOD_CHAIN_TESTNET_TEST' | Blockchain descriptor filter blockchainDescriptor: blockchainDescriptor_example, // string | Vault account filter vaultAccountId: vaultAccountId_example, @@ -511,7 +511,7 @@ fireblocks.nfts.updateOwnershipTokens(body).then((res: FireblocksResponse) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **blockchainDescriptor** | [**'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'**]**Array<'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'>** | Blockchain descriptor filter | defaults to undefined + **blockchainDescriptor** | [**'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' | 'ROBINHOOD_CHAIN_TESTNET_TEST'**]**Array<'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' | 'ROBINHOOD_CHAIN_TESTNET_TEST'>** | Blockchain descriptor filter | defaults to undefined **vaultAccountId** | [**string**] | Vault account filter | defaults to undefined **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) defaults to undefined diff --git a/docs/apis/StakingApi.md b/docs/apis/StakingApi.md index defb6bcc..3ad1bb90 100644 --- a/docs/apis/StakingApi.md +++ b/docs/apis/StakingApi.md @@ -11,6 +11,7 @@ Method | HTTP request | Description [**getChainInfo**](#getChainInfo) | **GET** /staking/chains/{chainDescriptor}/chainInfo | Get chain-level staking parameters [**getChains**](#getChains) | **GET** /staking/chains | List supported staking chains [**getDelegationById**](#getDelegationById) | **GET** /staking/positions/{id} | Get position details +[**getPositions**](#getPositions) | **GET** /staking/positions_paginated | List staking positions (Paginated) [**getProviders**](#getProviders) | **GET** /staking/providers | List staking providers [**getSummary**](#getSummary) | **GET** /staking/positions/summary | Get positions summary [**getSummaryByVault**](#getSummaryByVault) | **GET** /staking/positions/summary/vaults | Get positions summary by vault @@ -163,7 +164,7 @@ No authorization required # **consolidate** > MergeStakeAccountsResponse consolidate(mergeStakeAccountsRequest, ) -Consolidates the source staking position into the destination, merging the balance into the destination and closing the source position once complete. Both positions must be from the same validator provider and same vault account. On chain, this translates into a consolidation transaction, where the source validator is consolidated into the destination validator. Supported chains: Ethereum (ETH) only.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. +Consolidates the source staking position into the destination, merging the balance into the destination and closing the source position once complete. Both positions must be from the same funding vaults account (i.e. same withdrawals credentials). On chain, this translates into a consolidation transaction, where the source validator is consolidated into the destination validator. Supported chains: Ethereum (ETH) only.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. **Note:** This endpoint is currently in beta and might be subject to changes. ### Example @@ -254,6 +255,8 @@ const fireblocks = new Fireblocks(); let body: StakingApiGetAllDelegationsRequest = { // ChainDescriptor | Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. (optional) chainDescriptor: param_value, + // string | Filter positions by vault account ID. (optional) + vaultAccountId: 1, }; fireblocks.staking.getAllDelegations(body).then((res: FireblocksResponse) => { @@ -267,6 +270,7 @@ fireblocks.staking.getAllDelegations(body).then((res: FireblocksResponse StakingPositionsPaginatedResponse getPositions() + +Returns staking positions with core details: amounts, rewards, status, chain, and vault. It supports cursor-based pagination for efficient data retrieval. This endpoint always returns a paginated response with {data, next} structure.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, StakingApiGetPositionsRequest, StakingPositionsPaginatedResponse } from '@fireblocks/ts-sdk'; + +// Set the environment variables for authentication +process.env.FIREBLOCKS_BASE_PATH = BasePath.Sandbox; // or assign directly to "https://sandbox-api.fireblocks.io/v1" +process.env.FIREBLOCKS_API_KEY = "my-api-key"; +process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf8"); + +const fireblocks = new Fireblocks(); + +let body: StakingApiGetPositionsRequest = { + // number | Number of results per page. When provided, the response returns a paginated object with {data, next}. If omitted, all results are returned as an array. + pageSize: 10, + // ChainDescriptor | Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. (optional) + chainDescriptor: param_value, + // string | Filter positions by Fireblocks vault account ID. If omitted, positions across all vault accounts are returned. (optional) + vaultAccountId: 10, + // string | Cursor for the next page of results. Use the value from the \'next\' field in the previous response. (optional) + pageCursor: eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9, + // 'ASC' | 'DESC' | ASC / DESC ordering (default DESC) (optional) + order: ASC, +}; + +fireblocks.staking.getPositions(body).then((res: FireblocksResponse) => { + console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pageSize** | [**number**] | Number of results per page. When provided, the response returns a paginated object with {data, next}. If omitted, all results are returned as an array. | defaults to 10 + **chainDescriptor** | **ChainDescriptor** | Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. | (optional) defaults to undefined + **vaultAccountId** | [**string**] | Filter positions by Fireblocks vault account ID. If omitted, positions across all vault accounts are returned. | (optional) defaults to undefined + **pageCursor** | [**string**] | Cursor for the next page of results. Use the value from the \'next\' field in the previous response. | (optional) defaults to undefined + **order** | [**'ASC' | 'DESC'**]**Array<'ASC' | 'DESC'>** | ASC / DESC ordering (default DESC) | (optional) defaults to 'DESC' + + +### Return type + +**[StakingPositionsPaginatedResponse](../models/StakingPositionsPaginatedResponse.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Positions retrieved successfully with pagination. | * X-Request-ID -
| +**400** | Bad request: missing/invalid fields, unsupported amount, or malformed payload. | * X-Request-ID -
| +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
| +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
| +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
| +**500** | Internal error while processing the request. | * X-Request-ID -
| +**0** | Error Response | * X-Request-ID -
| + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + # **getProviders** > StakingGetProvidersResponse getProviders() diff --git a/docs/apis/TRLinkApi.md b/docs/apis/TRLinkApi.md index b54e01f4..a683bde5 100644 --- a/docs/apis/TRLinkApi.md +++ b/docs/apis/TRLinkApi.md @@ -92,7 +92,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Travel rule assessment completed | - | +**200** | Travel rule assessment completed | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -161,7 +161,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**202** | Transaction cancellation request accepted | - | +**202** | Transaction cancellation request accepted | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -227,7 +227,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Customer integration connected successfully | - | +**200** | Customer integration connected successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -290,7 +290,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Customer created successfully | - | +**201** | Customer created successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -298,7 +298,7 @@ No authorization required # **createTRLinkIntegration** > TRLinkCustomerIntegrationResponse createTRLinkIntegration(tRLinkCreateIntegrationRequest) -Creates a new TRSupport 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. +Creates a new TRSupport 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. You may optionally supply `customerIntegrationId` in the request body when your tenant is enabled for client-provided integration ids. ### Example @@ -353,7 +353,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Customer integration created successfully | - | +**201** | Customer integration created successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -419,7 +419,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | TRM created successfully | - | +**201** | TRM created successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -479,7 +479,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | Customer deleted successfully | - | +**204** | Customer deleted successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -487,7 +487,7 @@ No authorization required # **disconnectTRLinkIntegration** > disconnectTRLinkIntegration() -Disconnects a customer integration by removing stored credentials. The integration record is deleted and cannot be recovered. +Disconnects the integration for the authenticated workspace (tenant): removes stored credentials and deletes this tenant\'s integration record. The operation is scoped to the caller\'s tenant; it does not remove partner-side state for other workspaces that reuse the same logical customer integration. The record cannot be recovered after delete. ### Example @@ -539,7 +539,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | Customer integration disconnected successfully | - | +**204** | Customer integration disconnected successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -599,7 +599,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Customer retrieved successfully | - | +**200** | Customer retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -662,7 +662,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Customer integration retrieved successfully | - | +**200** | Customer integration retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -722,7 +722,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Customer integrations retrieved successfully | - | +**200** | Customer integrations retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -776,7 +776,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Customers retrieved successfully | - | +**200** | Customers retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -836,7 +836,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Public key retrieved successfully | - | +**200** | Public key retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -890,7 +890,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | List of partners retrieved successfully | - | +**200** | List of partners retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -944,7 +944,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Policy retrieved successfully | - | +**200** | Policy retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -1007,7 +1007,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Asset retrieved successfully | - | +**200** | Asset retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -1070,7 +1070,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | TRM retrieved successfully | - | +**200** | TRM retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -1133,7 +1133,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | VASP retrieved successfully | - | +**200** | VASP retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -1199,7 +1199,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Supported assets retrieved successfully | - | +**200** | Supported assets retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -1265,7 +1265,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | VASPs retrieved successfully | - | +**200** | VASPs retrieved successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -1334,7 +1334,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**202** | Transaction redirect request accepted | - | +**202** | Transaction redirect request accepted | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -1400,7 +1400,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Destination travel rule message ID set successfully | - | +**200** | Destination travel rule message ID set successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -1466,7 +1466,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Travel rule message ID set successfully | - | +**200** | Travel rule message ID set successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -1529,7 +1529,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Connection test completed (success or failure details in response body) | - | +**200** | Connection test completed (success or failure details in response body) | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -1595,7 +1595,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Customer updated successfully | - | +**200** | Customer updated successfully | * X-Request-ID -
| **0** | Error Response | * X-Request-ID -
| [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/apis/TradingBetaApi.md b/docs/apis/TradingBetaApi.md index b155e773..172bcf85 100644 --- a/docs/apis/TradingBetaApi.md +++ b/docs/apis/TradingBetaApi.md @@ -8,6 +8,7 @@ Method | HTTP request | Description [**createQuote**](#createQuote) | **POST** /trading/quotes | Create a quote [**getOrder**](#getOrder) | **GET** /trading/orders/{orderId} | Get order details [**getOrders**](#getOrders) | **GET** /trading/orders | Get orders +[**getTradingProviderById**](#getTradingProviderById) | **GET** /trading/providers/{providerId} | Get trading provider by ID [**getTradingProviders**](#getTradingProviders) | **GET** /trading/providers | Get providers @@ -300,6 +301,71 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) +# **getTradingProviderById** +> TradingProviderDetails getTradingProviderById() + +Retrieve detailed information about a specific provider including its full manifest with order/quote requirements. **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 + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, TradingBetaApiGetTradingProviderByIdRequest, TradingProviderDetails } from '@fireblocks/ts-sdk'; + +// Set the environment variables for authentication +process.env.FIREBLOCKS_BASE_PATH = BasePath.Sandbox; // or assign directly to "https://sandbox-api.fireblocks.io/v1" +process.env.FIREBLOCKS_API_KEY = "my-api-key"; +process.env.FIREBLOCKS_SECRET_KEY = readFileSync("./fireblocks_secret.key", "utf8"); + +const fireblocks = new Fireblocks(); + +let body: TradingBetaApiGetTradingProviderByIdRequest = { + // string | The unique identifier of the provider. + providerId: providerId_example, +}; + +fireblocks.tradingBeta.getTradingProviderById(body).then((res: FireblocksResponse) => { + console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); +}).catch((error:any) => console.error(error)); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **providerId** | [**string**] | The unique identifier of the provider. | defaults to undefined + + +### Return type + +**[TradingProviderDetails](../models/TradingProviderDetails.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Provider details | * 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** | Provider not found. | * X-Request-ID -
| +**429** | Rate limit exceeded - slow down and retry later. | * X-Request-ID -
| +**5XX** | Internal error while processing the request. | * X-Request-ID -
| +**0** | Error Response | * X-Request-ID -
| + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + # **getTradingProviders** > ProvidersListResponse getTradingProviders() diff --git a/docs/models/AccountBasedAccessProvider.md b/docs/models/AccountBasedAccessProvider.md index eda26c50..ed79a74e 100644 --- a/docs/models/AccountBasedAccessProvider.md +++ b/docs/models/AccountBasedAccessProvider.md @@ -9,8 +9,8 @@ |**accountBased** | **boolean** | Indicates whether the provider access model is through accounts or directly | [default to undefined]| |**manifest** | [**Manifest**](Manifest.md) | | [default to undefined]| |**connected** | **boolean** | Whether the provider is currently connected | [default to undefined]| +|**accounts** | [**Array<AccountBase>**](AccountBase.md) | | [default to undefined]| |**logo** | **string** | URL to the logo image of the provider | [optional] [default to undefined]| -|**accounts** | [**Array<AccountBase>**](AccountBase.md) | | [optional] [default to undefined]| diff --git a/docs/models/AccountBasedAccessProviderDetails.md b/docs/models/AccountBasedAccessProviderInfo.md similarity index 76% rename from docs/models/AccountBasedAccessProviderDetails.md rename to docs/models/AccountBasedAccessProviderInfo.md index 3ee68420..1a9862d8 100644 --- a/docs/models/AccountBasedAccessProviderDetails.md +++ b/docs/models/AccountBasedAccessProviderInfo.md @@ -1,12 +1,11 @@ -# AccountBasedAccessProviderDetails +# AccountBasedAccessProviderInfo ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**manifest** | [**Manifest**](Manifest.md) | | [default to undefined]| |**connected** | **boolean** | Whether the provider is currently connected | [default to undefined]| -|**accounts** | [**Array<AccountBase>**](AccountBase.md) | | [optional] [default to undefined]| +|**accounts** | [**Array<AccountBase>**](AccountBase.md) | | [default to undefined]| diff --git a/docs/models/AccountBasedProviderDetails.md b/docs/models/AccountBasedProviderDetails.md new file mode 100644 index 00000000..181dff80 --- /dev/null +++ b/docs/models/AccountBasedProviderDetails.md @@ -0,0 +1,18 @@ +# AccountBasedProviderDetails + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**id** | **string** | Unique identifier for the provider | [default to undefined]| +|**name** | **string** | Display name of the provider | [default to undefined]| +|**accountBased** | **boolean** | Indicates whether the provider access model is through accounts or directly | [default to undefined]| +|**manifest** | [**Manifest**](Manifest.md) | | [default to undefined]| +|**connected** | **boolean** | Whether the provider is currently connected | [default to undefined]| +|**accounts** | [**Array<AccountBase>**](AccountBase.md) | | [default to undefined]| +|**logo** | **string** | URL to the logo image of the provider | [optional] [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/BaseProvider.md b/docs/models/BaseProvider.md index b222609a..0c8ae4c9 100644 --- a/docs/models/BaseProvider.md +++ b/docs/models/BaseProvider.md @@ -7,6 +7,7 @@ |**id** | **string** | Unique identifier for the provider | [default to undefined]| |**name** | **string** | Display name of the provider | [default to undefined]| |**accountBased** | **boolean** | Indicates whether the provider access model is through accounts or directly | [default to undefined]| +|**manifest** | [**Manifest**](Manifest.md) | | [default to undefined]| |**logo** | **string** | URL to the logo image of the provider | [optional] [default to undefined]| diff --git a/docs/models/CollectionOwnershipResponse.md b/docs/models/CollectionOwnershipResponse.md index 99c85359..49b1e55f 100644 --- a/docs/models/CollectionOwnershipResponse.md +++ b/docs/models/CollectionOwnershipResponse.md @@ -69,6 +69,8 @@ * `CronosTest` (value: `'CRONOS_TEST'`) +* `RobinhoodChainTestnetTest` (value: `'ROBINHOOD_CHAIN_TESTNET_TEST'`) + diff --git a/docs/models/ComplianceScreeningResult.md b/docs/models/ComplianceScreeningResult.md index 70a76fce..2d9f5435 100644 --- a/docs/models/ComplianceScreeningResult.md +++ b/docs/models/ComplianceScreeningResult.md @@ -4,26 +4,26 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**provider** | **string** | The AML/Travel Rule provider name. For AML: ELLIPTIC, CHAINALYSIS, SCORECHAIN, MERKLE_SCIENCE, etc. For Travel Rule: NOTABENE, SYGNA, or any TRLink provider name | [optional] [default to undefined]| +|**provider** | **string** | The AML/Travel Rule provider name. For AML: ELLIPTIC, CHAINALYSIS, etc. For Travel Rule: NOTABENE, SUMSUB, GTR, or any TRLink provider name. | [optional] [default to undefined]| |**payload** | **object** | 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. | [optional] [default to undefined]| |**timestamp** | **number** | Unix timestamp in milliseconds when the screening result was generated | [optional] [default to undefined]| |**screeningStatus** | **string** | Current status of the screening process | [optional] [default to undefined]| -|**bypassReason** | **string** | 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. | [optional] [default to undefined]| +|**bypassReason** | **string** | Reason for bypassing the screening, if applicable. For AML: UNSUPPORTED_ASSET, PASSED_BY_POLICY. For Travel Rule: UNSUPPORTED_ASSET, NO_TRAVEL_RULE_MESSAGE, TRANSACTION_ZERO_AMOUNT. | [optional] [default to undefined]| |**status** | [**AmlStatusEnum**](AmlStatusEnum.md) | | [optional] [default to undefined]| |**prevStatus** | [**AmlStatusEnum**](AmlStatusEnum.md) | | [optional] [default to undefined]| -|**prevBypassReason** | **string** | Previous bypass reason before the current bypass reason change | [optional] [default to undefined]| +|**prevBypassReason** | **string** | Deprecated: This field is not currently returned in the API response. Previous bypass reason before the current bypass reason change. | [optional] [default to undefined]| |**verdict** | [**ScreeningVerdictEnum**](ScreeningVerdictEnum.md) | | [optional] [default to undefined]| -|**risk** | [**ScreeningRiskLevelEnum**](ScreeningRiskLevelEnum.md) | | [optional] [default to undefined]| -|**extendedRisk** | [**ScreeningRiskLevelEnum**](ScreeningRiskLevelEnum.md) | | [optional] [default to undefined]| +|**risk** | **string** | Risk level assessment for screening results. Values vary by provider and are not managed by this service. Known values by provider: - Chainalysis: severeRisk, highRisk, mediumRisk, lowRisk, noRiskInfo - Elliptic: noRiskDetected Legacy values (SCREAMING_SNAKE_CASE, may appear in old transactions): VERY_HIGH, SEVERE, HIGH, MEDIUM, LOW, NO_RISK_INFO, UNKNOWN | [optional] [default to undefined]| +|**extendedRisk** | **string** | Deprecated: This field is not currently returned in the API response. Use risk instead. | [optional] [default to undefined]| |**externalId** | **string** | External identifier for the screening (provider-specific) | [optional] [default to undefined]| |**customerRefId** | **string** | Customer-provided reference identifier for tracking | [optional] [default to undefined]| -|**refId** | **string** | Internal reference identifier | [optional] [default to undefined]| +|**refId** | **string** | Deprecated: This field is not currently returned in the API response. Internal reference identifier. | [optional] [default to undefined]| |**category** | **string** | Risk category classification. Examples: EXCHANGE, GAMBLING, MIXER, DARKNET_SERVICE, SANCTIONED_ENTITY | [optional] [default to undefined]| |**categoryId** | **number** | Numeric identifier for the risk category | [optional] [default to undefined]| |**destAddress** | **string** | The destination blockchain address associated with the screening | [optional] [default to undefined]| |**destTag** | **string** | Destination tag or memo (for chains that support it like XRP, XLM) | [optional] [default to undefined]| -|**destRecordId** | **string** | The destination record identifier used by the screening provider | [optional] [default to undefined]| -|**addressResolutionSignature** | **string** | Cryptographic signature for address resolution verification | [optional] [default to undefined]| +|**destRecordId** | **string** | Deprecated: This field is not currently returned in the API response. The destination record identifier used by the screening provider. | [optional] [default to undefined]| +|**addressResolutionSignature** | **string** | Deprecated: This field is not currently returned in the API response. Cryptographic signature for address resolution verification. | [optional] [default to undefined]| |**amlResult** | [**AmlResult**](AmlResult.md) | | [optional] [default to undefined]| |**result** | [**TravelRuleResult**](TravelRuleResult.md) | | [optional] [default to undefined]| |**detailsMessage** | **string** | Additional human-readable details or message about the screening result | [optional] [default to undefined]| @@ -34,6 +34,7 @@ |**customerIntegrationId** | **string** | Customer integration identifier used by Travel Rule providers | [optional] [default to undefined]| |**customerShortName** | **string** | Customer short name registered with Travel Rule providers | [optional] [default to undefined]| |**travelRuleMessageId** | **string** | Travel rule message identifier for linking and tracking across providers | [optional] [default to undefined]| +|**providerResponse** | [**ScreeningProviderResponse**](ScreeningProviderResponse.md) | | [optional] [default to undefined]| ## Enum: ComplianceScreeningResultScreeningStatusEnum diff --git a/docs/models/ComplianceScreeningResultFullPayload.md b/docs/models/ComplianceScreeningResultFullPayload.md index b28c9fcf..ebcfcd50 100644 --- a/docs/models/ComplianceScreeningResultFullPayload.md +++ b/docs/models/ComplianceScreeningResultFullPayload.md @@ -4,26 +4,26 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**provider** | **string** | The AML/Travel Rule provider name. For AML: ELLIPTIC, CHAINALYSIS, etc. For Travel Rule: NOTABENE, SUMSUB, or any TRLink provider name | [optional] [default to undefined]| +|**provider** | **string** | The AML/Travel Rule provider name. For AML: ELLIPTIC, CHAINALYSIS, etc. For Travel Rule: NOTABENE, SUMSUB, GTR, or any TRLink provider name | [optional] [default to undefined]| |**payload** | **object** | 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. | [optional] [default to undefined]| |**timestamp** | **number** | Unix timestamp in milliseconds when the screening result was generated | [optional] [default to undefined]| |**screeningStatus** | **string** | Current status of the screening process | [optional] [default to undefined]| -|**bypassReason** | **string** | 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. | [optional] [default to undefined]| +|**bypassReason** | **string** | Reason for bypassing the screening, if applicable. For AML: UNSUPPORTED_ASSET, PASSED_BY_POLICY. For Travel Rule: UNSUPPORTED_ASSET, NO_TRAVEL_RULE_MESSAGE, TRANSACTION_ZERO_AMOUNT. | [optional] [default to undefined]| |**status** | [**AmlStatusEnum**](AmlStatusEnum.md) | | [optional] [default to undefined]| |**prevStatus** | [**AmlStatusEnum**](AmlStatusEnum.md) | | [optional] [default to undefined]| -|**prevBypassReason** | **string** | Previous bypass reason before the current bypass reason change | [optional] [default to undefined]| +|**prevBypassReason** | **string** | Deprecated: This field is not currently returned in the API response. Previous bypass reason before the current bypass reason change. | [optional] [default to undefined]| |**verdict** | [**ScreeningVerdictEnum**](ScreeningVerdictEnum.md) | | [optional] [default to undefined]| -|**risk** | [**ScreeningRiskLevelEnum**](ScreeningRiskLevelEnum.md) | | [optional] [default to undefined]| -|**extendedRisk** | [**ScreeningRiskLevelEnum**](ScreeningRiskLevelEnum.md) | | [optional] [default to undefined]| +|**risk** | **string** | Risk level assessment for screening results. Values vary by provider and are not managed by this service. Known values by provider: - Chainalysis: severeRisk, highRisk, mediumRisk, lowRisk, noRiskInfo - Elliptic: noRiskDetected Legacy values (SCREAMING_SNAKE_CASE, may appear in old transactions): VERY_HIGH, SEVERE, HIGH, MEDIUM, LOW, NO_RISK_INFO, UNKNOWN | [optional] [default to undefined]| +|**extendedRisk** | **string** | Deprecated: This field is not currently returned in the API response. Use risk instead. | [optional] [default to undefined]| |**externalId** | **string** | External identifier for the screening (provider-specific) | [optional] [default to undefined]| |**customerRefId** | **string** | Customer-provided reference identifier for tracking | [optional] [default to undefined]| -|**refId** | **string** | Internal reference identifier | [optional] [default to undefined]| +|**refId** | **string** | Deprecated: This field is not currently returned in the API response. Internal reference identifier. | [optional] [default to undefined]| |**category** | **string** | Risk category classification. Examples: EXCHANGE, GAMBLING, MIXER, DARKNET_SERVICE, SANCTIONED_ENTITY | [optional] [default to undefined]| |**categoryId** | **number** | Numeric identifier for the risk category | [optional] [default to undefined]| |**destAddress** | **string** | The destination blockchain address associated with the screening | [optional] [default to undefined]| |**destTag** | **string** | Destination tag or memo (for chains that support it like XRP, XLM) | [optional] [default to undefined]| -|**destRecordId** | **string** | The destination record identifier used by the screening provider | [optional] [default to undefined]| -|**addressResolutionSignature** | **string** | Cryptographic signature for address resolution verification | [optional] [default to undefined]| +|**destRecordId** | **string** | Deprecated: This field is not currently returned in the API response. The destination record identifier used by the screening provider. | [optional] [default to undefined]| +|**addressResolutionSignature** | **string** | Deprecated: This field is not currently returned in the API response. Cryptographic signature for address resolution verification. | [optional] [default to undefined]| |**amlResult** | [**ScreeningAmlResult**](ScreeningAmlResult.md) | | [optional] [default to undefined]| |**result** | [**ScreeningTravelRuleResult**](ScreeningTravelRuleResult.md) | | [optional] [default to undefined]| |**detailsMessage** | **string** | Additional human-readable details or message about the screening result | [optional] [default to undefined]| @@ -34,6 +34,7 @@ |**customerIntegrationId** | **string** | Customer integration identifier used by Travel Rule providers | [optional] [default to undefined]| |**customerShortName** | **string** | Customer short name registered with Travel Rule providers | [optional] [default to undefined]| |**travelRuleMessageId** | **string** | Travel rule message identifier for linking and tracking across providers | [optional] [default to undefined]| +|**providerResponse** | [**ScreeningProviderResponse**](ScreeningProviderResponse.md) | | [optional] [default to undefined]| ## Enum: ComplianceScreeningResultFullPayloadScreeningStatusEnum diff --git a/docs/models/CreateMultipleAccountsRequest.md b/docs/models/CreateMultipleAccountsRequest.md index 16a19526..3bfff1f2 100644 --- a/docs/models/CreateMultipleAccountsRequest.md +++ b/docs/models/CreateMultipleAccountsRequest.md @@ -9,6 +9,7 @@ |**names** | **Array<string>** | Names to assign to vault accounts. if vaultAccountNamesStartingIndex or prefix is used it\'ll fail | [optional] [default to undefined]| |**vaultAccountNamesStartingIndex** | **number** | Copy vault accounts names starting from this index. If names array is used it\'ll fail | [optional] [default to undefined]| |**prefix** | **string** | When copying from existing vault accounts (vaultAccountNamesStartingIndex) then adding a prefix to the names. If names array is used it\'ll fail | [optional] [default to undefined]| +|**tagIds** | **Array<string>** | Optional list of tag IDs to attach to all created vault accounts | [optional] [default to undefined]| diff --git a/docs/models/DirectAccessProvider.md b/docs/models/DirectAccessProvider.md index 7ef9f825..721c5b75 100644 --- a/docs/models/DirectAccessProvider.md +++ b/docs/models/DirectAccessProvider.md @@ -7,10 +7,12 @@ |**id** | **string** | Unique identifier for the provider | [default to undefined]| |**name** | **string** | Display name of the provider | [default to undefined]| |**accountBased** | **boolean** | Indicates whether the provider access model is through accounts or directly | [default to undefined]| +|**manifest** | [**Manifest**](Manifest.md) | | [default to undefined]| |**hasTermsOfService** | **boolean** | Whether the provider has terms of service | [default to undefined]| |**logo** | **string** | URL to the logo image of the provider | [optional] [default to undefined]| |**approved** | **boolean** | Whether the provider was approved for use | [optional] [default to undefined]| |**termsOfServiceUrl** | **string** | URL to the terms of service document | [optional] [default to undefined]| +|**privacyPolicyUrl** | **string** | URL to the privacy policy document | [optional] [default to undefined]| diff --git a/docs/models/DirectAccessProviderDetails.md b/docs/models/DirectAccessProviderInfo.md similarity index 82% rename from docs/models/DirectAccessProviderDetails.md rename to docs/models/DirectAccessProviderInfo.md index 9defda39..4245c1b1 100644 --- a/docs/models/DirectAccessProviderDetails.md +++ b/docs/models/DirectAccessProviderInfo.md @@ -1,4 +1,4 @@ -# DirectAccessProviderDetails +# DirectAccessProviderInfo ## Properties @@ -7,6 +7,7 @@ |**hasTermsOfService** | **boolean** | Whether the provider has terms of service | [default to undefined]| |**approved** | **boolean** | Whether the provider was approved for use | [optional] [default to undefined]| |**termsOfServiceUrl** | **string** | URL to the terms of service document | [optional] [default to undefined]| +|**privacyPolicyUrl** | **string** | URL to the privacy policy document | [optional] [default to undefined]| diff --git a/docs/models/DirectProviderDetails.md b/docs/models/DirectProviderDetails.md new file mode 100644 index 00000000..ca3c886a --- /dev/null +++ b/docs/models/DirectProviderDetails.md @@ -0,0 +1,20 @@ +# DirectProviderDetails + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**id** | **string** | Unique identifier for the provider | [default to undefined]| +|**name** | **string** | Display name of the provider | [default to undefined]| +|**accountBased** | **boolean** | Indicates whether the provider access model is through accounts or directly | [default to undefined]| +|**manifest** | [**Manifest**](Manifest.md) | | [default to undefined]| +|**hasTermsOfService** | **boolean** | Whether the provider has terms of service | [default to undefined]| +|**logo** | **string** | URL to the logo image of the provider | [optional] [default to undefined]| +|**approved** | **boolean** | Whether the provider was approved for use | [optional] [default to undefined]| +|**termsOfServiceUrl** | **string** | URL to the terms of service document | [optional] [default to undefined]| +|**privacyPolicyUrl** | **string** | URL to the privacy policy document | [optional] [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/Capability.md b/docs/models/ExecutionRequestDetailsType.md similarity index 62% rename from docs/models/Capability.md rename to docs/models/ExecutionRequestDetailsType.md index 516dbf6b..6a3e0744 100644 --- a/docs/models/Capability.md +++ b/docs/models/ExecutionRequestDetailsType.md @@ -1,13 +1,11 @@ -# Capability +# ExecutionRequestDetailsType ## Enum -* `Withdrawals` (value: `'WITHDRAWALS'`) +* `Quote` (value: `'QUOTE'`) -* `Deposits` (value: `'DEPOSITS'`) - -* `Trading` (value: `'TRADING'`) +* `Market` (value: `'MARKET'`) diff --git a/docs/models/JobCreated.md b/docs/models/JobCreated.md index ce182000..84df1961 100644 --- a/docs/models/JobCreated.md +++ b/docs/models/JobCreated.md @@ -5,6 +5,7 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**jobId** | **string** | | [optional] [default to undefined]| +|**approvalRequestId** | **string** | Approval request ID. Returned when a tag triggers an approval flow. | [optional] [default to undefined]| diff --git a/docs/models/Manifest.md b/docs/models/Manifest.md index f68f3bac..8b3b3f51 100644 --- a/docs/models/Manifest.md +++ b/docs/models/Manifest.md @@ -4,8 +4,9 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**assetTypes** | [**Array<AssetTypeEnum>**](AssetTypeEnum.md) | | [default to undefined]| -|**capabilities** | [**Array<Capability>**](Capability.md) | | [default to undefined]| +|**order** | [**ManifestOrder**](ManifestOrder.md) | | [default to undefined]| +|**quote** | [**ManifestQuote**](ManifestQuote.md) | | [default to undefined]| +|**rate** | [**ManifestBase**](ManifestBase.md) | | [default to undefined]| diff --git a/docs/models/ManifestBase.md b/docs/models/ManifestBase.md new file mode 100644 index 00000000..1a831d6f --- /dev/null +++ b/docs/models/ManifestBase.md @@ -0,0 +1,12 @@ +# ManifestBase + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**supported** | **boolean** | Indicates whether the endpoint is supported by the provider | [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/ManifestOrder.md b/docs/models/ManifestOrder.md new file mode 100644 index 00000000..4b3a1398 --- /dev/null +++ b/docs/models/ManifestOrder.md @@ -0,0 +1,14 @@ +# ManifestOrder + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**supported** | **boolean** | Indicates whether the endpoint is supported by the provider | [default to undefined]| +|**executionTypes** | [**Array<ExecutionRequestDetailsType>**](ExecutionRequestDetailsType.md) | Supported execution types when creating an order. | [default to undefined]| +|**settlementTypes** | [**Array<SettlementTypeEnum>**](SettlementTypeEnum.md) | Supported settlement types when creating an order. If present - settlement is required. If absent - no need to provide settlement. | [optional] [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/ManifestOrderInfo.md b/docs/models/ManifestOrderInfo.md new file mode 100644 index 00000000..d7f7c7e7 --- /dev/null +++ b/docs/models/ManifestOrderInfo.md @@ -0,0 +1,13 @@ +# ManifestOrderInfo + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**executionTypes** | [**Array<ExecutionRequestDetailsType>**](ExecutionRequestDetailsType.md) | Supported execution types when creating an order. | [default to undefined]| +|**settlementTypes** | [**Array<SettlementTypeEnum>**](SettlementTypeEnum.md) | Supported settlement types when creating an order. If present - settlement is required. If absent - no need to provide settlement. | [optional] [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/ManifestQuote.md b/docs/models/ManifestQuote.md new file mode 100644 index 00000000..bdf86ac2 --- /dev/null +++ b/docs/models/ManifestQuote.md @@ -0,0 +1,13 @@ +# ManifestQuote + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**supported** | **boolean** | Indicates whether the endpoint is supported by the provider | [default to undefined]| +|**settlementTypes** | [**Array<DVPSettlementType>**](DVPSettlementType.md) | Supported settlement types when requesting a quote. If present - settlement is required. If absent - no need to provide settlement. | [optional] [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/ManifestQuoteInfo.md b/docs/models/ManifestQuoteInfo.md new file mode 100644 index 00000000..798517cc --- /dev/null +++ b/docs/models/ManifestQuoteInfo.md @@ -0,0 +1,12 @@ +# ManifestQuoteInfo + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**settlementTypes** | [**Array<DVPSettlementType>**](DVPSettlementType.md) | Supported settlement types when requesting a quote. If present - settlement is required. If absent - no need to provide settlement. | [optional] [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/Position.md b/docs/models/Position.md new file mode 100644 index 00000000..e0781750 --- /dev/null +++ b/docs/models/Position.md @@ -0,0 +1,75 @@ +# Position + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**id** | **string** | The unique identifier of the staking position | [default to undefined]| +|**vaultAccountId** | **string** | The source vault account to stake from | [default to undefined]| +|**validatorName** | **string** | The destination validator address name | [default to undefined]| +|**providerName** | **string** | The destination validator provider name | [default to undefined]| +|**chainDescriptor** | **string** | The protocol identifier (e.g. \"ETH\"/ \"SOL\") to use | [default to undefined]| +|**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. | [default to undefined]| +|**rewardsAmount** | **string** | The amount staked in the position, measured in the staked asset unit. | [default to undefined]| +|**dateCreated** | **string** | When was the request made (ISO Date). | [default to undefined]| +|**dateUpdated** | **string** | When has the position last changed (ISO Date). | [default to undefined]| +|**status** | **string** | The current status. | [default to undefined]| +|**validatorAddress** | **string** | The destination address of the staking transaction. | [default to undefined]| +|**providerId** | [**StakingProvider**](StakingProvider.md) | | [default to undefined]| +|**availableActions** | **Array<string>** | An array of available actions that can be performed. for example, actions like \"UNSTAKE\" or \"WITHDRAW\". | [default to undefined]| +|**inProgress** | **boolean** | Indicates whether there is an ongoing action for this position related to this request | [default to undefined]| +|**blockchainPositionInfo** | [**DelegationBlockchainPositionInfo**](DelegationBlockchainPositionInfo.md) | | [default to undefined]| +|**inProgressTxId** | **string** | The transaction ID of the initial stake position request only. Only present when there is an active initial stake transaction. | [optional] [default to undefined]| + + +## Enum: PositionStatusEnum + + +* `Creating` (value: `'CREATING'`) + +* `Pending` (value: `'PENDING'`) + +* `Activating` (value: `'ACTIVATING'`) + +* `Active` (value: `'ACTIVE'`) + +* `Deactivating` (value: `'DEACTIVATING'`) + +* `Deactivated` (value: `'DEACTIVATED'`) + +* `Withdrawing` (value: `'WITHDRAWING'`) + +* `Withdrawn` (value: `'WITHDRAWN'`) + +* `Merged` (value: `'MERGED'`) + +* `Consolidated` (value: `'CONSOLIDATED'`) + +* `Canceled` (value: `'CANCELED'`) + +* `Failed` (value: `'FAILED'`) + + + +## Enum: Array<PositionAvailableActionsEnum> + + +* `Unstake` (value: `'UNSTAKE'`) + +* `Withdraw` (value: `'WITHDRAW'`) + +* `AddToStake` (value: `'ADD_TO_STAKE'`) + +* `Split` (value: `'SPLIT'`) + +* `Merge` (value: `'MERGE'`) + +* `ClaimRewards` (value: `'CLAIM_REWARDS'`) + +* `Consolidate` (value: `'CONSOLIDATE'`) + + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/ScreeningProviderResponse.md b/docs/models/ScreeningProviderResponse.md new file mode 100644 index 00000000..c535feb7 --- /dev/null +++ b/docs/models/ScreeningProviderResponse.md @@ -0,0 +1,11 @@ +# ScreeningProviderResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/ScreeningRiskLevelEnum.md b/docs/models/ScreeningRiskLevelEnum.md deleted file mode 100644 index 92b5839e..00000000 --- a/docs/models/ScreeningRiskLevelEnum.md +++ /dev/null @@ -1,20 +0,0 @@ -# ScreeningRiskLevelEnum - -## Enum - - -* `VeryHigh` (value: `'VERY_HIGH'`) - -* `Severe` (value: `'SEVERE'`) - -* `High` (value: `'HIGH'`) - -* `Medium` (value: `'MEDIUM'`) - -* `Low` (value: `'LOW'`) - -* `Unknown` (value: `'UNKNOWN'`) - - - -[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/AssetTypeEnum.md b/docs/models/SettlementTypeEnum.md similarity index 71% rename from docs/models/AssetTypeEnum.md rename to docs/models/SettlementTypeEnum.md index 34366f0d..bb4e4b56 100644 --- a/docs/models/AssetTypeEnum.md +++ b/docs/models/SettlementTypeEnum.md @@ -1,11 +1,11 @@ -# AssetTypeEnum +# SettlementTypeEnum ## Enum -* `Digital` (value: `'DIGITAL'`) +* `Dvp` (value: `'DVP'`) -* `Fiat` (value: `'FIAT'`) +* `Prefunded` (value: `'PREFUNDED'`) diff --git a/docs/models/StakingPositionsPaginatedResponse.md b/docs/models/StakingPositionsPaginatedResponse.md new file mode 100644 index 00000000..a2d2a71b --- /dev/null +++ b/docs/models/StakingPositionsPaginatedResponse.md @@ -0,0 +1,13 @@ +# StakingPositionsPaginatedResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**data** | [**Array<Position>**](Position.md) | The data of the current page of staking positions | [default to undefined]| +|**next** | **string** | The cursor for the next page | [optional] [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/TRLinkCreateIntegrationRequest.md b/docs/models/TRLinkCreateIntegrationRequest.md index a37d2da0..843239b6 100644 --- a/docs/models/TRLinkCreateIntegrationRequest.md +++ b/docs/models/TRLinkCreateIntegrationRequest.md @@ -6,6 +6,7 @@ |------------ | ------------- | ------------- | -------------| |**customerId** | **string** | Customer unique identifier | [default to undefined]| |**partnerIdent** | **string** | Partner identification code (e.g., \"sumsub\", \"notabene\") | [default to undefined]| +|**customerIntegrationId** | **string** | Optional. When supplied and permitted for the tenant (feature flag / CSM arrangement), this value is used as the TRLink integration identifier instead of a server-generated UUID. If omitted, the API generates a UUID. If supplied when the tenant is not permitted to set a custom id, the request fails with 400. Contact your CSM if you need a custom integration id. | [optional] [default to undefined]| diff --git a/docs/models/TokenOwnershipResponse.md b/docs/models/TokenOwnershipResponse.md index f4974ce3..96a2eb91 100644 --- a/docs/models/TokenOwnershipResponse.md +++ b/docs/models/TokenOwnershipResponse.md @@ -81,6 +81,8 @@ * `CronosTest` (value: `'CRONOS_TEST'`) +* `RobinhoodChainTestnetTest` (value: `'ROBINHOOD_CHAIN_TESTNET_TEST'`) + ## Enum: TokenOwnershipResponseStatusEnum diff --git a/docs/models/TokenResponse.md b/docs/models/TokenResponse.md index fa22c106..2d0a162e 100644 --- a/docs/models/TokenResponse.md +++ b/docs/models/TokenResponse.md @@ -74,6 +74,8 @@ * `CronosTest` (value: `'CRONOS_TEST'`) +* `RobinhoodChainTestnetTest` (value: `'ROBINHOOD_CHAIN_TESTNET_TEST'`) + diff --git a/docs/models/TradingProvider.md b/docs/models/TradingProvider.md index ee0b6ad2..d733d399 100644 --- a/docs/models/TradingProvider.md +++ b/docs/models/TradingProvider.md @@ -9,11 +9,12 @@ |**accountBased** | **boolean** | Indicates whether the provider access model is through accounts or directly | [default to undefined]| |**manifest** | [**Manifest**](Manifest.md) | | [default to undefined]| |**connected** | **boolean** | Whether the provider is currently connected | [default to undefined]| +|**accounts** | [**Array<AccountBase>**](AccountBase.md) | | [default to undefined]| |**hasTermsOfService** | **boolean** | Whether the provider has terms of service | [default to undefined]| |**logo** | **string** | URL to the logo image of the provider | [optional] [default to undefined]| -|**accounts** | [**Array<AccountBase>**](AccountBase.md) | | [optional] [default to undefined]| |**approved** | **boolean** | Whether the provider was approved for use | [optional] [default to undefined]| |**termsOfServiceUrl** | **string** | URL to the terms of service document | [optional] [default to undefined]| +|**privacyPolicyUrl** | **string** | URL to the privacy policy document | [optional] [default to undefined]| diff --git a/docs/models/TradingProviderDetails.md b/docs/models/TradingProviderDetails.md new file mode 100644 index 00000000..ac975516 --- /dev/null +++ b/docs/models/TradingProviderDetails.md @@ -0,0 +1,22 @@ +# TradingProviderDetails + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**id** | **string** | Unique identifier for the provider | [default to undefined]| +|**name** | **string** | Display name of the provider | [default to undefined]| +|**accountBased** | **boolean** | Indicates whether the provider access model is through accounts or directly | [default to undefined]| +|**manifest** | [**Manifest**](Manifest.md) | | [default to undefined]| +|**connected** | **boolean** | Whether the provider is currently connected | [default to undefined]| +|**accounts** | [**Array<AccountBase>**](AccountBase.md) | | [default to undefined]| +|**hasTermsOfService** | **boolean** | Whether the provider has terms of service | [default to undefined]| +|**logo** | **string** | URL to the logo image of the provider | [optional] [default to undefined]| +|**approved** | **boolean** | Whether the provider was approved for use | [optional] [default to undefined]| +|**termsOfServiceUrl** | **string** | URL to the terms of service document | [optional] [default to undefined]| +|**privacyPolicyUrl** | **string** | URL to the privacy policy document | [optional] [default to undefined]| + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/TravelRuleActionEnum.md b/docs/models/TravelRuleActionEnum.md index 21d2b1b5..699d3c18 100644 --- a/docs/models/TravelRuleActionEnum.md +++ b/docs/models/TravelRuleActionEnum.md @@ -9,6 +9,10 @@ * `Block` (value: `'BLOCK'`) +* `Pass` (value: `'PASS'`) + +* `Freeze` (value: `'FREEZE'`) + [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/TravelRuleOwnershipProof.md b/docs/models/TravelRuleOwnershipProof.md index 6430d181..a7cd44bf 100644 --- a/docs/models/TravelRuleOwnershipProof.md +++ b/docs/models/TravelRuleOwnershipProof.md @@ -10,6 +10,8 @@ |**address** | **string** | The wallet address being verified. Examples: - For Ethereum: `0x896B...0b9b` - For Bitcoin: `1442...dxhsQ` | [optional] [default to undefined]| |**wallet_provider** | **string** | The wallet provider or method used for verification. Examples: - For Metamask: `Metamask` - For manual signature: `manual` | [optional] [default to undefined]| |**url** | **string** | The URL for the uploaded screenshot (for `screenshot` proof types only). Example: `https://example.com/uploaded_image.png` | [optional] [default to undefined]| +|**did** | **string** | The Decentralized Identifier (DID) associated with the ownership proof. | [optional] [default to undefined]| +|**status** | **string** | The status of the ownership proof verification. | [optional] [default to undefined]| |**confirmed** | **boolean** | Whether the user confirmed ownership of the wallet (for `self-declaration` proofs). Example: `true` | [optional] [default to undefined]| diff --git a/docs/models/TravelRuleStatusEnum.md b/docs/models/TravelRuleStatusEnum.md index 932c5eac..555d562b 100644 --- a/docs/models/TravelRuleStatusEnum.md +++ b/docs/models/TravelRuleStatusEnum.md @@ -13,6 +13,12 @@ * `Frozen` (value: `'FROZEN'`) +* `Rejected` (value: `'REJECTED'`) + +* `Canceled` (value: `'CANCELED'`) + +* `BlockingTimeExpired` (value: `'BLOCKING_TIME_EXPIRED'`) + [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/TravelRuleVerdictEnum.md b/docs/models/TravelRuleVerdictEnum.md index c69468c6..152b09d3 100644 --- a/docs/models/TravelRuleVerdictEnum.md +++ b/docs/models/TravelRuleVerdictEnum.md @@ -11,6 +11,12 @@ * `Review` (value: `'REVIEW'`) +* `Wait` (value: `'WAIT'`) + +* `Freeze` (value: `'FREEZE'`) + +* `Cancel` (value: `'CANCEL'`) + [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/UserRole.md b/docs/models/UserRole.md index 8371bad2..0997aa43 100644 --- a/docs/models/UserRole.md +++ b/docs/models/UserRole.md @@ -25,6 +25,10 @@ * `NcwSigner` (value: `'NCW_SIGNER'`) +* `SecurityAdmin` (value: `'SECURITY_ADMIN'`) + +* `SecurityAuditor` (value: `'SECURITY_AUDITOR'`) + [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/models/account-based-access-provider-details.ts b/models/account-based-access-provider-info.ts similarity index 67% rename from models/account-based-access-provider-details.ts rename to models/account-based-access-provider-info.ts index 16ec7d48..ccbcb225 100644 --- a/models/account-based-access-provider-details.ts +++ b/models/account-based-access-provider-info.ts @@ -16,33 +16,24 @@ // May contain unused imports in some cases // @ts-ignore import { AccountBase } from './account-base'; -// May contain unused imports in some cases -// @ts-ignore -import { Manifest } from './manifest'; /** * * @export - * @interface AccountBasedAccessProviderDetails + * @interface AccountBasedAccessProviderInfo */ -export interface AccountBasedAccessProviderDetails { - /** - * - * @type {Manifest} - * @memberof AccountBasedAccessProviderDetails - */ - 'manifest': Manifest; +export interface AccountBasedAccessProviderInfo { /** * Whether the provider is currently connected * @type {boolean} - * @memberof AccountBasedAccessProviderDetails + * @memberof AccountBasedAccessProviderInfo */ 'connected': boolean; /** * * @type {Array} - * @memberof AccountBasedAccessProviderDetails + * @memberof AccountBasedAccessProviderInfo */ - 'accounts'?: Array; + 'accounts': Array; } diff --git a/models/account-based-access-provider.ts b/models/account-based-access-provider.ts index 9cb4bb68..a20f040a 100644 --- a/models/account-based-access-provider.ts +++ b/models/account-based-access-provider.ts @@ -18,7 +18,7 @@ import { AccountBase } from './account-base'; // May contain unused imports in some cases // @ts-ignore -import { AccountBasedAccessProviderDetails } from './account-based-access-provider-details'; +import { AccountBasedAccessProviderInfo } from './account-based-access-provider-info'; // May contain unused imports in some cases // @ts-ignore import { BaseProvider } from './base-provider'; @@ -30,6 +30,6 @@ import { Manifest } from './manifest'; * @type AccountBasedAccessProvider * @export */ -export type AccountBasedAccessProvider = AccountBasedAccessProviderDetails & BaseProvider; +export type AccountBasedAccessProvider = AccountBasedAccessProviderInfo & BaseProvider; diff --git a/models/account-based-provider-details.ts b/models/account-based-provider-details.ts new file mode 100644 index 00000000..91932532 --- /dev/null +++ b/models/account-based-provider-details.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AccountBase } from './account-base'; +// May contain unused imports in some cases +// @ts-ignore +import { AccountBasedAccessProviderInfo } from './account-based-access-provider-info'; +// May contain unused imports in some cases +// @ts-ignore +import { BaseProvider } from './base-provider'; +// May contain unused imports in some cases +// @ts-ignore +import { Manifest } from './manifest'; + +/** + * @type AccountBasedProviderDetails + * @export + */ +export type AccountBasedProviderDetails = AccountBasedAccessProviderInfo & BaseProvider; + + diff --git a/models/aml-result.ts b/models/aml-result.ts index 49d8c5a8..a1e01345 100644 --- a/models/aml-result.ts +++ b/models/aml-result.ts @@ -21,7 +21,7 @@ import { AmlAlert } from './aml-alert'; import { AmlMatchedRule } from './aml-matched-rule'; /** - * Detailed AML screening result information. Contains alerts, risk scores, and other AML-specific data from provider-specific responses. + * Deprecated: This field is not currently returned in the API response. Detailed AML screening result information. Contains alerts, risk scores, and other AML-specific data from provider-specific responses. * @export * @interface AmlResult */ diff --git a/models/aml-status-enum.ts b/models/aml-status-enum.ts index 254fa723..ecbf4286 100644 --- a/models/aml-status-enum.ts +++ b/models/aml-status-enum.ts @@ -15,7 +15,7 @@ /** - * AML screening status + * Deprecated: Use screeningStatus instead. AML screening status. * @export * @enum {string} */ diff --git a/models/base-provider.ts b/models/base-provider.ts index 6bfbe857..53194dfb 100644 --- a/models/base-provider.ts +++ b/models/base-provider.ts @@ -13,6 +13,9 @@ */ +// May contain unused imports in some cases +// @ts-ignore +import { Manifest } from './manifest'; /** * @@ -38,6 +41,12 @@ export interface BaseProvider { * @memberof BaseProvider */ 'accountBased': boolean; + /** + * + * @type {Manifest} + * @memberof BaseProvider + */ + 'manifest': Manifest; /** * URL to the logo image of the provider * @type {string} diff --git a/models/collection-ownership-response.ts b/models/collection-ownership-response.ts index ce8ed154..3124a04e 100644 --- a/models/collection-ownership-response.ts +++ b/models/collection-ownership-response.ts @@ -85,7 +85,8 @@ export const CollectionOwnershipResponseBlockchainDescriptorEnum = { Apechain: 'APECHAIN', ApechainTest: 'APECHAIN_TEST', Cronos: 'CRONOS', - CronosTest: 'CRONOS_TEST' + CronosTest: 'CRONOS_TEST', + RobinhoodChainTestnetTest: 'ROBINHOOD_CHAIN_TESTNET_TEST' } as const; export type CollectionOwnershipResponseBlockchainDescriptorEnum = typeof CollectionOwnershipResponseBlockchainDescriptorEnum[keyof typeof CollectionOwnershipResponseBlockchainDescriptorEnum]; diff --git a/models/compliance-screening-result-full-payload.ts b/models/compliance-screening-result-full-payload.ts index b7192a99..5c2808c4 100644 --- a/models/compliance-screening-result-full-payload.ts +++ b/models/compliance-screening-result-full-payload.ts @@ -21,7 +21,7 @@ import { AmlStatusEnum } from './aml-status-enum'; import { ScreeningAmlResult } from './screening-aml-result'; // May contain unused imports in some cases // @ts-ignore -import { ScreeningRiskLevelEnum } from './screening-risk-level-enum'; +import { ScreeningProviderResponse } from './screening-provider-response'; // May contain unused imports in some cases // @ts-ignore import { ScreeningTravelRulePrescreeningRule } from './screening-travel-rule-prescreening-rule'; @@ -39,7 +39,7 @@ import { ScreeningVerdictEnum } from './screening-verdict-enum'; */ export interface ComplianceScreeningResultFullPayload { /** - * The AML/Travel Rule provider name. For AML: ELLIPTIC, CHAINALYSIS, etc. For Travel Rule: NOTABENE, SUMSUB, or any TRLink provider name + * The AML/Travel Rule provider name. For AML: ELLIPTIC, CHAINALYSIS, etc. For Travel Rule: NOTABENE, SUMSUB, GTR, or any TRLink provider name * @type {string} * @memberof ComplianceScreeningResultFullPayload */ @@ -63,7 +63,7 @@ export interface ComplianceScreeningResultFullPayload { */ 'screeningStatus'?: ComplianceScreeningResultFullPayloadScreeningStatusEnum; /** - * 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. + * Reason for bypassing the screening, if applicable. For AML: UNSUPPORTED_ASSET, PASSED_BY_POLICY. For Travel Rule: UNSUPPORTED_ASSET, NO_TRAVEL_RULE_MESSAGE, TRANSACTION_ZERO_AMOUNT. * @type {string} * @memberof ComplianceScreeningResultFullPayload */ @@ -72,18 +72,21 @@ export interface ComplianceScreeningResultFullPayload { * * @type {AmlStatusEnum} * @memberof ComplianceScreeningResultFullPayload + * @deprecated */ 'status'?: AmlStatusEnum; /** * * @type {AmlStatusEnum} * @memberof ComplianceScreeningResultFullPayload + * @deprecated */ 'prevStatus'?: AmlStatusEnum; /** - * Previous bypass reason before the current bypass reason change + * Deprecated: This field is not currently returned in the API response. Previous bypass reason before the current bypass reason change. * @type {string} * @memberof ComplianceScreeningResultFullPayload + * @deprecated */ 'prevBypassReason'?: string; /** @@ -93,17 +96,18 @@ export interface ComplianceScreeningResultFullPayload { */ 'verdict'?: ScreeningVerdictEnum; /** - * - * @type {ScreeningRiskLevelEnum} + * Risk level assessment for screening results. Values vary by provider and are not managed by this service. Known values by provider: - Chainalysis: severeRisk, highRisk, mediumRisk, lowRisk, noRiskInfo - Elliptic: noRiskDetected Legacy values (SCREAMING_SNAKE_CASE, may appear in old transactions): VERY_HIGH, SEVERE, HIGH, MEDIUM, LOW, NO_RISK_INFO, UNKNOWN + * @type {string} * @memberof ComplianceScreeningResultFullPayload */ - 'risk'?: ScreeningRiskLevelEnum; + 'risk'?: string; /** - * - * @type {ScreeningRiskLevelEnum} + * Deprecated: This field is not currently returned in the API response. Use risk instead. + * @type {string} * @memberof ComplianceScreeningResultFullPayload + * @deprecated */ - 'extendedRisk'?: ScreeningRiskLevelEnum; + 'extendedRisk'?: string; /** * External identifier for the screening (provider-specific) * @type {string} @@ -117,9 +121,10 @@ export interface ComplianceScreeningResultFullPayload { */ 'customerRefId'?: string; /** - * Internal reference identifier + * Deprecated: This field is not currently returned in the API response. Internal reference identifier. * @type {string} * @memberof ComplianceScreeningResultFullPayload + * @deprecated */ 'refId'?: string; /** @@ -147,27 +152,31 @@ export interface ComplianceScreeningResultFullPayload { */ 'destTag'?: string; /** - * The destination record identifier used by the screening provider + * Deprecated: This field is not currently returned in the API response. The destination record identifier used by the screening provider. * @type {string} * @memberof ComplianceScreeningResultFullPayload + * @deprecated */ 'destRecordId'?: string; /** - * Cryptographic signature for address resolution verification + * Deprecated: This field is not currently returned in the API response. Cryptographic signature for address resolution verification. * @type {string} * @memberof ComplianceScreeningResultFullPayload + * @deprecated */ 'addressResolutionSignature'?: string; /** * * @type {ScreeningAmlResult} * @memberof ComplianceScreeningResultFullPayload + * @deprecated */ 'amlResult'?: ScreeningAmlResult; /** * * @type {ScreeningTravelRuleResult} * @memberof ComplianceScreeningResultFullPayload + * @deprecated */ 'result'?: ScreeningTravelRuleResult; /** @@ -218,6 +227,12 @@ export interface ComplianceScreeningResultFullPayload { * @memberof ComplianceScreeningResultFullPayload */ 'travelRuleMessageId'?: string; + /** + * + * @type {ScreeningProviderResponse} + * @memberof ComplianceScreeningResultFullPayload + */ + 'providerResponse'?: ScreeningProviderResponse; } export const ComplianceScreeningResultFullPayloadScreeningStatusEnum = { diff --git a/models/compliance-screening-result.ts b/models/compliance-screening-result.ts index bce2ceb6..4a827913 100644 --- a/models/compliance-screening-result.ts +++ b/models/compliance-screening-result.ts @@ -21,7 +21,7 @@ import { AmlResult } from './aml-result'; import { AmlStatusEnum } from './aml-status-enum'; // May contain unused imports in some cases // @ts-ignore -import { ScreeningRiskLevelEnum } from './screening-risk-level-enum'; +import { ScreeningProviderResponse } from './screening-provider-response'; // May contain unused imports in some cases // @ts-ignore import { ScreeningVerdictEnum } from './screening-verdict-enum'; @@ -39,7 +39,7 @@ import { TravelRuleResult } from './travel-rule-result'; */ export interface ComplianceScreeningResult { /** - * The AML/Travel Rule provider name. For AML: ELLIPTIC, CHAINALYSIS, SCORECHAIN, MERKLE_SCIENCE, etc. For Travel Rule: NOTABENE, SYGNA, or any TRLink provider name + * The AML/Travel Rule provider name. For AML: ELLIPTIC, CHAINALYSIS, etc. For Travel Rule: NOTABENE, SUMSUB, GTR, or any TRLink provider name. * @type {string} * @memberof ComplianceScreeningResult */ @@ -63,7 +63,7 @@ export interface ComplianceScreeningResult { */ 'screeningStatus'?: ComplianceScreeningResultScreeningStatusEnum; /** - * 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. + * Reason for bypassing the screening, if applicable. For AML: UNSUPPORTED_ASSET, PASSED_BY_POLICY. For Travel Rule: UNSUPPORTED_ASSET, NO_TRAVEL_RULE_MESSAGE, TRANSACTION_ZERO_AMOUNT. * @type {string} * @memberof ComplianceScreeningResult */ @@ -72,18 +72,21 @@ export interface ComplianceScreeningResult { * * @type {AmlStatusEnum} * @memberof ComplianceScreeningResult + * @deprecated */ 'status'?: AmlStatusEnum; /** * * @type {AmlStatusEnum} * @memberof ComplianceScreeningResult + * @deprecated */ 'prevStatus'?: AmlStatusEnum; /** - * Previous bypass reason before the current bypass reason change + * Deprecated: This field is not currently returned in the API response. Previous bypass reason before the current bypass reason change. * @type {string} * @memberof ComplianceScreeningResult + * @deprecated */ 'prevBypassReason'?: string; /** @@ -93,17 +96,18 @@ export interface ComplianceScreeningResult { */ 'verdict'?: ScreeningVerdictEnum; /** - * - * @type {ScreeningRiskLevelEnum} + * Risk level assessment for screening results. Values vary by provider and are not managed by this service. Known values by provider: - Chainalysis: severeRisk, highRisk, mediumRisk, lowRisk, noRiskInfo - Elliptic: noRiskDetected Legacy values (SCREAMING_SNAKE_CASE, may appear in old transactions): VERY_HIGH, SEVERE, HIGH, MEDIUM, LOW, NO_RISK_INFO, UNKNOWN + * @type {string} * @memberof ComplianceScreeningResult */ - 'risk'?: ScreeningRiskLevelEnum; + 'risk'?: string; /** - * - * @type {ScreeningRiskLevelEnum} + * Deprecated: This field is not currently returned in the API response. Use risk instead. + * @type {string} * @memberof ComplianceScreeningResult + * @deprecated */ - 'extendedRisk'?: ScreeningRiskLevelEnum; + 'extendedRisk'?: string; /** * External identifier for the screening (provider-specific) * @type {string} @@ -117,9 +121,10 @@ export interface ComplianceScreeningResult { */ 'customerRefId'?: string; /** - * Internal reference identifier + * Deprecated: This field is not currently returned in the API response. Internal reference identifier. * @type {string} * @memberof ComplianceScreeningResult + * @deprecated */ 'refId'?: string; /** @@ -147,27 +152,31 @@ export interface ComplianceScreeningResult { */ 'destTag'?: string; /** - * The destination record identifier used by the screening provider + * Deprecated: This field is not currently returned in the API response. The destination record identifier used by the screening provider. * @type {string} * @memberof ComplianceScreeningResult + * @deprecated */ 'destRecordId'?: string; /** - * Cryptographic signature for address resolution verification + * Deprecated: This field is not currently returned in the API response. Cryptographic signature for address resolution verification. * @type {string} * @memberof ComplianceScreeningResult + * @deprecated */ 'addressResolutionSignature'?: string; /** * * @type {AmlResult} * @memberof ComplianceScreeningResult + * @deprecated */ 'amlResult'?: AmlResult; /** * * @type {TravelRuleResult} * @memberof ComplianceScreeningResult + * @deprecated */ 'result'?: TravelRuleResult; /** @@ -218,6 +227,12 @@ export interface ComplianceScreeningResult { * @memberof ComplianceScreeningResult */ 'travelRuleMessageId'?: string; + /** + * + * @type {ScreeningProviderResponse} + * @memberof ComplianceScreeningResult + */ + 'providerResponse'?: ScreeningProviderResponse; } export const ComplianceScreeningResultScreeningStatusEnum = { diff --git a/models/create-multiple-accounts-request.ts b/models/create-multiple-accounts-request.ts index 9d4438c6..0bd4c81b 100644 --- a/models/create-multiple-accounts-request.ts +++ b/models/create-multiple-accounts-request.ts @@ -50,5 +50,11 @@ export interface CreateMultipleAccountsRequest { * @memberof CreateMultipleAccountsRequest */ 'prefix'?: string; + /** + * Optional list of tag IDs to attach to all created vault accounts + * @type {Array} + * @memberof CreateMultipleAccountsRequest + */ + 'tagIds'?: Array; } diff --git a/models/direct-access-provider-details.ts b/models/direct-access-provider-info.ts similarity index 74% rename from models/direct-access-provider-details.ts rename to models/direct-access-provider-info.ts index 86b68640..e515a5a6 100644 --- a/models/direct-access-provider-details.ts +++ b/models/direct-access-provider-info.ts @@ -17,26 +17,32 @@ /** * * @export - * @interface DirectAccessProviderDetails + * @interface DirectAccessProviderInfo */ -export interface DirectAccessProviderDetails { +export interface DirectAccessProviderInfo { /** * Whether the provider has terms of service * @type {boolean} - * @memberof DirectAccessProviderDetails + * @memberof DirectAccessProviderInfo */ 'hasTermsOfService': boolean; /** * Whether the provider was approved for use * @type {boolean} - * @memberof DirectAccessProviderDetails + * @memberof DirectAccessProviderInfo */ 'approved'?: boolean; /** * URL to the terms of service document * @type {string} - * @memberof DirectAccessProviderDetails + * @memberof DirectAccessProviderInfo */ 'termsOfServiceUrl'?: string; + /** + * URL to the privacy policy document + * @type {string} + * @memberof DirectAccessProviderInfo + */ + 'privacyPolicyUrl'?: string; } diff --git a/models/direct-access-provider.ts b/models/direct-access-provider.ts index 0142a7a9..9b811a63 100644 --- a/models/direct-access-provider.ts +++ b/models/direct-access-provider.ts @@ -18,12 +18,15 @@ import { BaseProvider } from './base-provider'; // May contain unused imports in some cases // @ts-ignore -import { DirectAccessProviderDetails } from './direct-access-provider-details'; +import { DirectAccessProviderInfo } from './direct-access-provider-info'; +// May contain unused imports in some cases +// @ts-ignore +import { Manifest } from './manifest'; /** * @type DirectAccessProvider * @export */ -export type DirectAccessProvider = BaseProvider & DirectAccessProviderDetails; +export type DirectAccessProvider = BaseProvider & DirectAccessProviderInfo; diff --git a/models/direct-provider-details.ts b/models/direct-provider-details.ts new file mode 100644 index 00000000..9eddef48 --- /dev/null +++ b/models/direct-provider-details.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { BaseProvider } from './base-provider'; +// May contain unused imports in some cases +// @ts-ignore +import { DirectAccessProviderInfo } from './direct-access-provider-info'; +// May contain unused imports in some cases +// @ts-ignore +import { Manifest } from './manifest'; + +/** + * @type DirectProviderDetails + * @export + */ +export type DirectProviderDetails = BaseProvider & DirectAccessProviderInfo; + + diff --git a/models/asset-type-enum.ts b/models/execution-request-details-type.ts similarity index 74% rename from models/asset-type-enum.ts rename to models/execution-request-details-type.ts index 12d1bfec..6c649198 100644 --- a/models/asset-type-enum.ts +++ b/models/execution-request-details-type.ts @@ -15,17 +15,17 @@ /** - * + * Execution type supported by the provider * @export * @enum {string} */ -export const AssetTypeEnum = { - Digital: 'DIGITAL', - Fiat: 'FIAT' +export const ExecutionRequestDetailsType = { + Quote: 'QUOTE', + Market: 'MARKET' } as const; -export type AssetTypeEnum = typeof AssetTypeEnum[keyof typeof AssetTypeEnum]; +export type ExecutionRequestDetailsType = typeof ExecutionRequestDetailsType[keyof typeof ExecutionRequestDetailsType]; diff --git a/models/index.ts b/models/index.ts index 20e27799..aaac626d 100644 --- a/models/index.ts +++ b/models/index.ts @@ -10,7 +10,8 @@ export * from './account'; export * from './account-access'; export * from './account-base'; export * from './account-based-access-provider'; -export * from './account-based-access-provider-details'; +export * from './account-based-access-provider-info'; +export * from './account-based-provider-details'; export * from './account-config'; export * from './account-holder-details'; export * from './account-identifier'; @@ -89,7 +90,6 @@ export * from './asset-price-not-found-error-response'; export * from './asset-price-response'; export * from './asset-response'; export * from './asset-scope'; -export * from './asset-type-enum'; export * from './asset-type-response'; export * from './asset-types-config'; export * from './asset-types-config-inner'; @@ -120,7 +120,6 @@ export * from './business-identification'; export * from './callback-handler'; export * from './callback-handler-request'; export * from './cancel-transaction-response'; -export * from './capability'; export * from './chain-descriptor'; export * from './chain-info-response'; export * from './channel-dvn-config-with-confirmations'; @@ -275,7 +274,8 @@ export * from './destination-transfer-peer-path'; export * from './destination-transfer-peer-path-response'; export * from './direct-access'; export * from './direct-access-provider'; -export * from './direct-access-provider-details'; +export * from './direct-access-provider-info'; +export * from './direct-provider-details'; export * from './disbursement-amount-instruction'; export * from './disbursement-config-operation'; export * from './disbursement-instruction'; @@ -341,6 +341,7 @@ export * from './execution-disbursement-operation'; export * from './execution-operation-status'; export * from './execution-request-base-details'; export * from './execution-request-details'; +export * from './execution-request-details-type'; export * from './execution-response-base-details'; export * from './execution-response-details'; export * from './execution-screening-operation'; @@ -485,6 +486,11 @@ export * from './list-owned-tokens-response'; export * from './local-bank-transfer-africa-address'; export * from './local-bank-transfer-africa-destination'; export * from './manifest'; +export * from './manifest-base'; +export * from './manifest-order'; +export * from './manifest-order-info'; +export * from './manifest-quote'; +export * from './manifest-quote-info'; export * from './market-execution-request-details'; export * from './market-execution-response-details'; export * from './market-requote-request-details'; @@ -596,6 +602,7 @@ export * from './policy-user-ids'; export * from './policy-validation'; export * from './policy-verdict-action-enum'; export * from './policy-verdict-action-enum2'; +export * from './position'; export * from './postal-address'; export * from './pre-screening'; export * from './prefunded-settlement'; @@ -667,8 +674,8 @@ export * from './screening-operation-execution-output'; export * from './screening-operation-failure'; export * from './screening-operation-type'; export * from './screening-policy-response'; +export * from './screening-provider-response'; export * from './screening-provider-rules-configuration-response'; -export * from './screening-risk-level-enum'; export * from './screening-trlink-amount'; export * from './screening-trlink-missing-trm-decision'; export * from './screening-trlink-missing-trm-rule'; @@ -712,6 +719,7 @@ export * from './settlement'; export * from './settlement-request-body'; export * from './settlement-response'; export * from './settlement-source-account'; +export * from './settlement-type-enum'; export * from './side'; export * from './signed-message'; export * from './signed-message-signature'; @@ -767,6 +775,7 @@ export * from './staking-get-all-delegations-response'; export * from './staking-get-chains-response'; export * from './staking-get-providers-response'; export * from './staking-get-summary-by-vault-response'; +export * from './staking-positions-paginated-response'; export * from './staking-provider'; export * from './status'; export * from './stellar-ripple-create-params-dto'; @@ -886,6 +895,7 @@ export * from './total-supply-paged-response'; export * from './trading-account-type'; export * from './trading-error-schema'; export * from './trading-provider'; +export * from './trading-provider-details'; export * from './transaction'; export * from './transaction-direction'; export * from './transaction-fee'; diff --git a/models/job-created.ts b/models/job-created.ts index 6e9c22db..ed561782 100644 --- a/models/job-created.ts +++ b/models/job-created.ts @@ -26,5 +26,11 @@ export interface JobCreated { * @memberof JobCreated */ 'jobId'?: string; + /** + * Approval request ID. Returned when a tag triggers an approval flow. + * @type {string} + * @memberof JobCreated + */ + 'approvalRequestId'?: string; } diff --git a/models/screening-risk-level-enum.ts b/models/manifest-base.ts similarity index 62% rename from models/screening-risk-level-enum.ts rename to models/manifest-base.ts index dc20b2af..6b7d3426 100644 --- a/models/screening-risk-level-enum.ts +++ b/models/manifest-base.ts @@ -15,21 +15,16 @@ /** - * Risk level assessment for screening results. Possible values vary by provider and context. + * Base manifest schema with common properties * @export - * @enum {string} + * @interface ManifestBase */ - -export const ScreeningRiskLevelEnum = { - VeryHigh: 'VERY_HIGH', - Severe: 'SEVERE', - High: 'HIGH', - Medium: 'MEDIUM', - Low: 'LOW', - Unknown: 'UNKNOWN' -} as const; - -export type ScreeningRiskLevelEnum = typeof ScreeningRiskLevelEnum[keyof typeof ScreeningRiskLevelEnum]; - - +export interface ManifestBase { + /** + * Indicates whether the endpoint is supported by the provider + * @type {boolean} + * @memberof ManifestBase + */ + 'supported': boolean; +} diff --git a/models/manifest-order-info.ts b/models/manifest-order-info.ts new file mode 100644 index 00000000..d4e1fac1 --- /dev/null +++ b/models/manifest-order-info.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExecutionRequestDetailsType } from './execution-request-details-type'; +// May contain unused imports in some cases +// @ts-ignore +import { SettlementTypeEnum } from './settlement-type-enum'; + +/** + * Defines requirements for the POST /orders endpoint. + * @export + * @interface ManifestOrderInfo + */ +export interface ManifestOrderInfo { + /** + * Supported execution types when creating an order. + * @type {Array} + * @memberof ManifestOrderInfo + */ + 'executionTypes': Array; + /** + * Supported settlement types when creating an order. If present - settlement is required. If absent - no need to provide settlement. + * @type {Array} + * @memberof ManifestOrderInfo + */ + 'settlementTypes'?: Array; +} + diff --git a/models/manifest-order.ts b/models/manifest-order.ts new file mode 100644 index 00000000..20798fb6 --- /dev/null +++ b/models/manifest-order.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExecutionRequestDetailsType } from './execution-request-details-type'; +// May contain unused imports in some cases +// @ts-ignore +import { ManifestBase } from './manifest-base'; +// May contain unused imports in some cases +// @ts-ignore +import { ManifestOrderInfo } from './manifest-order-info'; +// May contain unused imports in some cases +// @ts-ignore +import { SettlementTypeEnum } from './settlement-type-enum'; + +/** + * @type ManifestOrder + * @export + */ +export type ManifestOrder = ManifestBase & ManifestOrderInfo; + + diff --git a/models/manifest-quote-info.ts b/models/manifest-quote-info.ts new file mode 100644 index 00000000..e5dcdf46 --- /dev/null +++ b/models/manifest-quote-info.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { DVPSettlementType } from './dvpsettlement-type'; + +/** + * Defines requirements for the POST /quotes endpoint. + * @export + * @interface ManifestQuoteInfo + */ +export interface ManifestQuoteInfo { + /** + * Supported settlement types when requesting a quote. If present - settlement is required. If absent - no need to provide settlement. + * @type {Array} + * @memberof ManifestQuoteInfo + */ + 'settlementTypes'?: Array; +} + diff --git a/models/manifest-quote.ts b/models/manifest-quote.ts new file mode 100644 index 00000000..693d5f28 --- /dev/null +++ b/models/manifest-quote.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { DVPSettlementType } from './dvpsettlement-type'; +// May contain unused imports in some cases +// @ts-ignore +import { ManifestBase } from './manifest-base'; +// May contain unused imports in some cases +// @ts-ignore +import { ManifestQuoteInfo } from './manifest-quote-info'; + +/** + * @type ManifestQuote + * @export + */ +export type ManifestQuote = ManifestBase & ManifestQuoteInfo; + + diff --git a/models/manifest.ts b/models/manifest.ts index 3730e78a..fd200029 100644 --- a/models/manifest.ts +++ b/models/manifest.ts @@ -15,28 +15,37 @@ // May contain unused imports in some cases // @ts-ignore -import { AssetTypeEnum } from './asset-type-enum'; +import { ManifestBase } from './manifest-base'; // May contain unused imports in some cases // @ts-ignore -import { Capability } from './capability'; +import { ManifestOrder } from './manifest-order'; +// May contain unused imports in some cases +// @ts-ignore +import { ManifestQuote } from './manifest-quote'; /** - * + * The manifest of the provider, describing its supported order, quote, and rate requirements. * @export * @interface Manifest */ export interface Manifest { /** * - * @type {Array} + * @type {ManifestOrder} + * @memberof Manifest + */ + 'order': ManifestOrder; + /** + * + * @type {ManifestQuote} * @memberof Manifest */ - 'assetTypes': Array; + 'quote': ManifestQuote; /** * - * @type {Array} + * @type {ManifestBase} * @memberof Manifest */ - 'capabilities': Array; + 'rate': ManifestBase; } diff --git a/models/position.ts b/models/position.ts new file mode 100644 index 00000000..ac380fe3 --- /dev/null +++ b/models/position.ts @@ -0,0 +1,155 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { DelegationBlockchainPositionInfo } from './delegation-blockchain-position-info'; +// May contain unused imports in some cases +// @ts-ignore +import { StakingProvider } from './staking-provider'; + +/** + * + * @export + * @interface Position + */ +export interface Position { + /** + * The unique identifier of the staking position + * @type {string} + * @memberof Position + */ + 'id': string; + /** + * The source vault account to stake from + * @type {string} + * @memberof Position + */ + 'vaultAccountId': string; + /** + * The destination validator address name + * @type {string} + * @memberof Position + */ + 'validatorName': string; + /** + * The destination validator provider name + * @type {string} + * @memberof Position + */ + 'providerName': string; + /** + * The protocol identifier (e.g. \"ETH\"/ \"SOL\") to use + * @type {string} + * @memberof Position + */ + 'chainDescriptor': 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. + * @type {string} + * @memberof Position + */ + 'amount': string; + /** + * The amount staked in the position, measured in the staked asset unit. + * @type {string} + * @memberof Position + */ + 'rewardsAmount': string; + /** + * When was the request made (ISO Date). + * @type {string} + * @memberof Position + */ + 'dateCreated': string; + /** + * When has the position last changed (ISO Date). + * @type {string} + * @memberof Position + */ + 'dateUpdated': string; + /** + * The current status. + * @type {string} + * @memberof Position + */ + 'status': PositionStatusEnum; + /** + * The destination address of the staking transaction. + * @type {string} + * @memberof Position + */ + 'validatorAddress': string; + /** + * + * @type {StakingProvider} + * @memberof Position + */ + 'providerId': StakingProvider; + /** + * An array of available actions that can be performed. for example, actions like \"UNSTAKE\" or \"WITHDRAW\". + * @type {Array} + * @memberof Position + */ + 'availableActions': Array; + /** + * Indicates whether there is an ongoing action for this position related to this request + * @type {boolean} + * @memberof Position + */ + 'inProgress': boolean; + /** + * + * @type {DelegationBlockchainPositionInfo} + * @memberof Position + */ + 'blockchainPositionInfo': DelegationBlockchainPositionInfo; + /** + * The transaction ID of the initial stake position request only. Only present when there is an active initial stake transaction. + * @type {string} + * @memberof Position + */ + 'inProgressTxId'?: string; +} + +export const PositionStatusEnum = { + Creating: 'CREATING', + Pending: 'PENDING', + Activating: 'ACTIVATING', + Active: 'ACTIVE', + Deactivating: 'DEACTIVATING', + Deactivated: 'DEACTIVATED', + Withdrawing: 'WITHDRAWING', + Withdrawn: 'WITHDRAWN', + Merged: 'MERGED', + Consolidated: 'CONSOLIDATED', + Canceled: 'CANCELED', + Failed: 'FAILED' +} as const; + +export type PositionStatusEnum = typeof PositionStatusEnum[keyof typeof PositionStatusEnum]; +export const PositionAvailableActionsEnum = { + Unstake: 'UNSTAKE', + Withdraw: 'WITHDRAW', + AddToStake: 'ADD_TO_STAKE', + Split: 'SPLIT', + Merge: 'MERGE', + ClaimRewards: 'CLAIM_REWARDS', + Consolidate: 'CONSOLIDATE' +} as const; + +export type PositionAvailableActionsEnum = typeof PositionAvailableActionsEnum[keyof typeof PositionAvailableActionsEnum]; + + diff --git a/models/screening-aml-result.ts b/models/screening-aml-result.ts index d8c7b921..016d89c0 100644 --- a/models/screening-aml-result.ts +++ b/models/screening-aml-result.ts @@ -21,7 +21,7 @@ import { ScreeningAmlAlert } from './screening-aml-alert'; import { ScreeningAmlMatchedRule } from './screening-aml-matched-rule'; /** - * Detailed AML screening result information. Contains alerts, risk scores, and other AML-specific data from provider-specific responses. + * Deprecated: This field is not currently returned in the API response. Detailed AML screening result information. Contains alerts, risk scores, and other AML-specific data from provider-specific responses. * @export * @interface ScreeningAmlResult */ diff --git a/models/screening-provider-response.ts b/models/screening-provider-response.ts new file mode 100644 index 00000000..b2b2826d --- /dev/null +++ b/models/screening-provider-response.ts @@ -0,0 +1,26 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.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. + */ + + + +/** + * Complete response from the screening provider. This is a dynamic object that varies significantly between different providers (Chainalysis, Elliptic, NOTABENE, etc.). Each provider has their own proprietary response format and schema. For AML providers: Contains risk scores, alerts, entity information For Travel Rule providers: 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. + * @export + * @interface ScreeningProviderResponse + */ +export interface ScreeningProviderResponse { + [key: string]: any; + +} + diff --git a/models/screening-travel-rule-result.ts b/models/screening-travel-rule-result.ts index a6ab878f..fe819008 100644 --- a/models/screening-travel-rule-result.ts +++ b/models/screening-travel-rule-result.ts @@ -24,7 +24,7 @@ import { TravelRuleDirectionEnum } from './travel-rule-direction-enum'; import { TravelRuleVerdictEnum } from './travel-rule-verdict-enum'; /** - * Detailed Travel Rule screening result containing provider-specific data. Contains Travel Rule specific information like verified status, rule type, and actions. + * Deprecated: This field is not currently returned in the API response. Detailed Travel Rule screening result containing provider-specific data. Contains Travel Rule specific information like verified status, rule type, and actions. * @export * @interface ScreeningTravelRuleResult */ diff --git a/models/capability.ts b/models/settlement-type-enum.ts similarity index 76% rename from models/capability.ts rename to models/settlement-type-enum.ts index f8ceb125..d6e127c0 100644 --- a/models/capability.ts +++ b/models/settlement-type-enum.ts @@ -15,18 +15,17 @@ /** - * + * Settlement type supported by the provider * @export * @enum {string} */ -export const Capability = { - Withdrawals: 'WITHDRAWALS', - Deposits: 'DEPOSITS', - Trading: 'TRADING' +export const SettlementTypeEnum = { + Dvp: 'DVP', + Prefunded: 'PREFUNDED' } as const; -export type Capability = typeof Capability[keyof typeof Capability]; +export type SettlementTypeEnum = typeof SettlementTypeEnum[keyof typeof SettlementTypeEnum]; diff --git a/models/staking-positions-paginated-response.ts b/models/staking-positions-paginated-response.ts new file mode 100644 index 00000000..a6aa2834 --- /dev/null +++ b/models/staking-positions-paginated-response.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { Position } from './position'; + +/** + * + * @export + * @interface StakingPositionsPaginatedResponse + */ +export interface StakingPositionsPaginatedResponse { + /** + * The data of the current page of staking positions + * @type {Array} + * @memberof StakingPositionsPaginatedResponse + */ + 'data': Array; + /** + * The cursor for the next page + * @type {string} + * @memberof StakingPositionsPaginatedResponse + */ + 'next'?: string | null; +} + diff --git a/models/token-ownership-response.ts b/models/token-ownership-response.ts index b9523ccf..c7d2e42e 100644 --- a/models/token-ownership-response.ts +++ b/models/token-ownership-response.ts @@ -166,7 +166,8 @@ export const TokenOwnershipResponseBlockchainDescriptorEnum = { Apechain: 'APECHAIN', ApechainTest: 'APECHAIN_TEST', Cronos: 'CRONOS', - CronosTest: 'CRONOS_TEST' + CronosTest: 'CRONOS_TEST', + RobinhoodChainTestnetTest: 'ROBINHOOD_CHAIN_TESTNET_TEST' } as const; export type TokenOwnershipResponseBlockchainDescriptorEnum = typeof TokenOwnershipResponseBlockchainDescriptorEnum[keyof typeof TokenOwnershipResponseBlockchainDescriptorEnum]; diff --git a/models/token-response.ts b/models/token-response.ts index 03ce772c..52e6bef3 100644 --- a/models/token-response.ts +++ b/models/token-response.ts @@ -124,7 +124,8 @@ export const TokenResponseBlockchainDescriptorEnum = { Apechain: 'APECHAIN', ApechainTest: 'APECHAIN_TEST', Cronos: 'CRONOS', - CronosTest: 'CRONOS_TEST' + CronosTest: 'CRONOS_TEST', + RobinhoodChainTestnetTest: 'ROBINHOOD_CHAIN_TESTNET_TEST' } as const; export type TokenResponseBlockchainDescriptorEnum = typeof TokenResponseBlockchainDescriptorEnum[keyof typeof TokenResponseBlockchainDescriptorEnum]; diff --git a/models/trading-provider-details.ts b/models/trading-provider-details.ts new file mode 100644 index 00000000..44c2cd71 --- /dev/null +++ b/models/trading-provider-details.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AccountBase } from './account-base'; +// May contain unused imports in some cases +// @ts-ignore +import { AccountBasedProviderDetails } from './account-based-provider-details'; +// May contain unused imports in some cases +// @ts-ignore +import { DirectProviderDetails } from './direct-provider-details'; +// May contain unused imports in some cases +// @ts-ignore +import { Manifest } from './manifest'; + +/** + * @type TradingProviderDetails + * @export + */ +export type TradingProviderDetails = AccountBasedProviderDetails | DirectProviderDetails; + + diff --git a/models/travel-rule-action-enum.ts b/models/travel-rule-action-enum.ts index 71062b11..8775bb06 100644 --- a/models/travel-rule-action-enum.ts +++ b/models/travel-rule-action-enum.ts @@ -23,7 +23,9 @@ export const TravelRuleActionEnum = { Screen: 'SCREEN', Bypass: 'BYPASS', - Block: 'BLOCK' + Block: 'BLOCK', + Pass: 'PASS', + Freeze: 'FREEZE' } as const; export type TravelRuleActionEnum = typeof TravelRuleActionEnum[keyof typeof TravelRuleActionEnum]; diff --git a/models/travel-rule-ownership-proof.ts b/models/travel-rule-ownership-proof.ts index 53955da3..a0a0bacc 100644 --- a/models/travel-rule-ownership-proof.ts +++ b/models/travel-rule-ownership-proof.ts @@ -56,6 +56,18 @@ export interface TravelRuleOwnershipProof { * @memberof TravelRuleOwnershipProof */ 'url'?: string; + /** + * The Decentralized Identifier (DID) associated with the ownership proof. + * @type {string} + * @memberof TravelRuleOwnershipProof + */ + 'did'?: string; + /** + * The status of the ownership proof verification. + * @type {string} + * @memberof TravelRuleOwnershipProof + */ + 'status'?: string; /** * Whether the user confirmed ownership of the wallet (for `self-declaration` proofs). Example: `true` * @type {boolean} diff --git a/models/travel-rule-result.ts b/models/travel-rule-result.ts index 0a654803..269e4bd2 100644 --- a/models/travel-rule-result.ts +++ b/models/travel-rule-result.ts @@ -24,7 +24,7 @@ import { TravelRuleMatchedRule } from './travel-rule-matched-rule'; import { TravelRuleVerdictEnum } from './travel-rule-verdict-enum'; /** - * Detailed Travel Rule screening result containing provider-specific data. Contains Travel Rule specific information like verified status, rule type, and actions. + * Deprecated: This field is not currently returned in the API response. Detailed Travel Rule screening result containing provider-specific data. Contains Travel Rule specific information like verified status, rule type, and actions. * @export * @interface TravelRuleResult */ diff --git a/models/travel-rule-status-enum.ts b/models/travel-rule-status-enum.ts index 1f076843..50b495f1 100644 --- a/models/travel-rule-status-enum.ts +++ b/models/travel-rule-status-enum.ts @@ -25,7 +25,10 @@ export const TravelRuleStatusEnum = { Pending: 'PENDING', Bypassed: 'BYPASSED', Failed: 'FAILED', - Frozen: 'FROZEN' + Frozen: 'FROZEN', + Rejected: 'REJECTED', + Canceled: 'CANCELED', + BlockingTimeExpired: 'BLOCKING_TIME_EXPIRED' } as const; export type TravelRuleStatusEnum = typeof TravelRuleStatusEnum[keyof typeof TravelRuleStatusEnum]; diff --git a/models/travel-rule-verdict-enum.ts b/models/travel-rule-verdict-enum.ts index 3b557a16..c3403b76 100644 --- a/models/travel-rule-verdict-enum.ts +++ b/models/travel-rule-verdict-enum.ts @@ -24,7 +24,10 @@ export const TravelRuleVerdictEnum = { Accept: 'ACCEPT', Reject: 'REJECT', Alert: 'ALERT', - Review: 'REVIEW' + Review: 'REVIEW', + Wait: 'WAIT', + Freeze: 'FREEZE', + Cancel: 'CANCEL' } as const; export type TravelRuleVerdictEnum = typeof TravelRuleVerdictEnum[keyof typeof TravelRuleVerdictEnum]; diff --git a/models/trlink-create-integration-request.ts b/models/trlink-create-integration-request.ts index fb98afc9..de7b14e4 100644 --- a/models/trlink-create-integration-request.ts +++ b/models/trlink-create-integration-request.ts @@ -32,5 +32,11 @@ export interface TRLinkCreateIntegrationRequest { * @memberof TRLinkCreateIntegrationRequest */ 'partnerIdent': string; + /** + * Optional. When supplied and permitted for the tenant (feature flag / CSM arrangement), this value is used as the TRLink integration identifier instead of a server-generated UUID. If omitted, the API generates a UUID. If supplied when the tenant is not permitted to set a custom id, the request fails with 400. Contact your CSM if you need a custom integration id. + * @type {string} + * @memberof TRLinkCreateIntegrationRequest + */ + 'customerIntegrationId'?: string; } diff --git a/models/user-role.ts b/models/user-role.ts index ed9c9ead..9e4c8bc3 100644 --- a/models/user-role.ts +++ b/models/user-role.ts @@ -31,7 +31,9 @@ export const UserRole = { NonSigningAdmin: 'NON_SIGNING_ADMIN', Auditor: 'AUDITOR', NcwAdmin: 'NCW_ADMIN', - NcwSigner: 'NCW_SIGNER' + NcwSigner: 'NCW_SIGNER', + SecurityAdmin: 'SECURITY_ADMIN', + SecurityAuditor: 'SECURITY_AUDITOR' } as const; export type UserRole = typeof UserRole[keyof typeof UserRole]; diff --git a/package-lock.json b/package-lock.json index 391da82c..cfa30219 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fireblocks/ts-sdk", - "version": "15.0.0", + "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@fireblocks/ts-sdk", - "version": "15.0.0", + "version": "0.0.0", "license": "MIT License", "dependencies": { "axios": "^1.6.7", @@ -1147,9 +1147,9 @@ "license": "MIT" }, "node_modules/axios": { - "version": "1.13.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.5.tgz", - "integrity": "sha512-cz4ur7Vb0xS4/KUN0tPWe44eqxrIu31me+fbang3ijiNscE129POzipJJA6zniq2C/Z6sJCjMimjS8Lc/GAs8Q==", + "version": "1.13.6", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.6.tgz", + "integrity": "sha512-ChTCHMouEe2kn713WHbQGcuYrr6fXTBiu460OTwWrWob16g1bXn4vtz07Ope7ewMozJAnEquLk5lWQWtBig9DQ==", "license": "MIT", "dependencies": { "follow-redirects": "^1.15.11", @@ -1421,9 +1421,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001772", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001772.tgz", - "integrity": "sha512-mIwLZICj+ntVTw4BT2zfp+yu/AqV6GMKfJVJMx3MwPxs+uk/uj2GLl2dH8LQbjiLDX66amCga5nKFyDgRR43kg==", + "version": "1.0.30001776", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001776.tgz", + "integrity": "sha512-sg01JDPzZ9jGshqKSckOQthXnYwOEP50jeVFhaSFbZcOy05TiuuaffDOfcwtCisJ9kNQuLBFibYywv2Bgm9osw==", "dev": true, "funding": [ { @@ -1626,9 +1626,9 @@ } }, "node_modules/dedent": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.1.tgz", - "integrity": "sha512-9JmrhGZpOlEgOLdQgSm0zxFaYoQon408V1v49aqTWuXENVlnCuY9JBZcXZiCsZQWDjTm5Qf/nIvAy77mXDAjEg==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.2.tgz", + "integrity": "sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA==", "dev": true, "license": "MIT", "peerDependencies": { @@ -1703,9 +1703,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.302", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.302.tgz", - "integrity": "sha512-sM6HAN2LyK82IyPBpznDRqlTQAtuSaO+ShzFiWTvoMJLHyZ+Y39r8VMfHzwbU8MVBzQ4Wdn85+wlZl2TLGIlwg==", + "version": "1.5.307", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.307.tgz", + "integrity": "sha512-5z3uFKBWjiNR44nFcYdkcXjKMbg5KXNdciu7mhTPo9tB7NbqSNP2sSnGR+fqknZSCwKkBN+oxiiajWs4dT6ORg==", "dev": true, "license": "ISC" }, @@ -3300,9 +3300,9 @@ } }, "node_modules/minimatch": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.4.tgz", - "integrity": "sha512-twmL+S8+7yIsE9wsqgzU3E8/LumN3M3QELrBZ20OdmQ9jB2JvW5oZtBEmft84k/Gs5CG9mqtWc6Y9vW+JEzGxw==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", "dev": true, "license": "ISC", "dependencies": { @@ -3346,9 +3346,9 @@ "license": "MIT" }, "node_modules/node-releases": { - "version": "2.0.27", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", - "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==", + "version": "2.0.36", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.36.tgz", + "integrity": "sha512-TdC8FSgHz8Mwtw9g5L4gR/Sh9XhSP/0DEkQxfEFXOpiul5IiHgHan2VhYYb6agDSfp4KuvltmGApc8HMgUrIkA==", "dev": true, "license": "MIT" }, @@ -3520,9 +3520,9 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 431702b9..985015d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fireblocks/ts-sdk", - "version": "15.0.0", + "version": "0.0.0", "description": "OpenAPI client for @fireblocks/ts-sdk", "author": "Fireblocks SDK Generator", "repository": {